class Google::Apis::DisplayvideoV1::TargetingOption

Represents a single targeting option, which is a targetable concept in DV360.

Attributes

age_range_details[RW]

Represents a targetable age range. This will be populated in the age_range_details field when targeting_type is `TARGETING_TYPE_AGE_RANGE`. Corresponds to the JSON property `ageRangeDetails` @return [Google::Apis::DisplayvideoV1::AgeRangeTargetingOptionDetails]

app_category_details[RW]

Represents a targetable collection of apps. A collection lets you target dynamic groups of related apps that are maintained by the platform, for example `All Apps/Google Play/Games`. This will be populated in the app_category_details field when targeting_type is `TARGETING_TYPE_APP_CATEGORY` . Corresponds to the JSON property `appCategoryDetails` @return [Google::Apis::DisplayvideoV1::AppCategoryTargetingOptionDetails]

authorized_seller_status_details[RW]

Represents a targetable authorized seller status. This will be populated in the authorized_seller_status_details field when targeting_type is ` TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. Corresponds to the JSON property `authorizedSellerStatusDetails` @return [Google::Apis::DisplayvideoV1::AuthorizedSellerStatusTargetingOptionDetails]

browser_details[RW]

Represents a targetable browser. This will be populated in the browser_details field when targeting_type is `TARGETING_TYPE_BROWSER`. Corresponds to the JSON property `browserDetails` @return [Google::Apis::DisplayvideoV1::BrowserTargetingOptionDetails]

business_chain_details[RW]

Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is ` TARGETING_TYPE_BUSINESS_CHAIN`. Corresponds to the JSON property `businessChainDetails` @return [Google::Apis::DisplayvideoV1::BusinessChainTargetingOptionDetails]

carrier_and_isp_details[RW]

Represents a targetable carrier or ISP. This will be populated in the carrier_and_isp_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_CARRIER_AND_ISP`. Corresponds to the JSON property `carrierAndIspDetails` @return [Google::Apis::DisplayvideoV1::CarrierAndIspTargetingOptionDetails]

category_details[RW]

Represents a targetable category. This will be populated in the category_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_CATEGORY`. Corresponds to the JSON property `categoryDetails` @return [Google::Apis::DisplayvideoV1::CategoryTargetingOptionDetails]

content_instream_position_details[RW]

Represents a targetable content instream position, which could be used by video and audio ads. This will be populated in the content_instream_position_details field when targeting_type is ` TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. Corresponds to the JSON property `contentInstreamPositionDetails` @return [Google::Apis::DisplayvideoV1::ContentInstreamPositionTargetingOptionDetails]

content_outstream_position_details[RW]

Represents a targetable content outstream position, which could be used by display and video ads. This will be populated in the content_outstream_position_details field when targeting_type is ` TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. Corresponds to the JSON property `contentOutstreamPositionDetails` @return [Google::Apis::DisplayvideoV1::ContentOutstreamPositionTargetingOptionDetails]

device_make_model_details[RW]

Represents a targetable device make and model. This will be populated in the device_make_model_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_DEVICE_MAKE_MODEL`. Corresponds to the JSON property `deviceMakeModelDetails` @return [Google::Apis::DisplayvideoV1::DeviceMakeModelTargetingOptionDetails]

device_type_details[RW]

Represents a targetable device type. This will be populated in the device_type_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_DEVICE_TYPE`. Corresponds to the JSON property `deviceTypeDetails` @return [Google::Apis::DisplayvideoV1::DeviceTypeTargetingOptionDetails]

digital_content_label_details[RW]

Represents a targetable digital content label rating tier. This will be populated in the digital_content_label_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Corresponds to the JSON property `digitalContentLabelDetails` @return [Google::Apis::DisplayvideoV1::DigitalContentLabelTargetingOptionDetails]

environment_details[RW]

Represents a targetable environment. This will be populated in the environment_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_ENVIRONMENT`. Corresponds to the JSON property `environmentDetails` @return [Google::Apis::DisplayvideoV1::EnvironmentTargetingOptionDetails]

exchange_details[RW]

Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_EXCHANGE`. Corresponds to the JSON property `exchangeDetails` @return [Google::Apis::DisplayvideoV1::ExchangeTargetingOptionDetails]

gender_details[RW]

Represents a targetable gender. This will be populated in the gender_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_GENDER`. Corresponds to the JSON property `genderDetails` @return [Google::Apis::DisplayvideoV1::GenderTargetingOptionDetails]

geo_region_details[RW]

Represents a targetable geographic region. This will be populated in the geo_region_details field when targeting_type is `TARGETING_TYPE_GEO_REGION`. Corresponds to the JSON property `geoRegionDetails` @return [Google::Apis::DisplayvideoV1::GeoRegionTargetingOptionDetails]

household_income_details[RW]

Represents a targetable household income. This will be populated in the household_income_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_HOUSEHOLD_INCOME`. Corresponds to the JSON property `householdIncomeDetails` @return [Google::Apis::DisplayvideoV1::HouseholdIncomeTargetingOptionDetails]

language_details[RW]

Represents a targetable language. This will be populated in the language_details field when targeting_type is `TARGETING_TYPE_LANGUAGE`. Corresponds to the JSON property `languageDetails` @return [Google::Apis::DisplayvideoV1::LanguageTargetingOptionDetails]

name[RW]

Output only. The resource name for this targeting option. Corresponds to the JSON property `name` @return [String]

native_content_position_details[RW]

Represents a targetable native content position. This will be populated in the native_content_position_details field when targeting_type is ` TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Corresponds to the JSON property `nativeContentPositionDetails` @return [Google::Apis::DisplayvideoV1::NativeContentPositionTargetingOptionDetails]

