Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CustomTargetingValue.
The CustomTargetingValue
resource.
Generated from protobuf message google.ads.admanager.v1.CustomTargetingValue
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the CustomTargetingValue
. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}
↳ custom_targeting_key
string
Required. Immutable. The resource name of the CustomTargetingKey
. Format: networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
↳ ad_tag_name
string
Immutable. Name of the CustomTargetingValue
. Values can contain up to 40 characters each. You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are not data-specific; all values are treated as strings. For example, instead of using "age>=18 AND <=34", try "18-34"
↳ display_name
string
Optional. Descriptive name for the CustomTargetingValue
.
↳ match_type
int
Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
↳ status
int
Output only. Status of the CustomTargetingValue
.
getName
Identifier. The resource name of the CustomTargetingValue
.
Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}
string
setName
Identifier. The resource name of the CustomTargetingValue
.
Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}
var
string
$this
getCustomTargetingKey
Required. Immutable. The resource name of the CustomTargetingKey
.
Format: networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
string
setCustomTargetingKey
Required. Immutable. The resource name of the CustomTargetingKey
.
Format: networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
var
string
$this
getAdTagName
Immutable. Name of the CustomTargetingValue
. Values can contain up to 40
characters each. You can use alphanumeric characters and symbols other than
the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
not data-specific; all values are treated as strings. For example, instead
of using "age>=18 AND <=34", try "18-34"
string
setAdTagName
Immutable. Name of the CustomTargetingValue
. Values can contain up to 40
characters each. You can use alphanumeric characters and symbols other than
the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
not data-specific; all values are treated as strings. For example, instead
of using "age>=18 AND <=34", try "18-34"
var
string
$this
getDisplayName
Optional. Descriptive name for the CustomTargetingValue
.
string
setDisplayName
Optional. Descriptive name for the CustomTargetingValue
.
var
string
$this
getMatchType
Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
int
setMatchType
Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
var
int
$this
getStatus
Output only. Status of the CustomTargetingValue
.
int
setStatus
Output only. Status of the CustomTargetingValue
.
var
int
$this