Interface CriterionCategoryChannelAvailabilityOrBuilder

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

public interface CriterionCategoryChannelAvailabilityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAvailabilityModeValue

      int getAvailabilityModeValue()
       Format of the channel availability. Can be ALL_CHANNELS (the rest of the
       fields will not be set), CHANNEL_TYPE (only advertising_channel_type type
       will be set, the category is available to all sub types under it) or
       CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type,
       advertising_channel_sub_type, and include_default_channel_sub_type will all
       be set).
       
      .google.ads.googleads.v18.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1;
      Returns:
      The enum numeric value on the wire for availabilityMode.
    • getAvailabilityMode

       Format of the channel availability. Can be ALL_CHANNELS (the rest of the
       fields will not be set), CHANNEL_TYPE (only advertising_channel_type type
       will be set, the category is available to all sub types under it) or
       CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type,
       advertising_channel_sub_type, and include_default_channel_sub_type will all
       be set).
       
      .google.ads.googleads.v18.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1;
      Returns:
      The availabilityMode.
    • getAdvertisingChannelTypeValue

      int getAdvertisingChannelTypeValue()
       Channel type the category is available to.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2;
      Returns:
      The enum numeric value on the wire for advertisingChannelType.
    • getAdvertisingChannelType

       Channel type the category is available to.
       
      .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2;
      Returns:
      The advertisingChannelType.
    • getAdvertisingChannelSubTypeList

       Channel subtypes under the channel type the category is available to.
       
      repeated .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;
      Returns:
      A list containing the advertisingChannelSubType.
    • getAdvertisingChannelSubTypeCount

      int getAdvertisingChannelSubTypeCount()
       Channel subtypes under the channel type the category is available to.
       
      repeated .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;
      Returns:
      The count of advertisingChannelSubType.
    • getAdvertisingChannelSubType

      AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType getAdvertisingChannelSubType(int index)
       Channel subtypes under the channel type the category is available to.
       
      repeated .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The advertisingChannelSubType at the given index.
    • getAdvertisingChannelSubTypeValueList

      List<Integer> getAdvertisingChannelSubTypeValueList()
       Channel subtypes under the channel type the category is available to.
       
      repeated .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;
      Returns:
      A list containing the enum numeric values on the wire for advertisingChannelSubType.
    • getAdvertisingChannelSubTypeValue

      int getAdvertisingChannelSubTypeValue(int index)
       Channel subtypes under the channel type the category is available to.
       
      repeated .google.ads.googleads.v18.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of advertisingChannelSubType at the given index.
    • hasIncludeDefaultChannelSubType

      boolean hasIncludeDefaultChannelSubType()
       Whether default channel sub type is included. For example,
       advertising_channel_type being DISPLAY and include_default_channel_sub_type
       being false means that the default display campaign where channel sub type
       is not set is not included in this availability configuration.
       
      optional bool include_default_channel_sub_type = 5;
      Returns:
      Whether the includeDefaultChannelSubType field is set.
    • getIncludeDefaultChannelSubType

      boolean getIncludeDefaultChannelSubType()
       Whether default channel sub type is included. For example,
       advertising_channel_type being DISPLAY and include_default_channel_sub_type
       being false means that the default display campaign where channel sub type
       is not set is not included in this availability configuration.
       
      optional bool include_default_channel_sub_type = 5;
      Returns:
      The includeDefaultChannelSubType.