Hello Yasar, Is the next_page_token valid for 2 hours after the initial query request or 2 hours after the pagination request? I can try to re-run a query to see whether or not I'm getting it after 2 hours or if it takes longer.
I'm already trying to pull Search Query data for one day. Is there a way to filter the request to pull a portion of a day? On Wednesday, October 27, 2021 at 5:52:42 AM UTC-6 adsapi wrote: > Hi Joey, > > Thanks for posting your concern on this thread. > > Kindly note that next_page_token is supposed to be valid for 2 hours. If > you exceed 2 hours, you are most likely to get the "Page token has expired" > error. However, if you get "Page token has expired" error within 2 hours, > and logs proved that the running time for that page query was within 2 > hours, then you may provide us complete logs directly to our > googleadsa...@google.com alias instead, so that I can raise the issue to > our rest of team. > > In addition, since you already tried to use search_stream instead of > search, and you faced a timeout error. This could be due to large volumes > of data pulling. You may consider pulling smaller chunks so it will not > result in timeout. > > Let us know if you have any further questions. > > Regards, > [image: Google Logo] > Yasar > Google Ads API Team > > > ref:_00D1U1174p._5004Q2HAFqj: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 "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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/53ad3e38-8203-4833-a484-59bbbcc1d167n%40googlegroups.com.