Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
close()
Close httplib2 connections.
mutate(customerId, body=None, x__xgafv=None)
Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
Args:
customerId: string, Required. The ID of the customer whose Search Ads 360 campaigns are being modified. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for SearchAds360CampaignService.MutateSearchAds360Campaigns.
"operations": [ # Required. The list of operations to perform on individual Search Ads 360 campaigns.
{ # A single operation (update) on a Search Ads 360 campaign.
"update": { # A Search Ads 360 campaign. # Update operation: The Search Ads 360 campaign is expected to have a valid resource name.
"productAttributionFilterType": "A String", # The type of product attribution filtering to apply to this campaign.
"resourceName": "A String", # Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}`
},
"updateMask": "A String", # FieldMask that determines which resource fields are modified in an update.
},
],
"partialFailure": True or False, # If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
"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 Search Ads 360 campaign mutate.
"results": [ # All results for the mutate.
{ # The result for the Search Ads 360 campaign mutate.
"resourceName": "A String", # Returned for successful operations.
"searchAds360Campaign": { # A Search Ads 360 campaign. # The mutated Search Ads 360 campaign with only mutable fields after mutate. The field will only be returned when response_content_type is set to "MUTABLE_RESOURCE".
"productAttributionFilterType": "A String", # The type of product attribution filtering to apply to this campaign.
"resourceName": "A String", # Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}`
},
},
],
}