Hello same issue, but we also do query like 

SELECT ad_group.status, 
campaign.id,campaign.name,ad_group.id,ad_group.name,segments.ad_network_type,click_view.keyword_info.match_type,click_view.keyword_info.text,metrics.clicks,click_view.ad_group_ad,click_view.keyword,segments.click_type,click_view.gclid
            FROM click_view
            WHERE ad_group.status IN ("ENABLED","PAUSED") AND segments.date 
= "2024-08-10"

using PHP SDK for v17 and we get 

Fatal error: Allowed memory size  error because 10000K rows with a lot of 
string values just too much of the data especially after its processed by 
PHP SDK mapper

Please advise what to do in cases like this? SDK becomes unusable...

On Thursday, July 11, 2024 at 9:31:29 PM UTC+3 Andrei Simonov wrote:

> How do I limit the number of query results now? Let's say I want to 
> display the first 10 campaigns to the user. Later, if the user wants, they 
> can load the next 10 campaigns, but they might not want to load them. If 
> the page_size is always 10000, I will have to load all the campaigns and 
> parse them regardless of the user's desire, right?
>
> On Friday, July 5, 2024 at 4:30:25 PM UTC+2 Google Ads API Forum Advisor 
> wrote:
>
>> Hi,
>>
>> Kindly note that whatever the value you have set for page_size in v17 it 
>> will throw a PAGE_SIZE_NOT_SUPPORTED 
>> <https://developers.google.com/google-ads/api/reference/rpc/v17/RequestErrorEnum.RequestError#page_size_not_supported>
>>  as 
>> setting the page size is not supported from v17, and will be unavailable in 
>> a future version. I would suggest not to use the page_size field from v17.
>>
>>   
>>
>>
>> *This message is in relation to case "ref:!00D1U01174p.!5004Q02tJb4z:ref" 
>> (ADR-00245132) Thanks,*
>>   
>> [image: Google Logo] *Google Ads API Team* 
>> *Register 
>> <https://adsonair.withgoogle.com/events/performance-max-api-workshop> for 
>> the upcoming workshop: Performance Max and the Google Ads API!*
>>  
>>
>>  
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b8afee14-198b-40ea-b0e7-a1101573832dn%40googlegroups.com.
  • V1... zhiwei hu
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... zhiwei hu
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... don....@gmail.com
            • ... Tjerk Ameel
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to