Class Html5CreativeDetails
A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Html5CreativeDetails : IMessage<Html5CreativeDetails>, IEquatable<Html5CreativeDetails>, IDeepCloneable<Html5CreativeDetails>, IBufferMessage, IMessage
Constructors
Html5CreativeDetails()
Declaration
public Html5CreativeDetails()
Html5CreativeDetails(Html5CreativeDetails)
Declaration
public Html5CreativeDetails(Html5CreativeDetails other)
Parameters
| Type | Name | Description |
|---|---|---|
| Html5CreativeDetails | other |
Properties
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 |
HasSafeFrameCompatible
Gets whether the "safe_frame_compatible" field is set
Declaration
public bool HasSafeFrameCompatible { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasThirdPartyClickTrackingUrl
Gets whether the "third_party_click_tracking_url" field is set
Declaration
public bool HasThirdPartyClickTrackingUrl { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Html5Asset
Required. The HTML5 asset. To preview the HTML5 asset, use the
CreativeAsset.asset_url. In this field, the
CreativeAsset.asset_byte_array must be a zip bundle and the
CreativeAsset.file_name must have a zip extension.
Declaration
public CreativeAsset Html5Asset { get; set; }
Property Value
| Type | Description |
|---|---|
| CreativeAsset |
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 HTML5 asset size.
Declaration
public bool OverrideSize { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SafeFrameCompatible
Optional. Whether the creative is compatible for SafeFrame rendering.
Declaration
public bool SafeFrameCompatible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ThirdPartyClickTrackingUrl
Optional. A click tracking URL to ping when this creative is clicked.
Declaration
public string ThirdPartyClickTrackingUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ThirdPartyImpressionTrackingUrls
Optional. Impression tracking URLs to ping when this creative is displayed.
Declaration
public RepeatedField<string> ThirdPartyImpressionTrackingUrls { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |