@oursprivacy/platform-sdk 1.66.0 → 1.68.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +8 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/analytics.d.mts +96 -1
  12. package/resources/analytics.d.mts.map +1 -1
  13. package/resources/analytics.d.ts +96 -1
  14. package/resources/analytics.d.ts.map +1 -1
  15. package/resources/analytics.js +12 -0
  16. package/resources/analytics.js.map +1 -1
  17. package/resources/analytics.mjs +12 -0
  18. package/resources/analytics.mjs.map +1 -1
  19. package/resources/dashboards.d.mts +50 -30
  20. package/resources/dashboards.d.mts.map +1 -1
  21. package/resources/dashboards.d.ts +50 -30
  22. package/resources/dashboards.d.ts.map +1 -1
  23. package/resources/funnels.d.mts +3 -3
  24. package/resources/funnels.d.ts +3 -3
  25. package/resources/funnels.js +1 -1
  26. package/resources/funnels.mjs +1 -1
  27. package/resources/index.d.mts +3 -1
  28. package/resources/index.d.mts.map +1 -1
  29. package/resources/index.d.ts +3 -1
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js +5 -1
  32. package/resources/index.js.map +1 -1
  33. package/resources/index.mjs +2 -0
  34. package/resources/index.mjs.map +1 -1
  35. package/resources/insights.d.mts +105 -45
  36. package/resources/insights.d.mts.map +1 -1
  37. package/resources/insights.d.ts +105 -45
  38. package/resources/insights.d.ts.map +1 -1
  39. package/resources/query-events.d.mts +314 -0
  40. package/resources/query-events.d.mts.map +1 -0
  41. package/resources/query-events.d.ts +314 -0
  42. package/resources/query-events.d.ts.map +1 -0
  43. package/resources/query-events.js +64 -0
  44. package/resources/query-events.js.map +1 -0
  45. package/resources/query-events.mjs +60 -0
  46. package/resources/query-events.mjs.map +1 -0
  47. package/resources/query-visitors.d.mts +127 -0
  48. package/resources/query-visitors.d.mts.map +1 -0
  49. package/resources/query-visitors.d.ts +127 -0
  50. package/resources/query-visitors.d.ts.map +1 -0
  51. package/resources/query-visitors.js +35 -0
  52. package/resources/query-visitors.js.map +1 -0
  53. package/resources/query-visitors.mjs +31 -0
  54. package/resources/query-visitors.mjs.map +1 -0
  55. package/resources/tag-manager-tags.d.mts +8 -4
  56. package/resources/tag-manager-tags.d.mts.map +1 -1
  57. package/resources/tag-manager-tags.d.ts +8 -4
  58. package/resources/tag-manager-tags.d.ts.map +1 -1
  59. package/resources/test-events.d.mts +37 -0
  60. package/resources/test-events.d.mts.map +1 -1
  61. package/resources/test-events.d.ts +37 -0
  62. package/resources/test-events.d.ts.map +1 -1
  63. package/resources/web-analytics.d.mts +1 -1
  64. package/resources/web-analytics.d.mts.map +1 -1
  65. package/resources/web-analytics.d.ts +1 -1
  66. package/resources/web-analytics.d.ts.map +1 -1
  67. package/src/client.ts +52 -0
  68. package/src/resources/analytics.ts +104 -0
  69. package/src/resources/dashboards.ts +54 -30
  70. package/src/resources/funnels.ts +3 -3
  71. package/src/resources/index.ts +23 -0
  72. package/src/resources/insights.ts +117 -45
  73. package/src/resources/query-events.ts +447 -0
  74. package/src/resources/query-visitors.ts +190 -0
  75. package/src/resources/tag-manager-tags.ts +8 -4
  76. package/src/resources/test-events.ts +45 -0
  77. package/src/resources/web-analytics.ts +1 -1
  78. package/src/version.ts +1 -1
  79. package/version.d.mts +1 -1
  80. package/version.d.ts +1 -1
  81. package/version.js +1 -1
  82. package/version.mjs +1 -1
@@ -321,6 +321,34 @@ export namespace TestEventCreateParams {
321
321
  */
322
322
  ad_id?: string | null;
323
323
 
324
+ /**
325
+ * The platform ad id resolved by the Ours server for this event. Ex: 120212
326
+ */
327
+ ad_touch_ad_id?: string | null;
328
+
329
+ /**
330
+ * The platform ad set or ad group id resolved by the Ours server for this event.
331
+ * Ex: 120211
332
+ */
333
+ ad_touch_adset_id?: string | null;
334
+
335
+ /**
336
+ * The platform campaign id resolved by the Ours server for this event. Ex: 120210
337
+ */
338
+ ad_touch_campaign_id?: string | null;
339
+
340
+ /**
341
+ * The ad platform resolved by the Ours server from the ad tag, ad ids, and click
342
+ * ids on this event. Ex: meta, google
343
+ */
344
+ ad_touch_platform?: string | null;
345
+
346
+ /**
347
+ * Which signal the Ours server used to resolve the ad touch: ours_ad, url_ids,
348
+ * gad_campaignid, utm_id, or click_id.
349
+ */
350
+ ad_touch_source?: string | null;
351
+
324
352
  /**
325
353
  * The AdRoll Click ID (adct) from the landing URL. Ex: adct123
326
354
  */
@@ -480,6 +508,12 @@ export namespace TestEventCreateParams {
480
508
  */
481
509
  fv?: boolean | null;
482
510
 
511
+ /**
512
+ * The Google Ads campaign id that Google auto-tagging appends to ad clicks. Ex:
513
+ * 21780011223
514
+ */
515
+ gad_campaignid?: string | null;
516
+
483
517
  /**
484
518
  * The Google Ad Source. Ex: google
485
519
  */
@@ -584,6 +618,12 @@ export namespace TestEventCreateParams {
584
618
  */
585
619
  os_version?: string | null;
586
620
 
621
+ /**
622
+ * The Ours ad tag from the ours_ad query parameter, as platform.campaign.adset.ad.
623
+ * Ex: meta.120210.120211.120212
624
+ */
625
+ ours_ad?: string | null;
626
+
587
627
  /**
588
628
  * A random set of numbers for the page load
589
629
  */
@@ -698,6 +738,11 @@ export namespace TestEventCreateParams {
698
738
  */
699
739
  utm_content?: string | null;
700
740
 
741
+ /**
742
+ * The UTM ID. The web SDK automatically captures this from the query params.
743
+ */
744
+ utm_id?: string | null;
745
+
701
746
  /**
702
747
  * The UTM Medium. The web SDK automatically captures this from the query params.
703
748
  */
@@ -137,7 +137,7 @@ export namespace WebAnalyticsOverviewInsightResponse {
137
137
 
138
138
  from: string;
139
139
 
140
- interval: 'day' | 'week' | 'month';
140
+ interval: 'hour' | 'day' | 'week' | 'month';
141
141
 
142
142
  sourceCompleteness: 'unknown';
143
143
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.66.0'; // x-release-please-version
1
+ export const VERSION = '1.68.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.66.0";
1
+ export declare const VERSION = "1.68.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.66.0";
1
+ export declare const VERSION = "1.68.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.66.0'; // x-release-please-version
4
+ exports.VERSION = '1.68.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.66.0'; // x-release-please-version
1
+ export const VERSION = '1.68.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map