public interface CustomTargetingKeyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAdTagName()
public abstract String getAdTagName()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.
optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The adTagName. |
getAdTagNameBytes()
public abstract ByteString getAdTagNameBytes()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.
optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adTagName. |
getCustomTargetingKeyId()
public abstract long getCustomTargetingKeyId() Output only. CustomTargetingKey ID.
optional int64 custom_targeting_key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The customTargetingKeyId. |
getDisplayName()
public abstract String getDisplayName() Optional. Descriptive name for the CustomTargetingKey.
optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes() Optional. Descriptive name for the CustomTargetingKey.
optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public abstract String getName() Identifier. The resource name of the CustomTargetingKey.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. The resource name of the CustomTargetingKey.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getReportableType()
public abstract CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType getReportableType() Required. Reportable state of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType |
The reportableType. |
getReportableTypeValue()
public abstract int getReportableTypeValue() Required. Reportable state of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reportableType. |
getStatus()
public abstract CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus getStatus() Output only. Status of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus |
The status. |
getStatusValue()
public abstract int getStatusValue() Output only. Status of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
getType()
public abstract CustomTargetingKeyTypeEnum.CustomTargetingKeyType getType()Required. Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.
optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomTargetingKeyTypeEnum.CustomTargetingKeyType |
The type. |
getTypeValue()
public abstract int getTypeValue()Required. Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.
optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasAdTagName()
public abstract boolean hasAdTagName()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.
optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adTagName field is set. |
hasCustomTargetingKeyId()
public abstract boolean hasCustomTargetingKeyId() Output only. CustomTargetingKey ID.
optional int64 custom_targeting_key_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customTargetingKeyId field is set. |
hasDisplayName()
public abstract boolean hasDisplayName() Optional. Descriptive name for the CustomTargetingKey.
optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasReportableType()
public abstract boolean hasReportableType() Required. Reportable state of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reportableType field is set. |
hasStatus()
public abstract boolean hasStatus() Output only. Status of the CustomTargetingKey.
optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasType()
public abstract boolean hasType()Required. Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.
optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |