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
Modifier and TypeMethodDescriptionbooleanDenotes that the latest customer level asset set is used for targeting.getFeed()Feed specifying locations for targeting.com.google.protobuf.ByteStringFeed specifying locations for targeting.getFeedItemSets(int index) FeedItemSets whose FeedItems are targeted.com.google.protobuf.ByteStringgetFeedItemSetsBytes(int index) FeedItemSets whose FeedItems are targeted.intFeedItemSets whose FeedItems are targeted.FeedItemSets whose FeedItems are targeted.getGeoTargetConstants(int index) Geo target constant(s) restricting the scope of the geographic area within the feed.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) Geo target constant(s) restricting the scope of the geographic area within the feed.intGeo target constant(s) restricting the scope of the geographic area within the feed.Geo target constant(s) restricting the scope of the geographic area within the feed.getLocationGroupAssetSets(int index) AssetSets whose Assets are targeted.com.google.protobuf.ByteStringgetLocationGroupAssetSetsBytes(int index) AssetSets whose Assets are targeted.intAssetSets whose Assets are targeted.AssetSets whose Assets are targeted.longDistance in units specifying the radius around targeted locations.Unit of the radius.intUnit of the radius.booleanDenotes that the latest customer level asset set is used for targeting.booleanhasFeed()Feed specifying locations for targeting.booleanDistance in units specifying the radius around targeted locations.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
-
hasFeed
boolean hasFeed()Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Returns:
- Whether the feed field is set.
-
getFeed
String getFeed()Feed specifying locations for targeting. Cannot be set with AssetSet fields. 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. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Returns:
- The bytes for feed.
-
getGeoTargetConstantsList
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
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. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
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. Cannot be set with AssetSet fields.
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 and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.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 and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Returns:
- The radiusUnits.
-
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. Cannot be set with AssetSet fields.
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. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Returns:
- The count of feedItemSets.
-
getFeedItemSets
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. Cannot be set with AssetSet fields.
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. Cannot be set with AssetSet fields.
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.
-
hasEnableCustomerLevelLocationAssetSet
boolean hasEnableCustomerLevelLocationAssetSet()Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Returns:
- Whether the enableCustomerLevelLocationAssetSet field is set.
-
getEnableCustomerLevelLocationAssetSet
boolean getEnableCustomerLevelLocationAssetSet()Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Returns:
- The enableCustomerLevelLocationAssetSet.
-
getLocationGroupAssetSetsList
AssetSets whose Assets 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 feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Returns:
- A list containing the locationGroupAssetSets.
-
getLocationGroupAssetSetsCount
int getLocationGroupAssetSetsCount()AssetSets whose Assets 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 feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Returns:
- The count of locationGroupAssetSets.
-
getLocationGroupAssetSets
AssetSets whose Assets 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 feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
index- The index of the element to return.- Returns:
- The locationGroupAssetSets at the given index.
-
getLocationGroupAssetSetsBytes
com.google.protobuf.ByteString getLocationGroupAssetSetsBytes(int index) AssetSets whose Assets 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 feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locationGroupAssetSets at the given index.
-