Resource: AdAsset
A single ad asset.
| JSON representation | 
|---|
{ "adAssetId": string, "name": string, "entityStatus": enum (  | 
              
| Fields | |
|---|---|
adAssetId | 
                
                   
 Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.  | 
              
name | 
                
                   
 Identifier. The resource name of the ad asset.  | 
              
entityStatus | 
                
                   
 Output only. The entity status of the ad asset.  | 
              
adAssetType | 
                
                   
 Required. The type of the ad asset.  | 
              
Union field  This field currently only supports data for ad assets with the   | 
              |
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. |