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.offlineUserDataJobs.addOperations

Adds operations to the offline user data job.

List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError OfflineUserDataJobError QuotaError RequestError

HTTP request

POST https://googleads.googleapis.com/v8/{resourceName=customers/*/offlineUserDataJobs/*}:addOperations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Required. The resource name of the OfflineUserDataJob.

Request body

The request body contains data with the following structure:

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

object (OfflineUserDataJobOperation)

Required. The list of operations to be done.

validateOnly

boolean

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

enablePartialFailure

boolean

True to enable partial failure for the offline user data job.

Response body

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

Response message for OfflineUserDataJobService.AddOfflineUserDataJobOperations.

JSON representation
{
  "partialFailureError": {
    object (Status)
  }
}
Fields
partialFailureError

object (Status)

Errors that pertain to operation failures in the partial failure mode. Returned only when partialFailure = true and all errors occur inside the operations. If any errors occur outside the operations (e.g. auth errors), we return an RPC level error.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

OfflineUserDataJobOperation

Operation to be made for the AddOfflineUserDataJobOperationsRequest.

JSON representation
{

  // Union field operation can be only one of the following:
  "create": {
    object (UserData)
  },
  "remove": {
    object (UserData)
  },
  "removeAll": boolean
  // End of list of possible types for union field operation.
}
Fields
Union field operation. Operation to be made for the AddOfflineUserDataJobOperationsRequest. operation can be only one of the following:
create

object (UserData)

Add the provided data to the transaction. Data cannot be retrieved after being uploaded.

remove

object (UserData)

Remove the provided data from the transaction. Data cannot be retrieved after being uploaded.

removeAll

boolean

Remove all previously provided data. This is only supported for Customer Match.