Hello,

I'm getting the following error when accessing the TargetingIdeaService:

googleads.errors.GoogleAdsServerFault: [RateExceededError 
<rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, 
retryAfterSeconds=30>]

I'm making less than 5 requests per minute and I even added sleeps 
in-between.

Do you have any idea about what's going on? It seems odd that I can only 
make just a few requests. Here is a piece of code I'm trying to run.

targeting_idea_service = client.GetService(
'TargetingIdeaService', version='v201802')

# Construct selector object and retrieve related keywords.
selector = {
'ideaType': 'KEYWORD',
##'requestType': 'IDEAS'
'requestType': 'STATS'
}

selector['requestedAttributeTypes'] = [
'KEYWORD_TEXT', 'SEARCH_VOLUME', 'COMPETITION', 'AVERAGE_CPC'
 ]

offset = 0
selector['paging'] = {
'startIndex': str(offset),
'numberResults': str(PAGE_SIZE)
}

selector['searchParameters'] = [{
'xsi_type': 'RelatedToQuerySearchParameter',
'queries': [keyword]
}]

# Language setting (optional).
selector['searchParameters'].append({
# The ID can be found in the documentation:
# https://developers.google.com/adwords/api/docs/appendix/languagecodes
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': '1000'}]
})

# Network search parameter (optional)
selector['searchParameters'].append({
'xsi_type': 'NetworkSearchParameter',
'networkSetting': {
'targetGoogleSearch': True,
'targetSearchNetwork': False,
'targetContentNetwork': False,
'targetPartnerSearchNetwork': False
}
})

page = targeting_idea_service.get(selector)

if 'entries' in page:
for result in page['entries']:
return result

Any ideas?

Thank you 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 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 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/fb4ad04f-67d9-4b67-b324-1cf38b9328de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • RateExceededE... Joan Figuerola Hurtado
    • Re: Rate... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
      • Re: ... Joan Figuerola Hurtado
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum

Reply via email to