Hi Alin,
Thank you for the reply.
As for the "Connection reset by peer" error, this issue appears to be client
library specific. With this, I am afraid that our team would not be able to
provide support here as it is outside of our scope already. I would suggest
reaching out to the author of t
We fall back to pagination because on the search stream we encountered
another error with the message "connection reset by peer", and now we end
up in this token invalidation.
On Tuesday, June 7, 2022 at 9:41:23 PM UTC+3 adsapi wrote:
> Hi Alin,
>
> Is it possible for you to use the SearchStrea
Hi Alin,
Is it possible for you to use the SearchStream method instead of Search? If you
do not require paginated results, the SearchStream method will work better as
the entire result is cached in a data buffer. Please see this page on streaming
for more details on Search/SearchStream. In gene
Hello, thank you for the response but
As we can see in the logs that I've provided, those logs are coming from
the client library itself and are not altered by us by any means, we have a
page size of 1000 and the time between each request is likely 3-6 minutes.
I do not think is because of the
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 mult
Hi Joey,
Thank you for providing further details to your concern. I am also a member of
the Google Ads API team and let me provide support to your concern.
I would like to inform you first that I am going to delete your current post as
it contains your personal information.
Moving forward, cou
Thank you for that explanation but that did not quite answer my question.
The problem is that I'm getting a page token expired message after
paginating more than 2 hours since the initial request, not for each
subsequent pagination request itself, which is a problem.
*For example:*
My first reque
Hello Joey,
Thanks for getting back to us. I work with Yasar and I'll be assisting you this
time.
As per your question on the lifetime of the next_page_token, if you receive a
page with 10,000 rows and a page token that expires in 2 hours (or 7,200
seconds), then that leaves you with 0.72 seco
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
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
prove
I, too, am experiencing this issue. How long does it take before a
page_token expires?
I can paginate through hundreds of times but after a few hours, I get that
error response. I've tried querying with a page size of 1,000-10,000 and it
doesn't matter. Eventually the next_page_token expires.
Hi Lukas,
Glad to hear you found a workaround. Please let us know if any related issues
arise.
Regards,
Matt
Google Ads API Team
Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2HAFqj:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdevelop
Hey Matt,
I made a workaround where I first download all campaign ids into my
database and then I use the ids in a query that retrieves the keywords.
This allows me to segment keywords into smaller chunks.
So the new feature won't be necessary and the team can work on more
important tasks :).
Hi Lukas,
Thanks for reaching out. Would it be possible for you to retry this request
with a smaller page_size? This will break up the results into several responses
and will help the page token from expiring.
If this is not possible, we can submit a feature request on your behalf for
refreshi
It seems like the page token expires after 120 minutes...
On Wednesday, 12 May 2021 at 09:31:42 UTC+2 Lukas St wrote:
> The error occurs when downloading several millions of keywords that take
> around 2 or 3 hours using the google ads PHP library.
> The error was already described on this GitH
15 matches
Mail list logo