searchStream response cuts off at 10000 lines

292 views
Skip to first unread message

Christos Kallinteris

unread,
Oct 1, 2021, 9:37:07 AM10/1/21
to AdWords API and Google Ads API Forum
Hi,

my understanding from reading the documentation was, that that is exactly what the searchStream endpoint is for. I've split the query by dates and get a total of over 10000.

Is there some prerequisite that's not mentioned in the API documentation? What am I doing wrong?

Cheers,
Christos

Google Ads API Forum Advisor

unread,
Oct 4, 2021, 9:23:57 AM10/4/21
to christos.k...@pflege.de, adwor...@googlegroups.com

Hi Christos,

Thanks for reaching out to us.

Kindly note that the SearchStream method returns the entire result set back in a single response upto 10,000 records.

However, if you want to retrieve more than 10000, you may use the search method that uses pagination, with an adjustable pageSize parameter specified alongside the query.

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2OVpzc:ref

Mat

unread,
Oct 18, 2021, 11:11:57 AM10/18/21
to AdWords API and Google Ads API Forum
Hi Yasar,

I've counted the rows of some SearchStream request responses and I can get back much more than 10,000 rows in one single response. 

In the comparison "SearchStream versus Search" there is an example with 100,000 rows - and no upper limit is mentioned.
Could you please double check and elaborate what exactly you mean with "upto 10,000 records"?

Regards
Mat

Google Ads API Forum Advisor

unread,
Oct 19, 2021, 9:09:31 AM10/19/21
to m...@keyword-experte.de, adwor...@googlegroups.com

Hi Mat,

Thank you for reaching out to us with your concern. At the moment, we have this documentation for details on SearchStream. Thank you for clarifying it too. However, if you find something different from our documentation, you may send the complete request and response logs with the request-id instead on our email address googleadsa...@google.com, for privacy purposes so I can investigate further.

Regards,

Reply all
Reply to author
Forward
0 new messages