Interface AdParameterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdParameter
,AdParameter.Builder
public interface AdParameterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAdGroupCriterion()
Immutable.com.google.protobuf.ByteString
getAdGroupCriterionBytes()
Immutable.java.lang.String
getInsertionText()
Numeric value to insert into the ad text.com.google.protobuf.ByteString
getInsertionTextBytes()
Numeric value to insert into the ad text.long
getParameterIndex()
Immutable.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.boolean
hasAdGroupCriterion()
Immutable.boolean
hasInsertionText()
Numeric value to insert into the ad text.boolean
hasParameterIndex()
Immutable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Immutable. The resource name of the ad parameter. Ad parameter resource names have the form: `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}`
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad parameter. Ad parameter resource names have the form: `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}`
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for resourceName.
-
hasAdGroupCriterion
boolean hasAdGroupCriterion()
Immutable. The ad group criterion that this ad parameter belongs to.
optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- Whether the adGroupCriterion field is set.
-
getAdGroupCriterion
java.lang.String getAdGroupCriterion()
Immutable. The ad group criterion that this ad parameter belongs to.
optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The adGroupCriterion.
-
getAdGroupCriterionBytes
com.google.protobuf.ByteString getAdGroupCriterionBytes()
Immutable. The ad group criterion that this ad parameter belongs to.
optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for adGroupCriterion.
-
hasParameterIndex
boolean hasParameterIndex()
Immutable. The unique index of this ad parameter. Must be either 1 or 2.
optional int64 parameter_index = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- Whether the parameterIndex field is set.
-
getParameterIndex
long getParameterIndex()
Immutable. The unique index of this ad parameter. Must be either 1 or 2.
optional int64 parameter_index = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The parameterIndex.
-
hasInsertionText
boolean hasInsertionText()
Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or period as a separator, with an optional period or comma (respectively) for fractional values. For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are valid.
optional string insertion_text = 7;
- Returns:
- Whether the insertionText field is set.
-
getInsertionText
java.lang.String getInsertionText()
Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or period as a separator, with an optional period or comma (respectively) for fractional values. For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are valid.
optional string insertion_text = 7;
- Returns:
- The insertionText.
-
getInsertionTextBytes
com.google.protobuf.ByteString getInsertionTextBytes()
Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or period as a separator, with an optional period or comma (respectively) for fractional values. For example, 1,000,000.00 and 2.000.000,10 are valid. - Can be prepended or appended with a currency symbol. For example, $99.99 is valid. - Can be prepended or appended with a currency code. For example, 99.99USD and EUR200 are valid. - Can use '%'. For example, 1.0% and 1,0% are valid. - Can use plus or minus. For example, -10.99 and 25+ are valid. - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are valid.
optional string insertion_text = 7;
- Returns:
- The bytes for insertionText.
-
-