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.
-
#effective_content_category ⇒ String
Output only.
-
#inventory_source_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig
Settings that control what YouTube related inventories the YouTube and Partners line item will target.
-
#lead_form_id ⇒ Fixnum
The ID of the form to generate leads.
-
#linked_merchant_id ⇒ Fixnum
The ID of the merchant which is linked to the line item for product feed.
-
#related_video_ids ⇒ Array<String>
The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.
-
#target_frequency ⇒ Google::Apis::DisplayvideoV2::TargetFrequency
Setting that controls the average number of times the ads will show to the same person over a certain period of time.
-
#third_party_measurement_settings ⇒ Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings
Settings that control what third-party vendors are measuring specific line item metrics.
-
#video_ad_sequence_settings ⇒ Google::Apis::DisplayvideoV2::VideoAdSequenceSettings
Settings related to VideoAdSequence.
-
#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.
12146 12147 12148 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12146 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
12087 12088 12089 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12087 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
12092 12093 12094 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12092 def content_category @content_category end |
#effective_content_category ⇒ String
Output only. The content category which takes effect when serving the line
item. When content category is set in both line item and advertiser, the
stricter one will take effect when serving the line item.
Corresponds to the JSON property effectiveContentCategory
12099 12100 12101 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12099 def effective_content_category @effective_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
12105 12106 12107 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12105 def inventory_source_settings @inventory_source_settings end |
#lead_form_id ⇒ Fixnum
The ID of the form to generate leads.
Corresponds to the JSON property leadFormId
12110 12111 12112 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12110 def lead_form_id @lead_form_id end |
#linked_merchant_id ⇒ Fixnum
The ID of the merchant which is linked to the line item for product feed.
Corresponds to the JSON property linkedMerchantId
12115 12116 12117 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12115 def linked_merchant_id @linked_merchant_id end |
#related_video_ids ⇒ Array<String>
The IDs of the videos appear below the primary video ad when the ad is playing
in the YouTube app on mobile devices.
Corresponds to the JSON property relatedVideoIds
12121 12122 12123 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12121 def @related_video_ids end |
#target_frequency ⇒ Google::Apis::DisplayvideoV2::TargetFrequency
Setting that controls the average number of times the ads will show to the
same person over a certain period of time.
Corresponds to the JSON property targetFrequency
12127 12128 12129 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12127 def target_frequency @target_frequency 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
12133 12134 12135 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12133 def third_party_measurement_settings @third_party_measurement_settings end |
#video_ad_sequence_settings ⇒ Google::Apis::DisplayvideoV2::VideoAdSequenceSettings
Settings related to VideoAdSequence.
Corresponds to the JSON property videoAdSequenceSettings
12138 12139 12140 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12138 def video_ad_sequence_settings @video_ad_sequence_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
12144 12145 12146 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12144 def view_frequency_cap @view_frequency_cap end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12151 def update!(**args) @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy) @content_category = args[:content_category] if args.key?(:content_category) @effective_content_category = args[:effective_content_category] if args.key?(:effective_content_category) @inventory_source_settings = args[:inventory_source_settings] if args.key?(:inventory_source_settings) @lead_form_id = args[:lead_form_id] if args.key?(:lead_form_id) @linked_merchant_id = args[:linked_merchant_id] if args.key?(:linked_merchant_id) @related_video_ids = args[:related_video_ids] if args.key?(:related_video_ids) @target_frequency = args[:target_frequency] if args.key?(:target_frequency) @third_party_measurement_settings = args[:third_party_measurement_settings] if args.key?(:third_party_measurement_settings) @video_ad_sequence_settings = args[:video_ad_sequence_settings] if args.key?(:video_ad_sequence_settings) @view_frequency_cap = args[:view_frequency_cap] if args.key?(:view_frequency_cap) end |