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 +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/oursprivacy_ingest/models/batch_create_params.rb +83 -8
- data/lib/oursprivacy_ingest/models/track_event_params.rb +82 -8
- data/lib/oursprivacy_ingest/models/visitor_upsert_params.rb +82 -8
- data/lib/oursprivacy_ingest/resources/track.rb +1 -1
- data/lib/oursprivacy_ingest/resources/visitor.rb +1 -1
- data/lib/oursprivacy_ingest/version.rb +1 -1
- data/rbi/oursprivacy_ingest/models/batch_create_params.rbi +89 -9
- data/rbi/oursprivacy_ingest/models/track_event_params.rbi +89 -9
- data/rbi/oursprivacy_ingest/models/visitor_upsert_params.rbi +89 -9
- data/rbi/oursprivacy_ingest/resources/track.rbi +1 -3
- data/rbi/oursprivacy_ingest/resources/visitor.rbi +1 -3
- data/sig/oursprivacy_ingest/models/batch_create_params.rbs +40 -0
- data/sig/oursprivacy_ingest/models/track_event_params.rbs +40 -0
- data/sig/oursprivacy_ingest/models/visitor_upsert_params.rbs +40 -0
- metadata +1 -1
|
@@ -132,9 +132,7 @@ module OursprivacyIngest
|
|
|
132
132
|
sig { returns(T.nilable(String)) }
|
|
133
133
|
attr_accessor :external_id
|
|
134
134
|
|
|
135
|
-
#
|
|
136
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
137
|
-
# browser.
|
|
135
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
138
136
|
sig do
|
|
139
137
|
returns(
|
|
140
138
|
T.nilable(
|
|
@@ -264,9 +262,7 @@ module OursprivacyIngest
|
|
|
264
262
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
265
263
|
# removed before validation.
|
|
266
264
|
external_id: nil,
|
|
267
|
-
#
|
|
268
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
269
|
-
# browser.
|
|
265
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
270
266
|
identity_context: nil,
|
|
271
267
|
# The time at which the event occurred in milliseconds since UTC epoch. Times
|
|
272
268
|
# older than one year are recorded as exactly one year ago, and future times as
|
|
@@ -353,6 +349,33 @@ module OursprivacyIngest
|
|
|
353
349
|
sig { returns(T.nilable(String)) }
|
|
354
350
|
attr_accessor :ad_id
|
|
355
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
|
+
|
|
356
379
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
357
380
|
# trailing whitespace is removed before validation.
|
|
358
381
|
sig { returns(T.nilable(String)) }
|
|
@@ -509,6 +532,11 @@ module OursprivacyIngest
|
|
|
509
532
|
sig { returns(T.nilable(T::Boolean)) }
|
|
510
533
|
attr_accessor :fv
|
|
511
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
|
+
|
|
512
540
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
513
541
|
# before validation.
|
|
514
542
|
sig { returns(T.nilable(String)) }
|
|
@@ -613,6 +641,12 @@ module OursprivacyIngest
|
|
|
613
641
|
sig { returns(T.nilable(String)) }
|
|
614
642
|
attr_accessor :os_version
|
|
615
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
|
+
|
|
616
650
|
# A random set of numbers for the page load
|
|
617
651
|
sig { returns(T.nilable(Float)) }
|
|
618
652
|
attr_accessor :page_hash
|
|
@@ -720,6 +754,11 @@ module OursprivacyIngest
|
|
|
720
754
|
sig { returns(T.nilable(String)) }
|
|
721
755
|
attr_accessor :utm_content
|
|
722
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
|
+
|
|
723
762
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
724
763
|
# Leading and trailing whitespace is removed before validation.
|
|
725
764
|
sig { returns(T.nilable(String)) }
|
|
@@ -778,6 +817,11 @@ module OursprivacyIngest
|
|
|
778
817
|
_ef_transaction_id: T.nilable(String),
|
|
779
818
|
active_duration: T.nilable(Float),
|
|
780
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),
|
|
781
825
|
adct: T.nilable(String),
|
|
782
826
|
admitad_uid: T.nilable(String),
|
|
783
827
|
adset_id: T.nilable(String),
|
|
@@ -808,6 +852,7 @@ module OursprivacyIngest
|
|
|
808
852
|
fbclid: T.nilable(String),
|
|
809
853
|
fbp: T.nilable(String),
|
|
810
854
|
fv: T.nilable(T::Boolean),
|
|
855
|
+
gad_campaignid: T.nilable(String),
|
|
811
856
|
gad_source: T.nilable(String),
|
|
812
857
|
gbraid: T.nilable(String),
|
|
813
858
|
gclid: T.nilable(String),
|
|
@@ -830,6 +875,7 @@ module OursprivacyIngest
|
|
|
830
875
|
oppref: T.nilable(String),
|
|
831
876
|
os_name: T.nilable(String),
|
|
832
877
|
os_version: T.nilable(String),
|
|
878
|
+
ours_ad: T.nilable(String),
|
|
833
879
|
page_hash: T.nilable(Float),
|
|
834
880
|
pathname: T.nilable(String),
|
|
835
881
|
qclid: T.nilable(String),
|
|
@@ -852,6 +898,7 @@ module OursprivacyIngest
|
|
|
852
898
|
user_agent: T.nilable(String),
|
|
853
899
|
utm_campaign: T.nilable(String),
|
|
854
900
|
utm_content: T.nilable(String),
|
|
901
|
+
utm_id: T.nilable(String),
|
|
855
902
|
utm_medium: T.nilable(String),
|
|
856
903
|
utm_name: T.nilable(String),
|
|
857
904
|
utm_source: T.nilable(String),
|
|
@@ -874,6 +921,23 @@ module OursprivacyIngest
|
|
|
874
921
|
# The ad id detected in the session. This is set by the web sdk automatically.
|
|
875
922
|
# Leading and trailing whitespace is removed before validation.
|
|
876
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,
|
|
877
941
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
878
942
|
# trailing whitespace is removed before validation.
|
|
879
943
|
adct: nil,
|
|
@@ -970,6 +1034,9 @@ module OursprivacyIngest
|
|
|
970
1034
|
fbp: nil,
|
|
971
1035
|
# Deprecated
|
|
972
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,
|
|
973
1040
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
974
1041
|
# before validation.
|
|
975
1042
|
gad_source: nil,
|
|
@@ -1030,6 +1097,10 @@ module OursprivacyIngest
|
|
|
1030
1097
|
# The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
|
|
1031
1098
|
# removed before validation.
|
|
1032
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,
|
|
1033
1104
|
# A random set of numbers for the page load
|
|
1034
1105
|
page_hash: nil,
|
|
1035
1106
|
# The pathname of the current page. Ex: /home Leading and trailing whitespace is
|
|
@@ -1093,6 +1164,9 @@ module OursprivacyIngest
|
|
|
1093
1164
|
# The UTM Content. The web SDK automatically captures this from the query params.
|
|
1094
1165
|
# Leading and trailing whitespace is removed before validation.
|
|
1095
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,
|
|
1096
1170
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
1097
1171
|
# Leading and trailing whitespace is removed before validation.
|
|
1098
1172
|
utm_medium: nil,
|
|
@@ -1133,6 +1207,11 @@ module OursprivacyIngest
|
|
|
1133
1207
|
_ef_transaction_id: T.nilable(String),
|
|
1134
1208
|
active_duration: T.nilable(Float),
|
|
1135
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),
|
|
1136
1215
|
adct: T.nilable(String),
|
|
1137
1216
|
admitad_uid: T.nilable(String),
|
|
1138
1217
|
adset_id: T.nilable(String),
|
|
@@ -1163,6 +1242,7 @@ module OursprivacyIngest
|
|
|
1163
1242
|
fbclid: T.nilable(String),
|
|
1164
1243
|
fbp: T.nilable(String),
|
|
1165
1244
|
fv: T.nilable(T::Boolean),
|
|
1245
|
+
gad_campaignid: T.nilable(String),
|
|
1166
1246
|
gad_source: T.nilable(String),
|
|
1167
1247
|
gbraid: T.nilable(String),
|
|
1168
1248
|
gclid: T.nilable(String),
|
|
@@ -1185,6 +1265,7 @@ module OursprivacyIngest
|
|
|
1185
1265
|
oppref: T.nilable(String),
|
|
1186
1266
|
os_name: T.nilable(String),
|
|
1187
1267
|
os_version: T.nilable(String),
|
|
1268
|
+
ours_ad: T.nilable(String),
|
|
1188
1269
|
page_hash: T.nilable(Float),
|
|
1189
1270
|
pathname: T.nilable(String),
|
|
1190
1271
|
qclid: T.nilable(String),
|
|
@@ -1207,6 +1288,7 @@ module OursprivacyIngest
|
|
|
1207
1288
|
user_agent: T.nilable(String),
|
|
1208
1289
|
utm_campaign: T.nilable(String),
|
|
1209
1290
|
utm_content: T.nilable(String),
|
|
1291
|
+
utm_id: T.nilable(String),
|
|
1210
1292
|
utm_medium: T.nilable(String),
|
|
1211
1293
|
utm_name: T.nilable(String),
|
|
1212
1294
|
utm_source: T.nilable(String),
|
|
@@ -1769,9 +1851,7 @@ module OursprivacyIngest
|
|
|
1769
1851
|
sig { returns(String) }
|
|
1770
1852
|
attr_accessor :user_agent
|
|
1771
1853
|
|
|
1772
|
-
#
|
|
1773
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1774
|
-
# browser.
|
|
1854
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1775
1855
|
sig do
|
|
1776
1856
|
params(ip: String, user_agent: String).returns(T.attached_class)
|
|
1777
1857
|
end
|
|
@@ -89,9 +89,7 @@ module OursprivacyIngest
|
|
|
89
89
|
sig { returns(T.nilable(String)) }
|
|
90
90
|
attr_accessor :external_id
|
|
91
91
|
|
|
92
|
-
#
|
|
93
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
94
|
-
# browser.
|
|
92
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
95
93
|
sig do
|
|
96
94
|
returns(T.nilable(OursprivacyIngest::TrackEventParams::IdentityContext))
|
|
97
95
|
end
|
|
@@ -219,9 +217,7 @@ module OursprivacyIngest
|
|
|
219
217
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
220
218
|
# removed before validation.
|
|
221
219
|
external_id: nil,
|
|
222
|
-
#
|
|
223
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
224
|
-
# browser.
|
|
220
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
225
221
|
identity_context: nil,
|
|
226
222
|
# The time at which the event occurred in milliseconds since UTC epoch. Times
|
|
227
223
|
# older than one year are recorded as exactly one year ago, and future times as
|
|
@@ -305,6 +301,33 @@ module OursprivacyIngest
|
|
|
305
301
|
sig { returns(T.nilable(String)) }
|
|
306
302
|
attr_accessor :ad_id
|
|
307
303
|
|
|
304
|
+
# The platform ad id resolved by the Ours server for this event. Ex: 120212
|
|
305
|
+
# Leading and trailing whitespace is removed before validation.
|
|
306
|
+
sig { returns(T.nilable(String)) }
|
|
307
|
+
attr_accessor :ad_touch_ad_id
|
|
308
|
+
|
|
309
|
+
# The platform ad set or ad group id resolved by the Ours server for this event.
|
|
310
|
+
# Ex: 120211 Leading and trailing whitespace is removed before validation.
|
|
311
|
+
sig { returns(T.nilable(String)) }
|
|
312
|
+
attr_accessor :ad_touch_adset_id
|
|
313
|
+
|
|
314
|
+
# The platform campaign id resolved by the Ours server for this event. Ex: 120210
|
|
315
|
+
# Leading and trailing whitespace is removed before validation.
|
|
316
|
+
sig { returns(T.nilable(String)) }
|
|
317
|
+
attr_accessor :ad_touch_campaign_id
|
|
318
|
+
|
|
319
|
+
# The ad platform resolved by the Ours server from the ad tag, ad ids, and click
|
|
320
|
+
# ids on this event. Ex: meta, google Leading and trailing whitespace is removed
|
|
321
|
+
# before validation.
|
|
322
|
+
sig { returns(T.nilable(String)) }
|
|
323
|
+
attr_accessor :ad_touch_platform
|
|
324
|
+
|
|
325
|
+
# Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
|
|
326
|
+
# gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
|
|
327
|
+
# before validation.
|
|
328
|
+
sig { returns(T.nilable(String)) }
|
|
329
|
+
attr_accessor :ad_touch_source
|
|
330
|
+
|
|
308
331
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
309
332
|
# trailing whitespace is removed before validation.
|
|
310
333
|
sig { returns(T.nilable(String)) }
|
|
@@ -461,6 +484,11 @@ module OursprivacyIngest
|
|
|
461
484
|
sig { returns(T.nilable(T::Boolean)) }
|
|
462
485
|
attr_accessor :fv
|
|
463
486
|
|
|
487
|
+
# The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
|
|
488
|
+
# 21780011223 Leading and trailing whitespace is removed before validation.
|
|
489
|
+
sig { returns(T.nilable(String)) }
|
|
490
|
+
attr_accessor :gad_campaignid
|
|
491
|
+
|
|
464
492
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
465
493
|
# before validation.
|
|
466
494
|
sig { returns(T.nilable(String)) }
|
|
@@ -565,6 +593,12 @@ module OursprivacyIngest
|
|
|
565
593
|
sig { returns(T.nilable(String)) }
|
|
566
594
|
attr_accessor :os_version
|
|
567
595
|
|
|
596
|
+
# The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
|
|
597
|
+
# Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
|
|
598
|
+
# validation.
|
|
599
|
+
sig { returns(T.nilable(String)) }
|
|
600
|
+
attr_accessor :ours_ad
|
|
601
|
+
|
|
568
602
|
# A random set of numbers for the page load
|
|
569
603
|
sig { returns(T.nilable(Float)) }
|
|
570
604
|
attr_accessor :page_hash
|
|
@@ -672,6 +706,11 @@ module OursprivacyIngest
|
|
|
672
706
|
sig { returns(T.nilable(String)) }
|
|
673
707
|
attr_accessor :utm_content
|
|
674
708
|
|
|
709
|
+
# The UTM ID. The web SDK automatically captures this from the query params.
|
|
710
|
+
# Leading and trailing whitespace is removed before validation.
|
|
711
|
+
sig { returns(T.nilable(String)) }
|
|
712
|
+
attr_accessor :utm_id
|
|
713
|
+
|
|
675
714
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
676
715
|
# Leading and trailing whitespace is removed before validation.
|
|
677
716
|
sig { returns(T.nilable(String)) }
|
|
@@ -730,6 +769,11 @@ module OursprivacyIngest
|
|
|
730
769
|
_ef_transaction_id: T.nilable(String),
|
|
731
770
|
active_duration: T.nilable(Float),
|
|
732
771
|
ad_id: T.nilable(String),
|
|
772
|
+
ad_touch_ad_id: T.nilable(String),
|
|
773
|
+
ad_touch_adset_id: T.nilable(String),
|
|
774
|
+
ad_touch_campaign_id: T.nilable(String),
|
|
775
|
+
ad_touch_platform: T.nilable(String),
|
|
776
|
+
ad_touch_source: T.nilable(String),
|
|
733
777
|
adct: T.nilable(String),
|
|
734
778
|
admitad_uid: T.nilable(String),
|
|
735
779
|
adset_id: T.nilable(String),
|
|
@@ -760,6 +804,7 @@ module OursprivacyIngest
|
|
|
760
804
|
fbclid: T.nilable(String),
|
|
761
805
|
fbp: T.nilable(String),
|
|
762
806
|
fv: T.nilable(T::Boolean),
|
|
807
|
+
gad_campaignid: T.nilable(String),
|
|
763
808
|
gad_source: T.nilable(String),
|
|
764
809
|
gbraid: T.nilable(String),
|
|
765
810
|
gclid: T.nilable(String),
|
|
@@ -782,6 +827,7 @@ module OursprivacyIngest
|
|
|
782
827
|
oppref: T.nilable(String),
|
|
783
828
|
os_name: T.nilable(String),
|
|
784
829
|
os_version: T.nilable(String),
|
|
830
|
+
ours_ad: T.nilable(String),
|
|
785
831
|
page_hash: T.nilable(Float),
|
|
786
832
|
pathname: T.nilable(String),
|
|
787
833
|
qclid: T.nilable(String),
|
|
@@ -804,6 +850,7 @@ module OursprivacyIngest
|
|
|
804
850
|
user_agent: T.nilable(String),
|
|
805
851
|
utm_campaign: T.nilable(String),
|
|
806
852
|
utm_content: T.nilable(String),
|
|
853
|
+
utm_id: T.nilable(String),
|
|
807
854
|
utm_medium: T.nilable(String),
|
|
808
855
|
utm_name: T.nilable(String),
|
|
809
856
|
utm_source: T.nilable(String),
|
|
@@ -826,6 +873,23 @@ module OursprivacyIngest
|
|
|
826
873
|
# The ad id detected in the session. This is set by the web sdk automatically.
|
|
827
874
|
# Leading and trailing whitespace is removed before validation.
|
|
828
875
|
ad_id: nil,
|
|
876
|
+
# The platform ad id resolved by the Ours server for this event. Ex: 120212
|
|
877
|
+
# Leading and trailing whitespace is removed before validation.
|
|
878
|
+
ad_touch_ad_id: nil,
|
|
879
|
+
# The platform ad set or ad group id resolved by the Ours server for this event.
|
|
880
|
+
# Ex: 120211 Leading and trailing whitespace is removed before validation.
|
|
881
|
+
ad_touch_adset_id: nil,
|
|
882
|
+
# The platform campaign id resolved by the Ours server for this event. Ex: 120210
|
|
883
|
+
# Leading and trailing whitespace is removed before validation.
|
|
884
|
+
ad_touch_campaign_id: nil,
|
|
885
|
+
# The ad platform resolved by the Ours server from the ad tag, ad ids, and click
|
|
886
|
+
# ids on this event. Ex: meta, google Leading and trailing whitespace is removed
|
|
887
|
+
# before validation.
|
|
888
|
+
ad_touch_platform: nil,
|
|
889
|
+
# Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
|
|
890
|
+
# gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
|
|
891
|
+
# before validation.
|
|
892
|
+
ad_touch_source: nil,
|
|
829
893
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
830
894
|
# trailing whitespace is removed before validation.
|
|
831
895
|
adct: nil,
|
|
@@ -922,6 +986,9 @@ module OursprivacyIngest
|
|
|
922
986
|
fbp: nil,
|
|
923
987
|
# Deprecated
|
|
924
988
|
fv: nil,
|
|
989
|
+
# The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
|
|
990
|
+
# 21780011223 Leading and trailing whitespace is removed before validation.
|
|
991
|
+
gad_campaignid: nil,
|
|
925
992
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
926
993
|
# before validation.
|
|
927
994
|
gad_source: nil,
|
|
@@ -982,6 +1049,10 @@ module OursprivacyIngest
|
|
|
982
1049
|
# The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
|
|
983
1050
|
# removed before validation.
|
|
984
1051
|
os_version: nil,
|
|
1052
|
+
# The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
|
|
1053
|
+
# Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
|
|
1054
|
+
# validation.
|
|
1055
|
+
ours_ad: nil,
|
|
985
1056
|
# A random set of numbers for the page load
|
|
986
1057
|
page_hash: nil,
|
|
987
1058
|
# The pathname of the current page. Ex: /home Leading and trailing whitespace is
|
|
@@ -1045,6 +1116,9 @@ module OursprivacyIngest
|
|
|
1045
1116
|
# The UTM Content. The web SDK automatically captures this from the query params.
|
|
1046
1117
|
# Leading and trailing whitespace is removed before validation.
|
|
1047
1118
|
utm_content: nil,
|
|
1119
|
+
# The UTM ID. The web SDK automatically captures this from the query params.
|
|
1120
|
+
# Leading and trailing whitespace is removed before validation.
|
|
1121
|
+
utm_id: nil,
|
|
1048
1122
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
1049
1123
|
# Leading and trailing whitespace is removed before validation.
|
|
1050
1124
|
utm_medium: nil,
|
|
@@ -1085,6 +1159,11 @@ module OursprivacyIngest
|
|
|
1085
1159
|
_ef_transaction_id: T.nilable(String),
|
|
1086
1160
|
active_duration: T.nilable(Float),
|
|
1087
1161
|
ad_id: T.nilable(String),
|
|
1162
|
+
ad_touch_ad_id: T.nilable(String),
|
|
1163
|
+
ad_touch_adset_id: T.nilable(String),
|
|
1164
|
+
ad_touch_campaign_id: T.nilable(String),
|
|
1165
|
+
ad_touch_platform: T.nilable(String),
|
|
1166
|
+
ad_touch_source: T.nilable(String),
|
|
1088
1167
|
adct: T.nilable(String),
|
|
1089
1168
|
admitad_uid: T.nilable(String),
|
|
1090
1169
|
adset_id: T.nilable(String),
|
|
@@ -1115,6 +1194,7 @@ module OursprivacyIngest
|
|
|
1115
1194
|
fbclid: T.nilable(String),
|
|
1116
1195
|
fbp: T.nilable(String),
|
|
1117
1196
|
fv: T.nilable(T::Boolean),
|
|
1197
|
+
gad_campaignid: T.nilable(String),
|
|
1118
1198
|
gad_source: T.nilable(String),
|
|
1119
1199
|
gbraid: T.nilable(String),
|
|
1120
1200
|
gclid: T.nilable(String),
|
|
@@ -1137,6 +1217,7 @@ module OursprivacyIngest
|
|
|
1137
1217
|
oppref: T.nilable(String),
|
|
1138
1218
|
os_name: T.nilable(String),
|
|
1139
1219
|
os_version: T.nilable(String),
|
|
1220
|
+
ours_ad: T.nilable(String),
|
|
1140
1221
|
page_hash: T.nilable(Float),
|
|
1141
1222
|
pathname: T.nilable(String),
|
|
1142
1223
|
qclid: T.nilable(String),
|
|
@@ -1159,6 +1240,7 @@ module OursprivacyIngest
|
|
|
1159
1240
|
user_agent: T.nilable(String),
|
|
1160
1241
|
utm_campaign: T.nilable(String),
|
|
1161
1242
|
utm_content: T.nilable(String),
|
|
1243
|
+
utm_id: T.nilable(String),
|
|
1162
1244
|
utm_medium: T.nilable(String),
|
|
1163
1245
|
utm_name: T.nilable(String),
|
|
1164
1246
|
utm_source: T.nilable(String),
|
|
@@ -1721,9 +1803,7 @@ module OursprivacyIngest
|
|
|
1721
1803
|
sig { returns(String) }
|
|
1722
1804
|
attr_accessor :user_agent
|
|
1723
1805
|
|
|
1724
|
-
#
|
|
1725
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1726
|
-
# browser.
|
|
1806
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1727
1807
|
sig { params(ip: String, user_agent: String).returns(T.attached_class) }
|
|
1728
1808
|
def self.new(
|
|
1729
1809
|
# The end-user IP address (not the server IP).
|
|
@@ -69,9 +69,7 @@ module OursprivacyIngest
|
|
|
69
69
|
sig { returns(T.nilable(String)) }
|
|
70
70
|
attr_accessor :external_id
|
|
71
71
|
|
|
72
|
-
#
|
|
73
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
74
|
-
# browser.
|
|
72
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
75
73
|
sig do
|
|
76
74
|
returns(
|
|
77
75
|
T.nilable(OursprivacyIngest::VisitorUpsertParams::IdentityContext)
|
|
@@ -151,9 +149,7 @@ module OursprivacyIngest
|
|
|
151
149
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
152
150
|
# removed before validation.
|
|
153
151
|
external_id: nil,
|
|
154
|
-
#
|
|
155
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
156
|
-
# browser.
|
|
152
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
157
153
|
identity_context: nil,
|
|
158
154
|
# The Ours Visitor ID stored in local storage and cookies on your web properties.
|
|
159
155
|
# When present, this is used directly — no lookup by externalId, email, or phone
|
|
@@ -1986,6 +1982,33 @@ module OursprivacyIngest
|
|
|
1986
1982
|
sig { returns(T.nilable(String)) }
|
|
1987
1983
|
attr_accessor :ad_id
|
|
1988
1984
|
|
|
1985
|
+
# The platform ad id resolved by the Ours server for this event. Ex: 120212
|
|
1986
|
+
# Leading and trailing whitespace is removed before validation.
|
|
1987
|
+
sig { returns(T.nilable(String)) }
|
|
1988
|
+
attr_accessor :ad_touch_ad_id
|
|
1989
|
+
|
|
1990
|
+
# The platform ad set or ad group id resolved by the Ours server for this event.
|
|
1991
|
+
# Ex: 120211 Leading and trailing whitespace is removed before validation.
|
|
1992
|
+
sig { returns(T.nilable(String)) }
|
|
1993
|
+
attr_accessor :ad_touch_adset_id
|
|
1994
|
+
|
|
1995
|
+
# The platform campaign id resolved by the Ours server for this event. Ex: 120210
|
|
1996
|
+
# Leading and trailing whitespace is removed before validation.
|
|
1997
|
+
sig { returns(T.nilable(String)) }
|
|
1998
|
+
attr_accessor :ad_touch_campaign_id
|
|
1999
|
+
|
|
2000
|
+
# The ad platform resolved by the Ours server from the ad tag, ad ids, and click
|
|
2001
|
+
# ids on this event. Ex: meta, google Leading and trailing whitespace is removed
|
|
2002
|
+
# before validation.
|
|
2003
|
+
sig { returns(T.nilable(String)) }
|
|
2004
|
+
attr_accessor :ad_touch_platform
|
|
2005
|
+
|
|
2006
|
+
# Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
|
|
2007
|
+
# gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
|
|
2008
|
+
# before validation.
|
|
2009
|
+
sig { returns(T.nilable(String)) }
|
|
2010
|
+
attr_accessor :ad_touch_source
|
|
2011
|
+
|
|
1989
2012
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
1990
2013
|
# trailing whitespace is removed before validation.
|
|
1991
2014
|
sig { returns(T.nilable(String)) }
|
|
@@ -2142,6 +2165,11 @@ module OursprivacyIngest
|
|
|
2142
2165
|
sig { returns(T.nilable(T::Boolean)) }
|
|
2143
2166
|
attr_accessor :fv
|
|
2144
2167
|
|
|
2168
|
+
# The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
|
|
2169
|
+
# 21780011223 Leading and trailing whitespace is removed before validation.
|
|
2170
|
+
sig { returns(T.nilable(String)) }
|
|
2171
|
+
attr_accessor :gad_campaignid
|
|
2172
|
+
|
|
2145
2173
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
2146
2174
|
# before validation.
|
|
2147
2175
|
sig { returns(T.nilable(String)) }
|
|
@@ -2246,6 +2274,12 @@ module OursprivacyIngest
|
|
|
2246
2274
|
sig { returns(T.nilable(String)) }
|
|
2247
2275
|
attr_accessor :os_version
|
|
2248
2276
|
|
|
2277
|
+
# The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
|
|
2278
|
+
# Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
|
|
2279
|
+
# validation.
|
|
2280
|
+
sig { returns(T.nilable(String)) }
|
|
2281
|
+
attr_accessor :ours_ad
|
|
2282
|
+
|
|
2249
2283
|
# A random set of numbers for the page load
|
|
2250
2284
|
sig { returns(T.nilable(Float)) }
|
|
2251
2285
|
attr_accessor :page_hash
|
|
@@ -2353,6 +2387,11 @@ module OursprivacyIngest
|
|
|
2353
2387
|
sig { returns(T.nilable(String)) }
|
|
2354
2388
|
attr_accessor :utm_content
|
|
2355
2389
|
|
|
2390
|
+
# The UTM ID. The web SDK automatically captures this from the query params.
|
|
2391
|
+
# Leading and trailing whitespace is removed before validation.
|
|
2392
|
+
sig { returns(T.nilable(String)) }
|
|
2393
|
+
attr_accessor :utm_id
|
|
2394
|
+
|
|
2356
2395
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
2357
2396
|
# Leading and trailing whitespace is removed before validation.
|
|
2358
2397
|
sig { returns(T.nilable(String)) }
|
|
@@ -2411,6 +2450,11 @@ module OursprivacyIngest
|
|
|
2411
2450
|
_ef_transaction_id: T.nilable(String),
|
|
2412
2451
|
active_duration: T.nilable(Float),
|
|
2413
2452
|
ad_id: T.nilable(String),
|
|
2453
|
+
ad_touch_ad_id: T.nilable(String),
|
|
2454
|
+
ad_touch_adset_id: T.nilable(String),
|
|
2455
|
+
ad_touch_campaign_id: T.nilable(String),
|
|
2456
|
+
ad_touch_platform: T.nilable(String),
|
|
2457
|
+
ad_touch_source: T.nilable(String),
|
|
2414
2458
|
adct: T.nilable(String),
|
|
2415
2459
|
admitad_uid: T.nilable(String),
|
|
2416
2460
|
adset_id: T.nilable(String),
|
|
@@ -2441,6 +2485,7 @@ module OursprivacyIngest
|
|
|
2441
2485
|
fbclid: T.nilable(String),
|
|
2442
2486
|
fbp: T.nilable(String),
|
|
2443
2487
|
fv: T.nilable(T::Boolean),
|
|
2488
|
+
gad_campaignid: T.nilable(String),
|
|
2444
2489
|
gad_source: T.nilable(String),
|
|
2445
2490
|
gbraid: T.nilable(String),
|
|
2446
2491
|
gclid: T.nilable(String),
|
|
@@ -2463,6 +2508,7 @@ module OursprivacyIngest
|
|
|
2463
2508
|
oppref: T.nilable(String),
|
|
2464
2509
|
os_name: T.nilable(String),
|
|
2465
2510
|
os_version: T.nilable(String),
|
|
2511
|
+
ours_ad: T.nilable(String),
|
|
2466
2512
|
page_hash: T.nilable(Float),
|
|
2467
2513
|
pathname: T.nilable(String),
|
|
2468
2514
|
qclid: T.nilable(String),
|
|
@@ -2485,6 +2531,7 @@ module OursprivacyIngest
|
|
|
2485
2531
|
user_agent: T.nilable(String),
|
|
2486
2532
|
utm_campaign: T.nilable(String),
|
|
2487
2533
|
utm_content: T.nilable(String),
|
|
2534
|
+
utm_id: T.nilable(String),
|
|
2488
2535
|
utm_medium: T.nilable(String),
|
|
2489
2536
|
utm_name: T.nilable(String),
|
|
2490
2537
|
utm_source: T.nilable(String),
|
|
@@ -2507,6 +2554,23 @@ module OursprivacyIngest
|
|
|
2507
2554
|
# The ad id detected in the session. This is set by the web sdk automatically.
|
|
2508
2555
|
# Leading and trailing whitespace is removed before validation.
|
|
2509
2556
|
ad_id: nil,
|
|
2557
|
+
# The platform ad id resolved by the Ours server for this event. Ex: 120212
|
|
2558
|
+
# Leading and trailing whitespace is removed before validation.
|
|
2559
|
+
ad_touch_ad_id: nil,
|
|
2560
|
+
# The platform ad set or ad group id resolved by the Ours server for this event.
|
|
2561
|
+
# Ex: 120211 Leading and trailing whitespace is removed before validation.
|
|
2562
|
+
ad_touch_adset_id: nil,
|
|
2563
|
+
# The platform campaign id resolved by the Ours server for this event. Ex: 120210
|
|
2564
|
+
# Leading and trailing whitespace is removed before validation.
|
|
2565
|
+
ad_touch_campaign_id: nil,
|
|
2566
|
+
# The ad platform resolved by the Ours server from the ad tag, ad ids, and click
|
|
2567
|
+
# ids on this event. Ex: meta, google Leading and trailing whitespace is removed
|
|
2568
|
+
# before validation.
|
|
2569
|
+
ad_touch_platform: nil,
|
|
2570
|
+
# Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
|
|
2571
|
+
# gad_campaignid, utm_id, or click_id. Leading and trailing whitespace is removed
|
|
2572
|
+
# before validation.
|
|
2573
|
+
ad_touch_source: nil,
|
|
2510
2574
|
# The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
|
|
2511
2575
|
# trailing whitespace is removed before validation.
|
|
2512
2576
|
adct: nil,
|
|
@@ -2603,6 +2667,9 @@ module OursprivacyIngest
|
|
|
2603
2667
|
fbp: nil,
|
|
2604
2668
|
# Deprecated
|
|
2605
2669
|
fv: nil,
|
|
2670
|
+
# The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
|
|
2671
|
+
# 21780011223 Leading and trailing whitespace is removed before validation.
|
|
2672
|
+
gad_campaignid: nil,
|
|
2606
2673
|
# The Google Ad Source. Ex: google Leading and trailing whitespace is removed
|
|
2607
2674
|
# before validation.
|
|
2608
2675
|
gad_source: nil,
|
|
@@ -2663,6 +2730,10 @@ module OursprivacyIngest
|
|
|
2663
2730
|
# The version of the operating system. Ex: 10.0 Leading and trailing whitespace is
|
|
2664
2731
|
# removed before validation.
|
|
2665
2732
|
os_version: nil,
|
|
2733
|
+
# The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
|
|
2734
|
+
# Ex: meta.120210.120211.120212 Leading and trailing whitespace is removed before
|
|
2735
|
+
# validation.
|
|
2736
|
+
ours_ad: nil,
|
|
2666
2737
|
# A random set of numbers for the page load
|
|
2667
2738
|
page_hash: nil,
|
|
2668
2739
|
# The pathname of the current page. Ex: /home Leading and trailing whitespace is
|
|
@@ -2726,6 +2797,9 @@ module OursprivacyIngest
|
|
|
2726
2797
|
# The UTM Content. The web SDK automatically captures this from the query params.
|
|
2727
2798
|
# Leading and trailing whitespace is removed before validation.
|
|
2728
2799
|
utm_content: nil,
|
|
2800
|
+
# The UTM ID. The web SDK automatically captures this from the query params.
|
|
2801
|
+
# Leading and trailing whitespace is removed before validation.
|
|
2802
|
+
utm_id: nil,
|
|
2729
2803
|
# The UTM Medium. The web SDK automatically captures this from the query params.
|
|
2730
2804
|
# Leading and trailing whitespace is removed before validation.
|
|
2731
2805
|
utm_medium: nil,
|
|
@@ -2766,6 +2840,11 @@ module OursprivacyIngest
|
|
|
2766
2840
|
_ef_transaction_id: T.nilable(String),
|
|
2767
2841
|
active_duration: T.nilable(Float),
|
|
2768
2842
|
ad_id: T.nilable(String),
|
|
2843
|
+
ad_touch_ad_id: T.nilable(String),
|
|
2844
|
+
ad_touch_adset_id: T.nilable(String),
|
|
2845
|
+
ad_touch_campaign_id: T.nilable(String),
|
|
2846
|
+
ad_touch_platform: T.nilable(String),
|
|
2847
|
+
ad_touch_source: T.nilable(String),
|
|
2769
2848
|
adct: T.nilable(String),
|
|
2770
2849
|
admitad_uid: T.nilable(String),
|
|
2771
2850
|
adset_id: T.nilable(String),
|
|
@@ -2796,6 +2875,7 @@ module OursprivacyIngest
|
|
|
2796
2875
|
fbclid: T.nilable(String),
|
|
2797
2876
|
fbp: T.nilable(String),
|
|
2798
2877
|
fv: T.nilable(T::Boolean),
|
|
2878
|
+
gad_campaignid: T.nilable(String),
|
|
2799
2879
|
gad_source: T.nilable(String),
|
|
2800
2880
|
gbraid: T.nilable(String),
|
|
2801
2881
|
gclid: T.nilable(String),
|
|
@@ -2818,6 +2898,7 @@ module OursprivacyIngest
|
|
|
2818
2898
|
oppref: T.nilable(String),
|
|
2819
2899
|
os_name: T.nilable(String),
|
|
2820
2900
|
os_version: T.nilable(String),
|
|
2901
|
+
ours_ad: T.nilable(String),
|
|
2821
2902
|
page_hash: T.nilable(Float),
|
|
2822
2903
|
pathname: T.nilable(String),
|
|
2823
2904
|
qclid: T.nilable(String),
|
|
@@ -2840,6 +2921,7 @@ module OursprivacyIngest
|
|
|
2840
2921
|
user_agent: T.nilable(String),
|
|
2841
2922
|
utm_campaign: T.nilable(String),
|
|
2842
2923
|
utm_content: T.nilable(String),
|
|
2924
|
+
utm_id: T.nilable(String),
|
|
2843
2925
|
utm_medium: T.nilable(String),
|
|
2844
2926
|
utm_name: T.nilable(String),
|
|
2845
2927
|
utm_source: T.nilable(String),
|
|
@@ -2918,9 +3000,7 @@ module OursprivacyIngest
|
|
|
2918
3000
|
sig { returns(String) }
|
|
2919
3001
|
attr_accessor :user_agent
|
|
2920
3002
|
|
|
2921
|
-
#
|
|
2922
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
2923
|
-
# browser.
|
|
3003
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
2924
3004
|
sig { params(ip: String, user_agent: String).returns(T.attached_class) }
|
|
2925
3005
|
def self.new(
|
|
2926
3006
|
# The end-user IP address (not the server IP).
|