How to decode location from CAMPAIGN_LOCATION_TARGET_REPORT

42 views
Skip to first unread message

Improvado Support

unread,
Nov 28, 2019, 12:13:51 AM11/28/19
to AdWords API and Google Ads API Forum
Hello,

Request for CAMPAIGN_LOCATION_TARGET_REPORT returns ID in Location column, for example, 828869253082. This id should be equal to the name from the dashboard, but I need to get this name through API automatically.



I tried to decode and get its name by LocationCriterionService, but it answers with Permission Error (LCS response and request pics in attach). (ClientCustomerId is the same as on the dashboard)




Can you please advise, how can I get Name for Location id from CAMPAIGN_LOCATION_TARGET_REPORT?

Thanks!

Google Ads API Forum Advisor Prod

unread,
Dec 2, 2019, 11:42:37 AM12/2/19
to adwor...@googlegroups.com
Hi,

Thank you for reaching out. Using those location ids you can get the names of the locations by matching the columns in this Geotargets CSV file. Alternatively, you can also use the Location Criterion Service to get the names of the locations by their ids. You will be unable to get the name from the report.

Regards,
Mitchell
Google Ads API team

ref:_00D1U1174p._5001UODSBm:ref
Reply all
Reply to author
Forward
0 new messages