Hi,
Recently I found a problem. When I created conversion tracking, I reported
the following error, but I also passed the parameters to create conversions
in the same way before, which can be called normally. Excuse me, is
setIncludeInConversionsMetric setting include_in_conversions_metric not
supported now? So should this function be replaced with that field setting?
In addition, I would like to ask a question. I learned that the operation
optimization setting function in the background can set the main operation
and the secondary operation. If the secondary operation is set, the
conversion will not be included in the conversion field. Can this be an
alternative to setting include_in_conversions_metric ? What is the impact
of this setting?
api request, the result is as follows:
Request
-------
MethodName:
google.ads.googleads.v11.services.ConversionActionService/MutateConversionActions
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=4932796031,
x-goog-api-client=gl-java/1.8.0_291 gccl/19.0.0 gapic/19.0.0 gax/2.9.0
grpc/1.33.0}
Body: customer_id: "8174837919"
operations {
create {
type: UPLOAD_CLICKS
category: DEFAULT
value_settings {
default_value: 1.0
default_currency_code: "CNY"
always_use_default_value: false
}
counting_type: ONE_PER_CLICK
attribution_model_settings {
attribution_model: GOOGLE_ADS_LAST_CLICK
}
name: "A"
include_in_conversions_metric: false
click_through_lookback_window_days: 90
}
}
Response
--------
Headers:
Metadata(content-type=application/grpc,request-id=xo4xz7DWA7Gtk308IOEQcA,date=Tue,
25 Oct 2022 05:52:11 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443";
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443";
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
field_error: IMMUTABLE_FIELD
}
message: "The field attempted to be mutated is immutable."
trigger {
boolean_value: false
}
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "include_in_conversions_metric"
}
}
}
request_id: "xo4xz7DWA7Gtk308IOEQcA"
-------------------------
Action optimization:
[image: 微信截图_20221025141223.png]
[image: 微信截图_20221025141239.png]
---
Chenai,
kind regards.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/84ff19ef-b9e3-4ae6-9b2b-ce37d00552efn%40googlegroups.com.