Class: Google::Apis::DfareportingV4::CreativeCustomEvent
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::CreativeCustomEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Creative Custom Event.
Instance Attribute Summary collapse
-
#advertiser_custom_event_id ⇒ Fixnum
Unique ID of this event used by Reporting and Data Transfer.
-
#advertiser_custom_event_name ⇒ String
User-entered name for the event.
-
#advertiser_custom_event_type ⇒ String
Type of the event.
-
#artwork_label ⇒ String
Artwork label column, used to link events in Campaign Manager back to events in Studio.
-
#artwork_type ⇒ String
Artwork type used by the creative.This is a read-only field.
-
#exit_click_through_url ⇒ Google::Apis::DfareportingV4::CreativeClickThroughUrl
Click-through URL Corresponds to the JSON property
exitClickThroughUrl
. -
#id ⇒ Fixnum
ID of this event.
-
#popup_window_properties ⇒ Google::Apis::DfareportingV4::PopupWindowProperties
Popup Window Properties.
-
#target_type ⇒ String
Target type used by the event.
-
#video_reporting_id ⇒ String
Video reporting ID, used to differentiate multiple videos in a single creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeCustomEvent
constructor
A new instance of CreativeCustomEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreativeCustomEvent
Returns a new instance of CreativeCustomEvent.
4439 4440 4441 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_custom_event_id ⇒ Fixnum
Unique ID of this event used by Reporting and Data Transfer. This is a read-
only field.
Corresponds to the JSON property advertiserCustomEventId
4389 4390 4391 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4389 def advertiser_custom_event_id @advertiser_custom_event_id end |
#advertiser_custom_event_name ⇒ String
User-entered name for the event.
Corresponds to the JSON property advertiserCustomEventName
4394 4395 4396 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4394 def advertiser_custom_event_name @advertiser_custom_event_name end |
#advertiser_custom_event_type ⇒ String
Type of the event. This is a read-only field.
Corresponds to the JSON property advertiserCustomEventType
4399 4400 4401 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4399 def advertiser_custom_event_type @advertiser_custom_event_type end |
#artwork_label ⇒ String
Artwork label column, used to link events in Campaign Manager back to events
in Studio. This is a required field and should not be modified after insertion.
Corresponds to the JSON property artworkLabel
4405 4406 4407 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4405 def artwork_label @artwork_label end |
#artwork_type ⇒ String
Artwork type used by the creative.This is a read-only field.
Corresponds to the JSON property artworkType
4410 4411 4412 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4410 def artwork_type @artwork_type end |
#exit_click_through_url ⇒ Google::Apis::DfareportingV4::CreativeClickThroughUrl
Click-through URL
Corresponds to the JSON property exitClickThroughUrl
4415 4416 4417 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4415 def exit_click_through_url @exit_click_through_url end |
#id ⇒ Fixnum
ID of this event. This is a required field and should not be modified after
insertion.
Corresponds to the JSON property id
4421 4422 4423 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4421 def id @id end |
#popup_window_properties ⇒ Google::Apis::DfareportingV4::PopupWindowProperties
Popup Window Properties.
Corresponds to the JSON property popupWindowProperties
4426 4427 4428 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4426 def popup_window_properties @popup_window_properties end |
#target_type ⇒ String
Target type used by the event.
Corresponds to the JSON property targetType
4431 4432 4433 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4431 def target_type @target_type end |
#video_reporting_id ⇒ String
Video reporting ID, used to differentiate multiple videos in a single creative.
This is a read-only field.
Corresponds to the JSON property videoReportingId
4437 4438 4439 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4437 def video_reporting_id @video_reporting_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4444 def update!(**args) @advertiser_custom_event_id = args[:advertiser_custom_event_id] if args.key?(:advertiser_custom_event_id) @advertiser_custom_event_name = args[:advertiser_custom_event_name] if args.key?(:advertiser_custom_event_name) @advertiser_custom_event_type = args[:advertiser_custom_event_type] if args.key?(:advertiser_custom_event_type) @artwork_label = args[:artwork_label] if args.key?(:artwork_label) @artwork_type = args[:artwork_type] if args.key?(:artwork_type) @exit_click_through_url = args[:exit_click_through_url] if args.key?(:exit_click_through_url) @id = args[:id] if args.key?(:id) @popup_window_properties = args[:popup_window_properties] if args.key?(:popup_window_properties) @target_type = args[:target_type] if args.key?(:target_type) @video_reporting_id = args[:video_reporting_id] if args.key?(:video_reporting_id) end |