Class: Google::Apis::DisplayvideoV1::CmTrackingAd

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

Overview

A Campaign Manager tracking ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CmTrackingAd

Returns a new instance of CmTrackingAd.



1739
1740
1741
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1739

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

Instance Attribute Details

#cm_ad_idFixnum

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

Returns:

  • (Fixnum)


1727
1728
1729
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1727

def cm_ad_id
  @cm_ad_id
end

#cm_creative_idFixnum

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

Returns:

  • (Fixnum)


1732
1733
1734
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1732

def cm_creative_id
  @cm_creative_id
end

#cm_placement_idFixnum

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

Returns:

  • (Fixnum)


1737
1738
1739
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1737

def cm_placement_id
  @cm_placement_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1744
1745
1746
1747
1748
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1744

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