Re: Can postal code or city/state data be gleaned from a location ID?

2018-09-13 Thread Joshua Brown
Accidentally posted twice. Admins feel free to delete one of these.

On Thursday, September 13, 2018 at 5:42:09 PM UTC-4, Joshua Brown wrote:
>
> I've been asked to help out on a friend's project. The client is running a 
> nationwide campaign, and when a user clicks on an ad they will be sent to a 
> landing page with a URL like this: 
> https://URL/landing/?loc_physical_ms=1023631. The client wants me to take 
> the location ID (in this case, 1023631), convert it to a geographical 
> location, compare it to a provided JSON list of offices, and put the ID of 
> the office closest to the location ID on the page.
>
> I am new to AdWords, so I'm not sure if this can be done. I know from the 
> LocationCriteria CSV file that 1023631 is Cleveland, but I don't see any 
> ZIP or separate City or State information there that I could use. CSV is 
> probably off the table anyway, as I don't have database access and 
> converting it to JSON would yield an enormous file. If I use the API, can I 
> get postal code or city/state information using the location ID?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/660eede4-ea0e-49f9-9a96-b4c343cd7c4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can postal code or city/state data be gleaned from a location ID?

2018-09-13 Thread Joshua Brown
I've been asked to help out on a friend's project. The client is running a 
nationwide campaign, and when a user clicks on an ad they will be sent to a 
landing page with a URL like this: 
https://URL/landing/?loc_physical_ms=1023631. 
The client wants me to take the location ID (in this case, 1023631), 
convert it to a geographical location, compare it to a provided JSON list 
of offices, and put the ID of the office closest to the location ID on the 
page.

I am new to AdWords, so I'm not sure if this can be done. I know from the 
LocationCriteria CSV file that 1023631 is Cleveland, but I don't see any 
ZIP or separate City or State information there that I could use. CSV is 
probably off the table anyway, as I don't have database access and 
converting it to JSON would yield an enormous file. If I use the API, can I 
get postal code or city/state information using the location ID?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8b78c110-bf41-4582-bcf0-3e472cc714ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can ZIP or City & State data be gleaned from the Location ID?

2018-09-13 Thread Joshua Brown
I've been asked to help out on a friend's project. The client is running a 
nationwide AdWords campaign, and they are using geotargeting. When the user 
clicks on the ad, they end up on a page with a URL like "
https://URL/new-landing-v4-nf/?loc_physical_ms=1023631 
".
 
The client wants me to take the location ID, convert it to a geographic 
location, compare it against a list of offices in a provided JSON feed, and 
put the ID of the office closest to the AdWords location ID on the landing 
page.

I am pretty new to AdWords. I know from the Location Criteria CSV that 
1023631 is the code for Cleveland, but I don't see a lot of other data 
there that I can grab, and anyway storing or converting that CSV file is 
off the table. I don't have database access and a JSON file would be 
enormous. If I figure out how to use the API, can I get city or even ZIP 
information using the location ID? I don't see a lot of examples on how to 
do this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3e1d9957-7c8e-4d2e-ad9c-ab29fb80313d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.