public interface CustomTargetingValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAdTagName()
public abstract String 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"
optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The adTagName. |
getAdTagNameBytes()
public abstract ByteString getAdTagNameBytes() 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"
optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adTagName. |
getCustomTargetingKey()
public abstract String getCustomTargetingKey() Required. Immutable. The resource name of the CustomTargetingKey.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The customTargetingKey. |
getCustomTargetingKeyBytes()
public abstract ByteString getCustomTargetingKeyBytes() Required. Immutable. The resource name of the CustomTargetingKey.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customTargetingKey. |
getDisplayName()
public abstract String getDisplayName() Optional. Descriptive name for the CustomTargetingValue.
optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes() Optional. Descriptive name for the CustomTargetingValue.
optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getMatchType()
public abstract CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType getMatchType()Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType |
The matchType. |
getMatchTypeValue()
public abstract int getMatchTypeValue()Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for matchType. |
getName()
public abstract String getName() Identifier. The resource name of the CustomTargetingValue.
Format:
networks/{network_code}/customTargetingValues/{custom_targeting_value_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 CustomTargetingValue.
Format:
networks/{network_code}/customTargetingValues/{custom_targeting_value_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getStatus()
public abstract CustomTargetingValueStatusEnum.CustomTargetingValueStatus getStatus() Output only. Status of the CustomTargetingValue.
optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomTargetingValueStatusEnum.CustomTargetingValueStatus |
The status. |
getStatusValue()
public abstract int getStatusValue() Output only. Status of the CustomTargetingValue.
optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hasAdTagName()
public abstract boolean hasAdTagName() 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"
optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adTagName field is set. |
hasCustomTargetingKey()
public abstract boolean hasCustomTargetingKey() Required. Immutable. The resource name of the CustomTargetingKey.
Format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}
optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customTargetingKey field is set. |
hasDisplayName()
public abstract boolean hasDisplayName() Optional. Descriptive name for the CustomTargetingValue.
optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasMatchType()
public abstract boolean hasMatchType()Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the matchType field is set. |
hasStatus()
public abstract boolean hasStatus() Output only. Status of the CustomTargetingValue.
optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |