Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.CustomTargetingValue Class Reference

More...

Properties

long customTargetingKeyId [get, set]
 The ID of the More...
 
bool customTargetingKeyIdSpecified [get, set]
 
long id [get, set]
 The ID of the More...
 
bool idSpecified [get, set]
 
string name [get, set]
 Name of the value. This can be used for encoding . If you don't want users to be able to see potentially sensitive targeting information in the ad tags of your site, you can encode your key/values. For example, you can create key/value g1=abc to represent gender=female. 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 string. For example, instead of using "age&gt;=18 AND &lt;=34", try "18-34" More...
 
string displayName [get, set]
 Descriptive name for the value. More...
 
CustomTargetingValueMatchType matchType [get, set]
 The way in which the CustomTargetingValue::name strings will be matched. More...
 
bool matchTypeSpecified [get, set]
 
CustomTargetingValueStatus status [get, set]
 Status of the More...
 
bool statusSpecified [get, set]
 

Detailed Description

CustomTargetingValue represents a value used for custom targeting.

Property Documentation

long Google.Api.Ads.AdManager.v202311.CustomTargetingValue.customTargetingKeyId
getset

The ID of the

CustomTargetingKey for which this is the value.

bool Google.Api.Ads.AdManager.v202311.CustomTargetingValue.customTargetingKeyIdSpecified
getset

true, if a value is specified for customTargetingKeyId, false otherwise.

string Google.Api.Ads.AdManager.v202311.CustomTargetingValue.displayName
getset

Descriptive name for the value.

long Google.Api.Ads.AdManager.v202311.CustomTargetingValue.id
getset

The ID of the

CustomTargetingValue. This value is readonly and is populated by Google.

bool Google.Api.Ads.AdManager.v202311.CustomTargetingValue.idSpecified
getset

true, if a value is specified for id, false otherwise.

CustomTargetingValueMatchType Google.Api.Ads.AdManager.v202311.CustomTargetingValue.matchType
getset

The way in which the CustomTargetingValue::name strings will be matched.

bool Google.Api.Ads.AdManager.v202311.CustomTargetingValue.matchTypeSpecified
getset

true, if a value is specified for matchType, false otherwise.

string Google.Api.Ads.AdManager.v202311.CustomTargetingValue.name
getset

Name of the value. This can be used for encoding . If you don't want users to be able to see potentially sensitive targeting information in the ad tags of your site, you can encode your key/values. For example, you can create key/value g1=abc to represent gender=female. 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 string. For example, instead of using "age&gt;=18 AND &lt;=34", try "18-34"

CustomTargetingValueStatus Google.Api.Ads.AdManager.v202311.CustomTargetingValue.status
getset

Status of the

CustomTargetingValue. This field is read-only. A value can be activated and deactivated by calling CustomTargetingService::performCustomTargetingValueAction.

bool Google.Api.Ads.AdManager.v202311.CustomTargetingValue.statusSpecified
getset

true, if a value is specified for status, false otherwise.


The documentation for this class was generated from the following file: