Class: Google::Apis::DisplayvideoV3::DisplayVideoSourceAd

Inherits:
Object
  • Object
show all
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 ad sourced from a DV360 creative.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DisplayVideoSourceAd

Returns a new instance of DisplayVideoSourceAd.



5363
5364
5365
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5363

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creative_idFixnum

The ID of the source creative. Corresponds to the JSON property creativeId

Returns:

  • (Fixnum)


5361
5362
5363
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5361

def creative_id
  @creative_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5368
5369
5370
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5368

def update!(**args)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
end