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.create

Creates an offline user data job.

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

HTTP request

POST https://googleads.googleapis.com/v7/customers/{customerId}/offlineUserDataJobs:create

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer for which to create an offline user data job.

Request body

The request body contains data with the following structure:

JSON representation
{
  "job": {
    object (OfflineUserDataJob)
  },
  "validateOnly": boolean
}
Fields
job

object (OfflineUserDataJob)

Required. The offline user data job to be created.

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 OfflineUserDataJobService.CreateOfflineUserDataJob.

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

The resource name of the OfflineUserDataJob.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.