Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 975 Bytes

Event.md

File metadata and controls

28 lines (22 loc) · 975 Bytes

SajariAPIClient::Event

Properties

Name Type Description Notes
banner_id String The identifier of the promotion banner the event is about. [optional]
metadata Hash<String, Object> An object made up of field-value pairs that contains additional metadata to record with the event. [optional]
query_id String The query identifier.
redirect_id String The identifier of the redirect the event is about. [optional]
result_id String The identifier of the result the event is about. [optional]
type String The type of event, e.g. `click`, `redirect`, `purchase`, `add_to_cart`.

Example

require 'sdk_ruby'

instance = SajariAPIClient::Event.new(
  banner_id: null,
  metadata: null,
  query_id: null,
  redirect_id: null,
  result_id: null,
  type: null
)