Class: Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Overview
Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
Instance Attribute Summary collapse
-
#has_paid_product_placement ⇒ Boolean
(also: #has_paid_product_placement?)
This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png Corresponds to the JSON property
hasPaidProductPlacement
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoPaidProductPlacementDetails
constructor
A new instance of VideoPaidProductPlacementDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoPaidProductPlacementDetails
Returns a new instance of VideoPaidProductPlacementDetails.
8645 8646 8647 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_paid_product_placement ⇒ Boolean Also known as: has_paid_product_placement?
This boolean represents whether the video contains Paid Product Placement,
Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
Corresponds to the JSON property hasPaidProductPlacement
8642 8643 8644 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8642 def has_paid_product_placement @has_paid_product_placement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8650 8651 8652 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8650 def update!(**args) @has_paid_product_placement = args[:has_paid_product_placement] if args.key?(:has_paid_product_placement) end |