Class: Google::Apis::DisplayvideoV2::YoutubeAdGroupAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeAdGroupAd
- 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
A single ad associated with a YouTube ad group.
Instance Attribute Summary collapse
-
#ad_group_ad_id ⇒ Fixnum
The unique ID of the ad.
-
#ad_group_id ⇒ Fixnum
The unique ID of the ad group that the ad belongs to.
-
#ad_urls ⇒ Array<Google::Apis::DisplayvideoV2::AdUrl>
List of URLs used by the ad.
-
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad belongs to.
-
#audio_ad ⇒ Google::Apis::DisplayvideoV2::AudioAd
Details for an audio ad.
-
#bumper_ad ⇒ Google::Apis::DisplayvideoV2::BumperAd
Details for a bumper ad.
-
#display_name ⇒ String
The display name of the ad.
-
#display_video_source_ad ⇒ Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
The ad sourced from a DV360 creative.
-
#entity_status ⇒ String
The entity status of the ad.
-
#in_stream_ad ⇒ Google::Apis::DisplayvideoV2::InStreamAd
Details for an in-stream ad.
-
#masthead_ad ⇒ Google::Apis::DisplayvideoV2::MastheadAd
Details for a Masthead Ad.
-
#name ⇒ String
The resource name of the ad.
-
#non_skippable_ad ⇒ Google::Apis::DisplayvideoV2::NonSkippableAd
Details for a non-skippable ad.
-
#video_discover_ad ⇒ Google::Apis::DisplayvideoV2::VideoDiscoveryAd
Details for a video discovery ad.
-
#video_performance_ad ⇒ Google::Apis::DisplayvideoV2::VideoPerformanceAd
Details for a video performance ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAdGroupAd
constructor
A new instance of YoutubeAdGroupAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAdGroupAd
Returns a new instance of YoutubeAdGroupAd.
12111 12112 12113 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_ad_id ⇒ Fixnum
The unique ID of the ad. Assigned by the system.
Corresponds to the JSON property adGroupAdId
12038 12039 12040 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12038 def ad_group_ad_id @ad_group_ad_id end |
#ad_group_id ⇒ Fixnum
The unique ID of the ad group that the ad belongs to.
Corresponds to the JSON property adGroupId
12043 12044 12045 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12043 def ad_group_id @ad_group_id end |
#ad_urls ⇒ Array<Google::Apis::DisplayvideoV2::AdUrl>
List of URLs used by the ad.
Corresponds to the JSON property adUrls
12048 12049 12050 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12048 def ad_urls @ad_urls end |
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad belongs to.
Corresponds to the JSON property advertiserId
12053 12054 12055 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12053 def advertiser_id @advertiser_id end |
#audio_ad ⇒ Google::Apis::DisplayvideoV2::AudioAd
Details for an audio ad.
Corresponds to the JSON property audioAd
12058 12059 12060 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12058 def audio_ad @audio_ad end |
#bumper_ad ⇒ Google::Apis::DisplayvideoV2::BumperAd
Details for a bumper ad.
Corresponds to the JSON property bumperAd
12063 12064 12065 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12063 def bumper_ad @bumper_ad end |
#display_name ⇒ String
The display name of the ad. Must be UTF-8 encoded with a maximum size of 255
bytes.
Corresponds to the JSON property displayName
12069 12070 12071 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12069 def display_name @display_name end |
#display_video_source_ad ⇒ Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
The ad sourced from a DV360 creative.
Corresponds to the JSON property displayVideoSourceAd
12074 12075 12076 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12074 def display_video_source_ad @display_video_source_ad end |
#entity_status ⇒ String
The entity status of the ad.
Corresponds to the JSON property entityStatus
12079 12080 12081 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12079 def entity_status @entity_status end |
#in_stream_ad ⇒ Google::Apis::DisplayvideoV2::InStreamAd
Details for an in-stream ad.
Corresponds to the JSON property inStreamAd
12084 12085 12086 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12084 def in_stream_ad @in_stream_ad end |
#masthead_ad ⇒ Google::Apis::DisplayvideoV2::MastheadAd
Details for a Masthead Ad.
Corresponds to the JSON property mastheadAd
12089 12090 12091 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12089 def masthead_ad @masthead_ad end |
#name ⇒ String
The resource name of the ad.
Corresponds to the JSON property name
12094 12095 12096 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12094 def name @name end |
#non_skippable_ad ⇒ Google::Apis::DisplayvideoV2::NonSkippableAd
Details for a non-skippable ad.
Corresponds to the JSON property nonSkippableAd
12099 12100 12101 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12099 def non_skippable_ad @non_skippable_ad end |
#video_discover_ad ⇒ Google::Apis::DisplayvideoV2::VideoDiscoveryAd
Details for a video discovery ad.
Corresponds to the JSON property videoDiscoverAd
12104 12105 12106 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12104 def video_discover_ad @video_discover_ad end |
#video_performance_ad ⇒ Google::Apis::DisplayvideoV2::VideoPerformanceAd
Details for a video performance ad.
Corresponds to the JSON property videoPerformanceAd
12109 12110 12111 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12109 def video_performance_ad @video_performance_ad end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12116 def update!(**args) @ad_group_ad_id = args[:ad_group_ad_id] if args.key?(:ad_group_ad_id) @ad_group_id = args[:ad_group_id] if args.key?(:ad_group_id) @ad_urls = args[:ad_urls] if args.key?(:ad_urls) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @audio_ad = args[:audio_ad] if args.key?(:audio_ad) @bumper_ad = args[:bumper_ad] if args.key?(:bumper_ad) @display_name = args[:display_name] if args.key?(:display_name) @display_video_source_ad = args[:display_video_source_ad] if args.key?(:display_video_source_ad) @entity_status = args[:entity_status] if args.key?(:entity_status) @in_stream_ad = args[:in_stream_ad] if args.key?(:in_stream_ad) @masthead_ad = args[:masthead_ad] if args.key?(:masthead_ad) @name = args[:name] if args.key?(:name) @non_skippable_ad = args[:non_skippable_ad] if args.key?(:non_skippable_ad) @video_discover_ad = args[:video_discover_ad] if args.key?(:video_discover_ad) @video_performance_ad = args[:video_performance_ad] if args.key?(:video_performance_ad) end |