Create ConversionAction throws exception CREATION_NOT_SUPPORTED

152 views
Skip to first unread message

Leonardo Faggiani

unread,
Jun 8, 2023, 2:51:53 PM6/8/23
to Google Ads API and AdWords API Forum
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
             };

Leonardo Faggiani

unread,
Jun 13, 2023, 9:34:24 AM6/13/23
to Google Ads API and AdWords API Forum
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.

Google Ads API Forum Advisor

unread,
Jun 14, 2023, 5:51:47 AM6/14/23
to leofa...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to Google Ads API Support.

With regards to your concern, it seems that you encounter the CREATION_NOT_SUPPORTED error. This error means that the creation of this conversion action type, which is of type “ConversionActionType.GoogleAnalytics4Custom”, isn't supported by Google Ads API.  

As mentioned in our documentation, the Additional Conversion Action Types are additional types of conversion actions available in reports, but may limit or prohibit creation or modification of those actions. GOOGLE_ANALYTICS_4_CUSTOM is an additional type of conversion action type. This is why you’re seeing an error message saying Creation of this conversion action type isn't supported by Google Ads API when you tried to create via Google Ads API. 

I hope this clarifies. Let us know if you have any further questions.

Links included in this email:

 
This message is in relation to case "ref:_00D1U1174p._5004Q2mAyXC:ref"

Thanks,
 
Google Logo Google Ads API Team


Leonardo Faggiani

unread,
Jun 14, 2023, 9:27:44 AM6/14/23
to ads...@forumsupport.google, adwor...@googlegroups.com
Thank you for the clarification. 
Reply all
Reply to author
Forward
0 new messages