ConversionValueRuleService fails to remove existing audience_condition

39 views
Skip to first unread message

Karthick Jaganathan

unread,
Jun 25, 2022, 12:59:12 PM6/25/22
to Google Ads API and AdWords API Forum
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

Google Ads API Forum Advisor

unread,
Jun 27, 2022, 3:35:07 AM6/27/22
to karthi...@gmail.com, adwor...@googlegroups.com
Hi Karthick,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Thank you for noticing and raising this concern to us. We really appreciate it. Furthermore, for us to investigate, could you provide us the complete request and response logs with request ID and request header generated on your end for the request that fails while removing existing audience conditions. Also, you may provide complete logs for issue encountered with the geo_location_condition issue. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. This will help our team to properly investigate and provide proper resolution to the issue.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cD1yq:ref
Reply all
Reply to author
Forward
0 new messages