Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.CreativeAsset Class Reference

A More...

Properties

long assetId [get, set]
 The ID of the asset. This attribute is generated by Google upon creation. More...
 
bool assetIdSpecified [get, set]
 
byte[] assetByteArray [get, set]
 The content of the asset as a byte array. This attribute is required when creating the creative that contains this asset if an More...
 
string fileName [get, set]
 The file name of the asset. This attribute is required when creating a new asset (e.g. when #assetByteArray is not null). More...
 
long fileSize [get, set]
 The file size of the asset in bytes. This attribute is read-only. More...
 
bool fileSizeSpecified [get, set]
 
string assetUrl [get, set]
 A URL where the asset can be previewed at. This field is read-only and set by Google. More...
 
Size size [get, set]
 The size of the asset. Note that this may not always reflect the actual physical size of the asset, but may reflect the expected size. This attribute is read-only and is populated by Google. More...
 
ClickTag[] clickTags [get, set]
 The click tags of the asset. This field is read-only. More...
 
ImageDensity imageDensity [get, set]
 The display density of the image. This is the ratio between a dimension in pixels of the image and the dimension in pixels that it should occupy in device-independent pixels when displayed. This attribute is optional and defaults to ONE_TO_ONE. More...
 
bool imageDensitySpecified [get, set]
 

Detailed Description

A

CreativeAsset is an asset that can be used in creatives.

Property Documentation

byte [] Google.Api.Ads.AdManager.v202311.CreativeAsset.assetByteArray
getset

The content of the asset as a byte array. This attribute is required when creating the creative that contains this asset if an

assetId is not provided.

When updating the content, pass a new byte array, and set to null. Otherwise, this field can be null.

The assetByteArray will be null when the creative is retrieved.

long Google.Api.Ads.AdManager.v202311.CreativeAsset.assetId
getset

The ID of the asset. This attribute is generated by Google upon creation.

bool Google.Api.Ads.AdManager.v202311.CreativeAsset.assetIdSpecified
getset

true, if a value is specified for assetId, false otherwise.

string Google.Api.Ads.AdManager.v202311.CreativeAsset.assetUrl
getset

A URL where the asset can be previewed at. This field is read-only and set by Google.

ClickTag [] Google.Api.Ads.AdManager.v202311.CreativeAsset.clickTags
getset

The click tags of the asset. This field is read-only.

string Google.Api.Ads.AdManager.v202311.CreativeAsset.fileName
getset

The file name of the asset. This attribute is required when creating a new asset (e.g. when #assetByteArray is not null).

long Google.Api.Ads.AdManager.v202311.CreativeAsset.fileSize
getset

The file size of the asset in bytes. This attribute is read-only.

bool Google.Api.Ads.AdManager.v202311.CreativeAsset.fileSizeSpecified
getset

true, if a value is specified for fileSize, false otherwise.

ImageDensity Google.Api.Ads.AdManager.v202311.CreativeAsset.imageDensity
getset

The display density of the image. This is the ratio between a dimension in pixels of the image and the dimension in pixels that it should occupy in device-independent pixels when displayed. This attribute is optional and defaults to ONE_TO_ONE.

bool Google.Api.Ads.AdManager.v202311.CreativeAsset.imageDensitySpecified
getset

true, if a value is specified for imageDensity, false otherwise.

Size Google.Api.Ads.AdManager.v202311.CreativeAsset.size
getset

The size of the asset. Note that this may not always reflect the actual physical size of the asset, but may reflect the expected size. This attribute is read-only and is populated by Google.


The documentation for this class was generated from the following file: