Class CustomTargetingKey
The CustomTargetingKey
resource.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomTargetingKey : IMessage<CustomTargetingKey>, IEquatable<CustomTargetingKey>, IDeepCloneable<CustomTargetingKey>, IBufferMessage, IMessage
Constructors
CustomTargetingKey()
Declaration
public CustomTargetingKey()
CustomTargetingKey(CustomTargetingKey)
Declaration
public CustomTargetingKey(CustomTargetingKey other)
Parameters
Type | Name | Description |
---|---|---|
CustomTargetingKey | other |
Properties
AdTagName
Immutable. Name of the key. Keys can contain up to 10 characters each. You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.
Declaration
public string AdTagName { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomTargetingKeyId
Output only. CustomTargetingKey
ID.
Declaration
public long CustomTargetingKeyId { get; set; }
Property Value
Type | Description |
---|---|
long |
CustomTargetingKeyName
CustomTargetingKeyName-typed view over the Name resource name property.
Declaration
public CustomTargetingKeyName CustomTargetingKeyName { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingKeyName |
DisplayName
Optional. Descriptive name for the CustomTargetingKey
.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The resource name of the CustomTargetingKey
.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ReportableType
Required. Reportable state of the CustomTargetingKey
.
Declaration
public CustomTargetingKeyReportableTypeEnum.Types.CustomTargetingKeyReportableType ReportableType { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingKeyReportableTypeEnum.Types.CustomTargetingKeyReportableType |
Status
Output only. Status of the CustomTargetingKey
.
Declaration
public CustomTargetingKeyStatusEnum.Types.CustomTargetingKeyStatus Status { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingKeyStatusEnum.Types.CustomTargetingKeyStatus |
Type
Required. Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.
Declaration
public CustomTargetingKeyTypeEnum.Types.CustomTargetingKeyType Type { get; set; }
Property Value
Type | Description |
---|---|
CustomTargetingKeyTypeEnum.Types.CustomTargetingKeyType |