Interface LocationGroupInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LocationGroupInfo, LocationGroupInfo.Builder

    public interface LocationGroupInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFeed()
      Feed specifying locations for targeting.
      com.google.protobuf.ByteString getFeedBytes()
      Feed specifying locations for targeting.
      java.lang.String getFeedItemSets​(int index)
      FeedItemSets whose FeedItems are targeted.
      com.google.protobuf.ByteString getFeedItemSetsBytes​(int index)
      FeedItemSets whose FeedItems are targeted.
      int getFeedItemSetsCount()
      FeedItemSets whose FeedItems are targeted.
      java.util.List<java.lang.String> getFeedItemSetsList()
      FeedItemSets whose FeedItems are targeted.
      java.lang.String getGeoTargetConstants​(int index)
      Geo target constant(s) restricting the scope of the geographic area within the feed.
      com.google.protobuf.ByteString getGeoTargetConstantsBytes​(int index)
      Geo target constant(s) restricting the scope of the geographic area within the feed.
      int getGeoTargetConstantsCount()
      Geo target constant(s) restricting the scope of the geographic area within the feed.
      java.util.List<java.lang.String> getGeoTargetConstantsList()
      Geo target constant(s) restricting the scope of the geographic area within the feed.
      long getRadius()
      Distance in units specifying the radius around targeted locations.
      LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits getRadiusUnits()
      Unit of the radius.
      int getRadiusUnitsValue()
      Unit of the radius.
      boolean hasFeed()
      Feed specifying locations for targeting.
      boolean hasRadius()
      Distance in units specifying the radius around targeted locations.
      • 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 Detail

      • hasFeed

        boolean hasFeed()
         Feed specifying locations for targeting.
         This is required and must be set in CREATE operations.
         
        optional string feed = 5;
        Returns:
        Whether the feed field is set.
      • getFeed

        java.lang.String getFeed()
         Feed specifying locations for targeting.
         This is required and must be set in CREATE operations.
         
        optional string feed = 5;
        Returns:
        The feed.
      • getFeedBytes

        com.google.protobuf.ByteString getFeedBytes()
         Feed specifying locations for targeting.
         This is required and must be set in CREATE operations.
         
        optional string feed = 5;
        Returns:
        The bytes for feed.
      • getGeoTargetConstantsList

        java.util.List<java.lang.String> getGeoTargetConstantsList()
         Geo target constant(s) restricting the scope of the geographic area within
         the feed. Currently only one geo target constant is allowed.
         
        repeated string geo_target_constants = 6;
        Returns:
        A list containing the geoTargetConstants.
      • getGeoTargetConstantsCount

        int getGeoTargetConstantsCount()
         Geo target constant(s) restricting the scope of the geographic area within
         the feed. Currently only one geo target constant is allowed.
         
        repeated string geo_target_constants = 6;
        Returns:
        The count of geoTargetConstants.
      • getGeoTargetConstants

        java.lang.String getGeoTargetConstants​(int index)
         Geo target constant(s) restricting the scope of the geographic area within
         the feed. Currently only one geo target constant is allowed.
         
        repeated string geo_target_constants = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The geoTargetConstants at the given index.
      • getGeoTargetConstantsBytes

        com.google.protobuf.ByteString getGeoTargetConstantsBytes​(int index)
         Geo target constant(s) restricting the scope of the geographic area within
         the feed. Currently only one geo target constant is allowed.
         
        repeated string geo_target_constants = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the geoTargetConstants at the given index.
      • hasRadius

        boolean hasRadius()
         Distance in units specifying the radius around targeted locations.
         This is required and must be set in CREATE operations.
         
        optional int64 radius = 7;
        Returns:
        Whether the radius field is set.
      • getRadius

        long getRadius()
         Distance in units specifying the radius around targeted locations.
         This is required and must be set in CREATE operations.
         
        optional int64 radius = 7;
        Returns:
        The radius.
      • getRadiusUnitsValue

        int getRadiusUnitsValue()
         Unit of the radius. Miles and meters are supported for geo target
         constants. Milli miles and meters are supported for feed item sets.
         This is required and must be set in CREATE operations.
         
        .google.ads.googleads.v10.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
        Returns:
        The enum numeric value on the wire for radiusUnits.
      • getRadiusUnits

        LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits getRadiusUnits()
         Unit of the radius. Miles and meters are supported for geo target
         constants. Milli miles and meters are supported for feed item sets.
         This is required and must be set in CREATE operations.
         
        .google.ads.googleads.v10.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
        Returns:
        The radiusUnits.
      • getFeedItemSetsList

        java.util.List<java.lang.String> getFeedItemSetsList()
         FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
         then all items that appear in at least one set are targeted. This field
         cannot be used with geo_target_constants. This is optional and can only be
         set in CREATE operations.
         
        repeated string feed_item_sets = 8;
        Returns:
        A list containing the feedItemSets.
      • getFeedItemSetsCount

        int getFeedItemSetsCount()
         FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
         then all items that appear in at least one set are targeted. This field
         cannot be used with geo_target_constants. This is optional and can only be
         set in CREATE operations.
         
        repeated string feed_item_sets = 8;
        Returns:
        The count of feedItemSets.
      • getFeedItemSets

        java.lang.String getFeedItemSets​(int index)
         FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
         then all items that appear in at least one set are targeted. This field
         cannot be used with geo_target_constants. This is optional and can only be
         set in CREATE operations.
         
        repeated string feed_item_sets = 8;
        Parameters:
        index - The index of the element to return.
        Returns:
        The feedItemSets at the given index.
      • getFeedItemSetsBytes

        com.google.protobuf.ByteString getFeedItemSetsBytes​(int index)
         FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
         then all items that appear in at least one set are targeted. This field
         cannot be used with geo_target_constants. This is optional and can only be
         set in CREATE operations.
         
        repeated string feed_item_sets = 8;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the feedItemSets at the given index.