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:443Headers: {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:
---
Chenai,
kind regards.