Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes campaign conversion goals. Operation statuses are returned.
close()
Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes campaign conversion goals. Operation statuses are returned.
Args:
customerId: string, Required. The ID of the customer whose campaign conversion goals are being modified. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for CampaignConversionGoalService.MutateCampaignConversionGoals.
"operations": [ # Required. The list of operations to perform on individual campaign conversion goal.
{ # A single operation (update) on a campaign conversion goal.
"update": { # The biddability setting for the specified campaign only for all 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 campaign conversion goal.
"campaign": "A String", # Immutable. The campaign with which this campaign conversion goal is associated.
"category": "A String", # The conversion category of this campaign conversion goal.
"origin": "A String", # The conversion origin of this campaign conversion goal.
"resourceName": "A String", # Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource names have the form: `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}`
"searchAds360Biddable": True or False, # Search Ads 360 biddability of the campaign conversion goal.
},
"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 campaign conversion goal mutate.
"results": [ # All results for the mutate.
{ # The result for the campaign conversion goal mutate.
"resourceName": "A String", # Returned for successful operations.
},
],
}