oursprivacy-ingest 2.3.0 → 2.5.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: 8021430695f2b1f1e918d26d0ec16836fd907ba72708642373dde6d1421f46dd
4
- data.tar.gz: bb61126b47beb14a9799c1b405917c0cd1ea4afe032e7f6fce53b6cd324d2110
3
+ metadata.gz: 402e128a9b574bb157e93a0938c2fc71560e1cf65aa423aac3000d156968da57
4
+ data.tar.gz: 6bdbfca7a71f11c51619a90ee0df99da07f04cefd5f17e9f62b1c3cd774d08f1
5
5
  SHA512:
6
- metadata.gz: 9029db50b680fca57031ed9079f8019a1ab252308e28adaeca1cc8f513e496a0f1ffe503b438aa12c8efa7241fcce74a5ae10a7e39a80ce6ff31adfb306e33d5
7
- data.tar.gz: 483a272bd00a43a385911248ed5a2bf86eabddf477c4c510ef24d588e8b7eb9f51f1d29d05af8954f563e9faa804fa16e1820089ca52bcb6409d11e3cb2f44af
6
+ metadata.gz: 1b4f97e29060effb306591f5f57aaea3e14aeaa1741711653496cc81d9374e38403b7686aaea0b48a2bda408db3c4b73bde319ce3309ffb41202279f585a54dc
7
+ data.tar.gz: 0dd9c1d5d80388a7013bcef3d3eba34701de89366411a4c3fa2fcea4f5cd8df490872f7377e6b518e69f5a30b7e79018090d5e2acbce197ae0ac719d4465d58d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.5.0 (2026-11-17)
4
+
5
+ Full Changelog: [v2.4.0...v2.5.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.4.0...v2.5.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** API update.
10
+ ## 2.4.0 (2026-11-13)
11
+
12
+ Full Changelog: [v2.3.0...v2.4.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.3.0...v2.4.0)
13
+
14
+ ### Features
15
+
16
+ * **api:** API update.
3
17
  ## 2.3.0 (2026-11-13)
4
18
 
5
19
  Full Changelog: [v2.2.0...v2.3.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.2.0...v2.3.0)
data/README.md CHANGED
@@ -19,7 +19,7 @@ To use this gem, install via Bundler by adding the following to your application
19
19
  <!-- x-release-please-start-version -->
20
20
 
21
21
  ```ruby
22
- gem "oursprivacy-ingest", "~> 2.3.0"
22
+ gem "oursprivacy-ingest", "~> 2.5.0"
23
23
  ```
24
24
 
25
25
  <!-- x-release-please-end -->
@@ -98,9 +98,9 @@ module OursprivacyIngest
98
98
  optional :external_id, String, api_name: :externalId, nil?: true
99
99
 
100
100
  # @!attribute identity_context
101
- # End-user network context for server-side calls. Required for probabilistic
102
- # identity resolution when the caller is a backend server rather than an end-user
103
- # browser.
101
+ # @deprecated
102
+ #
103
+ # Deprecated and ignored. Accepted so existing clients keep working.
104
104
  #
105
105
  # @return [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil]
106
106
  optional :identity_context,
@@ -166,7 +166,7 @@ module OursprivacyIngest
166
166
  #
167
167
  # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
168
168
  #
169
- # @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
169
+ # @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
170
170
  #
171
171
  # @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
172
172
  #
@@ -199,6 +199,43 @@ module OursprivacyIngest
199
199
  # @return [String, nil]
200
200
  optional :ad_id, String, nil?: true
201
201
 
202
+ # @!attribute ad_touch_ad_id
203
+ # The platform ad id resolved by the Ours server for this event. Ex: 120212
204
+ # Leading and trailing whitespace is removed before validation.
205
+ #
206
+ # @return [String, nil]
207
+ optional :ad_touch_ad_id, String, nil?: true
208
+
209
+ # @!attribute ad_touch_adset_id
210
+ # The platform ad set or ad group id resolved by the Ours server for this event.
211
+ # Ex: 120211 Leading and trailing whitespace is removed before validation.
212
+ #
213
+ # @return [String, nil]
214
+ optional :ad_touch_adset_id, String, nil?: true
215
+
216
+ # @!attribute ad_touch_campaign_id
217
+ # The platform campaign id resolved by the Ours server for this event. Ex: 120210
218
+ # Leading and trailing whitespace is removed before validation.
219
+ #
220
+ # @return [String, nil]
221
+ optional :ad_touch_campaign_id, String, nil?: true
222
+
223
+ # @!attribute ad_touch_platform
224
+ # The ad platform resolved by the Ours server from the ad tag, ad ids, and click
225
+ # ids on this event. Ex: meta, google Leading and trailing whitespace is removed
226
+ # before validation.
227
+ #
228
+ # @return [String, nil]
229
+ optional :ad_touch_platform, String, nil?: true
230
+
231
+ # @!attribute ad_touch_source
232
+ # Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
233
+ # gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
234
+ # before validation.
235
+ #
236
+ # @return [String, nil]
237
+ optional :ad_touch_source, String, nil?: true
238
+
202
239
  # @!attribute adct
203
240
  # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
204
241
  # trailing whitespace is removed before validation.
@@ -415,6 +452,13 @@ module OursprivacyIngest
415
452
  # @return [Boolean, nil]
416
453
  optional :fv, OursprivacyIngest::Internal::Type::Boolean, nil?: true
417
454
 
455
+ # @!attribute gad_campaignid
456
+ # The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
457
+ # 21780011223 Leading and trailing whitespace is removed before validation.
458
+ #
459
+ # @return [String, nil]
460
+ optional :gad_campaignid, String, nil?: true
461
+
418
462
  # @!attribute gad_source
419
463
  # The Google Ad Source. Ex: google Leading and trailing whitespace is removed
420
464
  # before validation.
@@ -553,6 +597,14 @@ module OursprivacyIngest
553
597
  # @return [String, nil]
554
598
  optional :os_version, String, nil?: true
555
599
 
600
+ # @!attribute ours_ad
601
+ # The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
602
+ # Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
603
+ # validation.
604
+ #
605
+ # @return [String, nil]
606
+ optional :ours_ad, String, nil?: true
607
+
556
608
  # @!attribute page_hash
557
609
  # A random set of numbers for the page load
558
610
  #
@@ -704,6 +756,13 @@ module OursprivacyIngest
704
756
  # @return [String, nil]
705
757
  optional :utm_content, String, nil?: true
706
758
 
759
+ # @!attribute utm_id
760
+ # The UTM ID. The web SDK automatically captures this from the query params.
761
+ # Leading and trailing whitespace is removed before validation.
762
+ #
763
+ # @return [String, nil]
764
+ optional :utm_id, String, nil?: true
765
+
707
766
  # @!attribute utm_medium
708
767
  # The UTM Medium. The web SDK automatically captures this from the query params.
709
768
  # Leading and trailing whitespace is removed before validation.
@@ -775,7 +834,7 @@ module OursprivacyIngest
775
834
  # @return [String, nil]
776
835
  optional :ylpcid, String, nil?: true
777
836
 
778
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: 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)
837
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, ad_touch_ad_id: nil, ad_touch_adset_id: nil, ad_touch_campaign_id: nil, ad_touch_platform: nil, ad_touch_source: nil, adct: 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_campaignid: 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, ours_ad: 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_id: 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)
779
838
  # Some parameter documentations has been truncated, see
