Method: conversions.batchupdate

  • The conversions.batchupdate method is used to update existing conversions.

  • The HTTP request method is POST and the URL includes a user profileId.

  • The request body contains a ConversionsBatchUpdateRequest which includes the conversions to update and optional encryption information.

  • The response body provides the status of each conversion update, indicating if any failures occurred.

  • Authorization requires the https://www.googleapis.com/auth/ddmconversions OAuth scope.

Updates existing conversions.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/conversions/batchupdate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body contains an instance of ConversionsBatchUpdateRequest.

Response body

Update Conversions Response.

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

JSON representation
{
  "hasFailures": boolean,
  "status": [
    {
      object (ConversionStatus)
    }
  ],
  "kind": string
}
Fields
hasFailures

boolean

Indicates that some or all conversions failed to update.

status[]

object (ConversionStatus)

The update status of each conversion. Statuses are returned in the same order that conversions are updated.

kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#conversionsBatchUpdateResponse"

.

Authorization scopes

Requires the following OAuth scope:

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

ConversionsBatchUpdateRequest

Update Conversions Request.

JSON representation
{
  "kind": string,
  "conversions": [
    {
      object (Conversion)
    }
  ],
  "encryptionInfo": {
    object (EncryptionInfo)
  }
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#conversionsBatchUpdateRequest"

.

conversions[]

object (Conversion)

The set of conversions to update.

encryptionInfo

object (EncryptionInfo)

Describes how

encryptedUserId

is encrypted. This is a required field if

encryptedUserId

is used.