Class AudienceSegment
The AudienceSegment resource.
Inheritance
AudienceSegment
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegment : IMessage<AudienceSegment>, IEquatable<AudienceSegment>, IDeepCloneable<AudienceSegment>, IBufferMessage, IMessage
Constructors
AudienceSegment()
Declaration
AudienceSegment(AudienceSegment)
Declaration
public AudienceSegment(AudienceSegment other)
Parameters
Properties
AdIdSize
Output only. Number of unique AdID identifiers in the AudienceSegment.
Declaration
public long AdIdSize { get; set; }
Property Value
AudienceSegmentName
Declaration
public AudienceSegmentName AudienceSegmentName { get; set; }
Property Value
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
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
Description
Optional. Description of the AudienceSegment. This has a maximum length
of 8192 characters.
Declaration
public string Description { get; set; }
Property Value
DisplayName
Required. Display name of the AudienceSegment. The attribute has a
maximum length of 255 characters.
Declaration
public string DisplayName { get; set; }
Property Value
HasAdIdSize
Gets whether the "ad_id_size" field is set
Declaration
public bool HasAdIdSize { get; }
Property Value
HasDataProviderDisplayName
Gets whether the "data_provider_display_name" field is set
Declaration
public bool HasDataProviderDisplayName { 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
HasIdfaSize
Gets whether the "idfa_size" field is set
Declaration
public bool HasIdfaSize { get; }
Property Value
HasMobileWebSize
Gets whether the "mobile_web_size" field is set
Declaration
public bool HasMobileWebSize { get; }
Property Value
HasPpidSize
Gets whether the "ppid_size" field is set
Declaration
public bool HasPpidSize { get; }
Property Value
HasSegmentType
Gets whether the "segment_type" field is set
Declaration
public bool HasSegmentType { get; }
Property Value
HasSize
Gets whether the "size" field is set
Declaration
public bool HasSize { get; }
Property Value
HasStatus
Gets whether the "status" field is set
Declaration
public bool HasStatus { get; }
Property Value
IdfaSize
Output only. Number of unique Identifier for Advertisers (IDFA) identifiers
in the AudienceSegment.
Declaration
public long IdfaSize { get; set; }
Property Value
MobileWebSize
Output only. Number of unique mobile web identifiers in the
AudienceSegment.
Declaration
public long MobileWebSize { get; set; }
Property Value
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
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
PpidSize
Output only. Number of unique publisher-provided (PPID) identifiers in the
AudienceSegment.
Declaration
public long PpidSize { get; set; }
Property Value
RuleBasedFirstPartyAudienceSegment
Optional. An AudienceSegment owned by the publisher network that
contains a rule.
Declaration
public AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment RuleBasedFirstPartyAudienceSegment { get; set; }
Property Value
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
SharedId
Output only. The ID of the AudienceSegment. Up to two resources may share
this ID.
Declaration
public long SharedId { get; set; }
Property Value
Size
Output only. Number of unique identifiers in the AudienceSegment.
Declaration
public long Size { get; set; }
Property Value
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
SubTypeCase
Declaration
public AudienceSegment.SubTypeOneofCase SubTypeCase { get; }
Property Value
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