Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: customers.campaignConversionGoals.mutate

Stay organized with collections Save and categorize content based on your preferences.

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

HTTP request

POST https://googleads.googleapis.com/v11/customers/{customerId}/campaignConversionGoals:mutate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "operations": [
    {
      object (CampaignConversionGoalOperation)
    }
  ],
  "validateOnly": boolean
}
Fields
operations[]

object (CampaignConversionGoalOperation)

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

validateOnly

boolean

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

Response body

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

Response message for a campaign conversion goal mutate.

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

object (MutateCampaignConversionGoalResult)

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.