Class: Google::Apis::DisplayvideoV4::CmTrackingAd

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

A Campaign Manager 360 tracking ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CmTrackingAd

Returns a new instance of CmTrackingAd.



4567
4568
4569
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 4567

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

Instance Attribute Details

#cm_ad_idFixnum

Optional. The ad ID of the campaign manager 360 tracking Ad. Corresponds to the JSON property cmAdId

Returns:

  • (Fixnum)


4555
4556
4557
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 4555

def cm_ad_id
  @cm_ad_id
end

#cm_creative_idFixnum

Optional. The creative ID of the campaign manager 360 tracking Ad. Corresponds to the JSON property cmCreativeId

Returns:

  • (Fixnum)


4560
4561
4562
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 4560

def cm_creative_id
  @cm_creative_id
end

#cm_placement_idFixnum

Optional. The placement ID of the campaign manager 360 tracking Ad. Corresponds to the JSON property cmPlacementId

Returns:

  • (Fixnum)


4565
4566
4567
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 4565

def cm_placement_id
  @cm_placement_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4572
4573
4574
4575
4576
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 4572

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