Adwords API Radius Targeting.

277 views
Skip to first unread message

MCC Test

unread,
Jul 14, 2015, 2:44:39 AM7/14/15
to adwor...@googlegroups.com
Hello All,

I am working on implementing the functionality to implement radius targeting.However I have few questions.In many threads I have seen that for proximity targeting you need to get the geo point latutude and longitude of specifc locations from GeoLocationService where you want to target.However my concern is for locations like "Denver, CO,Colorado,United States"   which is a DMA Region how to get the latitude and longitude for such DMA regions because geolocation service asks for streetAddress, streetAddress2, cityName, provinceCode, provinceName, postalCode, countryCode so what will be the selector values for DMA Regions, I am bit confused here.

Please help.

Thanks,
Ronak Shah

Anthony Madrigal

unread,
Jul 14, 2015, 5:05:49 PM7/14/15
to adwor...@googlegroups.com, ppcte...@gmail.com
Hi Ronak,

This recent post should help you get a better understanding of radius targeting. The Location Targeting guide is also a good reference to use. Some DMA Regions are also available through the Geographical Targeting reference page. For example, the ID for Denver, CO is 200751 with Target type DMA region.

Regards,
Anthony
AdWords API Team

MCC Test

unread,
Jul 15, 2015, 1:53:48 AM7/15/15
to adwor...@googlegroups.com, ppcte...@gmail.com
Hello Anthony,

Thank you very much for your response.Yes I have seen the mentioned post but my question is still unanswered, how can I get the Geo Points for phrase "Denver, CO,Colorado,United States" I know that I need to use GeoLocationService to get geo points latitude and longitude but the main concern is from above phrase (Denver, CO,Colorado,United States) how would I able to identify whats the streetAddress, streetAddress2, cityName, provinceCode, provinceName, postalCode, countryCode.

What I am trying to achieve is I will get an input value like Denver, CO,Colorado,United States and I need to get Geo points of this input location and then do proximity targeting on that location.

Appreciate your help!

Thanks,
Ronak Shah

Anthony Madrigal

unread,
Jul 15, 2015, 2:54:13 PM7/15/15
to adwor...@googlegroups.com, ppcte...@gmail.com
HI Ronak,

You could create an Address object and fill in null for the values you don't know such as streetAddress. Once you set that up, you can use the GeoLocationService to grab the coordinates (GeoPoint). Once you have the GeoPoints, you can use them to create a proximity target.

Hope this helps!

MCC Test

unread,
Jul 16, 2015, 2:29:11 PM7/16/15
to adwor...@googlegroups.com, ppcte...@gmail.com
Hello Anthony,

Thanks or the response.

Yes I know I need to set the address object but my concern is for DMA Regions like "Denver, CO,Colorado,United States"
What will be the values of address object?  I mean what will be the values of streetAddress, streetAddress2, cityName, provinceCode, provinceName, postalCode, countryCode.

cityName = Denver
provinceCode = Colorado
countryCode = United States
what about "CO" where it wll go? My whole point is how can I predict the address object values based on CanonicalName?

Hope you understand what I am trying to ask!

Thanks,
Ronak Shah

Anthony Madrigal

unread,
Jul 16, 2015, 3:56:10 PM7/16/15
to adwor...@googlegroups.com, ppcte...@gmail.com
Hi Ronak,

Unfortunately, there isn't exact mapping from Location to GeoPoint. However, you could download the CSV file located in the Cities - DMA Region reference page. The file contains columns for both City and State. You could use those column values for cityName and provinceName for the Address object. For everything you do not know such as streetAddress, you can set those values to null.

Please note that this will give you back an approximation since there is no guarantee that the GeoPoints returned back will be the exact center of that Location.
Reply all
Reply to author
Forward
0 new messages