780
839
  # {OursprivacyIngest::Models::BatchCreateParams::Event::DefaultProperties} for
781
840
  # more details.
@@ -790,6 +849,16 @@ module OursprivacyIngest
790
849
  #
791
850
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
792
851
  #
852
+ # @param ad_touch_ad_id [String, nil] The platform ad id resolved by the Ours server for this event. Ex: 120212 Leadin
853
+ #
854
+ # @param ad_touch_adset_id [String, nil] The platform ad set or ad group id resolved by the Ours server for this event. E
855
+ #
856
+ # @param ad_touch_campaign_id [String, nil] The platform campaign id resolved by the Ours server for this event. Ex: 120210
857
+ #
858
+ # @param ad_touch_platform [String, nil] The ad platform resolved by the Ours server from the ad tag, ad ids, and click i
859
+ #
860
+ # @param ad_touch_source [String, nil] Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids, gad
861
+ #
793
862
  # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
794
863
  #
795
864
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
@@ -851,6 +920,8 @@ module OursprivacyIngest
851
920
  #
852
921
  # @param fv [Boolean, nil] Deprecated
853
922
  #
923
+ # @param gad_campaignid [String, nil] The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex: 21
924
+ #
854
925
  # @param gad_source [String, nil] The Google Ad Source. Ex: google Leading and trailing whitespace is removed befo
