Class CustomCreativeDetails
A Creative that contains a custom HTML snippet and file assets.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomCreativeDetails : IMessage<CustomCreativeDetails>, IEquatable<CustomCreativeDetails>, IDeepCloneable<CustomCreativeDetails>, IBufferMessage, IMessage
Constructors
CustomCreativeDetails()
Declaration
public CustomCreativeDetails()
CustomCreativeDetails(CustomCreativeDetails)
Declaration
public CustomCreativeDetails(CustomCreativeDetails other)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomCreativeDetails | other |
Properties
AmpHtmlSnippet
The AMP HTML snippet that this creative delivers.
Declaration
public string AmpHtmlSnippet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomCreativeAssets
Optional. File assets that are associated with this creative, and can be referenced in the snippet.
Declaration
public RepeatedField<CustomCreativeAsset> CustomCreativeAssets { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<CustomCreativeAsset> |
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 |
EffectiveSafeFrameCompatible
Output only. The effective value of whether the creative is compatible for SafeFrame rendering, as decided by the service.
Declaration
public bool EffectiveSafeFrameCompatible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAmpHtmlSnippet
Gets whether the "amp_html_snippet" field is set
Declaration
public bool HasAmpHtmlSnippet { 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 |
HasEffectiveSafeFrameCompatible
Gets whether the "effective_safe_frame_compatible" field is set
Declaration
public bool HasEffectiveSafeFrameCompatible { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasHtmlSnippet
Gets whether the "html_snippet" field is set
Declaration
public bool HasHtmlSnippet { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasInterstitial
Gets whether the "interstitial" field is set
Declaration
public bool HasInterstitial { 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 |
HasSafeFrameCompatible
Gets whether the "safe_frame_compatible" field is set
Declaration
public bool HasSafeFrameCompatible { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HtmlSnippet
Required. The HTML snippet that this creative delivers.
Declaration
public string HtmlSnippet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Interstitial
Whether this custom creative is an interstitial. An interstitial creative will not consider an impression served until it is fully rendered in the browser.
Declaration
public bool Interstitial { get; set; }
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 |
SafeFrameCompatible
Input only. Whether the creative is compatible for SafeFrame rendering.
Declaration
public bool SafeFrameCompatible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ThirdPartyImpressionTrackingUrls
Optional. Impression tracking URLs to ping when this creative is displayed.
Declaration
public RepeatedField<string> ThirdPartyImpressionTrackingUrls { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |