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 360 tracking ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CmTrackingAd

Returns a new instance of CmTrackingAd.



2214
2215
2216
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2214

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

Instance Attribute Details

#cm_ad_idFixnum

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

Returns:

  • (Fixnum)


2202
2203
2204
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2202

def cm_ad_id
  @cm_ad_id
end

#cm_creative_idFixnum

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

Returns:

  • (Fixnum)


2207
2208
2209
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2207

def cm_creative_id
  @cm_creative_id
end

#cm_placement_idFixnum

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

Returns:

  • (Fixnum)


2212
2213
2214
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2212

def cm_placement_id
  @cm_placement_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2219
2220
2221
2222
2223
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2219

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