Show / Hide Table of Contents

Class ImageCreativeDetails

A Creative that displays an image.

Inheritance
object
ImageCreativeDetails
Implements
IMessage<ImageCreativeDetails>
IEquatable<ImageCreativeDetails>
IDeepCloneable<ImageCreativeDetails>
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 ImageCreativeDetails : IMessage<ImageCreativeDetails>, IEquatable<ImageCreativeDetails>, IDeepCloneable<ImageCreativeDetails>, IBufferMessage, IMessage

Constructors

ImageCreativeDetails()

Declaration
public ImageCreativeDetails()

ImageCreativeDetails(ImageCreativeDetails)

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

Properties

AltText

Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters.

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

AmpDestinationUrl

Optional. The AMP destination URL for this creative. This must be a valid URL, including the http:// or https:// scheme.

Declaration
public string AmpDestinationUrl { 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

HasAmpDestinationUrl

Gets whether the "amp_destination_url" field is set

Declaration
public bool HasAmpDestinationUrl { 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

HasLockedOrientation

Gets whether the "locked_orientation" field is set

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

HasOverrideSize

Gets whether the "override_size" field is set

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

LockedOrientation

Optional. A locked orientation for this creative to be displayed in.

Declaration
public CreativeLockedOrientationEnum.Types.CreativeLockedOrientation LockedOrientation { get; set; }
Property Value
Type Description
CreativeLockedOrientationEnum.Types.CreativeLockedOrientation

OverrideSize

Optional. Allows the creative size to differ from the actual image asset size.

Declaration
public bool OverrideSize { get; set; }
Property Value
Type Description
bool

PrimaryImageAsset

The primary image asset associated with this creative. This attribute is required.

Declaration
public CreativeAsset PrimaryImageAsset { get; set; }
Property Value
Type Description
CreativeAsset

SecondaryImageAssets

Secondary image assets associated with this creative. This attribute is optional.

Secondary image assets can be used to store different resolution versions of the primary asset for use on non-standard density screens.

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

ThirdPartyImpressionTrackingUrls

Optional. 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