Show / Hide Table of Contents

Class Placement

The Placement resource.

Inheritance
object
Placement
Implements
IMessage<Placement>
IEquatable<Placement>
IDeepCloneable<Placement>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
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 value is optional and its maximum length is 65,535 characters.

Declaration
public string Description { get; set; }
Property Value
Type Description
string

DisplayName

Required. The display name of the placement. Its maximum length is 255 characters.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

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 read-only and is assigned by Google when a placement is created.

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. This attribute is read-only.

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_id}"

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
In this article
Back to top Generated by DocFX