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
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 [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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/DvxfY000000000000000000000000000000000000000000000R2RAO800oMoKtU9uSjyZxwN8mMfNDA%40sfdc.net.