Hello Oliver,
Thanks for reaching out. Could you please retry your GAQL query in this field “ad_group_ad.policy_summary.approval_status” with “=” APPROVED instead “
IN” APPROVED.
If the issue still persists, please provide us with the complete request and response logs via the reply privately to the author option.
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
Best regards,
![]() |
|
||||
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
|
||||||