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 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

      BusinessProfileLocation getBusinessProfileLocations(int index)
       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

      BusinessProfileLocationOrBuilder getBusinessProfileLocationsOrBuilder(int index)
       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

       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.