Re: create conversionaction throws exception creation_not_supported

2023-06-14 Thread Leonardo Faggiani
Thank you for the clarification.

El mié, 14 jun 2023 a las 6:51, Google Ads API Forum Advisor
() escribió:

> 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:
>
>- *CREATION_NOT_SUPPORTED* -
>
> *https://developers.google.com/google-ads/api/reference/rpc/v13/ConversionActionErrorEnum.ConversionActionError#creation_not_supported*
>
> 
>
>- *Additional Conversion Action Types* -
>
> *https://developers.google.cn/google-ads/api/docs/conversions/additional-types*
>
> 
>
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2mAyXC:ref"
>
> Thanks,
>
> [image: Google Logo] Google Ads API Team
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJT0tKwFKwOfiqV%3DjJnq%3DH2FFBHyHjjMywqJxyqacYY06yndfA%40mail.gmail.com.


Re: Create ConversionAction throws exception CREATION_NOT_SUPPORTED

2023-06-13 Thread Leonardo Faggiani
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 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 = XXX,
>  PropertyName = ""
>  }
>  };
>
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1ef236c1-a7ff-48c3-b0dd-bb64917802efn%40googlegroups.com.


Create ConversionAction throws exception CREATION_NOT_SUPPORTED

2023-06-08 Thread Leonardo Faggiani
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*


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 = XXX,
 PropertyName = ""
 }
 };

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/38377000-969a-45ad-8d44-eecd50e5ad84n%40googlegroups.com.