Sometime around 2022-07-28 we started seeing a rare error occurring on
ConversionAction create when the field *Category *is assigned value
*ConvertedLead*. At this point we are seeing the error every time for the
said field assignment. What confuses me is that the error says we are
sending value *29*, which is not possible because the field is an enum and
we assign *ConvertedLead* which is suppose to be value *23*. We are using
GoogleAdsApi v11. Below is the request & error response:
Request (Using *ConversionActionService.MutateConversionActions*)
{"UpdateMask":null,"Create":{"ResourceName":"","Id":0,"HasId":false,"Name":"ConnectLead-1924967148","HasName":true,"Status":0,"Type":8,"Origin":0,"PrimaryForGoal":false,"HasPrimaryForGoal":false,"Category":23,"OwnerCustomer":"","HasOwnerCustomer":false,"IncludeInConversionsMetric":false,"HasIncludeInConversionsMetric":false,"ClickThroughLookbackWindowDays":0,"HasClickThroughLookbackWindowDays":false,"ViewThroughLookbackWindowDays":30,"HasViewThroughLookbackWindowDays":true,"ValueSettings":{"DefaultValue":1.0,"HasDefaultValue":true,"DefaultCurrencyCode":"","HasDefaultCurrencyCode":false,"AlwaysUseDefaultValue":false,"HasAlwaysUseDefaultValue":false},"CountingType":3,"AttributionModelSettings":{"AttributionModel":104,"DataDrivenModelStatus":0},"TagSnippets":[],"PhoneCallDurationSeconds":0,"HasPhoneCallDurationSeconds":false,"AppId":"","HasAppId":false,"MobileAppVendor":0,"FirebaseSettings":null,"ThirdPartyAppAnalyticsSettings":null},"Update":null,"Remove":"","OperationCase":1}
Error Response:
{{ "errors": [ { "errorCode": { "fieldError": "INVALID_VALUE" }, "message":
"The field's value is invalid.", "trigger": { "int64Value": "29" },
"location": { "fieldPathElements": [ { "fieldName": "operations", "index":
0 }, { "fieldName": "create" }, { "fieldName": "category" } ] } } ],
"requestId": "bAPqz_YRlxaeGbODJ6zZ-Q" }}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d83ee12-5a3f-4953-876b-923e96f398c4n%40googlegroups.com.