Show / Hide Table of Contents

Class AudienceSegment

The AudienceSegment resource.

Inheritance
object
AudienceSegment
Implements
IMessage<AudienceSegment>
IEquatable<AudienceSegment>
IDeepCloneable<AudienceSegment>
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 AudienceSegment : IMessage<AudienceSegment>, IEquatable<AudienceSegment>, IDeepCloneable<AudienceSegment>, IBufferMessage, IMessage

Constructors

AudienceSegment()

Declaration
public AudienceSegment()

AudienceSegment(AudienceSegment)

Declaration
public AudienceSegment(AudienceSegment other)
Parameters
Type Name Description
AudienceSegment other

Properties

AdIdSize

Output only. Number of unique AdID identifiers in the AudienceSegment.

Declaration
public long AdIdSize { get; set; }
Property Value
Type Description
long

AudienceSegmentName

AudienceSegmentName-typed view over the Name resource name property.

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

CategoryIds

Optional. Unordered list. IDs of the categories that this audience segment belongs to. See segment_categories for additional information about the categories.

Declaration
public RepeatedField<long> CategoryIds { get; }
Property Value
Type Description
RepeatedField<long>

DataProviderDisplayName

Output only. Display name of the owner data provider. For a first-party audience segment, this is the display name of the publisher network. Otherwise, this is the display name of the entity providing the audience segment.

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

Description

Optional. Description of the AudienceSegment. This has a maximum length of 8192 characters.

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

DisplayName

Required. Display name of the AudienceSegment. The attribute has a maximum length of 255 characters.

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

HasAdIdSize

Gets whether the "ad_id_size" field is set

Declaration
public bool HasAdIdSize { get; }
Property Value
Type Description
bool

HasDataProviderDisplayName

Gets whether the "data_provider_display_name" field is set

Declaration
public bool HasDataProviderDisplayName { get; }
Property Value
Type Description
bool

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

HasIdfaSize

Gets whether the "idfa_size" field is set

Declaration
public bool HasIdfaSize { get; }
Property Value
Type Description
bool

HasMobileWebSize

Gets whether the "mobile_web_size" field is set

Declaration
public bool HasMobileWebSize { get; }
Property Value
Type Description
bool

HasPpidSize

Gets whether the "ppid_size" field is set

Declaration
public bool HasPpidSize { get; }
Property Value
Type Description
bool

HasSegmentType

Gets whether the "segment_type" field is set

Declaration
public bool HasSegmentType { get; }
Property Value
Type Description
bool

HasSize

Gets whether the "size" field is set

Declaration
public bool HasSize { get; }
Property Value
Type Description
bool

HasStatus

Gets whether the "status" field is set

Declaration
public bool HasStatus { get; }
Property Value
Type Description
bool

IdfaSize

Output only. Number of unique Identifier for Advertisers (IDFA) identifiers in the AudienceSegment.

Declaration
public long IdfaSize { get; set; }
Property Value
Type Description
long

MobileWebSize

Output only. Number of unique mobile web identifiers in the AudienceSegment.

Declaration
public long MobileWebSize { get; set; }
Property Value
Type Description
long

Name

Identifier. The resource name of the AudienceSegment. Format: networks/{network_code}/audienceSegments/{audience_segment_id} The audience_segment_id is not always numerical and may have one of the following suffixes:

  • ~direct for directly licensed third-party segments
  • ~global for globally licensed third-party segments
Declaration
public string Name { get; set; }
Property Value
Type Description
string

NonRuleBasedFirstPartyAudienceSegment

Optional. An AudienceSegment owned by the publisher network that does not contain a rule. Cookies are usually added to these segments through cookie upload.

Declaration
public AudienceSegment.Types.NonRuleBasedFirstPartyAudienceSegment NonRuleBasedFirstPartyAudienceSegment { get; set; }
Property Value
Type Description
AudienceSegment.Types.NonRuleBasedFirstPartyAudienceSegment

PpidSize

Output only. Number of unique publisher-provided (PPID) identifiers in the AudienceSegment.

Declaration
public long PpidSize { get; set; }
Property Value
Type Description
long

RuleBasedFirstPartyAudienceSegment

Optional. An AudienceSegment owned by the publisher network that contains a rule.

Declaration
public AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment RuleBasedFirstPartyAudienceSegment { get; set; }
Property Value
Type Description
AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment

SegmentType

Output only. Non-empty default. Type of the AudienceSegment. Every AudienceSegment is either FIRST_PARTY or THIRD_PARTY.

Declaration
public AudienceSegmentTypeEnum.Types.AudienceSegmentType SegmentType { get; set; }
Property Value
Type Description
AudienceSegmentTypeEnum.Types.AudienceSegmentType

SharedId

Output only. The ID of the AudienceSegment. Up to two resources may share this ID.

Declaration
public long SharedId { get; set; }
Property Value
Type Description
long

Size

Output only. Number of unique identifiers in the AudienceSegment.

Declaration
public long Size { get; set; }
Property Value
Type Description
long

Status

Output only. Non-empty default. Status of the AudienceSegment used to determine whether the segment is available for targeting. Defaults to ACTIVE if not set.

Declaration
public AudienceSegmentStatusEnum.Types.AudienceSegmentStatus Status { get; set; }
Property Value
Type Description
AudienceSegmentStatusEnum.Types.AudienceSegmentStatus

SubTypeCase

Declaration
public AudienceSegment.SubTypeOneofCase SubTypeCase { get; }
Property Value
Type Description
AudienceSegment.SubTypeOneofCase

ThirdPartyAudienceSegment

Output only. An AudienceSegment owned by a data provider and licensed to the Ad Manager publisher network.

Declaration
public AudienceSegment.Types.ThirdPartyAudienceSegment ThirdPartyAudienceSegment { get; set; }
Property Value
Type Description
AudienceSegment.Types.ThirdPartyAudienceSegment
In this article
Back to top Generated by DocFX