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 Summary
Modifier and TypeMethodDescriptiongetAdvertisingChannelSubType(int index) Channel subtypes under the channel type the category is available to.intChannel subtypes under the channel type the category is available to.Channel subtypes under the channel type the category is available to.intgetAdvertisingChannelSubTypeValue(int index) Channel subtypes under the channel type the category is available to.Channel subtypes under the channel type the category is available to.Channel type the category is available to.intChannel type the category is available to.Format of the channel availability.intFormat of the channel availability.booleanWhether default channel sub type is included.booleanWhether default channel sub type is included.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
-
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
CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode 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
AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()Channel type the category is available to.
.google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2;- Returns:
- The advertisingChannelType.
-
getAdvertisingChannelSubTypeList
List<AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType> 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
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
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.
-