Hi again, could someone help me with this ? I know the error message is so
clear but maybe its wrong because in the video of release note 14 said
Google Analytics 4 is supported.
El jueves, 8 de junio de 2023 a la(s) 15:51:53 UTC-3, Leonardo Faggiani
escribió:
> Hello everyone,
> Context:
> We have in the company more than 600+ customers and at 1 July is the end
> of universal analytics, so I'm working with Google Ads API to import the
> conversions from GA4 and don't do it manually.
>
> Im trying to import Conversion from GA4 but I got this error:
>
> *Status(StatusCode="InvalidArgument", Detail="Request contains an invalid
> argument.")*
>
> * { "conversionActionError": "CREATION_NOT_SUPPORTED" }, "message":
> "Creation of this conversion action type isn't supported by Google Ads
> API.", "location": { "fieldPathElements": [ { "fieldName": "operations" ,
> "index": 0 }, { "fieldName": "create" }, { "fieldName": "type" } ] } } ]}
> Google.Protobuf.Collections.RepeatedField<Google.Ads.GoogleAds.V14.Errors.
> GoogleAdsError>*
>
>
> Request body samples
>
> //Don't work
> ConversionAction conversionAction = new ConversionAction()
> {
> Name = "TEST",
> Category = ConversionActionCategory.Default,
> Type = ConversionActionType.GoogleAnalytics4Custom,
> Status = ConversionActionStatus.Enabled,
> ClickThroughLookbackWindowDays = 30,
> GoogleAnalytics4Settings = new
> ConversionAction.Types.GoogleAnalytics4Settings()
> {
> PropertyId = XXXXXXX,
> PropertyName = "XXXXXXXXXXXX"
> }
> };
>
> If i use another kind of type like ConversionActionType.WebPage the
> creation work
>
> //Work
> ConversionAction conversionAction = new ConversionAction()
> {
> Name = "TEST",
> Category = ConversionActionCategory.Default,
> Type = ConversionActionType.Webpage,
> ValueSettings = new ConversionAction.Types.ValueSettings()
> {
> DefaultValue = 11
> },
> Status = ConversionActionStatus.Enabled,
> ClickThroughLookbackWindowDays = 30
> };
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/1ef236c1-a7ff-48c3-b0dd-bb64917802efn%40googlegroups.com.