855
926
  #
856
927
  # @param gbraid [String, nil] The Google Braid ID. Ex: gbraid123 Leading and trailing whitespace is removed be
@@ -889,6 +960,8 @@ module OursprivacyIngest
889
960
  #
890
961
  # @param os_version [String, nil] The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
891
962
  #
963
+ # @param ours_ad [String, nil] The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
964
+ #
892
965
  # @param page_hash [Float, nil] A random set of numbers for the page load
893
966
  #
894
967
  # @param pathname [String, nil] The pathname of the current page. Ex: /home Leading and trailing whitespace is r
@@ -933,6 +1006,8 @@ module OursprivacyIngest
933
1006
  #
934
1007
  # @param utm_content [String, nil] The UTM Content. The web SDK automatically captures this from the query params.
935
1008
  #
1009
+ # @param utm_id [String, nil] The UTM ID. The web SDK automatically captures this from the query params. Leadi
1010
+ #
936
1011
  # @param utm_medium [String, nil] The UTM Medium. The web SDK automatically captures this from the query params. L
937
1012
  #
938
1013
  # @param utm_name [String, nil] The UTM Name. The web SDK automatically captures this from the query params. Lea
@@ -1267,6 +1342,8 @@ module OursprivacyIngest
1267
1342
  nil?: true]
1268
1343
  end
1269
1344
 
1345
+ # @deprecated
1346
+ #
1270
1347
  # @see OursprivacyIngest::Models::BatchCreateParams::Event#identity_context
1271
1348
  class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
1272
1349
  # @!attribute ip
@@ -1282,9 +1359,7 @@ module OursprivacyIngest
1282
1359
  required :user_agent, String, api_name: :userAgent
1283
1360
 
1284
1361
  # @!method initialize(ip:, user_agent:)
1285
- # End-user network context for server-side calls. Required for probabilistic
1286
- # identity resolution when the caller is a backend server rather than an end-user
1287
- # browser.
1362
+ # Deprecated and ignored. Accepted so existing clients keep working.
1288
1363
  #
1289
1364
  # @param ip [String] The end-user IP address (not the server IP).
1290
1365
  #
@@ -81,9 +81,9 @@ module OursprivacyIngest
81
81
  optional :external_id, String, api_name: :externalId, nil?: true
82
82
 
83
83
  # @!attribute identity_context
84
- # End-user network context for server-side calls. Required for probabilistic
85
- # identity resolution when the caller is a backend server rather than an end-user
86
- # browser.
84
+ # @deprecated
85
+ #
86
+ # Deprecated and ignored. Accepted so existing clients keep working.
87
87
  #
88
88
  # @return [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil]
89
89
  optional :identity_context,
@@ -151,7 +151,7 @@ module OursprivacyIngest
151
151
  #
152
152
  # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
153
153
  #
154
- # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
154
+ # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
155
155
  #
156
156
  # @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
157
157
  #
@@ -185,6 +185,43 @@ module OursprivacyIngest
185
185
  # @return [String, nil]
186
186
  optional :ad_id, String, nil?: true
187
187
 
