Class CustomTargetingValue
The CustomTargetingValue
resource.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomTargetingValue : IMessage<CustomTargetingValue>, IEquatable<CustomTargetingValue>, IDeepCloneable<CustomTargetingValue>, IBufferMessage, IMessage
Constructors
CustomTargetingValue()
Declaration
public CustomTargetingValue()
CustomTargetingValue(CustomTargetingValue)
Declaration
public CustomTargetingValue(CustomTargetingValue other)
Parameters
Type | Name | Description |
---|---|---|
CustomTargetingValue | other |
Properties
AdTagName
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"
Declaration
public string AdTagName { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomTargetingValueName
CustomTargetingValueName-typed view over the Name resource name property.
Declaration
public CustomTargetingValueName CustomTargetingValueName { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingValueName |
DisplayName
Optional. Descriptive name for the CustomTargetingValue
.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
MatchType
Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
Declaration
public CustomTargetingValueMatchTypeEnum.Types.CustomTargetingValueMatchType MatchType { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingValueMatchTypeEnum.Types.CustomTargetingValueMatchType |
Name
Identifier. The resource name of the CustomTargetingValue
.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
Output only. Status of the CustomTargetingValue
.
Declaration
public CustomTargetingValueStatusEnum.Types.CustomTargetingValueStatus Status { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingValueStatusEnum.Types.CustomTargetingValueStatus |