Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes customer conversion goals. Operation statuses are returned.
close()
Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes customer conversion goals. Operation statuses are returned.
Args:
customerId: string, Required. The ID of the customer whose customer conversion goals are being modified. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for CustomerConversionGoalService.MutateCustomerConversionGoals.
"operations": [ # Required. The list of operations to perform on individual customer conversion goal.
{ # A single operation (update) on a customer conversion goal.
"update": { # Biddability control for conversion actions with a matching category and origin. # Update operation: The customer conversion goal is expected to have a valid resource name.
"biddable": True or False, # The biddability of the customer conversion goal.
"category": "A String", # The conversion category of this customer conversion goal. Only conversion actions that have this category will be included in this goal.
"origin": "A String", # The conversion origin of this customer conversion goal. Only conversion actions that have this conversion origin will be included in this goal.
"resourceName": "A String", # Immutable. The resource name of the customer conversion goal. Customer conversion goal resource names have the form: `customers/{customer_id}/customerConversionGoals/{category}~{origin}`
},
"updateMask": "A String", # FieldMask that determines which resource fields are modified in an update.
},
],
"validateOnly": True or False, # If true, the request is validated but not executed. Only errors are returned, not results.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for a customer conversion goal mutate.
"results": [ # All results for the mutate.
{ # The result for the customer conversion goal mutate.
"resourceName": "A String", # Returned for successful operations.
},
],
}