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/v16/{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,
  "enableWarnings": 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.

enableWarnings

boolean

True to enable warnings for the offline user data job. When enabled, a warning will not block the OfflineUserDataJobOperation, and will also return warning messages about malformed field values.

Response body

Response message for OfflineUserDataJobService.AddOfflineUserDataJobOperations.

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

JSON representation
{
  "partialFailureError": {
    object (Status)
  },
  "warning": {
    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 (for example, auth errors), we return an RPC level error.

warning

object (Status)

Non blocking errors that pertain to operation failures in the warnings mode. Returned only when enableWarnings = true.

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.