188
+ # @!attribute ad_touch_ad_id
189
+ # The platform ad id resolved by the Ours server for this event. Ex: 120212
190
+ # Leading and trailing whitespace is removed before validation.
191
+ #
192
+ # @return [String, nil]
193
+ optional :ad_touch_ad_id, String, nil?: true
194
+
195
+ # @!attribute ad_touch_adset_id
196
+ # The platform ad set or ad group id resolved by the Ours server for this event.
197
+ # Ex: 120211 Leading and trailing whitespace is removed before validation.
198
+ #
199
+ # @return [String, nil]
200
+ optional :ad_touch_adset_id, String, nil?: true
201
+
202
+ # @!attribute ad_touch_campaign_id
203
+ # The platform campaign id resolved by the Ours server for this event. Ex: 120210
204
+ # Leading and trailing whitespace is removed before validation.
205
+ #
206
+ # @return [String, nil]
207
+ optional :ad_touch_campaign_id, String, nil?: true
208
+
209
+ # @!attribute ad_touch_platform
210
+ # The ad platform resolved by the Ours server from the ad tag, ad ids, and click
211
+ # ids on this event. Ex: meta, google Leading and trailing whitespace is removed
212
+ # before validation.
213
+ #
214
+ # @return [String, nil]
215
+ optional :ad_touch_platform, String, nil?: true
216
+
217
+ # @!attribute ad_touch_source
218
+ # Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
219
+ # gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
220
+ # before validation.
221
+ #
222
+ # @return [String, nil]
223
+ optional :ad_touch_source, String, nil?: true
224
+
188
225
  # @!attribute adct
189
226
  # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
190
227
  # trailing whitespace is removed before validation.
@@ -401,6 +438,13 @@ module OursprivacyIngest
401
438
  # @return [Boolean, nil]
402
439
  optional :fv, OursprivacyIngest::Internal::Type::Boolean, nil?: true
403
440
 
441
+ # @!attribute gad_campaignid
442
+ # The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
443
+ # 21780011223 Leading and trailing whitespace is removed before validation.
444
+ #
445
+ # @return [String, nil]
446
+ optional :gad_campaignid, String, nil?: true
447
+
404
448
  # @!attribute gad_source
405
449
  # The Google Ad Source. Ex: google Leading and trailing whitespace is removed
406
450
  # before validation.
@@ -541,6 +585,14 @@ module OursprivacyIngest
541
585
  # @return [String, nil]
542
586
  optional :os_version, String, nil?: true
543
587
 
588
+ # @!attribute ours_ad
589
+ # The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
590
+ # Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
591
+ # validation.
592
+ #
593
+ # @return [String, nil]
594
+ optional :ours_ad, String, nil?: true
595
+
544
596
  # @!attribute page_hash
545
597
  # A random set of numbers for the page load
546
598
  #
@@ -692,6 +744,13 @@ module OursprivacyIngest
692
744
  # @return [String, nil]
693
745
  optional :utm_content, String, nil?: true
694
746
 
747
+ # @!attribute utm_id
748
+ # The UTM ID. The web SDK automatically captures this from the query params.
749
+ # Leading and trailing whitespace is removed before validation.
750
+ #
751
+ # @return [String, nil]
752
+ optional :utm_id, String, nil?: true
753
+
695
754
  # @!attribute utm_medium
696
755
  # The UTM Medium. The web SDK automatically captures this from the query params.
697
756
  # Leading and trailing whitespace is removed before validation.
@@ -763,7 +822,7 @@ module OursprivacyIngest
763
822
  # @return [String, nil]
764
823
  optional :ylpcid, String, nil?: true
765
824
 
766
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: 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)
825
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, ad_touch_ad_id: nil, ad_touch_adset_id: nil, ad_touch_campaign_id: nil, ad_touch_platform: nil, ad_touch_source: nil, adct: 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_campaignid: 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, ours_ad: 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_id: 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)
767
826
  # Some parameter documentations has been truncated, see
768
827
  # {OursprivacyIngest::Models::TrackEventParams::DefaultProperties} for more
769
828
  # details.
@@ -778,6 +837,16 @@ module OursprivacyIngest
778
837
  #
779
838
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
780
839
  #
