Class ImageRedirectCreativeDetails
A Creative that loads an image asset from a specified URL.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ImageRedirectCreativeDetails : IMessage<ImageRedirectCreativeDetails>, IEquatable<ImageRedirectCreativeDetails>, IDeepCloneable<ImageRedirectCreativeDetails>, IBufferMessage, IMessage
Constructors
ImageRedirectCreativeDetails()
Declaration
public ImageRedirectCreativeDetails()
ImageRedirectCreativeDetails(ImageRedirectCreativeDetails)
Declaration
public ImageRedirectCreativeDetails(ImageRedirectCreativeDetails other)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageRedirectCreativeDetails | other |
Properties
AltText
Optional. 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 |
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 |
HasImageUrl
Gets whether the "image_url" field is set
Declaration
public bool HasImageUrl { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ImageUrl
Required. The URL where the actual asset resides. This field has a maximum length of 1024 characters.
Declaration
public string ImageUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ThirdPartyImpressionTrackingUrls
Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters.
Declaration
public RepeatedField<string> ThirdPartyImpressionTrackingUrls { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |