Hi Rajesh,

While the maximum "page_size" of a search query is 10.000, this might exeed 
its 4MB-Limit (that's the "4194304" in the error message). Your response 
would be 8665164 Bytes (B) = 8.26 Megabytes (MB) large.

I've had this error before and I solved it by lowering the "page_size" of 
the search query.
Try something like this:


results = ga_service.search(customer_id, query=query, page_size=2500)

Regards
Mat

Am Donnerstag, 16. Mai 2019 12:38:08 UTC+2 schrieb Rajesh Naveen:
>
> Hi,
> I am getting exception while retrieving Price Feed Items
>
> Status(StatusCode=ResourceExhausted, Detail="Received message larger than 
> max (8665164 vs. 4194304)") 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/9ea30c70-390e-4112-8479-162554a67ba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Receive... Rajesh Naveen
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... Mat

Reply via email to