Hi Sai, thanks a lot.
The answer was very useful.

El martes, 12 de junio de 2018, 18:56:10 (UTC-3), Teja Makani escribió:
>
> Hello Ruido,
>
> Using the API you can set the location targets using the 
> CampaignCriterionService 
> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService>.
>  
> Please check the AddCampaignTargetingCriteria 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201806/targeting/AddCampaignTargetingCriteria.java>
>  sample 
> in Java to understand how to add the location as targeting criteria. To set 
> "AR" as the targeting location, you will need to use 2032 as the criteria 
> Id instead of the criteria id in this code sample 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201806/targeting/AddCampaignTargetingCriteria.java#L162-L165>.
>  
> To find the criteria id of locations, please use the Geotargets 
> <https://fusiontables.google.com/DataSource?docid=1Jlxrqc1dU3a9rsNW2l5xxlmQEKUu0dIPusImi41B#rows:id=1>
>  table. 
> Please note that you may need to remove the other types of criterion from 
> the code samples while working with the shopping campaign. Samples in other 
> languages can also be found here 
> <https://developers.google.com/adwords/api/docs/clientlibraries>. Please 
> let me know if you have any additional questions. 
>
> Regards,
> Sai Teja, AdWords API Team.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/0cc01c24-6574-444b-9196-595761d167c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to