How to get zip code data from Search Ads 360 API

438 views
Skip to first unread message

Lu Liu

unread,
Sep 6, 2023, 11:39:50 PM9/6/23
to Google Ads API and AdWords API Forum
Hi,

I am new in using SA360 API.  I am looking for help to get geo location data, specifically US zip code and DMA (if available) data through API to Power BI.  

I see 2 geo related resources, but they don't seem to have zip level data.


Thank you in advance for your help!
Lu

Lu Liu

unread,
Sep 7, 2023, 1:31:11 AM9/7/23
to Google Ads API and AdWords API Forum
Looking more, I see campaign_criterion has campaign_criterion.location_group.geo_target_constants.  This page shows there is a TARGET TYPE of DMA region in geo_target_constant.
Documentation says fields from Campaign, Customer, user_list may be selected along with this resource in the SELECT and WHERE clause.  


But I have not figured out how to connect these resources using SELECT query to get geotargeting campaign data.  For example, campaign impressions by DMA.

Can anyone share related syntax?

Thank you,
Lu

Google Ads API Forum Advisor

unread,
Sep 7, 2023, 4:44:00 AM9/7/23
to luuu...@gmail.com, adwor...@googlegroups.com

Hi Lu,

Thank you for reaching out to Google Ads API Forum.

Kindly note that this channel and our team provide support for Google Ads API (https://developers.google.com/google-ads/api/docs/start)-related concerns and technical implementations only. Upon checking the links you provided, it appears that you are using Search Ads 360 Reporting API. With this, I recommend reaching out to the Search Ads 360 support team (https://support.google.com/searchads/gethelp?issue_description=contact+us) as they are better equipped to provide guidance regarding your concern.

This message is in relation to case "ref:_00D1U1174p._5004Q2oj4QR:ref"

Thanks,
 
Google Logo Google Ads API Team


Lu Liu

unread,
Sep 11, 2023, 1:59:08 AM9/11/23
to Google Ads API and AdWords API Forum
Search Ads help is very limited.  Would you be able to share codes how to get campaign or ad_group impressions and clicks by DMA or postal code from Google Ad api?  I am going to try to use Google Ads to get the data.  Thanks!

Google Ads API Forum Advisor

unread,
Sep 11, 2023, 6:10:55 AM9/11/23
to luuu...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for getting back to us.

Can you please provide us with an uncropped screenshot of the Google Ads UI that shows the data you wish to obtain, so we can provide the appropriate report and fields to recommend? I am asking for this because the Google Ads UI and API mimic each other’s behavior, if the data is available in the UI it should also be available via API. 

Reply all
Reply to author
Forward
0 new messages