Hi Pranay,
Thank you for the confirmation. You could still use the
LocationCriterionService
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService>
in
this case. Then, you could get the locationName
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService.Location#locationname>
by
filtering the result by setting the id
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService.Location#id>
field
based on those metro IDs that you want to look up to.
Let me know if it works.
Regards,
Luis
AdWords API Team
On 03/07/19 11:51:08 appanipra...@gmail.com wrote:
Hi Luis,
Thanks for your response.
It's the other way around, we have a bunch of metro criteria ids for which
we need metro names.
We had the similar situation for country,city ..we had criteria ids and we
mapped those criteria ids in the geotargets.csv file (
https://developers.google.com/adwords/api/docs/appendix/geotargeting )
which was their in API docs and got the country and city names.
I cannot find metro ids in that csv, so looking for similar kind of csv
where I can load that into a lookup table and handle lookups at my end, as
we have hundreds of metro ids.
Let me know, if you need any further info.
Thanks,
Pranay
On Wed, Mar 6, 2019, 10:00 PM googleadsapi-forumadvisor via AdWords API and
Google Ads API Forum <adwords-api@googlegroups.com> wrote:
Hi,
Could you confirm if what your're looking is to get the criteria ID based
on the Metro Names that you retrieved from UI reports? If so, you may use
the LocationCriterionService
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService>
to
retrieve the criterion id of those location base on locaitonName
<https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService.Location#locationname>
.
Let me know if this is what you're looking for.
Thanks and regards,
Luis
AdWords API Team
Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.
Take Survey
<https://support.google.com/google-ads/contact/survey_transactional?caseid=5-9708000025540&hl=en&ctx=1>
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 03/07/19 02:41:43 appanipra...@gmail.com wrote:
Hi ,
Is there a way to get the Metro codes vs Readable Metro Names mapping CSV
just like the one we have at
https://developers.google.com/adwords/api/docs/appendix/geotargeting
Downloaded report from UI shows Metro Names like - "Charlotte NC", "Des
Moines-Ames IA", "Indianapolis IN" but the report extracted using API gives
me codes "200517", "200535","200679"
Can any one please let me know, if there is any other way?
Thanks,
Pranay
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/be0dc88c-78fb-4b38-b123-3111d141acfa%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/be0dc88c-78fb-4b38-b123-3111d141acfa%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1ajo44o0000000000fpr8o000lcoq0y6kmjidpg70o30c1g68qjad1g%40mail.gmail.com
<https://groups.google.com/d/msgid/adwords-api/1ajo44o0000000000fpr8o000lcoq0y6kmjidpg70o30c1g68qjad1g%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186sojo000000000oobr52002j5ac6x6kmjidpg70o30c1g68qjad1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.