Hi Alin, Thank you for reaching out to us.
Please note that Page token has expired error indicates that the token used to retrieve a page of results from a search request has expired. Specifically when you make a search request in Python an iterator is returned that, under the hood, makes multiple requests to the API as you iterate over it. Each request retrieves a "page" of results, the size of which is defined by the page_size parameter seen here . If you submit a request that generates 10,000 rows and the page_size is set to 1,000 then the iterator will end up making 10 requests, each for 1,000 rows at a time. The first response for rows 1 - 1,000 will include a page token that gets passed back to the API so it knows to retrieve rows 1,001 - 2,000, (this is all handled implicitly by the iterator). In addition, those page tokens have a life span of two hours. If you try to grab the next token after life span, then you might get that error. For example if you submitted a request for a report with a page_size of 10,000 with a process that spent roughly 84 seconds processing each row the page token could expire by the time the next page was requested. Best regards, Heidi Google Ads API Team ref:_00D1U1174p._5004Q2bd4dK:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/2yAag000000000000000000000000000000000000000000000RD41VD00Ehk0UgpQRUivS_vn8v-ocQ%40sfdc.net.