Class AudienceSegmentTargeting
Represents targeting for audience segments. The values are combined in a
logical OR.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegmentTargeting : IMessage<AudienceSegmentTargeting>, IEquatable<AudienceSegmentTargeting>, IDeepCloneable<AudienceSegmentTargeting>, IBufferMessage, IMessage
Constructors
AudienceSegmentTargeting()
Declaration
public AudienceSegmentTargeting()
AudienceSegmentTargeting(AudienceSegmentTargeting)
Declaration
public AudienceSegmentTargeting(AudienceSegmentTargeting other)
Parameters
| Type | Name | Description |
|---|---|---|
| AudienceSegmentTargeting | other |
Properties
AudienceSegments
Optional. The targeted audience segments.
This is either the resource name of a first-party audience segment or an
alias to the effective third-party audience segment. Third-party audience
segment resource names containing ~direct or ~global will be normalized
by the server. For example, networks/1234/audienceSegments/4567~direct
will be normalized to networks/1234/audienceSegments/4567.
Declaration
public RepeatedField<string> AudienceSegments { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
AudienceSegmentsAsAudienceSegmentNames
AudienceSegmentName-typed view over the AudienceSegments resource name property.
Declaration
public ResourceNameList<AudienceSegmentName> AudienceSegmentsAsAudienceSegmentNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<AudienceSegmentName> |
HasNegative
Gets whether the "negative" field is set
Declaration
public bool HasNegative { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Negative
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
Declaration
public bool Negative { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |