Feature suggestion: When wrong country code is given the API should return an error, not setup Afghanistan

21 views
Skip to first unread message

Costantin

unread,
May 10, 2019, 7:23:29 AM5/10/19
to AdWords API and Google Ads API Forum
Right now when I make an API call to set a country code for a call only ad and I use for example gb instead of GB the api doesn't return an error but simply sets the country code as Afghanistan. This can easily lead to mistakes and errors. The API should return an error like: "invalid country code"

googleadsapi...@google.com

unread,
May 10, 2019, 2:19:03 PM5/10/19
to cos...@gmail.com, AdWords API and Google Ads API Forum
Hi Costantin,

Do you have an API call and ad group/ad ID that you can share with me? Please do so using reply privately to author.

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/10/19 07:23:29 cos...@gmail.com wrote:
Right now when I make an API call to set a country code for a call only ad and I use for example gb instead of GB the api doesn't return an error but simply sets the country code as Afghanistan. This can easily lead to mistakes and errors. The API should return an error like: "invalid country code"

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@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/fc210b6d-9ac1-4fed-aed9-d8f6e90b92b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages