Interface GeographicViewOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeographicView,GeographicView.Builder
public interface GeographicViewOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Output only. The resource name of the geographic view. Geographic view resource names have the form: `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the geographic view. Geographic view resource names have the form: `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getLocationTypeValue
int getLocationTypeValue()Output only. Type of the geo targeting of the campaign.
.google.ads.googleads.v18.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for locationType.
-
getLocationType
GeoTargetingTypeEnum.GeoTargetingType getLocationType()Output only. Type of the geo targeting of the campaign.
.google.ads.googleads.v18.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The locationType.
-
hasCountryCriterionId
boolean hasCountryCriterionId()Output only. Criterion Id for the country.
optional int64 country_criterion_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the countryCriterionId field is set.
-
getCountryCriterionId
long getCountryCriterionId()Output only. Criterion Id for the country.
optional int64 country_criterion_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The countryCriterionId.
-