TargetingIdea limit keywords results

54 views
Skip to first unread message

thiago...@c6bank.com

unread,
Jan 3, 2019, 4:12:24 PM1/3/19
to AdWords API and Google Ads API Forum

I'm using TargetingIdea to generate keyword suggestions, however the API has a limitation of bringing only 700 suggestions (https://developers.google.com/adwords/api/docs/appendix/limits), I saw that in another site you can make more than one request to bring the rest of the results (https://developers.google.com/adwords/api/docs/reference/v201806/TargetingIdeaService). I have results when I set paging.setStartIndex (0) and paging.setNumberResults (700), but when I put paging.setStartIndex (700) and paging.setNumberResults (700) an error occurred because Index does not accept values ​​equal to or greater than 700 How do I extract more than 700 results?

Another question, if I put paging.setStartIndex (690) and paging.setNumberResults (100), the API only brings me 10 results (690 up to 700), but the correct one would not it start at 690 and go up to 790 (bringing 100 results)?

Note: I am using the test devolver token.

Peter Oliquino (AdWords API Team)

unread,
Jan 3, 2019, 10:27:59 PM1/3/19
to AdWords API and Google Ads API Forum
Hi,

Thank you for contacting support. For correct indexes, you will need to specify 0 to 699, then 700 to 1399, and so on. Basically, one request could only return to you the 700 results from 0 - 699 or 700-1399, you would not be able to choose indexes in between and get 700 results starting from any of those middle indexes.

I hope this helps and feel free to write back if you have any additional clarifications.

Thanks and regards,
Peter
AdWords API Team

thiago...@c6bank.com

unread,
Jan 4, 2019, 9:27:39 AM1/4/19
to AdWords API and Google Ads API Forum
Hi Peter,

Thank for the response. 

I tried to change to make a call with 700 until 1399 to bring me the other eords, but a mistake occurred in the method and I didn't understand what happened. I have attached the images os the errors.
img1.JPG
img2.JPG
img3.JPG

Peter Oliquino (AdWords API Team)

unread,
Jan 7, 2019, 1:43:24 AM1/7/19
to AdWords API and Google Ads API Forum
Hi Thiago,

The setNumberResults() can only accommodate up to 700 as this is the limit of results you can retrieve per request. As for the null error, could you provide to me your complete SOAP request and response logs so I can further investigate?

To enable SOAP logging on your end, you may refer to this guide. You may reply to me using the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team

thiago...@c6bank.com

unread,
Jan 8, 2019, 7:03:11 PM1/8/19
to AdWords API and Google Ads API Forum
Peter,

Apparently this is a limitation of the API, in that case I checked that the 700 results are sufficient, thanks for the support.

Soon I'll open another topic with another question about RateExceededError.
Reply all
Reply to author
Forward
0 new messages