Error: 400 - {"error":{"code":400,"message":"Request contains an invalid argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure","errors":[{"errorCode":{"queryError":"PROHIBITED_ENUM_CONSTANT"},"message":"Filtering by 'APP_UNSPECIFIED' is not supported."}],"requestId":"<REDACTED>"}]}}
SELECT metrics.conversions FROM campaign WHERE segments.external_conversion_source = "APP_UNSPECIFIED" AND segments.date >= '2021-10-11' AND segments.date <= '2021-10-17'
Other enum values for the external conversion source field work fine, it's just the APP_UNSPECIFIED value that's not working, and only for the new API.
Is this intended behavior?
Thank you,
Tiana
Hello Tiana,
Thank you for raising this to us.
So our team can better check on this, can you share to us the following details below?
Please send the requested details via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
As aside, I tried using the Query builder with your provided sample query and it returns an invalid query message (Field 'segments.external_conversion_source' in the WHERE clause is causing an error. Segments other than core date segments ('segments.date', 'segments.week', 'segments.month', 'segments.quarter', 'segments.year') must be present in the SELECT clause before being added to the WHERE clause.).
Regards,
|
||||||