Show / Hide Table of Contents

Class AspectRatioImageCreativeDetails

A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

Inheritance
object
AspectRatioImageCreativeDetails
Implements
IMessage<AspectRatioImageCreativeDetails>
IEquatable<AspectRatioImageCreativeDetails>
IDeepCloneable<AspectRatioImageCreativeDetails>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AspectRatioImageCreativeDetails : IMessage<AspectRatioImageCreativeDetails>, IEquatable<AspectRatioImageCreativeDetails>, IDeepCloneable<AspectRatioImageCreativeDetails>, IBufferMessage, IMessage

Constructors

AspectRatioImageCreativeDetails()

Declaration
public AspectRatioImageCreativeDetails()

AspectRatioImageCreativeDetails(AspectRatioImageCreativeDetails)

Declaration
public AspectRatioImageCreativeDetails(AspectRatioImageCreativeDetails other)
Parameters
Type Name Description
AspectRatioImageCreativeDetails other

Properties

AltText

Optional. The text that is served along with the image creative, primarily for accessibility. If no suitable image size is available for the device, this text replaces the image completely. This field is optional and has a maximum length of 500 characters.

Declaration
public string AltText { get; set; }
Property Value
Type Description
string

DestinationUrl

Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the destinationUrlType is NONE, and has a maximum length of 1024 characters.

Declaration
public string DestinationUrl { get; set; }
Property Value
Type Description
string

DestinationUrlType

Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to CLICK_TO_WEB.

Declaration
public CreativeDestinationUrlTypeEnum.Types.CreativeDestinationUrlType DestinationUrlType { get; set; }
Property Value
Type Description
CreativeDestinationUrlTypeEnum.Types.CreativeDestinationUrlType

HasAltText

Gets whether the "alt_text" field is set

Declaration
public bool HasAltText { get; }
Property Value
Type Description
bool

HasDestinationUrl

Gets whether the "destination_url" field is set

Declaration
public bool HasDestinationUrl { get; }
Property Value
Type Description
bool

HasDestinationUrlType

Gets whether the "destination_url_type" field is set

Declaration
public bool HasDestinationUrlType { get; }
Property Value
Type Description
bool

ImageAssets

Required. The images associated with this creative. The ad server will choose one based on the capabilities of the device. Each asset should have a size which is of the same aspect ratio as the Creative.size. This attribute is required and must have at least one asset.

Declaration
public RepeatedField<CreativeAsset> ImageAssets { get; }
Property Value
Type Description
RepeatedField<CreativeAsset>

ThirdPartyImpressionTrackingUrls

Optional. Third party impression tracking URLs to ping when this creative is displayed.

Declaration
public RepeatedField<string> ThirdPartyImpressionTrackingUrls { get; }
Property Value
Type Description
RepeatedField<string>
In this article
Back to top Generated by DocFX