Class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersSettings
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeAndPartnersSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Settings for YouTube and Partners line items.
Instance Attribute Summary collapse
-
#bidding_strategy ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy
Settings that control the bid strategy for YouTube and Partners resources.
-
#content_category ⇒ String
The kind of content on which the YouTube and Partners ads will be shown.
-
#inventory_source_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig
Settings that control what YouTube related inventories the YouTube and Partners line item will target.
-
#third_party_measurement_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings
Settings that control what third-party vendors are measuring specific line item metrics.
-
#view_frequency_cap ⇒ Google::Apis::DisplayvideoV2::FrequencyCap
Settings that control the number of times a user may be shown with the same ad during a given time period.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAndPartnersSettings
constructor
A new instance of YoutubeAndPartnersSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAndPartnersSettings
Returns a new instance of YoutubeAndPartnersSettings.
10996 10997 10998 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bidding_strategy ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy
Settings that control the bid strategy for YouTube and Partners resources.
Corresponds to the JSON property biddingStrategy
10971 10972 10973 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10971 def bidding_strategy @bidding_strategy end |
#content_category ⇒ String
The kind of content on which the YouTube and Partners ads will be shown.
Corresponds to the JSON property contentCategory
10976 10977 10978 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10976 def content_category @content_category end |
#inventory_source_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig
Settings that control what YouTube related inventories the YouTube and
Partners line item will target.
Corresponds to the JSON property inventorySourceSettings
10982 10983 10984 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10982 def inventory_source_settings @inventory_source_settings end |
#third_party_measurement_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings
Settings that control what third-party vendors are measuring specific line
item metrics.
Corresponds to the JSON property thirdPartyMeasurementSettings
10988 10989 10990 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10988 def third_party_measurement_settings @third_party_measurement_settings end |
#view_frequency_cap ⇒ Google::Apis::DisplayvideoV2::FrequencyCap
Settings that control the number of times a user may be shown with the same ad
during a given time period.
Corresponds to the JSON property viewFrequencyCap
10994 10995 10996 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10994 def view_frequency_cap @view_frequency_cap end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11001 11002 11003 11004 11005 11006 11007 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11001 def update!(**args) @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy) @content_category = args[:content_category] if args.key?(:content_category) @inventory_source_settings = args[:inventory_source_settings] if args.key?(:inventory_source_settings) @third_party_measurement_settings = args[:third_party_measurement_settings] if args.key?(:third_party_measurement_settings) @view_frequency_cap = args[:view_frequency_cap] if args.key?(:view_frequency_cap) end |