Hi Amit, 

You'll not be able to retrieve Proximity 
<https://developers.google.com/adwords/api/docs/reference/v201708/CampaignCriterionService.Proximity>
 or Location groups 
<https://developers.google.com/adwords/api/docs/reference/v201708/CampaignCriterionService.LocationGroups.html>
 criterion 
using Geographical targeting table 
<https://developers.google.com/adwords/api/docs/appendix/geotargeting> or 
through LocationCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201708/LocationCriterionService>
 since 
these are custom locations. I would suggest that you use 
CampaignCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201705/CampaignCriterionService>
 to 
retrieve these location-based criteria. The GetCampaignTargetingCriteria 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201708/targeting/GetCampaignTargetingCriteria.java>
 Java 
example shows how to retrieve campaign criteria. You can modify this 
example to retrieve Proximity targets, by using appropriate selector fields 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201708-CampaignCriterionService>
 and 
predicates. Example code in other languages are available here 
<https://developers.google.com/adwords/api/docs/clientlibraries>.

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/2d1b7a04-9585-4a9c-bda4-e4f0aa34d4a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • campaign Locati... shinuad
    • Re: campai... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: ca... shinuad
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to