Thursday, 3 March 2016

set NegativeCampaignCriterion for location using adword api php

how to set exclude location for campaign. i tried to found out it . i found this 
$negativeCriterion = new \NegativeCampaignCriterion();
 $negativeCriterion->campaignId = $result->value[0]->id;
 $negativeCriterion->criterion = $location;

but i cannot understand how to pass location here. could you explain with example ?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9bdf5a57-dd41-4d8a-9789-3cc8c8914b39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment