Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CustomTargetingLiteral.
Represents targeting for custom key/values. The values are ORed together.
Generated from protobuf message google.ads.admanager.v1.CustomTargetingLiteral
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ negative
bool
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
↳ custom_targeting_key
string
Optional. The resource name of the targeted CustomKey.
↳ custom_targeting_values
array
Optional. The resource names of the targeted CustomValues.
getNegative
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
bool
hasNegative
clearNegative
setNegative
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
var
bool
$this
getCustomTargetingKey
Optional. The resource name of the targeted CustomKey.
string
hasCustomTargetingKey
clearCustomTargetingKey
setCustomTargetingKey
Optional. The resource name of the targeted CustomKey.
var
string
$this
getCustomTargetingValues
Optional. The resource names of the targeted CustomValues.
setCustomTargetingValues
Optional. The resource names of the targeted CustomValues.
var
string[]
$this

