Hi all,

i want to create an AdGroupCriterion with "placement":

{
    "operations": {
        "create": {
"placement": {
"url": "www.repubblica.it"
},
        "adGroup":"customers/2017233623/adGroups/87687245715",
            "status": "ENABLED",
            "type": "PLACEMENT"
       }
    }
}

but when i call the api i get as answer:

{
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "@type": 
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
                "errors": [
                    {
                        "errorCode": {
                            "requestError": "UNKNOWN"
                        },
                        "message": "The error code is not in this version.",
                        "trigger": {
                            "stringValue": "SEARCH"
                        },
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": "0"
                                },
                                {
                                    "fieldName": "create"
                                },
                                {
                                    "fieldName": "placement"
                                }
                            ]
                        }
                    }
                ]
            }
        ]
    }
}

Note that Campaign is SEARCH.

How i can set up a "placement" for SEARCH Campain ?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c2de4c44-28cf-4c80-9253-a52698ffe50c%40googlegroups.com.

Reply via email to