I've seen the obvious response to paging issues "use a library", but I 
don't have that ability. I have to use cURL.

Here's what the documentation states about paging:
Making a request

The search method requires a SearchGoogleAdsRequest 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.SearchGoogleAdsRequest>,
 
which consists of the following attributes:

   - A customer_id.
   - A Google Ads Query Language query that indicates which resource to 
   query, the attributes, segments, and metrics to retrieve, and the 
   conditions to use to restrict which objects are returned.
   - A page_size to indicate how many objects to return in a single 
   response when using paging 
   
<https://developers.google.com/google-ads/api/docs/concepts/retrieving-objects#paging_through_results>
   .
   - An optional page_token to retrieve the next batch of results when 
   using paging 
   
<https://developers.google.com/google-ads/api/docs/concepts/retrieving-objects#paging_through_results>
   .

For more information on the Google Ads Query Language, check out the Google 
Ads Query Language guide 
<https://developers.google.com/google-ads/api/docs/query/overview>.


and on paging:
Paging through results

Whenever you are retrieving a large number of objects, you'll want to 
specify the page_size in your request. This will break up the result set of 
the query into multiple responses that each contain up to page_size objects.

For example, if your account contains 50,000 keywords, the result set for 
the following query will contain 50,000 GoogleAdsRow objects:

SELECT ad_group.id, ad_group_criterion.type, ad_group_criterion.criterion_id,
       ad_group_criterion.keyword.text, ad_group_criterion.keyword.match_type
FROM ad_group_criterion
WHERE ad_group_criterion.type = KEYWORD

To avoid receiving a single response containing all rows in the result set, 
you can specify a page_size of 1000 so that the Google Ads API will return 
only the first one thousand rows in the first response, along with a 
next_page_token. To retrieve the next one thousand rows, simply send the 
request again, but update the request's page_token to the response's 
next_page_token.

So my question is where do I specify the page_token?

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c7373fed-1fd1-4195-af68-56d3e83a51dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How do ... Jarrod Thuener
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Jarrod Thuener
        • ... Jarrod Thuener
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... Jarrod Thuener

Reply via email to