Got the issue. We can only get the adgroup "directly" under the account
rather than indirectly.
On Friday, 18 September 2015 14:39:16 UTC+2, Sendoh wrote:
>
> Hi, I just play around the python api to generate keyword ideas based on
> adGroupId, and the console shows
> suds.WebFault: Server raised fault:
> '[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @
> selector.searchParameters[1].adGroupId.adGroupId]'
>
> Did anyone know which part I set incorrectly?
>
> selector = {
> 'searchParameters': [
> {
> 'xsi_type': 'SeedAdGroupIdSearchParameter',
> 'adGroupId': 99999
> },
> {
> # Language setting (optional).
> # The ID can be found in the documentation:
> #
> https://developers.google.com/adwords/api/docs/appendix/languagecodes
> 'xsi_type': 'LanguageSearchParameter',
> 'languages': [{'id': '1000'}]
> }
> ],
> 'ideaType': 'KEYWORD',
> 'requestType': 'IDEAS',
>
> 'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME',
> 'CATEGORY_PRODUCTS_AND_SERVICES'],
> 'paging': {
> 'startIndex': str(offset),
> 'numberResults': str(PAGE_SIZE)
> }
> }
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d0af7c22-b1a0-4d04-8bf1-20cd9c42ac58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.