Method: customers.campaignDrafts.listAsyncErrors

Returns all errors that occurred during CampaignDraft promote. Throws an error if called before campaign draft is promoted. Supports standard list paging.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP request

GET https://googleads.googleapis.com/v16/{resourceName=customers/*/campaignDrafts/*}:listAsyncErrors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Required. The name of the campaign draft from which to retrieve the async errors.

Query parameters

Parameters
pageToken

string

Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from nextPageToken in the previous response in order to request the next page of results.

pageSize

integer

Number of elements to retrieve in a single page. When a page request is too large, the server may decide to further limit the number of returned resources.

Request body

The request body must be empty.

Response body

Response message for CampaignDraftService.ListCampaignDraftAsyncErrors.

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

JSON representation
{
  "errors": [
    {
      object (Status)
    }
  ],
  "nextPageToken": string
}
Fields
errors[]

object (Status)

Details of the errors when performing the asynchronous operation.

nextPageToken

string

Pagination token used to retrieve the next page of results. Pass the content of this string as the pageToken attribute of the next request. nextPageToken is not returned for the last page.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.