Class Label
A Label is additional information that can be added to an entity.
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Label : IMessage<Label>, IEquatable<Label>, IDeepCloneable<Label>, IBufferMessage, IMessage
Constructors
Label()
Declaration
Label(Label)
Declaration
public Label(Label other)
Parameters
| Type |
Name |
Description |
| Label |
other |
|
Properties
Active
Output only. Specifies whether or not the label is active.
Declaration
public bool Active { get; set; }
Property Value
Description
Optional. A description of the label. This attribute has a maximum length
of 255 characters.
Declaration
public string Description { get; set; }
Property Value
DisplayName
Required. Display name of the Label. This attribute has a maximum length of
127 characters.
Declaration
public string DisplayName { get; set; }
Property Value
HasActive
Gets whether the "active" field is set
Declaration
public bool HasActive { get; }
Property Value
HasDescription
Gets whether the "description" field is set
Declaration
public bool HasDescription { get; }
Property Value
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
LabelName
Declaration
public LabelName LabelName { get; set; }
Property Value
Name
Identifier. The resource name of the Label.
Format: networks/{network_code}/labels/{label_id}
Declaration
public string Name { get; set; }
Property Value
Types_
Required. Unordered list. The types of the Label.
Declaration
public RepeatedField<LabelTypeEnum.Types.LabelType> Types_ { get; }
Property Value