Hi,

Please note that you can't get a row count before a GAQL search using a COUNT() 
function like you would in SQL. It's not a supported feature, and it's not 
possible to submit a feature request for it.

However, you can use the return_total_results_count field to get a similar 
result. By setting this field to True in your search request, the Google Ads 
API will return the total number of rows that match your query, regardless of 
any LIMIT clause. This field is set to False by default.


Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-09-01 06:07:40Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01u5Uw5:ref" (ADR-00331366)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/0xZFw000000000000000000000000000000000000000000000T1WBOT000H9iSGokT_mEoIY7wVQGMg%40sfdc.net.
  • GA... MS
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... MS
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Axel Dahmen
          • ... Axel Dahmen
            • ... Axel Dahmen
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Axel Dahmen

Reply via email to