840
+ # @param ad_touch_ad_id [String, nil] The platform ad id resolved by the Ours server for this event. Ex: 120212 Leadin
841
+ #
842
+ # @param ad_touch_adset_id [String, nil] The platform ad set or ad group id resolved by the Ours server for this event. E
843
+ #
844
+ # @param ad_touch_campaign_id [String, nil] The platform campaign id resolved by the Ours server for this event. Ex: 120210
845
+ #
846
+ # @param ad_touch_platform [String, nil] The ad platform resolved by the Ours server from the ad tag, ad ids, and click i
847
+ #
848
+ # @param ad_touch_source [String, nil] Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids, gad
849
+ #
781
850
  # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
782
851
  #
783
852
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
@@ -839,6 +908,8 @@ module OursprivacyIngest
839
908
  #
840
909
  # @param fv [Boolean, nil] Deprecated
841
910
  #
911
+ # @param gad_campaignid [String, nil] The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex: 21
912
+ #
842
913
  # @param gad_source [String, nil] The Google Ad Source. Ex: google Leading and trailing whitespace is removed befo
843
914
  #
844
915
  # @param gbraid [String, nil] The Google Braid ID. Ex: gbraid123 Leading and trailing whitespace is removed be
@@ -877,6 +948,8 @@ module OursprivacyIngest
877
948
  #
878
949
  # @param os_version [String, nil] The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
879
950
  #
951
+ # @param ours_ad [String, nil] The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
952
+ #
880
953
  # @param page_hash [Float, nil] A random set of numbers for the page load
881
954
  #
882
955
  # @param pathname [String, nil] The pathname of the current page. Ex: /home Leading and trailing whitespace is r
@@ -921,6 +994,8 @@ module OursprivacyIngest
921
994
  #
922
995
  # @param utm_content [String, nil] The UTM Content. The web SDK automatically captures this from the query params.
923
996
  #
997
+ # @param utm_id [String, nil] The UTM ID. The web SDK automatically captures this from the query params. Leadi
998
+ #
924
999
  # @param utm_medium [String, nil] The UTM Medium. The web SDK automatically captures this from the query params. L
925
1000
  #
926
1001
  # @param utm_name [String, nil] The UTM Name. The web SDK automatically captures this from the query params. Lea
@@ -1251,6 +1326,7 @@ module OursprivacyIngest
1251
1326
  nil?: true]
1252
1327
  end
1253
1328
 
1329
+ # @deprecated
1254
1330
  class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
1255
1331
  # @!attribute ip
1256
1332
  # The end-user IP address (not the server IP).
@@ -1265,9 +1341,7 @@ module OursprivacyIngest
1265
1341
  required :user_agent, String, api_name: :userAgent
1266
1342
 
1267
1343
  # @!method initialize(ip:, user_agent:)
1268
- # End-user network context for server-side calls. Required for probabilistic
1269
- # identity resolution when the caller is a backend server rather than an end-user
1270
- # browser.
1344
+ # Deprecated and ignored. Accepted so existing clients keep working.
1271
1345
  #
1272
1346
  # @param ip [String] The end-user IP address (not the server IP).
1273
1347
  #
@@ -56,9 +56,9 @@ module OursprivacyIngest
56
56
  optional :external_id, String, api_name: :externalId, nil?: true
57
57
 
58
58
  # @!attribute identity_context
59
- # End-user network context for server-side calls. Required for probabilistic
60
- # identity resolution when the caller is a backend server rather than an end-user
61
- # browser.
59
+ # @deprecated
60
+ #
61
+ # Deprecated and ignored. Accepted so existing clients keep working.
62
62
  #
63
63
  # @return [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil]
64
64
  optional :identity_context,
@@ -104,7 +104,7 @@ module OursprivacyIngest
104
104
  #
105
105
  # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
106
106
  #
107
- # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
107
+ # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
108
108
  #
109
109
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
110
110
  #
@@ -1368,6 +1368,43 @@ module OursprivacyIngest
1368
1368
  # @return [String, nil]
1369
1369
  optional :ad_id, String, nil?: true
1370
1370
 
