class Google::Apis::DfareportingV2_1::CreativeCustomEvent

Creative Custom Event.

Attributes

active[RW]

Whether the event is active. Corresponds to the JSON property `active` @return [Boolean]

active?[RW]

Whether the event is active. Corresponds to the JSON property `active` @return [Boolean]

advertiser_custom_event_name[RW]

User-entered name for the event. Corresponds to the JSON property `advertiserCustomEventName` @return [String]

advertiser_custom_event_type[RW]

Type of the event. This is a read-only field. Corresponds to the JSON property `advertiserCustomEventType` @return [String]

artwork_label[RW]

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` @return [String]

artwork_type[RW]

Artwork type used by the creative.This is a read-only field. Corresponds to the JSON property `artworkType` @return [String]

exit_url[RW]

Exit URL of the event. This field is used only for exit events. Corresponds to the JSON property `exitUrl` @return [String]

id[RW]

ID of this event. This is a required field and should not be modified after insertion. Corresponds to the JSON property `id` @return [String]

popup_window_properties[RW]

Popup Window Properties. Corresponds to the JSON property `popupWindowProperties` @return [Google::Apis::DfareportingV2_1::PopupWindowProperties]

target_type[RW]

Target type used by the event. Corresponds to the JSON property `targetType` @return [String]

video_reporting_id[RW]

Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. Corresponds to the JSON property `videoReportingId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 3350
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 3355
def update!(**args)
  @active = args[:active] unless args[:active].nil?
  @advertiser_custom_event_name = args[:advertiser_custom_event_name] unless args[:advertiser_custom_event_name].nil?
  @advertiser_custom_event_type = args[:advertiser_custom_event_type] unless args[:advertiser_custom_event_type].nil?
  @artwork_label = args[:artwork_label] unless args[:artwork_label].nil?
  @artwork_type = args[:artwork_type] unless args[:artwork_type].nil?
  @exit_url = args[:exit_url] unless args[:exit_url].nil?
  @id = args[:id] unless args[:id].nil?
  @popup_window_properties = args[:popup_window_properties] unless args[:popup_window_properties].nil?
  @target_type = args[:target_type] unless args[:target_type].nil?
  @video_reporting_id = args[:video_reporting_id] unless args[:video_reporting_id].nil?
end