Hi, 

Thank you for the reply.

I know about this solution, but my idea is to set multiple locations like 
your example but with Grouped operations (*googleAds:mutate* 
<https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.googleAds/mutate?hl=en>
).

is this possible ??

thank youu 



On Monday, 3 January 2022 at 08:56:02 UTC+1 adsapi wrote:

> Hi Simo,
>
> Thank you for your follow up.
>
> Below is an example on how you can include at least 2 create operations 
> when creating your location campaign criteria :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *curl -i --request POST 
> "https://googleads.googleapis.com/v9/customers/YOUR_CUSTOMER_ID/campaignCriteria:mutate
>  
> <https://googleads.googleapis.com/v9/customers/YOUR_CUSTOMER_ID/campaignCriteria:mutate>"
>  
> \ --header "Content-Type: application/json" \ --header "developer-token: 
> YOUR_DEVELOPER_TOKEN" \ --header "login-customer-id: 
> YOUR_LOGIN_CUSTOMER_ID" \ --header "Authorization: Bearer 
> YOUR_ACCESS_TOKEN" \ --data '{ "operations": [     {           "create" : { 
>           "negative": "false",           "campaign": 
> "customers/YOUR_CUSTOMER_ID/campaigns/YOUR_CAMPAIGN_ID",           
> "location": {             "geoTargetConstant": 
> "geoTargetConstants/THE_GEO_CONSTANT_1"           },          },     },     
> {           "create" : {           "negative": "false",           
> "campaign": "customers/YOUR_CUSTOMER_ID/campaigns/YOUR_CAMPAIGN_ID",       
>     "location": {             "geoTargetConstant": 
> "geoTargetConstants/THE_GEO_CONSTANT_2"           },          },     },  ] 
> }'*
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2MlBpO:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c8cf2f98-2533-4bf5-bf7d-abb097688f20n%40googlegroups.com.
  • RE... Google Ads API Forum Advisor
    • ... simo mazraoui
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
        • ... simo mazraoui
          • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
            • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... simo mazraoui
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
                • ... simo mazraoui
    • ... Mhmoudahmdmohmmd homydt

Reply via email to