oursprivacy-ingest 2.4.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: 25983283fd9544f5f4c32cbff8f7101f6a5270e029d9995552d681e2e0d4b02f
4
- data.tar.gz: a40fbf24b129c8172c60bc109f4c0e7c0530cf8855477123dc9115e406d54575
3
+ metadata.gz: 402e128a9b574bb157e93a0938c2fc71560e1cf65aa423aac3000d156968da57
4
+ data.tar.gz: 6bdbfca7a71f11c51619a90ee0df99da07f04cefd5f17e9f62b1c3cd774d08f1
5
5
  SHA512:
6
- metadata.gz: 2f256919f13371b43fe8b7dca1ea2a50535bf11229244d8816c5752c809abd8ad27e8bec7fee092da6a6268a776b1ce0a5c55d970a745385189cc9811a8b7465
7
- data.tar.gz: 79340ab4ac7240d6bf58adf961f3c2110505c1f6c4e3d213ac5214b289f4776e3b827ba5d7ab9307bbaf821e8f733715d0863e224c29a30b143c9303d05f9fe2
6
+ metadata.gz: 1b4f97e29060effb306591f5f57aaea3e14aeaa1741711653496cc81d9374e38403b7686aaea0b48a2bda408db3c4b73bde319ce3309ffb41202279f585a54dc
7
+ data.tar.gz: 0dd9c1d5d80388a7013bcef3d3eba34701de89366411a4c3fa2fcea4f5cd8df490872f7377e6b518e69f5a30b7e79018090d5e2acbce197ae0ac719d4465d58d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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.
3
10
  ## 2.4.0 (2026-11-13)
4
11
 
