V17 prompts an error: Setting the page size is not supported. Search Responses will have fixed page size of '10000' rows.

21 views
Skip to first unread message

zhiwei hu

unread,
Jul 4, 2024, 2:49:31 AM (2 days ago) Jul 4
to Google Ads API and AdWords API Forum
When I use the googleAds:search method in version 17, I get the error Setting the page size is not supported. Search Responses will have fixed page size of '10000' rows. I see in the documentation that the pageSize parameter can be set, and I want to know why. The requestId is 9E0j5J9m3Qmjne_uyVRCKQ

Google Ads API Forum Advisor

unread,
Jul 4, 2024, 8:57:15 AM (2 days ago) Jul 4
to shu.at...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Kindly note that it's an intended behavior, As starting with version 17 of the Google Ads API, setting the page_size to a value other than 10,000 will return a PAGE_SIZE_NOT_SUPPORTED error. I would suggest that you refer to the Paging Through Results for more information.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJb4z:ref" (ADR-00245132)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


zhiwei hu

unread,
Jul 5, 2024, 4:50:38 AM (yesterday) Jul 5
to Google Ads API and AdWords API Forum

Thanks for your reply. You said that setting more than 10000 will return this error, but I set the pageSize to 2000 and it still prompts an error.

Google Ads API Forum Advisor

unread,
Jul 5, 2024, 10:30:25 AM (24 hours ago) Jul 5
to shu.at...@gmail.com, adwor...@googlegroups.com
Hi,

Kindly note that whatever the value you have set for page_size in v17 it will throw a PAGE_SIZE_NOT_SUPPORTED as setting the page size is not supported from v17, and will be unavailable in a future version. I would suggest not to use the page_size field from v17.
Reply all
Reply to author
Forward
0 new messages