class Google::Apis::YoutubePartnerV1::VideoAdvertisingOptionGetEnabledAdsResponse
Attributes
A list of ad breaks that occur in a claimed YouTube video. Corresponds to the JSON property `adBreaks` @return [Array<Google::Apis::YoutubePartnerV1::AdBreak>]
This field indicates whether YouTube can show ads when the video is played in an embedded player. Corresponds to the JSON property `adsOnEmbeds` @return [Boolean]
This field indicates whether YouTube can show ads when the video is played in an embedded player. Corresponds to the JSON property `adsOnEmbeds` @return [Boolean]
A list that identifies the countries where ads can run and the types of ads allowed in those countries. Corresponds to the JSON property `countriesRestriction` @return [Array<Google::Apis::YoutubePartnerV1::CountriesRestriction>]
The ID that YouTube uses to uniquely identify the claimed video. Corresponds to the JSON property `id` @return [String]
The type of the API resource. For this resource, the value is youtubePartner# videoAdvertisingOptionGetEnabledAds. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3570 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3575 def update!(**args) @ad_breaks = args[:ad_breaks] if args.key?(:ad_breaks) @ads_on_embeds = args[:ads_on_embeds] if args.key?(:ads_on_embeds) @countries_restriction = args[:countries_restriction] if args.key?(:countries_restriction) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end