Class Placement
The Placement resource.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Placement : IMessage<Placement>, IEquatable<Placement>, IDeepCloneable<Placement>, IBufferMessage, IMessage
Constructors
Placement()
Declaration
public Placement()
Placement(Placement)
Declaration
public Placement(Placement other)
Parameters
| Type | Name | Description |
|---|---|---|
| Placement | other |
Properties
Description
Optional. A description of the Placement. This attribute has a maximum length of 65,535 characters.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Required. The display name of the placement. This attribute has a maximum length of 255 characters.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasDescription
Gets whether the "description" field is set
Declaration
public bool HasDescription { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPlacementCode
Gets whether the "placement_code" field is set
Declaration
public bool HasPlacementCode { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasStatus
Gets whether the "status" field is set
Declaration
public bool HasStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Identifier. The resource name of the Placement.
Format: networks/{network_code}/placements/{placement_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlacementCode
Output only. A string used to uniquely identify the Placement for purposes of serving the ad. This attribute is assigned by Google.
Declaration
public string PlacementCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlacementId
Output only. Placement ID.
Declaration
public long PlacementId { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
PlacementName
PlacementName-typed view over the Name resource name property.
Declaration
public PlacementName PlacementName { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementName |
Status
Output only. The status of the Placement.
Declaration
public PlacementStatusEnum.Types.PlacementStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementStatusEnum.Types.PlacementStatus |
TargetedAdUnits
Optional. The resource names of AdUnits that constitute the Placement. Format: "networks/{network_code}/adUnits/{ad_unit}"
Declaration
public RepeatedField<string> TargetedAdUnits { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
TargetedAdUnitsAsAdUnitNames
AdUnitName-typed view over the TargetedAdUnits resource name property.
Declaration
public ResourceNameList<AdUnitName> TargetedAdUnitsAsAdUnitNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<AdUnitName> |
UpdateTime
Output only. The instant this Placement was last modified.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |