I've an array of N keywords and I'm looking for the average monthly seach 
of each one. The length of this array is always greater tan 700 (which is 
the limit size of the collection given to 'queries' for each call to this 
petition) so I had to split my array in X parts to create subarrays with 
length < 700. Then I looped throught those arrays and made as many calls to 
the API as subarrays I got.


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

  selector = {
    'ideaType': 'KEYWORD',
    'requestType': 'STATS'
  }

  selector['requestedAttributeTypes'] = ['KEYWORD_TEXT', 'SEARCH_VOLUME', 
'TARGETED_MONTHLY_SEARCHES']

selector['searchParameters'] = [{
    'xsi_type': 'RelatedToQuerySearchParameter',
    'queries': keywords //=> length has to be < 700
  }]


The problem is that I'm getting this error:

[RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, 
retryAfterSeconds=30>]

I tried to wait 30 seconds before making another call but it didn't did the 
trick. 
I've a *Standard access token*.

Any help?
Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a2dbb6a5-b443-4726-b1b6-eb0f1e961098%40googlegroups.com.

Reply via email to