omid_details[RW]

Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is ` TARGETING_TYPE_OMID`. Corresponds to the JSON property `omidDetails` @return [Google::Apis::DisplayvideoV1::OmidTargetingOptionDetails]

on_screen_position_details[RW]

Represents a targetable on screen position, which could be used by display and video ads. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. Corresponds to the JSON property `onScreenPositionDetails` @return [Google::Apis::DisplayvideoV1::OnScreenPositionTargetingOptionDetails]

operating_system_details[RW]

Represents a targetable operating system. This will be populated in the operating_system_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_OPERATING_SYSTEM`. Corresponds to the JSON property `operatingSystemDetails` @return [Google::Apis::DisplayvideoV1::OperatingSystemTargetingOptionDetails]

parental_status_details[RW]

Represents a targetable parental status. This will be populated in the parental_status_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_PARENTAL_STATUS`. Corresponds to the JSON property `parentalStatusDetails` @return [Google::Apis::DisplayvideoV1::ParentalStatusTargetingOptionDetails]

poi_details[RW]

Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`. Corresponds to the JSON property `poiDetails` @return [Google::Apis::DisplayvideoV1::PoiTargetingOptionDetails]

sensitive_category_details[RW]

Represents a targetable sensitive category. This will be populated in the sensitive_category_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Corresponds to the JSON property `sensitiveCategoryDetails` @return [Google::Apis::DisplayvideoV1::SensitiveCategoryTargetingOptionDetails]

sub_exchange_details[RW]

Represents a targetable sub-exchange. This will be populated in the sub_exchange_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_SUB_EXCHANGE`. Corresponds to the JSON property `subExchangeDetails` @return [Google::Apis::DisplayvideoV1::SubExchangeTargetingOptionDetails]

targeting_option_id[RW]

Output only. A unique identifier for this targeting option. The tuple “ targeting_type`, `targeting_option_id“ will be unique. Corresponds to the JSON property `targetingOptionId` @return [String]

targeting_type[RW]

Output only. The type of this targeting option. Corresponds to the JSON property `targetingType` @return [String]

user_rewarded_content_details[RW]

Represents a targetable user rewarded content status for video ads only. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. Corresponds to the JSON property `userRewardedContentDetails` @return [Google::Apis::DisplayvideoV1::UserRewardedContentTargetingOptionDetails]

video_player_size_details[RW]

Represents a targetable video player size. This will be populated in the video_player_size_details field when targeting_type is ` TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Corresponds to the JSON property `videoPlayerSizeDetails` @return [Google::Apis::DisplayvideoV1::VideoPlayerSizeTargetingOptionDetails]

viewability_details[RW]

Represents a targetable viewability. This will be populated in the viewability_details field of a TargetingOption when targeting_type is ` TARGETING_TYPE_VIEWABILITY`. Corresponds to the JSON property `viewabilityDetails` @return [Google::Apis::DisplayvideoV1::ViewabilityTargetingOptionDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 9161
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 9166
def update!(**args)
  @age_range_details = args[:age_range_details] if args.key?(:age_range_details)
  @app_category_details = args[:app_category_details] if args.key?(:app_category_details)
  @authorized_seller_status_details = args[:authorized_seller_status_details] if args.key?(:authorized_seller_status_details)
  @browser_details = args[:browser_details] if args.key?(:browser_details)
  @business_chain_details = args[:business_chain_details] if args.key?(:business_chain_details)
  @carrier_and_isp_details = args[:carrier_and_isp_details] if args.key?(:carrier_and_isp_details)
  @category_details = args[:category_details] if args.key?(:category_details)
  @content_instream_position_details = args[:content_instream_position_details] if args.key?(:content_instream_position_details)
  @content_outstream_position_details = args[:content_outstream_position_details] if args.key?(:content_outstream_position_details)
  @device_make_model_details = args[:device_make_model_details] if args.key?(:device_make_model_details)
  @device_type_details = args[:device_type_details] if args.key?(:device_type_details)
  @digital_content_label_details = args[:digital_content_label_details] if args.key?(:digital_content_label_details)
  @environment_details = args[:environment_details] if args.key?(:environment_details)
  @exchange_details = args[:exchange_details] if args.key?(:exchange_details)
  @gender_details = args[:gender_details] if args.key?(:gender_details)
  @geo_region_details = args[:geo_region_details] if args.key?(:geo_region_details)
  @household_income_details = args[:household_income_details] if args.key?(:household_income_details)
  @language_details = args[:language_details] if args.key?(:language_details)
  @name = args[:name] if args.key?(:name)
  @native_content_position_details = args[:native_content_position_details] if args.key?(:native_content_position_details)
  @omid_details = args[:omid_details] if args.key?(:omid_details)
  @on_screen_position_details = args[:on_screen_position_details] if args.key?(:on_screen_position_details)
  @operating_system_details = args[:operating_system_details] if args.key?(:operating_system_details)
  @parental_status_details = args[:parental_status_details] if args.key?(:parental_status_details)
  @poi_details = args[:poi_details] if args.key?(:poi_details)
  @sensitive_category_details = args[:sensitive_category_details] if args.key?(:sensitive_category_details)
  @sub_exchange_details = args[:sub_exchange_details] if args.key?(:sub_exchange_details)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
  @targeting_type = args[:targeting_type] if args.key?(:targeting_type)
  @user_rewarded_content_details = args[:user_rewarded_content_details] if args.key?(:user_rewarded_content_details)
  @video_player_size_details = args[:video_player_size_details] if args.key?(:video_player_size_details)
  @viewability_details = args[:viewability_details] if args.key?(:viewability_details)
end