Hi,

thank you for your reply.

You actually repeated my own GAQL query. That's the one I already wrote.

I was asking what the WHERE clause whould be to only return rows with 
basically

  WHERE ad_group_ad.ad.responsive_search_ad.headlines IS NOT NULL
  OR ad_group_ad.ad.responsive_search_ad.descriptions IS NOT NULL

What is the correct WHERE clause in GAQL that yielded the expected result?
On Monday, September 1, 2025 at 2:46:45 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> By reviewing your query, I understand that you want to retrieve a list of 
> responsive search ads headlines and descriptions through the Google Ads 
> API. Please use the below sample GAQL query to retrieve the list of 
> responsive search ads details from *ad_group_ad* 
> <https://developers.google.com/google-ads/api/fields/latest/ad_group_ad> 
> resource.
>
>
> SELECT ad_group_ad.ad.responsive_search_ad.headlines, 
> ad_group_ad.ad.responsive_search_ad.descriptions FROM ad_group_ad
>
> You can use the* search* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/search?apix=true>
>  
> or* searchStream* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/searchStream?apix=true>
>  
> methods in making the API calls while retrieving the data. Additionally, 
> you can utilize the *Google Ads Query Builder* 
> <https://developers.google.com/google-ads/api/fields/v21/ad_group_ad_query_builder>
>  
> and *Query Validator* 
> <https://developers.google.com/google-ads/api/fields/v17/query_validator> 
> to build and validate the queries for retrieving the data from the Google 
> Ads API. If you are still facing an issue, please provide the uncropped UI 
> screenshot by highlighting the data that you are trying to retrieve along 
> with the *Google Ads customer ID* 
> <https://support.google.com/google-ads/answer/1704344?hl=en&sjid=10686818941406815727-AP>
>  
> for further investigation.
>
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001u5aR8IAI>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001u5aR8IAI>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001u5aR8IAI>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001u5aR8IAI>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001u5aR8IAI>
> [2025-09-01 12:46:00Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01u5aR8:ref" (ADR-00331505)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f8e752cb-4f21-482e-84af-6772b9c5cf5fn%40googlegroups.com.
  • Wh... MS
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... MS

Reply via email to