1371
+ # @!attribute ad_touch_ad_id
1372
+ # The platform ad id resolved by the Ours server for this event. Ex: 120212
1373
+ # Leading and trailing whitespace is removed before validation.
1374
+ #
1375
+ # @return [String, nil]
1376
+ optional :ad_touch_ad_id, String, nil?: true
1377
+
1378
+ # @!attribute ad_touch_adset_id
1379
+ # The platform ad set or ad group id resolved by the Ours server for this event.
1380
+ # Ex: 120211 Leading and trailing whitespace is removed before validation.
1381
+ #
1382
+ # @return [String, nil]
1383
+ optional :ad_touch_adset_id, String, nil?: true
1384
+
1385
+ # @!attribute ad_touch_campaign_id
1386
+ # The platform campaign id resolved by the Ours server for this event. Ex: 120210
1387
+ # Leading and trailing whitespace is removed before validation.
1388
+ #
1389
+ # @return [String, nil]
1390
+ optional :ad_touch_campaign_id, String, nil?: true
1391
+
1392
+ # @!attribute ad_touch_platform
1393
+ # The ad platform resolved by the Ours server from the ad tag, ad ids, and click
1394
+ # ids on this event. Ex: meta, google Leading and trailing whitespace is removed
1395
+ # before validation.
1396
+ #
1397
+ # @return [String, nil]
1398
+ optional :ad_touch_platform, String, nil?: true
1399
+
1400
+ # @!attribute ad_touch_source
1401
+ # Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
1402
+ # gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
1403
+ # before validation.
1404
+ #
1405
+ # @return [String, nil]
1406
+ optional :ad_touch_source, String, nil?: true
1407
+
1371
1408
  # @!attribute adct
1372
1409
  # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
1373
1410
  # trailing whitespace is removed before validation.
@@ -1584,6 +1621,13 @@ module OursprivacyIngest
1584
1621
  # @return [Boolean, nil]
1585
1622
  optional :fv, OursprivacyIngest::Internal::Type::Boolean, nil?: true
1586
1623
 
1624
+ # @!attribute gad_campaignid
1625
+ # The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
1626
+ # 21780011223 Leading and trailing whitespace is removed before validation.
1627
+ #
1628
+ # @return [String, nil]
1629
+ optional :gad_campaignid, String, nil?: true
1630
+
1587
1631
  # @!attribute gad_source
1588
1632
  # The Google Ad Source. Ex: google Leading and trailing whitespace is removed
1589
1633
  # before validation.
@@ -1722,6 +1766,14 @@ module OursprivacyIngest
1722
1766
  # @return [String, nil]
1723
1767
  optional :os_version, String, nil?: true
1724
1768
 
1769
+ # @!attribute ours_ad
1770
+ # The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
1771
+ # Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
1772
+ # validation.
1773
+ #
1774
+ # @return [String, nil]
1775
+ optional :ours_ad, String, nil?: true
1776
+
1725
1777
  # @!attribute page_hash
1726
1778
  # A random set of numbers for the page load
1727
1779
  #
@@ -1873,6 +1925,13 @@ module OursprivacyIngest
1873
1925
  # @return [String, nil]
1874
1926
  optional :utm_content, String, nil?: true
1875
1927
 
1928
+ # @!attribute utm_id
1929
+ # The UTM ID. The web SDK automatically captures this from the query params.
1930
+ # Leading and trailing whitespace is removed before validation.
1931
+ #
1932
+ # @return [String, nil]
1933
+ optional :utm_id, String, nil?: true
1934
+
1876
1935
  # @!attribute utm_medium
1877
1936
  # The UTM Medium. The web SDK automatically captures this from the query params.
1878
1937
  # Leading and trailing whitespace is removed before validation.
@@ -1944,7 +2003,7 @@ module OursprivacyIngest
1944
2003
  # @return [String, nil]
1945
2004
  optional :ylpcid, String, nil?: true
1946
2005
 
1947
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: 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)
2006
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, ad_touch_ad_id: nil, ad_touch_adset_id: nil, ad_touch_campaign_id: nil, ad_touch_platform: nil, ad_touch_source: nil, adct: 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_campaignid: 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, ours_ad: 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_id: 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)
1948
2007
  # Some parameter documentations has been truncated, see
