Hello,

When updating to V17 from V15 I get an error for my reports using PHP.
Fatal error: Allowed memory size of 402653184 bytes exhausted.
The reason I see is that indiviual page_size is not supported anymore and 
the 10000 page limit in V17 is too much for my current setup.

My code is as follows below. Is there anything that I can do in the 
response to reduce memory usage? I would like to avoid to segment the query 
itself into several pieces.

Many thanks in advance and kind regards,

Christoph


Example code, PHP

        $response =
$googleAdsServiceClient->search
(
            SearchGoogleAdsRequest::build
(
$customerId, 
$query 
)
        );

The error appears when executing this funcion:

foreach ($response->iterateAllElements() as $googleAdsRow)
{ ... code to extract the content, memory error appears at this point ... }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e45de1c7-7ca9-49f4-8fdd-7ec7962c5b4bn%40googlegroups.com.

Reply via email to