Interface LocationAssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocationAsset,LocationAsset.Builder
public interface LocationAssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBusinessProfileLocations(int index) The list of business locations for the customer.intThe list of business locations for the customer.The list of business locations for the customer.getBusinessProfileLocationsOrBuilder(int index) The list of business locations for the customer.List<? extends BusinessProfileLocationOrBuilder>The list of business locations for the customer.The type of location ownership.intThe type of location ownership.Place IDs uniquely identify a place in the Google Places database and on Google Maps.com.google.protobuf.ByteStringPlace IDs uniquely identify a place in the Google Places database and on Google Maps.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
-
getPlaceId
String getPlaceId()Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
string place_id = 1;- Returns:
- The placeId.
-
getPlaceIdBytes
com.google.protobuf.ByteString getPlaceIdBytes()Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
string place_id = 1;- Returns:
- The bytes for placeId.
-
getBusinessProfileLocationsList
List<BusinessProfileLocation> getBusinessProfileLocationsList()The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v18.common.BusinessProfileLocation business_profile_locations = 2; -
getBusinessProfileLocations
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v18.common.BusinessProfileLocation business_profile_locations = 2; -
getBusinessProfileLocationsCount
int getBusinessProfileLocationsCount()The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v18.common.BusinessProfileLocation business_profile_locations = 2; -
getBusinessProfileLocationsOrBuilderList
List<? extends BusinessProfileLocationOrBuilder> getBusinessProfileLocationsOrBuilderList()The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v18.common.BusinessProfileLocation business_profile_locations = 2; -
getBusinessProfileLocationsOrBuilder
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
repeated .google.ads.googleads.v18.common.BusinessProfileLocation business_profile_locations = 2; -
getLocationOwnershipTypeValue
int getLocationOwnershipTypeValue()The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.
.google.ads.googleads.v18.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3;- Returns:
- The enum numeric value on the wire for locationOwnershipType.
-
getLocationOwnershipType
LocationOwnershipTypeEnum.LocationOwnershipType getLocationOwnershipType()The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.
.google.ads.googleads.v18.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3;- Returns:
- The locationOwnershipType.
-