Class: Google::Apis::DisplayvideoV2::CmTrackingAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::CmTrackingAd
- 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 Campaign Manager 360 tracking ad.
Instance Attribute Summary collapse
-
#cm_ad_id ⇒ Fixnum
The ad ID of the campaign manager 360 tracking Ad.
-
#cm_creative_id ⇒ Fixnum
The creative ID of the campaign manager 360 tracking Ad.
-
#cm_placement_id ⇒ Fixnum
The placement ID of the campaign manager 360 tracking Ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CmTrackingAd
constructor
A new instance of CmTrackingAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CmTrackingAd
Returns a new instance of CmTrackingAd.
2978 2979 2980 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2978 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cm_ad_id ⇒ Fixnum
The ad ID of the campaign manager 360 tracking Ad.
Corresponds to the JSON property cmAdId
2966 2967 2968 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2966 def cm_ad_id @cm_ad_id end |
#cm_creative_id ⇒ Fixnum
The creative ID of the campaign manager 360 tracking Ad.
Corresponds to the JSON property cmCreativeId
2971 2972 2973 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2971 def cm_creative_id @cm_creative_id end |
#cm_placement_id ⇒ Fixnum
The placement ID of the campaign manager 360 tracking Ad.
Corresponds to the JSON property cmPlacementId
2976 2977 2978 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2976 def cm_placement_id @cm_placement_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2983 2984 2985 2986 2987 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2983 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 |