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 Type
    Method
    Description
    long
    Output only.
    Output only.
    int
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.