How to retrieve location name and radius from LocationViews Return Resource Name?

39 views
Skip to first unread message

Binu Mathew

unread,
Nov 12, 2021, 10:42:59 AM11/12/21
to AdWords API and Google Ads API Forum
Hello,

I am using PHP to get Resource name of Location I used  in LocationViews

Here are same of Resource Name i am getting back from Google.

customers/<Account NO>/locationViews/15081569942~2528

customers/ <Account NO>  /locationViews/15081569942~1006886

customers/ <Account NO>  /locationViews/15081569942~9299329

customers/ <Account NO>  /locationViews/15081569942~1455913396779


For the first three as there is no radius I am able to find the Location name from CSV, what about the last one with radius? any example ?

Google Ads API Forum Advisor

unread,
Nov 12, 2021, 3:43:53 PM11/12/21
to binumat...@gmail.com, adwor...@googlegroups.com

Hello,

Thanks for reaching out to the Google Ads API support team. I understand you are using the location_view and are inquiring about the resource names for locations and proximities. Could you please provide us with more detail?

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 

Google Logo
Jakeia Sabrina
Google Ads API Team
 

ref:_00D1U1174p._5004Q2R8YIs:ref

Binu Mathew

unread,
Nov 13, 2021, 2:55:31 AM11/13/21
to AdWords API and Google Ads API Forum
Hello 

Yes I got the Location views with ID,


customers/<Account NO>/locationViews/15081569942~2528

customers/ <Account NO>  /locationViews/15081569942~1006886

customers/ <Account NO>  /locationViews/15081569942~9299329

customers/ <Account NO>  /locationViews/15081569942~1455913396779



In which customers/ <Account NO>  /locationViews/15081569942~1455913396779 is of Location name with Proximity, so its not in CSV, how can i retrieve its name and radius ?

Google Ads API Forum Advisor

unread,
Nov 14, 2021, 10:59:10 PM11/14/21
to binumat...@gmail.com, adwor...@googlegroups.com
Hi Binu,

I am also a member of the Google Ads API team and let me provide support to your concern.

You can use the campaign_criterion to get the information that you are looking for, filter the campaign_criterion.type by PROXIMITY and include the proximity related fields available on this link.

Let me know if you have further questions.


Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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