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";
 \
--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,

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 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/jFusi000000000000000000000000000000000000000000000R54JD000jsxMXcOzTQa2XXawfW1Thg%40sfdc.net.
  • 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