Show / Hide Table of Contents

Class CustomTargetingLiteral

Represents targeting for custom key/values. The values are ORed together.

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

Constructors

CustomTargetingLiteral()

Declaration
public CustomTargetingLiteral()

CustomTargetingLiteral(CustomTargetingLiteral)

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

Properties

CustomTargetingKey

Optional. The resource name of the targeted CustomKey.

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

CustomTargetingKeyAsCustomTargetingKeyName

CustomTargetingKeyName-typed view over the CustomTargetingKey resource name property.

Declaration
public CustomTargetingKeyName CustomTargetingKeyAsCustomTargetingKeyName { get; set; }
Property Value
Type Description
CustomTargetingKeyName

CustomTargetingValues

Optional. The resource names of the targeted CustomValues.

Declaration
public RepeatedField<string> CustomTargetingValues { get; }
Property Value
Type Description
RepeatedField<string>

CustomTargetingValuesAsCustomTargetingValueNames

CustomTargetingValueName-typed view over the CustomTargetingValues resource name property.

Declaration
public ResourceNameList<CustomTargetingValueName> CustomTargetingValuesAsCustomTargetingValueNames { get; }
Property Value
Type Description
ResourceNameList<CustomTargetingValueName>

HasCustomTargetingKey

Gets whether the "custom_targeting_key" field is set

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

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