1949
2008
  # {OursprivacyIngest::Models::VisitorUpsertParams::DefaultProperties} for more
1950
2009
  # details.
@@ -1959,6 +2018,16 @@ module OursprivacyIngest
1959
2018
  #
1960
2019
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
1961
2020
  #
2021
+ # @param ad_touch_ad_id [String, nil] The platform ad id resolved by the Ours server for this event. Ex: 120212 Leadin
2022
+ #
2023
+ # @param ad_touch_adset_id [String, nil] The platform ad set or ad group id resolved by the Ours server for this event. E
2024
+ #
2025
+ # @param ad_touch_campaign_id [String, nil] The platform campaign id resolved by the Ours server for this event. Ex: 120210
2026
+ #
2027
+ # @param ad_touch_platform [String, nil] The ad platform resolved by the Ours server from the ad tag, ad ids, and click i
2028
+ #
2029
+ # @param ad_touch_source [String, nil] Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids, gad
2030
+ #
1962
2031
  # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
1963
2032
  #
1964
2033
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
@@ -2020,6 +2089,8 @@ module OursprivacyIngest
2020
2089
  #
2021
2090
  # @param fv [Boolean, nil] Deprecated
2022
2091
  #
2092
+ # @param gad_campaignid [String, nil] The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex: 21
2093
+ #
2023
2094
  # @param gad_source [String, nil] The Google Ad Source. Ex: google Leading and trailing whitespace is removed befo
2024
2095
  #
2025
2096
  # @param gbraid [String, nil] The Google Braid ID. Ex: gbraid123 Leading and trailing whitespace is removed be
@@ -2058,6 +2129,8 @@ module OursprivacyIngest
2058
2129
  #
2059
2130
  # @param os_version [String, nil] The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
2060
2131
  #
2132
+ # @param ours_ad [String, nil] The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
2133
+ #
2061
2134
  # @param page_hash [Float, nil] A random set of numbers for the page load
2062
2135
  #
2063
2136
  # @param pathname [String, nil] The pathname of the current page. Ex: /home Leading and trailing whitespace is r
@@ -2102,6 +2175,8 @@ module OursprivacyIngest
2102
2175
  #
2103
2176
  # @param utm_content [String, nil] The UTM Content. The web SDK automatically captures this from the query params.
2104
2177
  #
2178
+ # @param utm_id [String, nil] The UTM ID. The web SDK automatically captures this from the query params. Leadi
2179
+ #
2105
2180
  # @param utm_medium [String, nil] The UTM Medium. The web SDK automatically captures this from the query params. L
2106
2181
  #
2107
2182
  # @param utm_name [String, nil] The UTM Name. The web SDK automatically captures this from the query params. Lea
@@ -2151,6 +2226,7 @@ module OursprivacyIngest
2151
2226
  end
2152
2227
  end
2153
2228
 
2229
+ # @deprecated
2154
2230
  class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
2155
2231
  # @!attribute ip
2156
2232
  # The end-user IP address (not the server IP).
@@ -2165,9 +2241,7 @@ module OursprivacyIngest
2165
2241
  required :user_agent, String, api_name: :userAgent
2166
2242
 
2167
2243
  # @!method initialize(ip:, user_agent:)
2168
- # End-user network context for server-side calls. Required for probabilistic
2169
- # identity resolution when the caller is a backend server rather than an end-user
2170
- # browser.
2244
+ # Deprecated and ignored. Accepted so existing clients keep working.
2171
2245
  #
2172
2246
  # @param ip [String] The end-user IP address (not the server IP).
2173
2247
  #
@@ -35,7 +35,7 @@ module OursprivacyIngest
35
35
  #
36
36
  # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
37
37
  #
38
- # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
38
+ # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
39
39
  #
40
40
  # @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
41
41
  #
@@ -32,7 +32,7 @@ module OursprivacyIngest
32
32
  #
33
33
  # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
34
34
  #
35
- # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
35
+ # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
36
36
  #
37
37
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
38
38
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "2.3.0"
4
+ VERSION = "2.5.0"
5
5
  end