Hi, I need to understand whether there is a specific service or route for excluding locations in demand gen campaigns via the Google Ads API. I currently have a "normal" operation for excluding these locations in app, search and display campaigns that is working correctly. However, when I use this same operation for demand gen campaigns I get the following error:
The error code is not in this version., at operations[0].create.location OWNED_AND_OPERATED referenced in error details This is the operation used: { "create": { "campaign": f"customers/{customer_id}/campaigns/{campaign_id}", "negative": True, "type_": "LOCATION", "location": {"geo_target_constant": location_id} } } How should I create operations instead? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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 visit https://groups.google.com/d/msgid/adwords-api/0a24c09a-5ecc-4567-ac14-68644cab6441n%40googlegroups.com.