Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes conversion goal campaign config. Operation statuses are returned.
close()
Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Creates, updates or removes conversion goal campaign config. Operation statuses are returned.
Args:
customerId: string, Required. The ID of the customer whose custom conversion goals are being modified. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs.
"operations": [ # Required. The list of operations to perform on individual conversion goal campaign config.
{ # A single operation (update) on a conversion goal campaign config.
"update": { # Conversion goal settings for a Campaign. # Update operation: The conversion goal campaign config is expected to have a valid resource name.
"campaign": "A String", # Immutable. The campaign with which this conversion goal campaign config is associated.
"customConversionGoal": "A String", # The custom conversion goal the campaign is using for optimization.
"goalConfigLevel": "A String", # The level of goal config the campaign is using.
"resourceName": "A String", # Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign config resource names have the form: `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}`
"searchAds360CustomConversionGoal": "A String", # The Search Ads 360 custom conversion goal the campaign is using for optimization.
"searchAds360GoalConfigLevel": "A String", # The level of Search Ads 360 goal config the campaign is using.
},
"updateMask": "A String", # FieldMask that determines which resource fields are modified in an update.
},
],
"responseContentType": "A String", # The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
"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 conversion goal campaign config mutate.
"results": [ # All results for the mutate.
{ # The result for the conversion goal campaign config mutate.
"conversionGoalCampaignConfig": { # Conversion goal settings for a Campaign. # The mutated ConversionGoalCampaignConfig with only mutable fields after mutate. The field will only be returned when response_content_type is set to "MUTABLE_RESOURCE".
"campaign": "A String", # Immutable. The campaign with which this conversion goal campaign config is associated.
"customConversionGoal": "A String", # The custom conversion goal the campaign is using for optimization.
"goalConfigLevel": "A String", # The level of goal config the campaign is using.
"resourceName": "A String", # Immutable. The resource name of the conversion goal campaign config. Conversion goal campaign config resource names have the form: `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}`
"searchAds360CustomConversionGoal": "A String", # The Search Ads 360 custom conversion goal the campaign is using for optimization.
"searchAds360GoalConfigLevel": "A String", # The level of Search Ads 360 goal config the campaign is using.
},
"resourceName": "A String", # Returned for successful operations.
},
],
}