Greetings!

Thank you for providing all the additional detail. I took a deep dive into 
this, and this is what I found. I've covered my observations in three sections.

The language_code is required for the methods being called.

It appears that language_code is required according to 
https://developers.google.com/google-ads/api/reference/rpc/v9/SuggestKeywordThemesRequest
 if you are calling the method SuggestKeywordThemes. The reason the field looks 
optional is because this same object is used for many different methods. Some 
methods require the field, and other fields do not require the field. It's best 
to double-check in the description of the method to see if a field is required 
or not.

Null is returned because language_code is required for that method.

I believe the reason null is coming back is because language_code is required 
for those particular methods that you are calling. If you do not provide the 
required fields, then the result will be empty. I have put in a request to 
return an error in a future version of the API if a field is required. I 
believe that would cause less confusion.

I believe at this time English is the only supported language.

I took a look in the Google Ads UI for your account, and I'm not seeing any 
other option but a default of English at this time. I will double-check with my 
teammates who wrote this particular piece of code to confirm if this is the 
case. Please keep in mind that it is the holidays for much of the US and 
Europe, so we may get an answer a bit slower than usual.

Best,

Nadine Wang
Google Ads API Team

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey
ref:_00D1U1174p._5004Q2TLiMM:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/Pxu9F000000000000000000000000000000000000000000000R4Y6KU00DLGbhZuuSjGXql348W2ycw%40sfdc.net.
  • RE... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... Chen Xiaowei
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
        • ... Chen Xiaowei
          • ... Chen Xiaowei
            • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... Chen Xiaowei
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to