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 YouTube ad group ad associated with a YouTube ad group.
Instance Attribute Summary collapse
-
#ad_group_ad_id ⇒ Fixnum
The unique ID of the ad group ad.
-
#ad_group_id ⇒ Fixnum
The unique ID of the ad group that the ad group ad belongs to.
-
#ad_urls ⇒ Array<Google::Apis::DisplayvideoV2::AdUrl>
The list of ad urls.
-
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad group ad belongs to.
-
#audio_ad ⇒ Google::Apis::DisplayvideoV2::AudioAd
The details for audio ad.
-
#bumper_ad ⇒ Google::Apis::DisplayvideoV2::BumperAd
Ad details for BumperAd.
-
#display_name ⇒ String
The display name of the ad group ad.
-
#display_video_source_ad ⇒ Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
The ad of which source is DV360 creative.
-
#entity_status ⇒ String
The entity status of the ad group ad.
-
#in_stream_ad ⇒ Google::Apis::DisplayvideoV2::InStreamAd
Ad details for InStreamAd Corresponds to the JSON property
inStreamAd. -
#masthead_ad ⇒ Google::Apis::DisplayvideoV2::MastheadAd
The details for masthead ad.
-
#name ⇒ String
The resource name of the ad group ad.
-
#non_skippable_ad ⇒ Google::Apis::DisplayvideoV2::NonSkippableAd
Ad details for NonSkippableAd Corresponds to the JSON property
nonSkippableAd. -
#video_discover_ad ⇒ Google::Apis::DisplayvideoV2::VideoDiscoveryAd
The details for video discovery ad.
-
#video_performance_ad ⇒ Google::Apis::DisplayvideoV2::VideoPerformanceAd
The details for 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.
11906 11907 11908 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_ad_id ⇒ Fixnum
The unique ID of the ad group ad. Assigned by the system.
Corresponds to the JSON property adGroupAdId
11833 11834 11835 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11833 def ad_group_ad_id @ad_group_ad_id end |
#ad_group_id ⇒ Fixnum
The unique ID of the ad group that the ad group ad belongs to.
Corresponds to the JSON property adGroupId
11838 11839 11840 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11838 def ad_group_id @ad_group_id end |
#ad_urls ⇒ Array<Google::Apis::DisplayvideoV2::AdUrl>
The list of ad urls.
Corresponds to the JSON property adUrls
11843 11844 11845 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11843 def ad_urls @ad_urls end |
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad group ad belongs to.
Corresponds to the JSON property advertiserId
11848 11849 11850 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11848 def advertiser_id @advertiser_id end |
#audio_ad ⇒ Google::Apis::DisplayvideoV2::AudioAd
The details for audio ad.
Corresponds to the JSON property audioAd
11853 11854 11855 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11853 def audio_ad @audio_ad end |
#bumper_ad ⇒ Google::Apis::DisplayvideoV2::BumperAd
Ad details for BumperAd.
Corresponds to the JSON property bumperAd
11858 11859 11860 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11858 def bumper_ad @bumper_ad end |
#display_name ⇒ String
The display name of the ad group ad. Must be UTF-8 encoded with a maximum size
of 255 bytes.
Corresponds to the JSON property displayName
11864 11865 11866 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11864 def display_name @display_name end |
#display_video_source_ad ⇒ Google::Apis::DisplayvideoV2::DisplayVideoSourceAd
The ad of which source is DV360 creative.
Corresponds to the JSON property displayVideoSourceAd
11869 11870 11871 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11869 def display_video_source_ad @display_video_source_ad end |
#entity_status ⇒ String
The entity status of the ad group ad.
Corresponds to the JSON property entityStatus
11874 11875 11876 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11874 def entity_status @entity_status end |
#in_stream_ad ⇒ Google::Apis::DisplayvideoV2::InStreamAd
Ad details for InStreamAd
Corresponds to the JSON property inStreamAd
11879 11880 11881 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11879 def in_stream_ad @in_stream_ad end |
#masthead_ad ⇒ Google::Apis::DisplayvideoV2::MastheadAd
The details for masthead ad.
Corresponds to the JSON property mastheadAd
11884 11885 11886 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11884 def masthead_ad @masthead_ad end |
#name ⇒ String
The resource name of the ad group ad.
Corresponds to the JSON property name
11889 11890 11891 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11889 def name @name end |
#non_skippable_ad ⇒ Google::Apis::DisplayvideoV2::NonSkippableAd
Ad details for NonSkippableAd
Corresponds to the JSON property nonSkippableAd
11894 11895 11896 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11894 def non_skippable_ad @non_skippable_ad end |
#video_discover_ad ⇒ Google::Apis::DisplayvideoV2::VideoDiscoveryAd
The details for video discovery ad.
Corresponds to the JSON property videoDiscoverAd
11899 11900 11901 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11899 def video_discover_ad @video_discover_ad end |
#video_performance_ad ⇒ Google::Apis::DisplayvideoV2::VideoPerformanceAd
The details for video performance ad.
Corresponds to the JSON property videoPerformanceAd
11904 11905 11906 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11904 def video_performance_ad @video_performance_ad end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11911 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 |