It worked when we used the single quotes.

Thank you very much!

Oliver

On Thursday, November 18, 2021 at 7:12:23 AM UTC adsapi wrote:

> Hi Oliver,
>
> This is Yasar and I work with Jakeia. Let me assist you with this.
>
> No, it’s not possible to include more than one enum value when using ‘=’ 
> operator. However, you may use the same query with the IN operator, but you 
> need to put in a single quote ex. 
> ad_group_ad.policy_summary.approval_status IN ('APPROVED')
>
> Here’s the below working GAQL in the request:
>
>
> SELECT ad_group.id,
> ad_group_ad.ad.id,
>
> metrics.clicks,
>
> metrics.impressions  
>
> FROM ad_group_ad
>
> WHERE campaign.id
>
>  IN (968861968)
>
> AND ad_group_ad.status IN (ENABLED)
>
> AND ad_group.status IN (ENABLED)
>
> AND ad_group_ad.ad.type IN (EXPANDED_TEXT_AD)
>
> AND ad_group_ad.policy_summary.approval_status IN ('APPROVED')
>
> AND segments.date DURING LAST_30_DAYS
>
> Let us know if you have any further questions
>
> Regards,
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> <https://google.qualtrics.com/jfe/form/SV_eQbOpf4VxRyyqqO?source=so>
>  
>
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2R9nAF:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/0481576d-1b85-483c-924f-88e9db178730n%40googlegroups.com.
  • Ge... Oliver
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Oliver
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... Oliver

Reply via email to