Hi, this is the very first question on this forum, sorry for any mistakes...
I am working with Google Adwords API 201609 for a while and after finishing
the basic coding tries Language() selector to identify language specific
results. But if I choose a language and there are no results for keyword,
its not returning 0 as result. Instead it fails and results become NULL. If
I try the same keyword without a language selector it gives me zeros as
results. Could you please tell me what is going wrong on this code?
$languageParameter = new LanguageSearchParameter();
$languageSet = new Language();
$languageSet->setId(1000);
$languageParameter->setLanguages([$languageSet]);
$searchParameters[] = $languageParameter;
Are there any rules that I don't know to set language for keywords with no
results?
Thanks in advance...
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/6757e62b-986d-432d-9b70-a721f9b2d2b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.