Method: customers.customConversionGoals.mutate

Creates, updates or removes custom conversion goals. Operation statuses are returned.

HTTP request

POST https://googleads.googleapis.com/v14/customers/{customerId}/customConversionGoals:mutate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer whose custom conversion goals are being modified.

Request body

The request body contains data with the following structure:

JSON representation
{
  "operations": [
    {
      object (CustomConversionGoalOperation)
    }
  ],
  "validateOnly": boolean,
  "responseContentType": enum (ResponseContentType)
}
Fields
operations[]

object (CustomConversionGoalOperation)

Required. The list of operations to perform on individual custom conversion goal.

validateOnly

boolean

If true, the request is validated but not executed. Only errors are returned, not results.

responseContentType

enum (ResponseContentType)

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

Response body

Response message for a custom conversion goal mutate.

If successful, the response body contains data with the following structure:

JSON representation
{
  "results": [
    {
      object (MutateCustomConversionGoalResult)
    }
  ]
}
Fields
results[]

object (MutateCustomConversionGoalResult)

All results for the mutate.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.