Example with Next Page Token using v17

105 views
Skip to first unread message

Ramanajee

unread,
Jul 24, 2024, 9:49:58 AM7/24/24
to Google Ads API and AdWords API Forum
Hi,
can I get example using next page token with v17 in C# ?

Thanks,
Ramanajee

Google Ads API Forum Advisor

unread,
Jul 24, 2024, 3:16:24 PM7/24/24
to ramana...@gmail.com, adwor...@googlegroups.com
Hi Ramanajee,

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

Based on the information provided, I understand that you are looking for guidance in using the next page token with v17 in C# in the Google Ads API. For example, if your account contains 50,000 keywords and page_size is set to 1,000, the result set will contain 1,000 GoogleAdsRow objects in the first response, along with a next_page_token. To retrieve the next one thousand rows, send the request again with the same page size, but update the request's page_token to the response's next_page_token. The value of page_size in subsequent requests can be different each time. Note that next_page_token is not populated in the response that contains the last batch of rows. You can refer to the Paging Through Results documentation to know more about the 'next_page_token' usage in the Google Ads API. Also, I would suggest you to refer to the C# example code for more information. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vE5yy:ref" (ADR-00259399)

Thanks,
 
Google Logo Google Ads API Team

 

Reply all
Reply to author
Forward
0 new messages