Hi there,
For the external conversion source field, APP_UNSPECIFIED is listed as enum
value for both the old (Google AdWords: ExternalConversionSource
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#externalconversionsource>)
API and the new (Google Ads: segments.external_conversion_source
<https://developers.google.com/google-ads/api/fields/v8/campaign#segments.external_conversion_source>)
API.
Filtering on this through the old (Google AdWords) API works fine, but
filtering on this through the new API triggers a
PROHIBITED_ENUM_CONSTANT error:
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>"}]}}
Example query:
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
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd557a47-320e-4551-87dd-63a3254f6095n%40googlegroups.com.