Interface SmartCampaignSettingOrBuilder

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

    public interface SmartCampaignSettingOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the Smart campaign setting.
         Smart campaign setting resource names have the form:
         `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the Smart campaign setting.
         Smart campaign setting resource names have the form:
         `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • getCampaign

        java.lang.String getCampaign()
         Output only. The campaign to which these settings apply.
         
        string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The campaign.
      • getCampaignBytes

        com.google.protobuf.ByteString getCampaignBytes()
         Output only. The campaign to which these settings apply.
         
        string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for campaign.
      • hasPhoneNumber

        boolean hasPhoneNumber()
         Phone number and country code.
         
        .google.ads.googleads.v10.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
        Returns:
        Whether the phoneNumber field is set.
      • getPhoneNumber

        SmartCampaignSetting.PhoneNumber getPhoneNumber()
         Phone number and country code.
         
        .google.ads.googleads.v10.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
        Returns:
        The phoneNumber.
      • getPhoneNumberOrBuilder

        SmartCampaignSetting.PhoneNumberOrBuilder getPhoneNumberOrBuilder()
         Phone number and country code.
         
        .google.ads.googleads.v10.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
      • getFinalUrl

        java.lang.String getFinalUrl()
         Landing page url given by user for this Campaign.
         
        string final_url = 4;
        Returns:
        The finalUrl.
      • getFinalUrlBytes

        com.google.protobuf.ByteString getFinalUrlBytes()
         Landing page url given by user for this Campaign.
         
        string final_url = 4;
        Returns:
        The bytes for finalUrl.
      • getAdvertisingLanguageCode

        java.lang.String getAdvertisingLanguageCode()
         The ISO-639-1 language code to advertise in.
         
        string advertising_language_code = 7;
        Returns:
        The advertisingLanguageCode.
      • getAdvertisingLanguageCodeBytes

        com.google.protobuf.ByteString getAdvertisingLanguageCodeBytes()
         The ISO-639-1 language code to advertise in.
         
        string advertising_language_code = 7;
        Returns:
        The bytes for advertisingLanguageCode.
      • hasBusinessName

        boolean hasBusinessName()
         The name of the business.
         
        string business_name = 5;
        Returns:
        Whether the businessName field is set.
      • getBusinessName

        java.lang.String getBusinessName()
         The name of the business.
         
        string business_name = 5;
        Returns:
        The businessName.
      • getBusinessNameBytes

        com.google.protobuf.ByteString getBusinessNameBytes()
         The name of the business.
         
        string business_name = 5;
        Returns:
        The bytes for businessName.
      • hasBusinessLocationId

        boolean hasBusinessLocationId()
         The ID of the Business Profile location.
         The location ID can be fetched by Business Profile API with its form:
         accounts/{accountId}/locations/{locationId}. The last {locationId}
         component from the Business Profile API represents the
         business_location_id. See the [Business Profile API]
         (https://developers.google.com/my-business/reference/rest/v4/accounts.locations)
         
        int64 business_location_id = 6;
        Returns:
        Whether the businessLocationId field is set.
      • getBusinessLocationId

        long getBusinessLocationId()
         The ID of the Business Profile location.
         The location ID can be fetched by Business Profile API with its form:
         accounts/{accountId}/locations/{locationId}. The last {locationId}
         component from the Business Profile API represents the
         business_location_id. See the [Business Profile API]
         (https://developers.google.com/my-business/reference/rest/v4/accounts.locations)
         
        int64 business_location_id = 6;
        Returns:
        The businessLocationId.