Method: advertisers.adAssets.create

Creates an ad asset.

Returns the newly-created ad asset if successful.

Only supports the creation of assets of AdAssetType AD_ASSET_TYPE_YOUTUBE_VIDEO.

HTTP request

POST https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/adAssets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser this ad asset belongs to.

Request body

The request body contains data with the following structure:

JSON representation
{
  "adAsset": {
    object (AdAsset)
  }
}
Fields
adAsset

object (AdAsset)

Required. The ad asset to create.

Only supports assets of AdAssetType AD_ASSET_TYPE_YOUTUBE_VIDEO.

Response body

If successful, the response body contains a newly created instance of AdAsset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.