class Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions
Attributes
This setting indicates whether the partner can display ads when videos run in an embedded player. Corresponds to the JSON property `adsOnEmbeds` @return [Boolean]
This setting indicates whether the partner can display ads when videos run in an embedded player. Corresponds to the JSON property `adsOnEmbeds` @return [Boolean]
This property identifies the resource type. Its value is youtubePartner# allowedAdvertisingOptions. Corresponds to the JSON property `kind` @return [String]
A list of ad formats that the partner is allowed to use for its uploaded videos. Corresponds to the JSON property `licAdFormats` @return [Array<String>]
A list of ad formats that the partner is allowed to use for claimed, user- uploaded content. Corresponds to the JSON property `ugcAdFormats` @return [Array<String>]
Public Class Methods
# File generated/google/apis/youtube_partner_v1/classes.rb, line 113 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 118 def update!(**args) @ads_on_embeds = args[:ads_on_embeds] if args.key?(:ads_on_embeds) @kind = args[:kind] if args.key?(:kind) @lic_ad_formats = args[:lic_ad_formats] if args.key?(:lic_ad_formats) @ugc_ad_formats = args[:ugc_ad_formats] if args.key?(:ugc_ad_formats) end