oursprivacy-ingest 0.2.0 → 0.4.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 +23 -0
- data/README.md +1 -1
- data/lib/oursprivacy_ingest/models/track_event_params.rb +83 -30
- data/lib/oursprivacy_ingest/models/visitor_upsert_params.rb +80 -26
- data/lib/oursprivacy_ingest/resources/track.rb +1 -1
- data/lib/oursprivacy_ingest/version.rb +1 -1
- data/lib/oursprivacy_ingest.rb +1 -0
- data/manifest.yaml +1 -0
- data/rbi/oursprivacy_ingest/models/track_event_params.rbi +80 -38
- data/rbi/oursprivacy_ingest/models/visitor_upsert_params.rbi +77 -35
- data/rbi/oursprivacy_ingest/resources/track.rbi +1 -1
- data/sig/oursprivacy_ingest/models/track_event_params.rbs +66 -34
- data/sig/oursprivacy_ingest/models/visitor_upsert_params.rbs +62 -30
- data/sig/oursprivacy_ingest/resources/track.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 338a6db802eed864a04718f0af20545fa170ab041a6fa567289679d123cb65e4
|
|
4
|
+
data.tar.gz: f483a6cdbd771fa24edb5c96cda88ca1bfc95271f48261e0d3a182e50d5e4cf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1dd070e8a94bffbfa4c9633e70d361ab048185b72480319745fe2959e6d67eccd742a30cff9569faa289874c5df52b11a03fed010c110a7758679f0e253f430
|
|
7
|
+
data.tar.gz: d32cc73c25c5d3cebac7098bdeb1fc1204ed9684ae3925a917ecb62f448cdefcaf30d426f8dfbfee629ed0eb51a4c50e0de9978f53e9ef623b9edbedc7773edd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 (2025-12-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v0.3.0...v0.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([5500b66](https://github.com/with-ours/ingest-sdk-ruby/commit/5500b667b8f79e0936853aed3d0bbd063fbfbfa8))
|
|
10
|
+
* **api:** api update ([128fa8b](https://github.com/with-ours/ingest-sdk-ruby/commit/128fa8b374d76c26ea54cb9f4235ec60be56571f))
|
|
11
|
+
|
|
12
|
+
## 0.3.0 (2025-11-21)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v0.2.0...v0.3.0)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **api:** api update ([fa6630a](https://github.com/with-ours/ingest-sdk-ruby/commit/fa6630a4c94741148f9e8e3871d5e1c643f7a59d))
|
|
19
|
+
* **api:** api update ([530c7b7](https://github.com/with-ours/ingest-sdk-ruby/commit/530c7b70a30f02da2c9ce0a7cfb2de9f7501ade4))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Chores
|
|
23
|
+
|
|
24
|
+
* explicitly require "base64" gem ([df2507c](https://github.com/with-ours/ingest-sdk-ruby/commit/df2507c16311559c20db6f3de9d37919b8c4a3e8))
|
|
25
|
+
|
|
3
26
|
## 0.2.0 (2025-11-19)
|
|
4
27
|
|
|
5
28
|
Full Changelog: [v0.1.1...v0.2.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v0.1.1...v0.2.0)
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
17
17
|
<!-- x-release-please-start-version -->
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
gem "oursprivacy-ingest", "~> 0.
|
|
20
|
+
gem "oursprivacy-ingest", "~> 0.4.0"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
<!-- x-release-please-end -->
|
|
@@ -47,10 +47,9 @@ module OursprivacyIngest
|
|
|
47
47
|
# @!attribute event_properties
|
|
48
48
|
# Any additional event properties you want to pass along.
|
|
49
49
|
#
|
|
50
|
-
# @return [Hash{Symbol=>
|
|
50
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
51
51
|
optional :event_properties,
|
|
52
|
-
OursprivacyIngest::Internal::Type::HashOf[
|
|
53
|
-
nil?: true],
|
|
52
|
+
OursprivacyIngest::Internal::Type::HashOf[String, nil?: true],
|
|
54
53
|
api_name: :eventProperties,
|
|
55
54
|
nil?: true
|
|
56
55
|
|
|
@@ -101,7 +100,7 @@ module OursprivacyIngest
|
|
|
101
100
|
#
|
|
102
101
|
# @param email [String, nil] The email address of a user. We will associate this event with the user or creat
|
|
103
102
|
#
|
|
104
|
-
# @param event_properties [Hash{Symbol=>
|
|
103
|
+
# @param event_properties [Hash{Symbol=>String, nil}, nil] Any additional event properties you want to pass along.
|
|
105
104
|
#
|
|
106
105
|
# @param external_id [String, nil] The externalId (the ID in your system) of a user. We will associate this event w
|
|
107
106
|
#
|
|
@@ -133,6 +132,12 @@ module OursprivacyIngest
|
|
|
133
132
|
# @return [String, nil]
|
|
134
133
|
optional :adset_id, String, nil?: true
|
|
135
134
|
|
|
135
|
+
# @!attribute basis_cid
|
|
136
|
+
# The Basis DSP Click ID. Ex: basis_cid123
|
|
137
|
+
#
|
|
138
|
+
# @return [String, nil]
|
|
139
|
+
optional :basis_cid, String, nil?: true
|
|
140
|
+
|
|
136
141
|
# @!attribute browser_language
|
|
137
142
|
# The language of the browser. Ex: en-US
|
|
138
143
|
#
|
|
@@ -293,18 +298,30 @@ module OursprivacyIngest
|
|
|
293
298
|
# @return [Boolean, nil]
|
|
294
299
|
optional :iframe, OursprivacyIngest::Internal::Type::Boolean, nil?: true
|
|
295
300
|
|
|
301
|
+
# @!attribute im_ref
|
|
302
|
+
# The Impact Click ID reference. Ex: im_ref123
|
|
303
|
+
#
|
|
304
|
+
# @return [String, nil]
|
|
305
|
+
optional :im_ref, String, nil?: true
|
|
306
|
+
|
|
296
307
|
# @!attribute ip
|
|
297
308
|
# The IP address of the user. Ex: 127.0.0.1
|
|
298
309
|
#
|
|
299
310
|
# @return [String, nil]
|
|
300
311
|
optional :ip, String, nil?: true
|
|
301
312
|
|
|
313
|
+
# @!attribute irclickid
|
|
314
|
+
# The Impact Click ID. Ex: irclickid123
|
|
315
|
+
#
|
|
316
|
+
# @return [String, nil]
|
|
317
|
+
optional :irclickid, String, nil?: true
|
|
318
|
+
|
|
302
319
|
# @!attribute is_bot
|
|
303
320
|
# Whether we have detected that the user is a bot. This is set automatically by
|
|
304
321
|
# the Ours server primarily for events tracked through the web SDK.
|
|
305
322
|
#
|
|
306
|
-
# @return [
|
|
307
|
-
optional :is_bot,
|
|
323
|
+
# @return [String, nil]
|
|
324
|
+
optional :is_bot, String, nil?: true
|
|
308
325
|
|
|
309
326
|
# @!attribute li_fat_id
|
|
310
327
|
# The LinkedIn Click ID. Ex: li_fat_id123
|
|
@@ -378,6 +395,12 @@ module OursprivacyIngest
|
|
|
378
395
|
# @return [String, nil]
|
|
379
396
|
optional :referrer, String, nil?: true
|
|
380
397
|
|
|
398
|
+
# @!attribute referring_domain
|
|
399
|
+
# The referring domain of the current page
|
|
400
|
+
#
|
|
401
|
+
# @return [String, nil]
|
|
402
|
+
optional :referring_domain, String, nil?: true
|
|
403
|
+
|
|
381
404
|
# @!attribute sacid
|
|
382
405
|
# The StackAdapt Tracking ID. Ex: sacid123
|
|
383
406
|
#
|
|
@@ -505,7 +528,7 @@ module OursprivacyIngest
|
|
|
505
528
|
# @return [Boolean, nil]
|
|
506
529
|
optional :webview, OursprivacyIngest::Internal::Type::Boolean, nil?: true
|
|
507
530
|
|
|
508
|
-
# @!method initialize(active_duration: nil, ad_id: nil, adset_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, host: nil, iframe: nil, ip: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: 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, wbraid: nil, webview: nil)
|
|
531
|
+
# @!method initialize(active_duration: nil, ad_id: nil, adset_id: nil, basis_cid: 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, 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, 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, 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, wbraid: nil, webview: nil)
|
|
509
532
|
# Some parameter documentations has been truncated, see
|
|
510
533
|
# {OursprivacyIngest::Models::TrackEventParams::DefaultProperties} for more
|
|
511
534
|
# details.
|
|
@@ -519,6 +542,8 @@ module OursprivacyIngest
|
|
|
519
542
|
#
|
|
520
543
|
# @param adset_id [String, nil] The adset id for detected in the session. This is set by the web sdk automatical
|
|
521
544
|
#
|
|
545
|
+
# @param basis_cid [String, nil] The Basis DSP Click ID. Ex: basis_cid123
|
|
546
|
+
#
|
|
522
547
|
# @param browser_language [String, nil] The language of the browser. Ex: en-US
|
|
523
548
|
#
|
|
524
549
|
# @param browser_name [String, nil] The name of the browser. Ex: Chrome
|
|
@@ -571,9 +596,13 @@ module OursprivacyIngest
|
|
|
571
596
|
#
|
|
572
597
|
# @param iframe [Boolean, nil] Whether the user is in an iframe. Ex: true
|
|
573
598
|
#
|
|
599
|
+
# @param im_ref [String, nil] The Impact Click ID reference. Ex: im_ref123
|
|
600
|
+
#
|
|
574
601
|
# @param ip [String, nil] The IP address of the user. Ex: 127.0.0.1
|
|
575
602
|
#
|
|
576
|
-
# @param
|
|
603
|
+
# @param irclickid [String, nil] The Impact Click ID. Ex: irclickid123
|
|
604
|
+
#
|
|
605
|
+
# @param is_bot [String, nil] Whether we have detected that the user is a bot. This is set automatically by th
|
|
577
606
|
#
|
|
578
607
|
# @param li_fat_id [String, nil] The LinkedIn Click ID. Ex: li_fat_id123
|
|
579
608
|
#
|
|
@@ -599,6 +628,8 @@ module OursprivacyIngest
|
|
|
599
628
|
#
|
|
600
629
|
# @param referrer [String, nil] The referrer URL of the current page
|
|
601
630
|
#
|
|
631
|
+
# @param referring_domain [String, nil] The referring domain of the current page
|
|
632
|
+
#
|
|
602
633
|
# @param sacid [String, nil] The StackAdapt Tracking ID. Ex: sacid123
|
|
603
634
|
#
|
|
604
635
|
# @param sccid [String, nil] The SnapChat Click ID. Ex: sccid123
|
|
@@ -653,6 +684,11 @@ module OursprivacyIngest
|
|
|
653
684
|
# @return [String, nil]
|
|
654
685
|
optional :adset_id, String, nil?: true
|
|
655
686
|
|
|
687
|
+
# @!attribute basis_cid
|
|
688
|
+
#
|
|
689
|
+
# @return [String, nil]
|
|
690
|
+
optional :basis_cid, String, nil?: true
|
|
691
|
+
|
|
656
692
|
# @!attribute campaign_id
|
|
657
693
|
#
|
|
658
694
|
# @return [String, nil]
|
|
@@ -680,11 +716,8 @@ module OursprivacyIngest
|
|
|
680
716
|
|
|
681
717
|
# @!attribute consent
|
|
682
718
|
#
|
|
683
|
-
# @return [Hash{Symbol=>
|
|
684
|
-
optional :consent,
|
|
685
|
-
OursprivacyIngest::Internal::Type::HashOf[OursprivacyIngest::Internal::Type::Unknown,
|
|
686
|
-
nil?: true],
|
|
687
|
-
nil?: true
|
|
719
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
720
|
+
optional :consent, OursprivacyIngest::Internal::Type::HashOf[String, nil?: true], nil?: true
|
|
688
721
|
|
|
689
722
|
# @!attribute country
|
|
690
723
|
#
|
|
@@ -693,11 +726,8 @@ module OursprivacyIngest
|
|
|
693
726
|
|
|
694
727
|
# @!attribute custom_properties
|
|
695
728
|
#
|
|
696
|
-
# @return [Hash{Symbol=>
|
|
697
|
-
optional :custom_properties,
|
|
698
|
-
OursprivacyIngest::Internal::Type::HashOf[OursprivacyIngest::Internal::Type::Unknown,
|
|
699
|
-
nil?: true],
|
|
700
|
-
nil?: true
|
|
729
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
730
|
+
optional :custom_properties, OursprivacyIngest::Internal::Type::HashOf[String, nil?: true], nil?: true
|
|
701
731
|
|
|
702
732
|
# @!attribute date_of_birth
|
|
703
733
|
#
|
|
@@ -764,16 +794,26 @@ module OursprivacyIngest
|
|
|
764
794
|
# @return [String, nil]
|
|
765
795
|
optional :gender, String, nil?: true
|
|
766
796
|
|
|
797
|
+
# @!attribute im_ref
|
|
798
|
+
#
|
|
799
|
+
# @return [String, nil]
|
|
800
|
+
optional :im_ref, String, nil?: true
|
|
801
|
+
|
|
767
802
|
# @!attribute ip
|
|
768
803
|
# The IP address of the user
|
|
769
804
|
#
|
|
770
805
|
# @return [String, nil]
|
|
771
806
|
optional :ip, String, nil?: true
|
|
772
807
|
|
|
808
|
+
# @!attribute irclickid
|
|
809
|
+
#
|
|
810
|
+
# @return [String, nil]
|
|
811
|
+
optional :irclickid, String, nil?: true
|
|
812
|
+
|
|
773
813
|
# @!attribute is_bot
|
|
774
814
|
#
|
|
775
|
-
# @return [
|
|
776
|
-
optional :is_bot,
|
|
815
|
+
# @return [String, nil]
|
|
816
|
+
optional :is_bot, String, nil?: true
|
|
777
817
|
|
|
778
818
|
# @!attribute job_title
|
|
779
819
|
#
|
|
@@ -802,8 +842,8 @@ module OursprivacyIngest
|
|
|
802
842
|
|
|
803
843
|
# @!attribute phone_number
|
|
804
844
|
#
|
|
805
|
-
# @return [
|
|
806
|
-
optional :phone_number,
|
|
845
|
+
# @return [String, nil]
|
|
846
|
+
optional :phone_number, String, nil?: true
|
|
807
847
|
|
|
808
848
|
# @!attribute qclid
|
|
809
849
|
#
|
|
@@ -820,6 +860,11 @@ module OursprivacyIngest
|
|
|
820
860
|
# @return [String, nil]
|
|
821
861
|
optional :referrer, String, nil?: true
|
|
822
862
|
|
|
863
|
+
# @!attribute referring_domain
|
|
864
|
+
#
|
|
865
|
+
# @return [String, nil]
|
|
866
|
+
optional :referring_domain, String, nil?: true
|
|
867
|
+
|
|
823
868
|
# @!attribute sacid
|
|
824
869
|
#
|
|
825
870
|
# @return [String, nil]
|
|
@@ -897,10 +942,10 @@ module OursprivacyIngest
|
|
|
897
942
|
|
|
898
943
|
# @!attribute zip
|
|
899
944
|
#
|
|
900
|
-
# @return [
|
|
901
|
-
optional :zip,
|
|
945
|
+
# @return [String, nil]
|
|
946
|
+
optional :zip, String, nil?: true
|
|
902
947
|
|
|
903
|
-
# @!method initialize(ad_id: nil, adset_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, ip: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, wbraid: nil, zip: nil)
|
|
948
|
+
# @!method initialize(ad_id: nil, adset_id: nil, basis_cid: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, wbraid: nil, zip: nil)
|
|
904
949
|
# Properties to set on the visitor. (optional) You can also update these
|
|
905
950
|
# properties via the identify endpoint.
|
|
906
951
|
#
|
|
@@ -908,6 +953,8 @@ module OursprivacyIngest
|
|
|
908
953
|
#
|
|
909
954
|
# @param adset_id [String, nil]
|
|
910
955
|
#
|
|
956
|
+
# @param basis_cid [String, nil]
|
|
957
|
+
#
|
|
911
958
|
# @param campaign_id [String, nil]
|
|
912
959
|
#
|
|
913
960
|
# @param city [String, nil]
|
|
@@ -918,11 +965,11 @@ module OursprivacyIngest
|
|
|
918
965
|
#
|
|
919
966
|
# @param company_name [String, nil]
|
|
920
967
|
#
|
|
921
|
-
# @param consent [Hash{Symbol=>
|
|
968
|
+
# @param consent [Hash{Symbol=>String, nil}, nil]
|
|
922
969
|
#
|
|
923
970
|
# @param country [String, nil]
|
|
924
971
|
#
|
|
925
|
-
# @param custom_properties [Hash{Symbol=>
|
|
972
|
+
# @param custom_properties [Hash{Symbol=>String, nil}, nil]
|
|
926
973
|
#
|
|
927
974
|
# @param date_of_birth [String, nil]
|
|
928
975
|
#
|
|
@@ -950,9 +997,13 @@ module OursprivacyIngest
|
|
|
950
997
|
#
|
|
951
998
|
# @param gender [String, nil]
|
|
952
999
|
#
|
|
1000
|
+
# @param im_ref [String, nil]
|
|
1001
|
+
#
|
|
953
1002
|
# @param ip [String, nil] The IP address of the user
|
|
954
1003
|
#
|
|
955
|
-
# @param
|
|
1004
|
+
# @param irclickid [String, nil]
|
|
1005
|
+
#
|
|
1006
|
+
# @param is_bot [String, nil]
|
|
956
1007
|
#
|
|
957
1008
|
# @param job_title [String, nil]
|
|
958
1009
|
#
|
|
@@ -964,7 +1015,7 @@ module OursprivacyIngest
|
|
|
964
1015
|
#
|
|
965
1016
|
# @param ndclid [String, nil]
|
|
966
1017
|
#
|
|
967
|
-
# @param phone_number [
|
|
1018
|
+
# @param phone_number [String, nil]
|
|
968
1019
|
#
|
|
969
1020
|
# @param qclid [String, nil]
|
|
970
1021
|
#
|
|
@@ -972,6 +1023,8 @@ module OursprivacyIngest
|
|
|
972
1023
|
#
|
|
973
1024
|
# @param referrer [String, nil]
|
|
974
1025
|
#
|
|
1026
|
+
# @param referring_domain [String, nil]
|
|
1027
|
+
#
|
|
975
1028
|
# @param sacid [String, nil]
|
|
976
1029
|
#
|
|
977
1030
|
# @param sccid [String, nil]
|
|
@@ -1002,7 +1055,7 @@ module OursprivacyIngest
|
|
|
1002
1055
|
#
|
|
1003
1056
|
# @param wbraid [String, nil]
|
|
1004
1057
|
#
|
|
1005
|
-
# @param zip [
|
|
1058
|
+
# @param zip [String, nil]
|
|
1006
1059
|
end
|
|
1007
1060
|
end
|
|
1008
1061
|
end
|
|
@@ -86,6 +86,11 @@ module OursprivacyIngest
|
|
|
86
86
|
# @return [String, nil]
|
|
87
87
|
optional :adset_id, String, nil?: true
|
|
88
88
|
|
|
89
|
+
# @!attribute basis_cid
|
|
90
|
+
#
|
|
91
|
+
# @return [String, nil]
|
|
92
|
+
optional :basis_cid, String, nil?: true
|
|
93
|
+
|
|
89
94
|
# @!attribute campaign_id
|
|
90
95
|
#
|
|
91
96
|
# @return [String, nil]
|
|
@@ -113,11 +118,8 @@ module OursprivacyIngest
|
|
|
113
118
|
|
|
114
119
|
# @!attribute consent
|
|
115
120
|
#
|
|
116
|
-
# @return [Hash{Symbol=>
|
|
117
|
-
optional :consent,
|
|
118
|
-
OursprivacyIngest::Internal::Type::HashOf[OursprivacyIngest::Internal::Type::Unknown,
|
|
119
|
-
nil?: true],
|
|
120
|
-
nil?: true
|
|
121
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
122
|
+
optional :consent, OursprivacyIngest::Internal::Type::HashOf[String, nil?: true], nil?: true
|
|
121
123
|
|
|
122
124
|
# @!attribute country
|
|
123
125
|
#
|
|
@@ -126,11 +128,8 @@ module OursprivacyIngest
|
|
|
126
128
|
|
|
127
129
|
# @!attribute custom_properties
|
|
128
130
|
#
|
|
129
|
-
# @return [Hash{Symbol=>
|
|
130
|
-
optional :custom_properties,
|
|
131
|
-
OursprivacyIngest::Internal::Type::HashOf[OursprivacyIngest::Internal::Type::Unknown,
|
|
132
|
-
nil?: true],
|
|
133
|
-
nil?: true
|
|
131
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
132
|
+
optional :custom_properties, OursprivacyIngest::Internal::Type::HashOf[String, nil?: true], nil?: true
|
|
134
133
|
|
|
135
134
|
# @!attribute date_of_birth
|
|
136
135
|
#
|
|
@@ -197,16 +196,26 @@ module OursprivacyIngest
|
|
|
197
196
|
# @return [String, nil]
|
|
198
197
|
optional :gender, String, nil?: true
|
|
199
198
|
|
|
199
|
+
# @!attribute im_ref
|
|
200
|
+
#
|
|
201
|
+
# @return [String, nil]
|
|
202
|
+
optional :im_ref, String, nil?: true
|
|
203
|
+
|
|
200
204
|
# @!attribute ip
|
|
201
205
|
# The IP address of the user
|
|
202
206
|
#
|
|
203
207
|
# @return [String, nil]
|
|
204
208
|
optional :ip, String, nil?: true
|
|
205
209
|
|
|
210
|
+
# @!attribute irclickid
|
|
211
|
+
#
|
|
212
|
+
# @return [String, nil]
|
|
213
|
+
optional :irclickid, String, nil?: true
|
|
214
|
+
|
|
206
215
|
# @!attribute is_bot
|
|
207
216
|
#
|
|
208
|
-
# @return [
|
|
209
|
-
optional :is_bot,
|
|
217
|
+
# @return [String, nil]
|
|
218
|
+
optional :is_bot, String, nil?: true
|
|
210
219
|
|
|
211
220
|
# @!attribute job_title
|
|
212
221
|
#
|
|
@@ -235,8 +244,8 @@ module OursprivacyIngest
|
|
|
235
244
|
|
|
236
245
|
# @!attribute phone_number
|
|
237
246
|
#
|
|
238
|
-
# @return [
|
|
239
|
-
optional :phone_number,
|
|
247
|
+
# @return [String, nil]
|
|
248
|
+
optional :phone_number, String, nil?: true
|
|
240
249
|
|
|
241
250
|
# @!attribute qclid
|
|
242
251
|
#
|
|
@@ -253,6 +262,11 @@ module OursprivacyIngest
|
|
|
253
262
|
# @return [String, nil]
|
|
254
263
|
optional :referrer, String, nil?: true
|
|
255
264
|
|
|
265
|
+
# @!attribute referring_domain
|
|
266
|
+
#
|
|
267
|
+
# @return [String, nil]
|
|
268
|
+
optional :referring_domain, String, nil?: true
|
|
269
|
+
|
|
256
270
|
# @!attribute sacid
|
|
257
271
|
#
|
|
258
272
|
# @return [String, nil]
|
|
@@ -330,10 +344,10 @@ module OursprivacyIngest
|
|
|
330
344
|
|
|
331
345
|
# @!attribute zip
|
|
332
346
|
#
|
|
333
|
-
# @return [
|
|
334
|
-
optional :zip,
|
|
347
|
+
# @return [String, nil]
|
|
348
|
+
optional :zip, String, nil?: true
|
|
335
349
|
|
|
336
|
-
# @!method initialize(ad_id: nil, adset_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, ip: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, wbraid: nil, zip: nil)
|
|
350
|
+
# @!method initialize(ad_id: nil, adset_id: nil, basis_cid: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, wbraid: nil, zip: nil)
|
|
337
351
|
# User properties to associate with this user. The existing user properties will
|
|
338
352
|
# be updated. And all future events will have these properties associated with
|
|
339
353
|
# them.
|
|
@@ -342,6 +356,8 @@ module OursprivacyIngest
|
|
|
342
356
|
#
|
|
343
357
|
# @param adset_id [String, nil]
|
|
344
358
|
#
|
|
359
|
+
# @param basis_cid [String, nil]
|
|
360
|
+
#
|
|
345
361
|
# @param campaign_id [String, nil]
|
|
346
362
|
#
|
|
347
363
|
# @param city [String, nil]
|
|
@@ -352,11 +368,11 @@ module OursprivacyIngest
|
|
|
352
368
|
#
|
|
353
369
|
# @param company_name [String, nil]
|
|
354
370
|
#
|
|
355
|
-
# @param consent [Hash{Symbol=>
|
|
371
|
+
# @param consent [Hash{Symbol=>String, nil}, nil]
|
|
356
372
|
#
|
|
357
373
|
# @param country [String, nil]
|
|
358
374
|
#
|
|
359
|
-
# @param custom_properties [Hash{Symbol=>
|
|
375
|
+
# @param custom_properties [Hash{Symbol=>String, nil}, nil]
|
|
360
376
|
#
|
|
361
377
|
# @param date_of_birth [String, nil]
|
|
362
378
|
#
|
|
@@ -384,9 +400,13 @@ module OursprivacyIngest
|
|
|
384
400
|
#
|
|
385
401
|
# @param gender [String, nil]
|
|
386
402
|
#
|
|
403
|
+
# @param im_ref [String, nil]
|
|
404
|
+
#
|
|
387
405
|
# @param ip [String, nil] The IP address of the user
|
|
388
406
|
#
|
|
389
|
-
# @param
|
|
407
|
+
# @param irclickid [String, nil]
|
|
408
|
+
#
|
|
409
|
+
# @param is_bot [String, nil]
|
|
390
410
|
#
|
|
391
411
|
# @param job_title [String, nil]
|
|
392
412
|
#
|
|
@@ -398,7 +418,7 @@ module OursprivacyIngest
|
|
|
398
418
|
#
|
|
399
419
|
# @param ndclid [String, nil]
|
|
400
420
|
#
|
|
401
|
-
# @param phone_number [
|
|
421
|
+
# @param phone_number [String, nil]
|
|
402
422
|
#
|
|
403
423
|
# @param qclid [String, nil]
|
|
404
424
|
#
|
|
@@ -406,6 +426,8 @@ module OursprivacyIngest
|
|
|
406
426
|
#
|
|
407
427
|
# @param referrer [String, nil]
|
|
408
428
|
#
|
|
429
|
+
# @param referring_domain [String, nil]
|
|
430
|
+
#
|
|
409
431
|
# @param sacid [String, nil]
|
|
410
432
|
#
|
|
411
433
|
# @param sccid [String, nil]
|
|
@@ -436,7 +458,7 @@ module OursprivacyIngest
|
|
|
436
458
|
#
|
|
437
459
|
# @param wbraid [String, nil]
|
|
438
460
|
#
|
|
439
|
-
# @param zip [
|
|
461
|
+
# @param zip [String, nil]
|
|
440
462
|
end
|
|
441
463
|
|
|
442
464
|
class DefaultProperties < OursprivacyIngest::Internal::Type::BaseModel
|
|
@@ -459,6 +481,12 @@ module OursprivacyIngest
|
|
|
459
481
|
# @return [String, nil]
|
|
460
482
|
optional :adset_id, String, nil?: true
|
|
461
483
|
|
|
484
|
+
# @!attribute basis_cid
|
|
485
|
+
# The Basis DSP Click ID. Ex: basis_cid123
|
|
486
|
+
#
|
|
487
|
+
# @return [String, nil]
|
|
488
|
+
optional :basis_cid, String, nil?: true
|
|
489
|
+
|
|
462
490
|
# @!attribute browser_language
|
|
463
491
|
# The language of the browser. Ex: en-US
|
|
464
492
|
#
|
|
@@ -619,18 +647,30 @@ module OursprivacyIngest
|
|
|
619
647
|
# @return [Boolean, nil]
|
|
620
648
|
optional :iframe, OursprivacyIngest::Internal::Type::Boolean, nil?: true
|
|
621
649
|
|
|
650
|
+
# @!attribute im_ref
|
|
651
|
+
# The Impact Click ID reference. Ex: im_ref123
|
|
652
|
+
#
|
|
653
|
+
# @return [String, nil]
|
|
654
|
+
optional :im_ref, String, nil?: true
|
|
655
|
+
|
|
622
656
|
# @!attribute ip
|
|
623
657
|
# The IP address of the user. Ex: 127.0.0.1
|
|
624
658
|
#
|
|
625
659
|
# @return [String, nil]
|
|
626
660
|
optional :ip, String, nil?: true
|
|
627
661
|
|
|
662
|
+
# @!attribute irclickid
|
|
663
|
+
# The Impact Click ID. Ex: irclickid123
|
|
664
|
+
#
|
|
665
|
+
# @return [String, nil]
|
|
666
|
+
optional :irclickid, String, nil?: true
|
|
667
|
+
|
|
628
668
|
# @!attribute is_bot
|
|
629
669
|
# Whether we have detected that the user is a bot. This is set automatically by
|
|
630
670
|
# the Ours server primarily for events tracked through the web SDK.
|
|
631
671
|
#
|
|
632
|
-
# @return [
|
|
633
|
-
optional :is_bot,
|
|
672
|
+
# @return [String, nil]
|
|
673
|
+
optional :is_bot, String, nil?: true
|
|
634
674
|
|
|
635
675
|
# @!attribute li_fat_id
|
|
636
676
|
# The LinkedIn Click ID. Ex: li_fat_id123
|
|
@@ -704,6 +744,12 @@ module OursprivacyIngest
|
|
|
704
744
|
# @return [String, nil]
|
|
705
745
|
optional :referrer, String, nil?: true
|
|
706
746
|
|
|
747
|
+
# @!attribute referring_domain
|
|
748
|
+
# The referring domain of the current page
|
|
749
|
+
#
|
|
750
|
+
# @return [String, nil]
|
|
751
|
+
optional :referring_domain, String, nil?: true
|
|
752
|
+
|
|
707
753
|
# @!attribute sacid
|
|
708
754
|
# The StackAdapt Tracking ID. Ex: sacid123
|
|
709
755
|
#
|
|
@@ -831,7 +877,7 @@ module OursprivacyIngest
|
|
|
831
877
|
# @return [Boolean, nil]
|
|
832
878
|
optional :webview, OursprivacyIngest::Internal::Type::Boolean, nil?: true
|
|
833
879
|
|
|
834
|
-
# @!method initialize(active_duration: nil, ad_id: nil, adset_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, host: nil, iframe: nil, ip: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: 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, wbraid: nil, webview: nil)
|
|
880
|
+
# @!method initialize(active_duration: nil, ad_id: nil, adset_id: nil, basis_cid: 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, 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, 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, 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, wbraid: nil, webview: nil)
|
|
835
881
|
# Some parameter documentations has been truncated, see
|
|
836
882
|
# {OursprivacyIngest::Models::VisitorUpsertParams::DefaultProperties} for more
|
|
837
883
|
# details.
|
|
@@ -845,6 +891,8 @@ module OursprivacyIngest
|
|
|
845
891
|
#
|
|
846
892
|
# @param adset_id [String, nil] The adset id for detected in the session. This is set by the web sdk automatical
|
|
847
893
|
#
|
|
894
|
+
# @param basis_cid [String, nil] The Basis DSP Click ID. Ex: basis_cid123
|
|
895
|
+
#
|
|
848
896
|
# @param browser_language [String, nil] The language of the browser. Ex: en-US
|
|
849
897
|
#
|
|
850
898
|
# @param browser_name [String, nil] The name of the browser. Ex: Chrome
|
|
@@ -897,9 +945,13 @@ module OursprivacyIngest
|
|
|
897
945
|
#
|
|
898
946
|
# @param iframe [Boolean, nil] Whether the user is in an iframe. Ex: true
|
|
899
947
|
#
|
|
948
|
+
# @param im_ref [String, nil] The Impact Click ID reference. Ex: im_ref123
|
|
949
|
+
#
|
|
900
950
|
# @param ip [String, nil] The IP address of the user. Ex: 127.0.0.1
|
|
901
951
|
#
|
|
902
|
-
# @param
|
|
952
|
+
# @param irclickid [String, nil] The Impact Click ID. Ex: irclickid123
|
|
953
|
+
#
|
|
954
|
+
# @param is_bot [String, nil] Whether we have detected that the user is a bot. This is set automatically by th
|
|
903
955
|
#
|
|
904
956
|
# @param li_fat_id [String, nil] The LinkedIn Click ID. Ex: li_fat_id123
|
|
905
957
|
#
|
|
@@ -925,6 +977,8 @@ module OursprivacyIngest
|
|
|
925
977
|
#
|
|
926
978
|
# @param referrer [String, nil] The referrer URL of the current page
|
|
927
979
|
#
|
|
980
|
+
# @param referring_domain [String, nil] The referring domain of the current page
|
|
981
|
+
#
|
|
928
982
|
# @param sacid [String, nil] The StackAdapt Tracking ID. Ex: sacid123
|
|
929
983
|
#
|
|
930
984
|
# @param sccid [String, nil] The SnapChat Click ID. Ex: sccid123
|
|
@@ -23,7 +23,7 @@ module OursprivacyIngest
|
|
|
23
23
|
#
|
|
24
24
|
# @param email [String, nil] The email address of a user. We will associate this event with the user or creat
|
|
25
25
|
#
|
|
26
|
-
# @param event_properties [Hash{Symbol=>
|
|
26
|
+
# @param event_properties [Hash{Symbol=>String, nil}, nil] Any additional event properties you want to pass along.
|
|
27
27
|
#
|
|
28
28
|
# @param external_id [String, nil] The externalId (the ID in your system) of a user. We will associate this event w
|
|
29
29
|
#
|
data/lib/oursprivacy_ingest.rb
CHANGED