Re: Getting ENUM_VALUE_NOT_PERMITTED

2021-11-17 Thread Oliver
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 ‘=’

Re: Getting ENUM_VALUE_NOT_PERMITTED

2021-11-17 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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.approva

Re: Getting ENUM_VALUE_NOT_PERMITTED

2021-11-17 Thread Oliver
Hi Jakeia, Yes it works if we use *=* instead of *IN*. However, how is this going to work if we want to include more statuses as follows: *AND ad_group_ad.policy_summary.approval_status IN (APPROVED, APPROVED_LIMITED) * Is it possible to include more than one enum value if we use *=* ? Olive

RE: Getting ENUM_VALUE_NOT_PERMITTED

2021-11-17 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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 t

Getting ENUM_VALUE_NOT_PERMITTED

2021-11-17 Thread Oliver
We used the *Query Migration Tool *to migrate one of our AWQL queries to the below GAQL. However, when running this query we get an *ENUM_VALUE_NOT_PERMITTED *error. *SELECT ad_group.id, * *ad_group_ad.ad.id,* *metrics.clicks,* *metrics.impressions * *FROM ad_group_ad * *WHERE campaign.id IN