- JSON representation
- CriterionCategoryChannelAvailability
- CriterionCategoryChannelAvailabilityMode
- CriterionCategoryLocaleAvailability
- CriterionCategoryLocaleAvailabilityMode
Information of category availability, per advertising channel.
JSON representation | |
---|---|
{ "channel": { object ( |
Fields | |
---|---|
channel |
Channel types and subtypes that are available to the category. |
locale[] |
Locales that are available to the category for the channel. |
CriterionCategoryChannelAvailability
Information of advertising channel type and subtypes a category is available in.
JSON representation | |
---|---|
{ "availabilityMode": enum ( |
Fields | |
---|---|
availabilityMode |
Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be set), CHANNEL_TYPE (only advertisingChannelType type will be set, the category is available to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertisingChannelType, advertisingChannelSubType, and includeDefaultChannelSubType will all be set). |
advertisingChannelType |
Channel type the category is available to. |
advertisingChannelSubType[] |
Channel subtypes under the channel type the category is available to. |
includeDefaultChannelSubType |
Whether default channel sub type is included. For example, advertisingChannelType being DISPLAY and includeDefaultChannelSubType being false means that the default display campaign where channel sub type is not set is not included in this availability configuration. |
CriterionCategoryChannelAvailabilityMode
Enum containing the possible CriterionCategoryChannelAvailabilityMode.
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version. |
ALL_CHANNELS |
The category is available to campaigns of all channel types and subtypes. |
CHANNEL_TYPE_AND_ALL_SUBTYPES |
The category is available to campaigns of a specific channel type, including all subtypes under it. |
CHANNEL_TYPE_AND_SUBSET_SUBTYPES |
The category is available to campaigns of a specific channel type and subtype(s). |
CriterionCategoryLocaleAvailability
Information about which locales a category is available in.
JSON representation | |
---|---|
{
"availabilityMode": enum ( |
Fields | |
---|---|
availabilityMode |
Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be set). |
countryCode |
Code of the country. |
languageCode |
Code of the language. |
CriterionCategoryLocaleAvailabilityMode
Enum containing the possible CriterionCategoryLocaleAvailabilityMode.
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version. |
ALL_LOCALES |
The category is available to campaigns of all locales. |
COUNTRY_AND_ALL_LANGUAGES |
The category is available to campaigns within a list of countries, regardless of language. |
LANGUAGE_AND_ALL_COUNTRIES |
The category is available to campaigns within a list of languages, regardless of country. |
COUNTRY_AND_LANGUAGE |
The category is available to campaigns within a list of country, language pairs. |