customers

POST /v23/customers/{customersId}/assets:mutate

Creates assets. Operation statuses are returned. List of thrown errors: AssetError AuthenticationError AuthorizationError CollectionSizeError CurrencyCodeError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError ListOperationError MediaUploadError MutateError NotAllowlistedError NotEmptyError OperatorError QuotaError RangeError RequestError SizeLimitError StringFormatError StringLengthError UrlFieldError YoutubeVideoRegistrationError

Request

  • Base URL
    https://searchads360.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

customersIdstring required

Request body

partialFailureboolean

If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

responseContentType'UNSPECIFIED' | 'RESOURCE_NAME_ONLY' | 'MUTABLE_RESOURCE'

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

validateOnlyboolean

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

Response

Successful response

Changes

No recorded changes to this operation across all 4 revisions of this API.