Get ZIP Code of active Campaign

112 views
Skip to first unread message

Dominik Raffetseder

unread,
Oct 3, 2017, 3:24:47 AM10/3/17
to AdWords API Forum
Hello,

is it possible to get the ZIP Code or the location where the campaign is displayed?
How can i solve this issue?

Thanks!

Peter Oliquino

unread,
Oct 3, 2017, 4:54:50 AM10/3/17
to AdWords API Forum
Hi Dominik,

You may use the CampaignCriterionService.get to extract the CampaignId and the other details such as the DisplayType of the location type criterion. You may also generate the Campaign Location Target Report to retrieve the statistics of your location-based criterion. You can then compare the Id field of the report to the Criteria ID field of the geo targeting spreadsheet to identify which of them are of TargetType = Postal Code. Let me know if this helps.

Thanks and regards,
Peter
AdWords API Team

Dominik Raffetseder

unread,
Oct 25, 2017, 4:51:52 AM10/25/17
to AdWords API Forum
Is there anywhere a php example for this? 
I absolutely don't unterstand what to do and how to geht this data?

Best regards,
Dominik

Peter Oliquino

unread,
Oct 25, 2017, 5:56:23 AM10/25/17
to AdWords API Forum
Hi Dominik,

The simpler solution would be to generate the Campaign Location Target Report, then follow the steps I provided in my previous response. You may refer to our various reporting sample codes on how to download the report. Just make sure to replace the report type name and include the appropriate fields in your SELECT query.

Dominik Raffetseder

unread,
Nov 9, 2017, 8:45:41 AM11/9/17
to AdWords API Forum
Is it anywhere possible to get the postal code or the german name from an english nam in google (maybe from maps api)
Or how can i solve this?

Peter Oliquino

unread,
Nov 9, 2017, 11:12:25 PM11/9/17
to AdWords API Forum
Hi Dominik,

My apologies as our team cannot comment on which Google API you may be able to retrieve the information that you need. This being said, I would recommend that you contact the product experts over at the AdWords Community Forum for further assistance.

Best regards,
Peter
AdWords API Team

Dominik Raffetseder

unread,
Nov 27, 2017, 8:48:33 AM11/27/17
to AdWords API Forum
Can you ask this for me, i don't get contact to persons who know this.
I want to get the german city names from  CampaignCriterionService, or is there anywhere a list to translate it to german ones?

best regards,
Dominik 

Peter Oliquino

unread,
Nov 27, 2017, 11:19:42 PM11/27/17
to AdWords API Forum
Hi Dominik,

My apologies, however, this is not currently supported via the AdWords API. Kindly reach out to the AdWords Community Forum through the link I provided previously to confirm if translated locations are available via the AdWords UI or other products. You may also follow our blog for any updates if and when this feature can be available in future versions of the AdWords API.
Reply all
Reply to author
Forward
0 new messages