Resource: AdAsset
A single ad asset.
| JSON representation |
|---|
{ "adAssetId" : string , "name" : string , "entityStatus" : enum ( |
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.
Union field ad_asset_data
. The asset data.
This field currently only supports data for ad assets with the AD_ASSET_TYPE_YOUTUBE_VIDEO
AdAssetType
. ad_asset_data
can be only one of the following:
youtubeVideoAsset
object (
YoutubeVideoAsset
)
Youtube video asset data.
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. |
YoutubeVideoAsset
Data for a YouTube video ad asset.
| JSON representation |
|---|
{ "youtubeVideoId" : string } |
| Fields | |
|---|---|
youtubeVideoId
|
Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL. |
Methods |
|
|---|---|
|
Creates multiple ad assets in a single request. |
|
Creates an ad asset. |
|
Gets an ad asset. |
|
Lists ad assets under an advertiser ID. |
|
Uploads and creates an ad asset. |

