Hi Team, 

I’m following up on my query. Could you kindly provide an update on the 
status of my query? I would appreciate any information you can share.
Thank you for your assistance.

On Friday, November 8, 2024 at 9:40:48 AM UTC+5:30 Amit Tomar wrote:

> Hello Team,
>
> I'm working with the Google Ads API V18 and need assistance with 
> implementing the "Target locations nearby" functionality that exists in the 
> Google Ads UI.
>
> Currently, I can successfully use the GeoTargetConstantService to search 
> for locations:
> client = GoogleAdsClient.load_from_env(version="v18")
> gtc_service = client.get_service("GeoTargetConstantService")
> gtc_request = client.get_type("SuggestGeoTargetConstantsRequest")
> gtc_request.country_code = "IN"
> gtc_request.location_names.names.extend(['Delhi'])
> results = gtc_service.suggest_geo_target_constants(gtc_request)
>
> However, I cannot find an API endpoint that provides the same 
> functionality as the "Target locations nearby" feature in the UI. For 
> example, when searching for Delhi in the dashboard, it suggests nearby 
> locations like Uttar Pradesh, Rajasthan, and Haryana with their respective 
> reach numbers.
> I have also thoroughly reviewed the GeoTargetConstants 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v18/geoTargetConstants/suggest>
>  
> API documentation, but there is no mention of any endpoint or parameter for 
> retrieving nearby locations.
>
> I've attached screenshots showing this UI feature in action. Could you 
> please:
> 1. Confirm if there's an API endpoint for this nearby locations 
> functionality
> 2. If available, provide documentation or examples for implementing this 
> feature
> 3. If not available through direct API, suggest alternative approaches to 
> achieve similar results
>
>
> Thank you for your assistance.
> [image: Screenshot from 2024-11-08 08-58-55.png][image: Screenshot from 
> 2024-11-08 08-59-07.png]
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/efd42183-28ee-4bb0-b4ec-665280353216n%40googlegroups.com.

Reply via email to