Class: Google::Apis::DisplayvideoV3::SelectedInventories
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::SelectedInventories
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
The inventory control of the ad group.
Instance Attribute Summary collapse
-
#allow_discover ⇒ Boolean
(also: #allow_discover?)
Whether the ad group is opted-in to Discover inventory.
-
#allow_gmail ⇒ Boolean
(also: #allow_gmail?)
Whether the ad group is opted-in to Gmail inventory.
-
#allow_google_display_network ⇒ Boolean
(also: #allow_google_display_network?)
Whether the ad group is opted-in to Google Display Network inventory.
-
#allow_youtube_feed ⇒ Boolean
(also: #allow_youtube_feed?)
Whether the ad group is opted-in to YouTube in-feed inventory.
-
#allow_youtube_shorts ⇒ Boolean
(also: #allow_youtube_shorts?)
Whether the ad group is opted-in to YouTube shorts inventory.
-
#allow_youtube_stream ⇒ Boolean
(also: #allow_youtube_stream?)
Whether the ad group is opted-in to YouTube in-stream inventory.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SelectedInventories
constructor
A new instance of SelectedInventories.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SelectedInventories
Returns a new instance of SelectedInventories.
12112 12113 12114 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_discover ⇒ Boolean Also known as: allow_discover?
Whether the ad group is opted-in to Discover inventory.
Corresponds to the JSON property allowDiscover
12079 12080 12081 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12079 def allow_discover @allow_discover end |
#allow_gmail ⇒ Boolean Also known as: allow_gmail?
Whether the ad group is opted-in to Gmail inventory.
Corresponds to the JSON property allowGmail
12085 12086 12087 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12085 def allow_gmail @allow_gmail end |
#allow_google_display_network ⇒ Boolean Also known as: allow_google_display_network?
Whether the ad group is opted-in to Google Display Network inventory.
Corresponds to the JSON property allowGoogleDisplayNetwork
12091 12092 12093 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12091 def allow_google_display_network @allow_google_display_network end |
#allow_youtube_feed ⇒ Boolean Also known as: allow_youtube_feed?
Whether the ad group is opted-in to YouTube in-feed inventory.
Corresponds to the JSON property allowYoutubeFeed
12097 12098 12099 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12097 def allow_youtube_feed @allow_youtube_feed end |
#allow_youtube_shorts ⇒ Boolean Also known as: allow_youtube_shorts?
Whether the ad group is opted-in to YouTube shorts inventory.
Corresponds to the JSON property allowYoutubeShorts
12103 12104 12105 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12103 def allow_youtube_shorts @allow_youtube_shorts end |
#allow_youtube_stream ⇒ Boolean Also known as: allow_youtube_stream?
Whether the ad group is opted-in to YouTube in-stream inventory.
Corresponds to the JSON property allowYoutubeStream
12109 12110 12111 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12109 def allow_youtube_stream @allow_youtube_stream end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12117 12118 12119 12120 12121 12122 12123 12124 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12117 def update!(**args) @allow_discover = args[:allow_discover] if args.key?(:allow_discover) @allow_gmail = args[:allow_gmail] if args.key?(:allow_gmail) @allow_google_display_network = args[:allow_google_display_network] if args.key?(:allow_google_display_network) @allow_youtube_feed = args[:allow_youtube_feed] if args.key?(:allow_youtube_feed) @allow_youtube_shorts = args[:allow_youtube_shorts] if args.key?(:allow_youtube_shorts) @allow_youtube_stream = args[:allow_youtube_stream] if args.key?(:allow_youtube_stream) end |