public interface CustomTargetingLiteralOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCustomTargetingKey()
public abstract String getCustomTargetingKey()
Optional. The resource name of the targeted CustomKey.
optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The customTargetingKey. |
getCustomTargetingKeyBytes()
public abstract ByteString getCustomTargetingKeyBytes()
Optional. The resource name of the targeted CustomKey.
optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customTargetingKey. |
getCustomTargetingValues(int index)
public abstract String getCustomTargetingValues(int index)
Optional. The resource names of the targeted CustomValues.
repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The customTargetingValues at the given index. |
getCustomTargetingValuesBytes(int index)
public abstract ByteString getCustomTargetingValuesBytes(int index)
Optional. The resource names of the targeted CustomValues.
repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the customTargetingValues at the given index. |
getCustomTargetingValuesCount()
public abstract int getCustomTargetingValuesCount()
Optional. The resource names of the targeted CustomValues.
repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of customTargetingValues. |
getCustomTargetingValuesList()
public abstract List<String> getCustomTargetingValuesList()
Optional. The resource names of the targeted CustomValues.
repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the customTargetingValues. |
getNegative()
public abstract boolean getNegative()
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
optional bool negative = 1;
Returns | |
---|---|
Type | Description |
boolean |
The negative. |
hasCustomTargetingKey()
public abstract boolean hasCustomTargetingKey()
Optional. The resource name of the targeted CustomKey.
optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean |
Whether the customTargetingKey field is set. |
hasNegative()
public abstract boolean hasNegative()
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.
optional bool negative = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the negative field is set. |