REST Resource: advertisers.adAssets

Resource: AdAsset

A single ad asset.

JSON representation
{
  "adAssetId": string,
  "name": string,
  "entityStatus": enum (EntityStatus),
  "adAssetType": enum (AdAssetType),
  "syntheticContentAttestationStatus": enum (SyntheticContentAttestationStatus),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "youtubeVideoAsset": {
    object (YoutubeVideoAsset)
  }
  // End of mutually exclusive fields.
}
Fields
adAssetId

string (int64 format)

Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.

name

string

Identifier. The resource name of the ad asset.

entityStatus

enum (EntityStatus)

Output only. The entity status of the ad asset.

adAssetType

enum (AdAssetType)

Required. The type of the ad asset.

syntheticContentAttestationStatus

enum (SyntheticContentAttestationStatus)

Optional. Whether to add a label to the asset as created or edited using AI when served in regions with local AI labeling regulations.

The asset data.

This field currently only supports data for ad assets with the AD_ASSET_TYPE_YOUTUBE_VIDEO AdAssetType. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:

youtubeVideoAsset

object (YoutubeVideoAsset)

Youtube video asset data.

End of mutually exclusive fields.

YoutubeVideoAsset

Data for a YouTube video ad asset.

JSON representation
{
  "youtubeVideoId": string
}
Fields
youtubeVideoId

string

Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL.

AdAssetType

Ad asset type.

Enums
AD_ASSET_TYPE_UNSPECIFIED The ad asset type is unspecified.
AD_ASSET_TYPE_IMAGE The ad asset is a YouTube/DemandGen image.
AD_ASSET_TYPE_YOUTUBE_VIDEO The ad asset is a YouTube video.

Methods

bulkCreate

Creates multiple ad assets in a single request.

create

Creates an ad asset.

get

Gets an ad asset.

list

Lists ad assets under an advertiser ID.

patch

Updates an ad asset.

upload

Uploads and creates an ad asset.