5
12
  Full Changelog: [v2.3.0...v2.4.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.3.0...v2.4.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.4.0"
22
+ gem "oursprivacy-ingest", "~> 2.5.0"
23
23
  ```
24
24
 
25
25
  <!-- x-release-please-end -->
@@ -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
@@ -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
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "2.4.0"
4
+ VERSION = "2.5.0"
5
5
  end
@@ -349,6 +349,33 @@ module OursprivacyIngest
349
349
  sig { returns(T.nilable(String)) }
350
350
  attr_accessor :ad_id
351
351
 
352
+ # The platform ad id resolved by the Ours server for this event. Ex: 120212
353
+ # Leading and trailing whitespace is removed before validation.
354
+ sig { returns(T.nilable(String)) }
355
+ attr_accessor :ad_touch_ad_id
356
+
357
+ # The platform ad set or ad group id resolved by the Ours server for this event.
358
+ # Ex: 120211 Leading and trailing whitespace is removed before validation.
359
+ sig { returns(T.nilable(String)) }
360
+ attr_accessor :ad_touch_adset_id
361
+
362
+ # The platform campaign id resolved by the Ours server for this event. Ex: 120210
363
+ # Leading and trailing whitespace is removed before validation.
364
+ sig { returns(T.nilable(String)) }
365
+ attr_accessor :ad_touch_campaign_id
366
+
367
+ # The ad platform resolved by the Ours server from the ad tag, ad ids, and click
368
+ # ids on this event. Ex: meta, google Leading and trailing whitespace is removed
369
+ # before validation.
370
+ sig { returns(T.nilable(String)) }
371
+ attr_accessor :ad_touch_platform
372
+
373
+ # Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
374
+ # gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
375
+ # before validation.
376
+ sig { returns(T.nilable(String)) }
377
+ attr_accessor :ad_touch_source
378
+
352
379
  # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
353
380
  # trailing whitespace is removed before validation.
354
381
  sig { returns(T.nilable(String)) }
@@ -505,6 +532,11 @@ module OursprivacyIngest
505
532
  sig { returns(T.nilable(T::Boolean)) }
506
533
  attr_accessor :fv
507
534
 
535
+ # The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
536
+ # 21780011223 Leading and trailing whitespace is removed before validation.
537
+ sig { returns(T.nilable(String)) }
538
+ attr_accessor :gad_campaignid
539
+
508
540
  # The Google Ad Source. Ex: google Leading and trailing whitespace is removed
509
541
  # before validation.
510
542
  sig { returns(T.nilable(String)) }
@@ -609,6 +641,12 @@ module OursprivacyIngest
609
641
  sig { returns(T.nilable(String)) }
610
642
  attr_accessor :os_version
611
643
 
644
+ # The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
645
+ # Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
646
+ # validation.
647
+ sig { returns(T.nilable(String)) }
648
+ attr_accessor :ours_ad
649
+
612
650
  # A random set of numbers for the page load
613
651
  sig { returns(T.nilable(Float)) }
614
652
  attr_accessor :page_hash
@@ -716,6 +754,11 @@ module OursprivacyIngest
716
754
  sig { returns(T.nilable(String)) }
717
755
  attr_accessor :utm_content
718
756
 
757
+ # The UTM ID. The web SDK automatically captures this from the query params.
758
+ # Leading and trailing whitespace is removed before validation.
759
+ sig { returns(T.nilable(String)) }
760
+ attr_accessor :utm_id
761
+
719
762
  # The UTM Medium. The web SDK automatically captures this from the query params.
720
763
  # Leading and trailing whitespace is removed before validation.
721
764
  sig { returns(T.nilable(String)) }
@@ -774,6 +817,11 @@ module OursprivacyIngest
774
817
  _ef_transaction_id: T.nilable(String),
775
818
  active_duration: T.nilable(Float),
776
819
  ad_id: T.nilable(String),
820
+ ad_touch_ad_id: T.nilable(String),
821
+ ad_touch_adset_id: T.nilable(String),
822
+ ad_touch_campaign_id: T.nilable(String),
823
+ ad_touch_platform: T.nilable(String),
824
+ ad_touch_source: T.nilable(String),
777
825
  adct: T.nilable(String),
778
826
  admitad_uid: T.nilable(String),
779
827
  adset_id: T.nilable(String),
@@ -804,6 +852,7 @@ module OursprivacyIngest
804
852
  fbclid: T.nilable(String),
805
853
  fbp: T.nilable(String),
806
854
  fv: T.nilable(T::Boolean),
855
+ gad_campaignid: T.nilable(String),
807
856
  gad_source: T.nilable(String),
808
857
  gbraid: T.nilable(String),
809
858
  gclid: T.nilable(String),
@@ -826,6 +875,7 @@ module OursprivacyIngest
826
875
  oppref: T.nilable(String),
827
876
  os_name: T.nilable(String),
828
877
  os_version: T.nilable(String),
878
+ ours_ad: T.nilable(String),
829
879
  page_hash: T.nilable(Float),
830
880
  pathname: T.nilable(String),
831
881
  qclid: T.nilable(String),
@@ -848,6 +898,7 @@ module OursprivacyIngest
848
898
  user_agent: T.nilable(String),
849
899
  utm_campaign: T.nilable(String),
850
900
  utm_content: T.nilable(String),
901
+ utm_id: T.nilable(String),
851
902
  utm_medium: T.nilable(String),
852
903
  utm_name: T.nilable(String),
853
904
  utm_source: T.nilable(String),
@@ -870,6 +921,23 @@ module OursprivacyIngest
870
921
  # The ad id detected in the session. This is set by the web sdk automatically.
871
922
  # Leading and trailing whitespace is removed before validation.
872
923
  ad_id: nil,
924
+ # The platform ad id resolved by the Ours server for this event. Ex: 120212
925
+ # Leading and trailing whitespace is removed before validation.
926
+ ad_touch_ad_id: nil,
927
+ # The platform ad set or ad group id resolved by the Ours server for this event.
928
+ # Ex: 120211 Leading and trailing whitespace is removed before validation.
929
+ ad_touch_adset_id: nil,
930
+ # The platform campaign id resolved by the Ours server for this event. Ex: 120210
931
+ # Leading and trailing whitespace is removed before validation.
932
+ ad_touch_campaign_id: nil,
933
+ # The ad platform resolved by the Ours server from the ad tag, ad ids, and click
934
+ # ids on this event. Ex: meta, google Leading and trailing whitespace is removed
935
+ # before validation.
936
+ ad_touch_platform: nil,
937
+ # Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
938
+ # gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
939
+ # before validation.
940
+ ad_touch_source: nil,
873
941
  # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
874
942
  # trailing whitespace is removed before validation.
875
943
  adct: nil,
@@ -966,6 +1034,9 @@ module OursprivacyIngest
966
1034
  fbp: nil,
967
1035
  # Deprecated
968
1036
  fv: nil,
1037
+ # The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
1038
+ # 21780011223 Leading and trailing whitespace is removed before validation.
1039
+ gad_campaignid: nil,
969
1040
  # The Google Ad Source. Ex: google Leading and trailing whitespace is removed
970
1041
  # before validation.
971
1042
  gad_source: nil,
@@ -1026,6 +1097,10 @@ module OursprivacyIngest
1026
1097
  # The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
1027
1098
  # removed before validation.
1028
1099
  os_version: nil,
1100
+ # The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
1101
+ # Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
1102
+ # validation.
1103
+ ours_ad: nil,
1029
1104
  # A random set of numbers for the page load
1030
1105
  page_hash: nil,
1031
1106
  # The pathname of the current page. Ex: /home Leading and trailing whitespace is
@@ -1089,6 +1164,9 @@ module OursprivacyIngest
1089
1164
  # The UTM Content. The web SDK automatically captures this from the query params.
1090
1165
  # Leading and trailing whitespace is removed before validation.
1091
1166
  utm_content: nil,
1167
+ # The UTM ID. The web SDK automatically captures this from the query params.
1168
+ # Leading and trailing whitespace is removed before validation.
1169
+ utm_id: nil,
1092
1170
  # The UTM Medium. The web SDK automatically captures this from the query params.
1093
1171
  # Leading and trailing whitespace is removed before validation.
1094
1172
  utm_medium: nil,
@@ -1129,6 +1207,11 @@ module OursprivacyIngest
1129
1207
  _ef_transaction_id: T.nilable(String),
1130
1208
  active_duration: T.nilable(Float),
1131
1209
  ad_id: T.nilable(String),
1210
+ ad_touch_ad_id: T.nilable(String),
1211
+ ad_touch_adset_id: T.nilable(String),
1212
+ ad_touch_campaign_id: T.nilable(String),
1213
+ ad_touch_platform: T.nilable(String),
1214
+ ad_touch_source: T.nilable(String),
1132
1215
  adct: T.nilable(String),
1133
1216
  admitad_uid: T.nilable(String),
1134
1217
  adset_id: T.nilable(String),
@@ -1159,6 +1242,7 @@ module OursprivacyIngest
1159
1242
  fbclid: T.nilable(String),
1160
1243
  fbp: T.nilable(String),
1161
1244
  fv: T.nilable(T::Boolean),
1245
+ gad_campaignid: T.nilable(String),
1162
1246
  gad_source: T.nilable(String),
1163
1247
  gbraid: T.nilable(String),
1164
1248
  gclid: T.nilable(String),
@@ -1181,6 +1265,7 @@ module OursprivacyIngest
1181
1265
  oppref: T.nilable(String),
1182
1266
  os_name: T.nilable(String),
1183
1267
  os_version: T.nilable(String),
1268
+ ours_ad: T.nilable(String),
1184
1269
  page_hash: T.nilable(Float),
1185
1270
  pathname: T.nilable(String),
1186
1271
  qclid: T.nilable(String),
@@ -1203,6 +1288,7 @@ module OursprivacyIngest
1203
1288
  user_agent: T.nilable(String),
1204
1289
  utm_campaign: T.nilable(String),
1205
1290
  utm_content: T.nilable(String),
1291
+ utm_id: T.nilable(String),
1206
1292
  utm_medium: T.nilable(String),
1207
1293
  utm_name: T.nilable(String),
1208
1294
  utm_source: T.nilable(String),