Locations - Targeted Locations - API field

50 views
Skip to first unread message

Oksana Sulyma

unread,
May 2, 2024, 9:06:20 AM5/2/24
to Google Ads API and AdWords API Forum
Hi Google Ads API team!

I'm interested in pulling Targeted Locations data from API.

Could you please advice which reporting data view is the equivalent of Locations - Targeted Locations in google Ads UI? 

My understanding is that this is https://developers.google.com/google-ads/api/fields/v15/location_view. Please confirm if this is correct. 

And another question of mine is next: 
Per https://support.google.com/google-ads/answer/1722043#zippy=%2Ccompare-location-target-types-countries-areas-within-a-country-or-radius I see Location Target could be a Radius around a location as example. So if I get resource_name as 

customers<hidden>/locationViews/1750536626~725543263596

how would I exchange this resource_name to Targeted Location name I see in Google Ads UI? 

Thanks in advance!
Oksana



Google Ads API Forum Advisor

unread,
May 3, 2024, 3:04:21 AM5/3/24
to adwor...@googlegroups.com
Hi Oksana,

Thank you for reaching out to the Google Ads API support team.

Kindly note that the location_view is the equivalent of Locations - Targeted Locations in the Google Ads UI. It provides a way to retrieve performance data for your campaigns, segmented by the locations you've targeted.

Also, there isn't a built-in way to convert the resource name directly to the UI's targeted location name within the Google Ads API. Kindly provide us with the uncropped UI screenshot of the highlighted field for further assistance.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tIrMP:ref" (ADR-00233456)

Thanks,
 
Google Logo Google Ads API Team


Oksana Sulyma

unread,
May 3, 2024, 3:30:05 AM5/3/24
to Google Ads API and AdWords API Forum
Thanks for your answer team! Send you requested information privately. 
Reply all
Reply to author
Forward
0 new messages