Class: Google::Apis::DfareportingV2_8::CreativeCustomEvent
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::CreativeCustomEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb
Overview
Creative Custom Event.
Instance Attribute Summary collapse
-
#advertiser_custom_event_id ⇒ Fixnum
Unique ID of this event used by DDM 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 DCM back to events in Studio.
-
#artwork_type ⇒ String
Artwork type used by the creative.This is a read-only field.
-
#exit_url ⇒ String
Exit URL of the event.
-
#id ⇒ Fixnum
ID of this event.
-
#popup_window_properties ⇒ Google::Apis::DfareportingV2_8::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeCustomEvent
Returns a new instance of CreativeCustomEvent
3933 3934 3935 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3933 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_custom_event_id ⇒ Fixnum
Unique ID of this event used by DDM Reporting and Data Transfer. This is a
read-only field.
Corresponds to the JSON property advertiserCustomEventId
3883 3884 3885 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3883 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
3888 3889 3890 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3888 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
3893 3894 3895 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3893 def advertiser_custom_event_type @advertiser_custom_event_type end |
#artwork_label ⇒ String
Artwork label column, used to link events in DCM back to events in Studio.
This is a required field and should not be modified after insertion.
Corresponds to the JSON property artworkLabel
3899 3900 3901 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3899 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
3904 3905 3906 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3904 def artwork_type @artwork_type end |
#exit_url ⇒ String
Exit URL of the event. This field is used only for exit events.
Corresponds to the JSON property exitUrl
3909 3910 3911 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3909 def exit_url @exit_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
3915 3916 3917 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3915 def id @id end |
#popup_window_properties ⇒ Google::Apis::DfareportingV2_8::PopupWindowProperties
Popup Window Properties.
Corresponds to the JSON property popupWindowProperties
3920 3921 3922 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3920 def popup_window_properties @popup_window_properties end |
#target_type ⇒ String
Target type used by the event.
Corresponds to the JSON property targetType
3925 3926 3927 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3925 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
3931 3932 3933 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3931 def video_reporting_id @video_reporting_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3938 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_url = args[:exit_url] if args.key?(:exit_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 |