Class CreativePlaceholder
Describes a slot that a creative is expected to fill. This is used in forecasting and to validate that the correct creatives are associated with the line item.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CreativePlaceholder : IMessage<CreativePlaceholder>, IEquatable<CreativePlaceholder>, IDeepCloneable<CreativePlaceholder>, IBufferMessage, IMessage
Constructors
CreativePlaceholder()
Declaration
public CreativePlaceholder()
CreativePlaceholder(CreativePlaceholder)
Declaration
public CreativePlaceholder(CreativePlaceholder other)
Parameters
| Type | Name | Description |
|---|---|---|
| CreativePlaceholder | other |
Properties
AmpOnly
Optional. Non-empty default. Indicates if the expected creative of this placeholder has an AMP only variant. This is used to improve the accuracy of forecasting and has no effect on serving. By default, the value is false.
Declaration
public bool AmpOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AppliedLabels
Optional. Set of labels applied directly to this CreativePlaceholder.
Declaration
public RepeatedField<AppliedLabel> AppliedLabels { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<AppliedLabel> |
Companions
Optional. The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] of VIDEO_PLAYER or [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of CREATIVE_SET.
Declaration
public RepeatedField<CreativePlaceholderCompanion> Companions { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<CreativePlaceholderCompanion> |
CreativeTargetingDisplayName
Optional. The display name of the creative targeting that this CreativePlaceholder represents.
Declaration
public string CreativeTargetingDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpectedCreativeCount
Optional. Non-empty default. Expected number of creatives that will be uploaded corresponding to this creative placeholder. This estimate is used to improve the accuracy of forecasting; for example, if label frequency capping limits the number of times a creative may be served. By default, the expected creative count is set to 1.
Declaration
public int ExpectedCreativeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HasAmpOnly
Gets whether the "amp_only" field is set
Declaration
public bool HasAmpOnly { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCreativeTargetingDisplayName
Gets whether the "creative_targeting_display_name" field is set
Declaration
public bool HasCreativeTargetingDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasExpectedCreativeCount
Gets whether the "expected_creative_count" field is set
Declaration
public bool HasExpectedCreativeCount { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Size
Required. The size that the creative is expected to have.
Declaration
public Size Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |