Trying to update *audience_condition* using Ads API
ConversionValueRuleService but the request fails to remove existing
audience conditions.
Noticing similar behaviour for *geo_location_condition*
Ads API version: both v11 and v10
Ads API request and response sample:
*Request:*
customer_id: "<customer_id>"
operations {
update {
resource_name:
"customers/<customer_id>/conversionValueRules/<conversion_rule_id>"
action {
operation: ADD
value: 6.0
}
device_condition {
device_types: TABLET
}
audience_condition {
user_interests: "customers/<customer_id>/userInterests/92913"
}
}
update_mask {
paths: "resource_name"
paths: "action.operation"
paths: "action.value"
paths: "device_condition.device_types"
paths: "audience_condition.user_interests"
}
}
response_content_type: MUTABLE_RESOURCE
*Response:*
Request made: ClientCustomerId: <customer_id>, Host:
googleads.googleapis.com, Method:
/google.ads.googleads.v10.services.ConversionValueRuleService/MutateConversionValueRules,
*RequestId:
FsqY0mgIcjm67CjgmsqW-Q*, IsFault: False, FaultMessage: None
results {
resource_name:
"customers/<customer_id>/conversionValueRules/<conversion_rule_id>"
conversion_value_rule {
resource_name:
"customers/<customer_id>/conversionValueRules/<conversion_rule_id>"
id: 35838960
action {
operation: ADD
value: 6.0
}
device_condition {
device_types: TABLET
}
audience_condition {
user_interests: "customers/<customer_id>/userInterests/92913"
user_interests: "customers/<customer_id>/userInterests/92931"
}
status: ENABLED
}
}
Thanks,
Karthick
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9fbd0ae5-ef9e-4d0d-bdb6-7e45264d86een%40googlegroups.com.