class Google::Apis::DisplayvideoV1::ExitEvent

Exit event of the creative.

Attributes

name[RW]

The name of the click tag of the exit event. The name must be unique within one creative. Leave it empty or unset for creatives containing image assets only. Corresponds to the JSON property `name` @return [String]

reporting_name[RW]

The name used to identify this event in reports. Leave it empty or unset for creatives containing image assets only. Corresponds to the JSON property `reportingName` @return [String]

type[RW]

Required. The type of the exit event. Corresponds to the JSON property `type` @return [String]

url[RW]

Required. The click through URL of the exit event. This is required when type is: * `EXIT_EVENT_TYPE_DEFAULT` * `EXIT_EVENT_TYPE_BACKUP` Corresponds to the JSON property `url` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 4323
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @reporting_name = args[:reporting_name] if args.key?(:reporting_name)
  @type = args[:type] if args.key?(:type)
  @url = args[:url] if args.key?(:url)
end