Hi Josh!

I don't think this is right way. To add Location you need to know its 
criteria id (for example 21137L - California). But to add Proximity you 
need to know the proper address or lattitude and longitude. And there is no 
way to map criteria id to some address or retrieve its GeoPoint to set to 
Proximity. In other words - I want to get the same object to set for 
LocationCriterion and Proximity.

My thought is if it's possible in UI it should be possible in the code.

понедельник, 4 августа 2014 г., 19:17:17 UTC+3 пользователь Josh Radcliff 
(AdWords API Team) написал:

> Hi,
>
> You can do this using a Proximity 
> <https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.Proximity>
>  campaign 
> criterion. See our Location Targeting Guide 
> <https://developers.google.com/adwords/api/docs/guides/location-targeting#proximity-targeting>
>  for 
> more details.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, August 4, 2014 11:36:00 AM UTC-4, Dzmitry Zahusta wrote:
>>
>> Hi here!
>>
>> How is it possible to add locations with radius programmatically as I can 
>> do it using UI:
>>
>>
>> <https://lh6.googleusercontent.com/-oFfRBlWc5dI/U9-nhjAcUMI/AAAAAAABPnU/FT88U9MSisU/s1600/Locations.png>
>>  Thank you in advance
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to