oursprivacy-ingest 2.0.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adf9119e2a17d3ef07c21a7a94ecfa037d3db7ebf4040577d216c0de2fb5e873
4
- data.tar.gz: 802cfbc01a301fb7cb6a7441ee9abf4bfe998f20e76a30cfe64fce5912917971
3
+ metadata.gz: 2c4d1cc55798cb8aab14d942c27d78bddcf464d077a66c0c24bbeebadc8b9561
4
+ data.tar.gz: 5050b5640a49552956b48ed4f86fb747f60cd9a92e7298f526096d5db995b2f3
5
5
  SHA512:
6
- metadata.gz: d2bfc48d0d7304b519723d3e74b03b9306cde0f52ac5735c664a0ec8ea0c3f825af920e8a43dd18cefc97f0e7544b70a685fd5de78d5e351aa570c17dabb86db
7
- data.tar.gz: '08fe26f5823e69de1f8636571fcb3dde2d258afa605b668d04691a7325b85341e548d9fe681d494ec3731c262bc8558af7284b31de87879764610f9332fa0227'
6
+ metadata.gz: fa0b484a89cd745edccb6855f6d85baa549b73fda113f6ced1b1dddeb6a9a1b0c074d95301ce6ff1d8405331d9fa9edfb5b1343c6c84810bbab6d8466f3cd871
7
+ data.tar.gz: d12d4a583d361a46248229781be853914e55adaa14d8934763d13bd1b316a06248f9bab0a369f6776edeb3c3d37d04937498d881b7bb19b8055342469e55f3a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.0 (2026-11-10)
4
+
5
+ Full Changelog: [v2.1.0...v2.2.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.1.0...v2.2.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** API update.
10
+ ## 2.1.0 (2026-11-05)
11
+
12
+ Full Changelog: [v2.0.1...v2.1.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.0.1...v2.1.0)
13
+
14
+ ### Features
15
+
16
+ * **api:** API update.
3
17
  ## 2.0.1 (2026-11-03)
4
18
 
5
19
  Full Changelog: [v2.0.0...v2.0.1](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.0.0...v2.0.1)
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  The Ours Privacy Ruby library provides convenient access to the Ours Privacy REST API from any Ruby 3.3.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/with-ours/ingest-sdk-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
4
4
 
5
+ `token` is the Source token from your Ours Privacy dashboard. Events must be allow-listed: an event that isn't on your [Event Allowlist](https://docs.oursprivacy.com/docs/allow-listing-events) isn't forwarded to your destinations.
6
+
7
+ See the [SDK guide](https://docs.oursprivacy.com/docs/ruby) and the runnable code in [`examples`](examples).
8
+
5
9
  ## Documentation
6
10
 
7
11
  Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/oursprivacy-ingest).
@@ -15,7 +19,7 @@ To use this gem, install via Bundler by adding the following to your application
15
19
  <!-- x-release-please-start-version -->
16
20
 
17
21
  ```ruby
18
- gem "oursprivacy-ingest", "~> 2.0.1"
22
+ gem "oursprivacy-ingest", "~> 2.2.0"
19
23
  ```
20
24
 
21
25
  <!-- x-release-please-end -->
@@ -28,11 +32,89 @@ require "oursprivacy_ingest"
28
32
 
29
33
  ours_privacy = OursprivacyIngest::Client.new
30
34
 
31
- response = ours_privacy.track.event(token: "REPLACE_ME", event: "REPLACE_ME")
35
+ response = ours_privacy.track.event(
36
+ token: "YOUR_SOURCE_TOKEN",
37
+ event: "signup_completed",
38
+ distinct_id: "evt_01J9ZK3Q7X",
39
+ event_properties: {plan: "pro", value: 49, currency: "USD"},
40
+ external_id: "crm_contact_1042",
41
+ identity_context: {ip: "203.0.113.10", userAgent: "Mozilla/5.0"}
42
+ )
43
+
44
+ puts(response.success)
45
+ ```
46
+
47
+ ### Identify a visitor
48
+
49
+ Set properties on a visitor, creating the visitor if there's no match.
50
+
51
+ ```ruby
52
+ require "bundler/setup"
53
+ require "oursprivacy_ingest"
54
+
55
+ ours_privacy = OursprivacyIngest::Client.new
56
+
57
+ response = ours_privacy.visitor.upsert(
58
+ token: "YOUR_SOURCE_TOKEN",
59
+ user_properties: {first_name: "Sample", last_name: "User"},
60
+ email: "user@example.com"
61
+ )
32
62
 
33
63
  puts(response.success)
34
64
  ```
35
65
 
66
+ ### Send a batch of events
67
+
68
+ Send many events in one request, each with its own required `distinctId`.
69
+
70
+ ```ruby
71
+ require "bundler/setup"
72
+ require "oursprivacy_ingest"
73
+
74
+ ours_privacy = OursprivacyIngest::Client.new
75
+
76
+ batch = ours_privacy.batch.create(
77
+ token: "YOUR_SOURCE_TOKEN",
78
+ events: [
79
+ {event: "signup_completed", distinctId: "evt_01J9ZK3Q7X", externalId: "crm_contact_1042"},
80
+ {event: "plan_upgraded", distinctId: "evt_01J9ZK3Q8Y", externalId: "crm_contact_1042"}
81
+ ]
82
+ )
83
+
84
+ puts(batch.accepted)
85
+ ```
86
+
87
+ A partial success returns HTTP 207 with a result for each row. Retry only the rows whose `code` is `queue_failed`, with the same `distinctId`. You can backfill events up to one year old; older `time` values are clamped.
88
+
89
+ ### Get an experiment assignment
90
+
91
+ Look up a visitor's variant, using the experiment's `exp_*` token rather than the Source token.
92
+
93
+ ```ruby
94
+ require "bundler/setup"
95
+ require "oursprivacy_ingest"
96
+
97
+ ours_privacy = OursprivacyIngest::Client.new
98
+
99
+ response = ours_privacy.experiments.assignment(
100
+ "checkout_redesign",
101
+ token: "exp_YOUR_EXPERIMENT_TOKEN",
102
+ visitor_id: "visitor_1042"
103
+ )
104
+
105
+ puts(response)
106
+ ```
107
+
108
+ ### Further reading
109
+
110
+ The docs cover each endpoint in full.
111
+
112
+ - [Track](https://docs.oursprivacy.com/docs/reference/track)
113
+ - [Identify](https://docs.oursprivacy.com/docs/reference/identify)
114
+ - [Batch](https://docs.oursprivacy.com/docs/reference/batch)
115
+ - [Rate limits](https://docs.oursprivacy.com/docs/reference/rate-limits)
116
+ - [Server-side experimentation](https://docs.oursprivacy.com/docs/experimentation/server-side)
117
+
36
118
  ### Handling errors
37
119
 
38
120
  When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `OursprivacyIngest::Errors::APIError` will be thrown:
@@ -175,17 +257,38 @@ This library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitio
175
257
  You can provide typesafe request parameters like so:
176
258
 
177
259
  ```ruby
178
- ours_privacy.track.event(token: "REPLACE_ME", event: "REPLACE_ME")
260
+ ours_privacy.track.event(
261
+ token: "YOUR_SOURCE_TOKEN",
262
+ event: "signup_completed",
263
+ distinct_id: "evt_01J9ZK3Q7X",
264
+ event_properties: {plan: "pro", value: 49, currency: "USD"},
265
+ external_id: "crm_contact_1042",
266
+ identity_context: OursprivacyIngest::TrackEventParams::IdentityContext.new(ip: "203.0.113.10", user_agent: "Mozilla/5.0")
267
+ )
179
268
  ```
180
269
 
181
270
  Or, equivalently:
182
271
 
183
272
  ```ruby
184
273
  # Hashes work, but are not typesafe:
185
- ours_privacy.track.event(token: "REPLACE_ME", event: "REPLACE_ME")
274
+ ours_privacy.track.event(
275
+ token: "YOUR_SOURCE_TOKEN",
276
+ event: "signup_completed",
277
+ distinct_id: "evt_01J9ZK3Q7X",
278
+ event_properties: {plan: "pro", value: 49, currency: "USD"},
279
+ external_id: "crm_contact_1042",
280
+ identity_context: {ip: "203.0.113.10", userAgent: "Mozilla/5.0"}
281
+ )
186
282
 
187
283
  # You can also splat a full Params class:
188
- params = OursprivacyIngest::TrackEventParams.new(token: "REPLACE_ME", event: "REPLACE_ME")
284
+ params = OursprivacyIngest::TrackEventParams.new(
285
+ token: "YOUR_SOURCE_TOKEN",
286
+ event: "signup_completed",
287
+ distinct_id: "evt_01J9ZK3Q7X",
288
+ event_properties: {plan: "pro", value: 49, currency: "USD"},
289
+ external_id: "crm_contact_1042",
290
+ identity_context: OursprivacyIngest::TrackEventParams::IdentityContext.new(ip: "203.0.113.10", user_agent: "Mozilla/5.0")
291
+ )
189
292
  ours_privacy.track.event(**params)
190
293
  ```
191
294
 
data/SECURITY.md CHANGED
@@ -1,27 +1,25 @@
1
1
  # Security Policy
2
2
 
3
- ## Reporting Security Issues
3
+ ## Reporting a Vulnerability
4
4
 
5
- This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
5
+ Ours Privacy maintains this SDK. If you believe you have found a security vulnerability, please **do not open a public issue**. Report it to **ciso@oursprivacy.com** and include steps to reproduce, the impact, and any suggested fix.
6
6
 
7
- To report a security issue, please contact the Stainless team at security@stainless.com.
7
+ We will acknowledge your report within 1 business day and provide an initial assessment within 7 business days. We will notify you when the fix is released and credit you if you wish. Please give us a reasonable amount of time to respond before making any information public.
8
8
 
9
- ## Responsible Disclosure
9
+ Use the same address for vulnerabilities in Ours Privacy services. See our [Trust Center](https://security.oursprivacy.com/) for more about our security practices.
10
10
 
11
- We appreciate the efforts of security researchers and individuals who help us maintain the security of
12
- SDKs we generate. If you believe you have found a security vulnerability, please adhere to responsible
13
- disclosure practices by allowing us a reasonable amount of time to investigate and address the issue
14
- before making any information public.
11
+ ## Supported Versions
15
12
 
16
- ## Reporting Non-SDK Related Security Issues
13
+ We provide security updates only for actively supported versions. Older versions may not receive patches.
17
14
 
18
- If you encounter security issues that are not directly related to SDKs but pertain to the services
19
- or products provided by Ours Privacy, please follow the respective company's security reporting guidelines.
15
+ ## Safe Harbor
20
16
 
21
- ### Ours Privacy Terms and Policies
17
+ We will not pursue legal action against security researchers who:
22
18
 
23
- Please contact support@oursprivacy.com for any questions or concerns regarding the security of our services.
19
+ - Report vulnerabilities in good faith.
20
+ - Avoid privacy violations, data destruction, or service disruption.
21
+ - Provide us with a reasonable amount of time to remediate before public disclosure.
24
22
 
25
- ---
23
+ ## SDK Generation
26
24
 
27
- Thank you for helping us keep the SDKs and systems they interact with secure.
25
+ This SDK is generated with tooling from Stainless Software, Inc. Stainless does not maintain this SDK or handle its security reports, so please do not send reports there.
@@ -180,7 +180,13 @@ module OursprivacyIngest
180
180
  # @param response [nil]
181
181
  # @param message [String, nil]
182
182
  def initialize(url:, status:, headers:, body:, request:, response:, message: nil)
183
- message ||= {url: url.to_s, status: status, body: body}
183
+ message ||= OursprivacyIngest::Internal::Util.redact_sensitive(
184
+ {
185
+ url: url.to_s,
186
+ status: status,
187
+ body: body
188
+ }
189
+ )
184
190
  super(
185
191
  url: url,
186
192
  status: status,
@@ -514,13 +514,18 @@ module OursprivacyIngest
514
514
  # @api public
515
515
  #
516
516
  # @return [String]
517
- def to_s = deep_to_h.to_s
517
+ def to_s = OursprivacyIngest::Internal::Util.redact_sensitive(deep_to_h).to_s
518
518
 
519
519
  # @api private
520
520
  #
521
521
  # @return [String]
522
522
  def inspect
523
- converted = self.class.recursively_to_h(self, convert: true)
523
+ converted = OursprivacyIngest::Internal::Util.redact_sensitive(
524
+ self.class.recursively_to_h(
525
+ self,
526
+ convert: true
527
+ )
528
+ )
524
529
  "#<#{self.class}:0x#{object_id.to_s(16)} #{converted}>"
525
530
  end
526
531
 
@@ -237,6 +237,45 @@ module OursprivacyIngest
237
237
  end
238
238
  end
239
239
 
240
+ # @type [Array<String>]
241
+ #
242
+ # Names whose values never reach string representations, ignoring case,
243
+ # underscores and hyphens.
244
+ SENSITIVE_NAMES =
245
+ %w[
246
+ accesstoken
247
+ apikey
248
+ authorization
249
+ clientsecret
250
+ cookie
251
+ password
252
+ refreshtoken
253
+ setcookie
254
+ token
255
+ xapikey
256
+ ].freeze
257
+
258
+ class << self
259
+ # @api private
260
+ #
261
+ # @param input [Object]
262
+ #
263
+ # @return [Object]
264
+ def redact_sensitive(input)
265
+ case input
266
+ in Hash
267
+ input.to_h do |key, value|
268
+ name = key.to_s.downcase.delete("_-")
269
+ [key, SENSITIVE_NAMES.include?(name) ? "***" : redact_sensitive(value)]
270
+ end
271
+ in Array
272
+ input.map { redact_sensitive(_1) }
273
+ else
274
+ input
275
+ end
276
+ end
277
+ end
278
+
240
279
  # @type [Regexp]
241
280
  #
242
281
  # https://www.rfc-editor.org/rfc/rfc3986.html#section-3.3
@@ -274,7 +313,11 @@ module OursprivacyIngest
274
313
  ""
275
314
  in [String => p, *interpolations]
276
315
  encoded = interpolations.map { encode_path(_1) }
277
- format(p, *encoded)
316
+ formatted = format(p, *encoded)
317
+ dot_segment = formatted.split("?", 2).first.to_s.split("/").find { [".", ".."].include?(_1) }
318
+ raise ArgumentError, "Path parameter can't be the dot segment '#{dot_segment}'" if dot_segment
319
+
320
+ formatted
278
321
  end
279
322
  end
280
323
  end
@@ -60,7 +60,7 @@ module OursprivacyIngest
60
60
  nil?: true
61
61
 
62
62
  # @!attribute email
63
- # The email address of a user. When userId is absent and externalId does not
63
+ # The email address of a user. When visitorId is absent and externalId does not
64
64
  # resolve a visitor, we search your account for a visitor with this email. If no
65
65
  # match is found, we try userProperties.phone_number before creating a new
66
66
  # visitor. Leading and trailing whitespace is removed before validation.
@@ -86,11 +86,11 @@ module OursprivacyIngest
86
86
  nil?: true
87
87
 
88
88
  # @!attribute external_id
89
- # Your system's unique identifier for this user. When userId is absent, we search
90
- # your account for an existing visitor with this externalId. If no match is found,
91
- # we try email and then userProperties.phone_number before creating a new visitor.
92
- # If you also have the userId from cookies or local storage, send both — it
93
- # removes the lookup round-trip. Non-string input is converted to text before
89
+ # Your system's unique identifier for this user. When visitorId is absent, we
90
+ # search your account for an existing visitor with this externalId. If no match is
91
+ # found, we try email and then userProperties.phone_number before creating a new
92
+ # visitor. If you also have the visitorId from cookies or local storage, send both
93
+ # — it removes the lookup round-trip. Non-string input is converted to text before
94
94
  # validation; clients should send a string. Leading and trailing whitespace is
95
95
  # removed before validation.
96
96
  #
@@ -109,18 +109,22 @@ module OursprivacyIngest
109
109
  nil?: true
110
110
 
111
111
  # @!attribute time
112
- # The time at which the event occurred in milliseconds since UTC epoch. The time
113
- # must be in the past and within the last 7 days.
112
+ # The time at which the event occurred in milliseconds since UTC epoch. Times
113
+ # older than one year are recorded as exactly one year ago, and future times as
114
+ # now.
114
115
  #
115
116
  # @return [Float, nil]
116
117
  optional :time, Float, nil?: true
117
118
 
118
119
  # @!attribute user_id
120
+ # @deprecated
121
+ #
119
122
  # The Ours Visitor ID stored in local storage and cookies on your web properties.
120
123
  # When present, this is used directly — no lookup by externalId, email, or phone
121
- # is performed. If you have both a userId and an externalId, send both so the
122
- # event is attached to the right visitor without any lookup overhead. Leading and
123
- # trailing whitespace is removed before validation.
124
+ # is performed. If you have both a visitorId and an externalId, send both so the
125
+ # event is attached to the right visitor without any lookup overhead. visitorId
126
+ # takes precedence over the deprecated userId alias. Leading and trailing
127
+ # whitespace is removed before validation.
124
128
  #
125
129
  # @return [String, nil]
126
130
  optional :user_id, String, api_name: :userId, nil?: true
@@ -135,7 +139,18 @@ module OursprivacyIngest
135
139
  api_name: :userProperties,
136
140
  nil?: true
137
141
 
138
- # @!method initialize(distinct_id:, event:, default_properties: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil)
142
+ # @!attribute visitor_id
143
+ # The Ours Visitor ID stored in local storage and cookies on your web properties.
144
+ # When present, this is used directly — no lookup by externalId, email, or phone
145
+ # is performed. If you have both a visitorId and an externalId, send both so the
146
+ # event is attached to the right visitor without any lookup overhead. visitorId
147
+ # takes precedence over the deprecated userId alias. Leading and trailing
148
+ # whitespace is removed before validation.
149
+ #
150
+ # @return [String, nil]
151
+ optional :visitor_id, String, api_name: :visitorId, nil?: true
152
+
153
+ # @!method initialize(distinct_id:, event:, default_properties: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, visitor_id: nil)
139
154
  # Some parameter documentations has been truncated, see
140
155
  # {OursprivacyIngest::Models::BatchCreateParams::Event} for more details.
141
156
  #
@@ -145,19 +160,21 @@ module OursprivacyIngest
145
160
  #
146
161
  # @param default_properties [OursprivacyIngest::Models::BatchCreateParams::Event::DefaultProperties, nil] These properties are used throughout the Ours app to pass known values onto dest
147
162
  #
148
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
163
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
149
164
  #
150
165
  # @param event_properties [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, nil}, nil}, nil}, nil}, nil}, nil] Any additional event properties you want to pass along. Use at most 200 nonempty
151
166
  #
152
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
167
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
153
168
  #
154
169
  # @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
155
170
  #
156
- # @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. The time m
171
+ # @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
157
172
  #
158
173
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
159
174
  #
160
175
  # @param user_properties [OursprivacyIngest::Models::BatchCreateParams::Event::UserProperties, nil] Properties to set on the visitor. (optional) You can also update these propertie
176
+ #
177
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
161
178
 
162
179
  # @see OursprivacyIngest::Models::BatchCreateParams::Event#default_properties
163
180
  class DefaultProperties < OursprivacyIngest::Internal::Type::BaseModel
@@ -196,6 +213,15 @@ module OursprivacyIngest
196
213
  # @return [String, nil]
197
214
  optional :adset_id, String, nil?: true
198
215
 
216
+ # @!attribute affiliatly_v3
217
+ # The raw Affiliatly tracking cookie value (affiliatly_v3), set by the Affiliatly
218
+ # script when a visitor lands from an affiliate link. Web-only. Ex:
219
+ # id_hash=abc&id_user=123&aff_uid=45 Leading and trailing whitespace is removed
220
+ # before validation.
221
+ #
222
+ # @return [String, nil]
223
+ optional :affiliatly_v3, String, nil?: true
224
+
199
225
  # @!attribute alart
200
226
  # The AppLovin alart query parameter. Ex: alart123 Leading and trailing whitespace
201
227
  # is removed before validation.
@@ -742,7 +768,7 @@ module OursprivacyIngest
742
768
  # @return [String, nil]
743
769
  optional :ylpcid, String, nil?: true
744
770
 
745
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
771
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
746
772
  # Some parameter documentations has been truncated, see
747
773
  # {OursprivacyIngest::Models::BatchCreateParams::Event::DefaultProperties} for
748
774
  # more details.
@@ -761,6 +787,8 @@ module OursprivacyIngest
761
787
  #
762
788
  # @param adset_id [String, nil] The adset id detected in the session. This is set by the web sdk automatically.
763
789
  #
790
+ # @param affiliatly_v3 [String, nil] The raw Affiliatly tracking cookie value (affiliatly_v3), set by the Affiliatly
791
+ #
764
792
  # @param alart [String, nil] The AppLovin alart query parameter. Ex: alart123 Leading and trailing whitespace
765
793
  #
766
794
  # @param aleid [String, nil] The AppLovin aleid query parameter. Ex: aleid123 Leading and trailing whitespace
@@ -1278,6 +1306,11 @@ module OursprivacyIngest
1278
1306
  # @return [String, nil]
1279
1307
  optional :adset_id, String, nil?: true
1280
1308
 
1309
+ # @!attribute affiliatly_v3
1310
+ #
1311
+ # @return [String, nil]
1312
+ optional :affiliatly_v3, String, nil?: true
1313
+
1281
1314
  # @!attribute alart
1282
1315
  #
1283
1316
  # @return [String, nil]
@@ -1675,7 +1708,7 @@ module OursprivacyIngest
1675
1708
  },
1676
1709
  nil?: true
1677
1710
 
1678
- # @!method initialize(_ef_transaction_id: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1711
+ # @!method initialize(_ef_transaction_id: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1679
1712
  # Some parameter documentations has been truncated, see
1680
1713
  # {OursprivacyIngest::Models::BatchCreateParams::Event::UserProperties} for more
1681
1714
  # details.
@@ -1691,6 +1724,8 @@ module OursprivacyIngest
1691
1724
  #
1692
1725
  # @param adset_id [String, nil]
1693
1726
  #
1727
+ # @param affiliatly_v3 [String, nil]
1728
+ #
1694
1729
  # @param alart [String, nil]
1695
1730
  #
1696
1731
  # @param aleid [String, nil]