@pomeloanalytics/api 0.1.0-beta.2 → 0.1.0-beta.4
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.
- package/CHANGELOG.md +35 -0
- package/README.md +36 -9
- package/dist/generated/openapi.d.ts +385 -335
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ export interface paths {
|
|
|
65
65
|
query: {
|
|
66
66
|
/** @description Compare current range against the previous equivalent period. */
|
|
67
67
|
compare?: components["parameters"]["CompareParam"];
|
|
68
|
-
/** @description Inclusive
|
|
68
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
69
69
|
from?: components["parameters"]["FromDate"];
|
|
70
70
|
/** @description Number of rows returned by top lists for report endpoints. */
|
|
71
71
|
limit?: components["parameters"]["ReportLimit"];
|
|
@@ -76,7 +76,7 @@ export interface paths {
|
|
|
76
76
|
* `tenant_id` identifies one tenant.
|
|
77
77
|
*/
|
|
78
78
|
tenant_id?: components["parameters"]["TenantId"];
|
|
79
|
-
/** @description Inclusive
|
|
79
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
80
80
|
to?: components["parameters"]["ToDate"];
|
|
81
81
|
/** @description Traffic segment to include. */
|
|
82
82
|
traffic?: components["parameters"]["TrafficParam"];
|
|
@@ -179,6 +179,7 @@ export interface paths {
|
|
|
179
179
|
/**
|
|
180
180
|
* @description Grouping dimension for breakdown endpoint.
|
|
181
181
|
* When `dimension=tenant`, rows are grouped by stable `tenant_id`. The
|
|
182
|
+
* statistics of a tenant are those of the page's client space. The
|
|
182
183
|
* response also includes `tenant_slug` and `tenant_name` as display labels.
|
|
183
184
|
*/
|
|
184
185
|
dimension?: components["parameters"]["BreakdownDimension"];
|
|
@@ -187,7 +188,7 @@ export interface paths {
|
|
|
187
188
|
* `{"device":"mobile","referrer":"google.com"}`.
|
|
188
189
|
*/
|
|
189
190
|
filters?: components["parameters"]["Filters"];
|
|
190
|
-
/** @description Inclusive
|
|
191
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
191
192
|
from?: components["parameters"]["FromDate"];
|
|
192
193
|
/** @description Number of rows returned by breakdown endpoint. */
|
|
193
194
|
limit?: components["parameters"]["BreakdownLimit"];
|
|
@@ -205,7 +206,7 @@ export interface paths {
|
|
|
205
206
|
* `tenant_id` identifies one tenant.
|
|
206
207
|
*/
|
|
207
208
|
tenant_id?: components["parameters"]["TenantId"];
|
|
208
|
-
/** @description Inclusive
|
|
209
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
209
210
|
to?: components["parameters"]["ToDate"];
|
|
210
211
|
};
|
|
211
212
|
header?: {
|
|
@@ -263,9 +264,9 @@ export interface paths {
|
|
|
263
264
|
* `{"device":"mobile","referrer":"google.com"}`.
|
|
264
265
|
*/
|
|
265
266
|
filters?: components["parameters"]["Filters"];
|
|
266
|
-
/** @description Inclusive
|
|
267
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
267
268
|
from?: components["parameters"]["FromDate"];
|
|
268
|
-
/** @description Granularity (`
|
|
269
|
+
/** @description Granularity (`day` or `hour`, on every plan with API access). */
|
|
269
270
|
interval?: components["parameters"]["Interval"];
|
|
270
271
|
/**
|
|
271
272
|
* @description Metric to aggregate (default `pageviews`). `sessions` uses the same
|
|
@@ -281,7 +282,7 @@ export interface paths {
|
|
|
281
282
|
* `tenant_id` identifies one tenant.
|
|
282
283
|
*/
|
|
283
284
|
tenant_id?: components["parameters"]["TenantId"];
|
|
284
|
-
/** @description Inclusive
|
|
285
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
285
286
|
to?: components["parameters"]["ToDate"];
|
|
286
287
|
};
|
|
287
288
|
header?: {
|
|
@@ -332,29 +333,46 @@ export interface paths {
|
|
|
332
333
|
};
|
|
333
334
|
/**
|
|
334
335
|
* Acquisition channels, referrers, and landing pages
|
|
335
|
-
* @description
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
336
|
+
* @description Provenance of every visit: referring domains, the named sources that
|
|
337
|
+
* gather them (google.fr and google.com under Google), the types of
|
|
338
|
+
* referring site (search engine, social network, messaging, AI
|
|
339
|
+
* assistant, other site) and landing pages. A direct visit has no
|
|
340
|
+
* referring domain. Sources and types are read through a fixed table;
|
|
341
|
+
* they never separate paid from organic.
|
|
342
|
+
*
|
|
343
|
+
* Channels, campaign sources, mediums, campaigns and impact by source
|
|
344
|
+
* belong to the Campagnes option: `by_channel`, `channels`,
|
|
345
|
+
* `channel_timeseries`, `top_sources`, `top_mediums`, `top_campaigns`,
|
|
346
|
+
* `dimensions.sources`, `dimensions.mediums`, `dimensions.campaigns`,
|
|
347
|
+
* `dimensions.contents`, `dimensions.terms` and `impact` (except
|
|
348
|
+
* `impact.landing_pages`) are computed on visits whose
|
|
349
|
+
* visitor gave consent, with the usual reporting precision (exact
|
|
350
|
+
* counts from 10, `< 10` below, rows under 10 visits grouped, rates and means `null`
|
|
351
|
+
* under 10 contributors), and are empty when the site does not have the
|
|
352
|
+
* option. `availability.sections` reports `acquisition_attribution` with
|
|
353
|
+
* the status of the report when the option is on and with the reason
|
|
354
|
+
* `campaigns_option_required` when it is off. `avg_pages_per_session`,
|
|
355
|
+
* `avg_session_eng_time_ms` and `avg_page_eng_time_ms` are `null` when
|
|
356
|
+
* fewer than ten visits contribute; they are never published as `0` in
|
|
357
|
+
* that case.
|
|
340
358
|
* When report include selection is enabled, `include` selects the response
|
|
341
359
|
* depth and omission selects `summary`. Otherwise, `include` is ignored
|
|
342
360
|
* and the handler uses `full`.
|
|
343
|
-
* `include=summary` returns
|
|
344
|
-
* `full` returns `current.
|
|
361
|
+
* `include=summary` returns totals, coverage and the sessions timeseries.
|
|
362
|
+
* `full` returns `current.by_day` and top lists. `details` returns
|
|
345
363
|
* dimensions, landing pages and optional goal impact; it is a distinct
|
|
346
364
|
* Acquisition variant, not the Content alias for full.
|
|
347
365
|
* `goal_id` optionally selects one configured site goal for `details`
|
|
348
|
-
* impact. Impact reports distinct converted visits and rates by
|
|
349
|
-
*
|
|
350
|
-
*
|
|
366
|
+
* impact. Impact reports distinct converted visits and rates by landing
|
|
367
|
+
* page using first-pageview attribution; omission uses the union of the
|
|
368
|
+
* site's configured goals.
|
|
351
369
|
*/
|
|
352
370
|
get: {
|
|
353
371
|
parameters: {
|
|
354
372
|
query: {
|
|
355
373
|
/** @description Compare current range against the previous equivalent period. */
|
|
356
374
|
compare?: components["parameters"]["CompareParam"];
|
|
357
|
-
/** @description Inclusive
|
|
375
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
358
376
|
from?: components["parameters"]["FromDate"];
|
|
359
377
|
/**
|
|
360
378
|
* @description Acquisition `include=details` only. Selects one configured goal belonging
|
|
@@ -374,7 +392,7 @@ export interface paths {
|
|
|
374
392
|
* `tenant_id` identifies one tenant.
|
|
375
393
|
*/
|
|
376
394
|
tenant_id?: components["parameters"]["TenantId"];
|
|
377
|
-
/** @description Inclusive
|
|
395
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
378
396
|
to?: components["parameters"]["ToDate"];
|
|
379
397
|
/** @description Traffic segment to include. */
|
|
380
398
|
traffic?: components["parameters"]["TrafficParam"];
|
|
@@ -389,11 +407,9 @@ export interface paths {
|
|
|
389
407
|
requestBody?: never;
|
|
390
408
|
responses: {
|
|
391
409
|
/**
|
|
392
|
-
* @description OK.
|
|
393
|
-
* `
|
|
394
|
-
*
|
|
395
|
-
* `acquisition_attribution` remains locked or only partially
|
|
396
|
-
* compatible for the requested period.
|
|
410
|
+
* @description OK. `availability.sections` reports whether
|
|
411
|
+
* `acquisition_attribution` (Campagnes option) is available for the
|
|
412
|
+
* requested period.
|
|
397
413
|
*/
|
|
398
414
|
200: {
|
|
399
415
|
headers: {
|
|
@@ -431,13 +447,9 @@ export interface paths {
|
|
|
431
447
|
cookie?: never;
|
|
432
448
|
};
|
|
433
449
|
/**
|
|
434
|
-
*
|
|
435
|
-
* @description
|
|
436
|
-
*
|
|
437
|
-
* families such as goals, errors, and custom events remain profile-gated
|
|
438
|
-
* and are marked through `availability.sections` as `actions_advanced`.
|
|
439
|
-
* Use `availability.readModel` to distinguish the stable baseline from
|
|
440
|
-
* the enriched families unlocked by `Extended`.
|
|
450
|
+
* Actions by family
|
|
451
|
+
* @description Goals, forms, outbound links, downloads, errors, custom events and
|
|
452
|
+
* instrumentation, by family.
|
|
441
453
|
* When report include selection is enabled, `include` selects the response
|
|
442
454
|
* depth and omission selects `summary`. Otherwise, `include` is ignored
|
|
443
455
|
* and the handler uses `full`.
|
|
@@ -454,7 +466,7 @@ export interface paths {
|
|
|
454
466
|
action_key?: components["parameters"]["ActionKey"];
|
|
455
467
|
/** @description Compare current range against the previous equivalent period. */
|
|
456
468
|
compare?: components["parameters"]["CompareParam"];
|
|
457
|
-
/** @description Inclusive
|
|
469
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
458
470
|
from?: components["parameters"]["FromDate"];
|
|
459
471
|
/** @description Report depth for Acquisition and Actions. When report include selection is enabled, omission selects summary; otherwise the handler uses full even when include is supplied. No unconditional default is declared here. */
|
|
460
472
|
include?: components["parameters"]["ReportInclude"];
|
|
@@ -467,7 +479,7 @@ export interface paths {
|
|
|
467
479
|
* `tenant_id` identifies one tenant.
|
|
468
480
|
*/
|
|
469
481
|
tenant_id?: components["parameters"]["TenantId"];
|
|
470
|
-
/** @description Inclusive
|
|
482
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
471
483
|
to?: components["parameters"]["ToDate"];
|
|
472
484
|
/** @description Traffic segment to include. */
|
|
473
485
|
traffic?: components["parameters"]["TrafficParam"];
|
|
@@ -481,13 +493,7 @@ export interface paths {
|
|
|
481
493
|
};
|
|
482
494
|
requestBody?: never;
|
|
483
495
|
responses: {
|
|
484
|
-
/**
|
|
485
|
-
* @description OK. Mixed route: the strict-safe bounded action slice succeeded.
|
|
486
|
-
* `availability.readModel` shows what belongs to the strict-safe
|
|
487
|
-
* baseline, while `availability.sections` reports whether
|
|
488
|
-
* `actions_advanced` remains locked or only partially compatible
|
|
489
|
-
* for the requested period.
|
|
490
|
-
*/
|
|
496
|
+
/** @description OK */
|
|
491
497
|
200: {
|
|
492
498
|
headers: {
|
|
493
499
|
"X-RateLimit-Limit": components["headers"]["XRateLimitLimit"];
|
|
@@ -525,7 +531,7 @@ export interface paths {
|
|
|
525
531
|
};
|
|
526
532
|
/**
|
|
527
533
|
* Content report
|
|
528
|
-
* @description `summary` supports 1-365 inclusive
|
|
534
|
+
* @description `summary` supports 1-365 inclusive days of the site's time zone. `full` and its deprecated
|
|
529
535
|
* `details` alias support 1-90 days. Comparison supports at most 30 days
|
|
530
536
|
* in either mode. Responses are never truncated: if the serialized proxy
|
|
531
537
|
* response would exceed 5 MiB, the request returns HTTP 422 with
|
|
@@ -537,12 +543,12 @@ export interface paths {
|
|
|
537
543
|
query: {
|
|
538
544
|
/** @description Compare current range against the previous equivalent period. */
|
|
539
545
|
compare?: components["parameters"]["CompareParam"];
|
|
540
|
-
/** @description Inclusive
|
|
546
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
541
547
|
from?: components["parameters"]["FromDate"];
|
|
542
548
|
/**
|
|
543
|
-
* @description Content response depth. `summary` returns totals and one global
|
|
544
|
-
* pageview point per day; `limit` has no effect. `full` returns the
|
|
545
|
-
* detailed Content report.
|
|
549
|
+
* @description Content response depth. `summary` returns totals and one global
|
|
550
|
+
* pageview point per day of the site's time zone; `limit` has no effect. `full` returns the
|
|
551
|
+
* detailed Content report.
|
|
546
552
|
* When omitted, ranges up to 90 days use `full`; ranges from 91 through
|
|
547
553
|
* 365 days use `summary`.
|
|
548
554
|
*/
|
|
@@ -556,7 +562,7 @@ export interface paths {
|
|
|
556
562
|
* `tenant_id` identifies one tenant.
|
|
557
563
|
*/
|
|
558
564
|
tenant_id?: components["parameters"]["TenantId"];
|
|
559
|
-
/** @description Inclusive
|
|
565
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
560
566
|
to?: components["parameters"]["ToDate"];
|
|
561
567
|
/** @description Traffic segment to include. */
|
|
562
568
|
traffic?: components["parameters"]["TrafficParam"];
|
|
@@ -608,18 +614,19 @@ export interface paths {
|
|
|
608
614
|
};
|
|
609
615
|
/**
|
|
610
616
|
* Consolidated site overview
|
|
611
|
-
* @description
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
* `
|
|
615
|
-
* `
|
|
617
|
+
* @description Audience, content and acquisition of the site over the requested
|
|
618
|
+
* period. `avg_pages_per_session`, `avg_session_eng_time_ms` and
|
|
619
|
+
* `avg_page_eng_time_ms` are `null` when fewer than ten visits
|
|
620
|
+
* contribute; they are never published as `0` in that case. Channels belong to the Campagnes
|
|
621
|
+
* option: `acquisition.by_channel` holds visits with consent and is empty
|
|
622
|
+
* without the option.
|
|
616
623
|
*/
|
|
617
624
|
get: {
|
|
618
625
|
parameters: {
|
|
619
626
|
query: {
|
|
620
627
|
/** @description Compare current range against the previous equivalent period. */
|
|
621
628
|
compare?: components["parameters"]["CompareParam"];
|
|
622
|
-
/** @description Inclusive
|
|
629
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
623
630
|
from?: components["parameters"]["FromDate"];
|
|
624
631
|
/** @description Number of rows returned by top lists for report endpoints. */
|
|
625
632
|
limit?: components["parameters"]["ReportLimit"];
|
|
@@ -630,7 +637,7 @@ export interface paths {
|
|
|
630
637
|
* `tenant_id` identifies one tenant.
|
|
631
638
|
*/
|
|
632
639
|
tenant_id?: components["parameters"]["TenantId"];
|
|
633
|
-
/** @description Inclusive
|
|
640
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
634
641
|
to?: components["parameters"]["ToDate"];
|
|
635
642
|
/** @description Traffic segment to include. */
|
|
636
643
|
traffic?: components["parameters"]["TrafficParam"];
|
|
@@ -644,11 +651,7 @@ export interface paths {
|
|
|
644
651
|
};
|
|
645
652
|
requestBody?: never;
|
|
646
653
|
responses: {
|
|
647
|
-
/**
|
|
648
|
-
* @description OK. Mixed route: the strict-safe overview slice succeeded. Inspect
|
|
649
|
-
* `availability.sections` for enriched or geo-detail sections that
|
|
650
|
-
* remain locked or only partially compatible.
|
|
651
|
-
*/
|
|
654
|
+
/** @description OK */
|
|
652
655
|
200: {
|
|
653
656
|
headers: {
|
|
654
657
|
"X-RateLimit-Limit": components["headers"]["XRateLimitLimit"];
|
|
@@ -830,9 +833,9 @@ export interface paths {
|
|
|
830
833
|
get: {
|
|
831
834
|
parameters: {
|
|
832
835
|
query?: {
|
|
833
|
-
/** @description Inclusive
|
|
836
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
834
837
|
from?: components["parameters"]["FromDate"];
|
|
835
|
-
/** @description Inclusive
|
|
838
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
836
839
|
to?: components["parameters"]["ToDate"];
|
|
837
840
|
};
|
|
838
841
|
header?: {
|
|
@@ -875,83 +878,100 @@ export interface components {
|
|
|
875
878
|
AcquisitionChannelItem: {
|
|
876
879
|
/** @enum {string} */
|
|
877
880
|
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
878
|
-
sessions: number;
|
|
881
|
+
sessions: number | null;
|
|
879
882
|
};
|
|
883
|
+
/**
|
|
884
|
+
* @description Visits with and without a referring domain. A direct visit has no
|
|
885
|
+
* referring domain.
|
|
886
|
+
*/
|
|
880
887
|
AcquisitionCoverage: {
|
|
881
|
-
direct_sessions: number;
|
|
882
|
-
direct_share: number;
|
|
883
|
-
non_direct_sessions: number;
|
|
884
|
-
non_direct_share: number;
|
|
885
|
-
tagged_sessions: number;
|
|
886
|
-
tagged_share: number;
|
|
888
|
+
direct_sessions: number | null;
|
|
889
|
+
direct_share: number | null;
|
|
890
|
+
non_direct_sessions: number | null;
|
|
891
|
+
non_direct_share: number | null;
|
|
887
892
|
};
|
|
888
893
|
AcquisitionDetailsReportResponse: components["schemas"]["UserApiAcquisitionReportMeta"] & {
|
|
889
894
|
compare: components["schemas"]["UserApiAcquisitionDetailsCurrent"] | null;
|
|
890
895
|
current: components["schemas"]["UserApiAcquisitionDetailsCurrent"];
|
|
891
896
|
};
|
|
892
897
|
AcquisitionDimensionImpactItem: {
|
|
893
|
-
converted_sessions: number;
|
|
894
|
-
session_conversion_rate: number;
|
|
898
|
+
converted_sessions: number | null;
|
|
899
|
+
session_conversion_rate: number | null;
|
|
895
900
|
value: string;
|
|
896
901
|
};
|
|
897
902
|
AcquisitionDimensionItem: components["schemas"]["AcquisitionSummaryTotals"] & {
|
|
898
903
|
favicon_url?: string | null;
|
|
899
|
-
share: number;
|
|
904
|
+
share: number | null;
|
|
900
905
|
value: string;
|
|
901
906
|
};
|
|
902
907
|
AcquisitionFullReportResponse: components["schemas"]["UserApiAcquisitionEnvelope"] & {
|
|
903
908
|
meta: components["schemas"]["MeteredMeta"];
|
|
904
909
|
};
|
|
905
910
|
/**
|
|
906
|
-
* @description
|
|
911
|
+
* @description Goal impact by landing page. The landing page comes from the visit's
|
|
907
912
|
* canonical first pageview in the requested scope. A converted visit
|
|
908
|
-
* matches at least one selected goal
|
|
909
|
-
*
|
|
910
|
-
*
|
|
913
|
+
* matches at least one selected goal; repeated matches count once. Rates
|
|
914
|
+
* divide converted visits by visits in the same landing page, period and
|
|
915
|
+
* traffic scope. `channels`, `sources`, `mediums` and `campaigns` belong
|
|
916
|
+
* to the Campagnes option: they are computed on visits whose visitor gave
|
|
917
|
+
* consent and are empty without the option.
|
|
911
918
|
*/
|
|
912
919
|
AcquisitionImpact: {
|
|
913
920
|
campaigns: components["schemas"]["AcquisitionDimensionImpactItem"][];
|
|
921
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
914
922
|
channels: {
|
|
915
923
|
/** @enum {string} */
|
|
916
924
|
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
917
|
-
converted_sessions: number;
|
|
918
|
-
session_conversion_rate: number;
|
|
925
|
+
converted_sessions: number | null;
|
|
926
|
+
session_conversion_rate: number | null;
|
|
919
927
|
}[];
|
|
920
928
|
landing_pages: {
|
|
921
|
-
converted_sessions: number;
|
|
929
|
+
converted_sessions: number | null;
|
|
922
930
|
path_canon: string | null;
|
|
923
|
-
session_conversion_rate: number;
|
|
931
|
+
session_conversion_rate: number | null;
|
|
924
932
|
}[];
|
|
925
933
|
mediums: components["schemas"]["AcquisitionDimensionImpactItem"][];
|
|
934
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
926
935
|
sources: components["schemas"]["AcquisitionDimensionImpactItem"][];
|
|
927
936
|
};
|
|
928
937
|
AcquisitionLandingPageSummaryItem: components["schemas"]["AcquisitionSummaryTotals"] & {
|
|
929
938
|
page_title?: string | null;
|
|
930
939
|
path_canon: string | null;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
940
|
+
share: number | null;
|
|
941
|
+
};
|
|
942
|
+
/**
|
|
943
|
+
* @description A named source of the provenance, all visits. `domains` lists its
|
|
944
|
+
* domains of ten visits or more; the rest of the source is its other
|
|
945
|
+
* domains.
|
|
946
|
+
*/
|
|
947
|
+
AcquisitionReferrerSourceItem: components["schemas"]["AcquisitionDimensionItem"] & {
|
|
948
|
+
domains: components["schemas"]["AcquisitionDimensionItem"][];
|
|
949
|
+
type: components["schemas"]["ReferrerType"];
|
|
950
|
+
};
|
|
951
|
+
/** @description Visits by type of referring site, all visits. */
|
|
952
|
+
AcquisitionReferrerTypeItem: components["schemas"]["AcquisitionSummaryTotals"] & {
|
|
953
|
+
share: number | null;
|
|
954
|
+
value: components["schemas"]["ReferrerType"];
|
|
934
955
|
};
|
|
935
956
|
/** @description Source response variants selected by the effective Acquisition include mode. Current and comparison use the same shape; availability and metering remain present in every variant. */
|
|
936
957
|
AcquisitionReportResponse: components["schemas"]["AcquisitionFullReportResponse"] | components["schemas"]["AcquisitionSummaryReportResponse"] | components["schemas"]["AcquisitionDetailsReportResponse"];
|
|
937
958
|
AcquisitionSummaryChannelItem: components["schemas"]["AcquisitionChannelItem"] & components["schemas"]["AcquisitionSummaryTotals"] & {
|
|
938
|
-
share: number;
|
|
959
|
+
share: number | null;
|
|
939
960
|
};
|
|
940
961
|
AcquisitionSummaryReportResponse: components["schemas"]["UserApiAcquisitionReportMeta"] & {
|
|
941
962
|
compare: components["schemas"]["UserApiAcquisitionSummaryCurrent"] | null;
|
|
942
963
|
current: components["schemas"]["UserApiAcquisitionSummaryCurrent"];
|
|
943
964
|
};
|
|
944
965
|
AcquisitionSummaryTotals: {
|
|
945
|
-
avg_pages_per_session: number;
|
|
946
|
-
avg_session_eng_time_ms: number;
|
|
947
|
-
engagement_rate: number;
|
|
948
|
-
sessions: number;
|
|
966
|
+
avg_pages_per_session: number | null;
|
|
967
|
+
avg_session_eng_time_ms: number | null;
|
|
968
|
+
engagement_rate: number | null;
|
|
969
|
+
sessions: number | null;
|
|
949
970
|
};
|
|
950
971
|
ActionsCurrent: {
|
|
951
972
|
/**
|
|
952
|
-
* @description
|
|
953
|
-
*
|
|
954
|
-
* HTTP `200`; advanced families remain section-gated.
|
|
973
|
+
* @description Action rows of the active family, or of every family when none is
|
|
974
|
+
* selected.
|
|
955
975
|
*/
|
|
956
976
|
actions: {
|
|
957
977
|
/** @description Stable element/action identifier when the action row can be narrowed by it. */
|
|
@@ -967,25 +987,21 @@ export interface components {
|
|
|
967
987
|
form_action_path?: string | null;
|
|
968
988
|
/** @description Form identifier when the form action row can be narrowed by it. */
|
|
969
989
|
form_id?: string | null;
|
|
970
|
-
occurrences: number;
|
|
971
|
-
sessions: number;
|
|
990
|
+
occurrences: number | null;
|
|
991
|
+
sessions: number | null;
|
|
992
|
+
/** @description Derived from the published counts only; it reveals nothing finer than them. */
|
|
993
|
+
share?: number | null;
|
|
972
994
|
top_page?: string | null;
|
|
973
|
-
/** @enum {string|null} */
|
|
974
|
-
top_source?: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other" | null;
|
|
975
995
|
}[];
|
|
976
996
|
/** @enum {string|null} */
|
|
977
997
|
active_family: "goals" | "forms" | "outbound" | "downloads" | "errors" | "custom" | "instrumentation" | null;
|
|
978
|
-
/**
|
|
979
|
-
* @description Shared breakdown context for the active action envelope. Advanced
|
|
980
|
-
* action families can remain unavailable even when the route itself
|
|
981
|
-
* succeeds; inspect `availability.sections`.
|
|
982
|
-
*/
|
|
998
|
+
/** @description Pages and segments around the active family or action. */
|
|
983
999
|
context: {
|
|
984
1000
|
pages: {
|
|
985
1001
|
path_canon?: string | null;
|
|
986
1002
|
/** @enum {string} */
|
|
987
1003
|
scope: "family" | "action";
|
|
988
|
-
sessions: number;
|
|
1004
|
+
sessions: number | null;
|
|
989
1005
|
}[];
|
|
990
1006
|
segments: {
|
|
991
1007
|
/** @enum {string} */
|
|
@@ -993,51 +1009,43 @@ export interface components {
|
|
|
993
1009
|
label: string;
|
|
994
1010
|
/** @enum {string} */
|
|
995
1011
|
scope: "family" | "action";
|
|
996
|
-
sessions: number;
|
|
997
|
-
}[];
|
|
998
|
-
sources: {
|
|
999
|
-
/** @enum {string} */
|
|
1000
|
-
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1001
|
-
/** @enum {string} */
|
|
1002
|
-
scope: "family" | "action";
|
|
1003
|
-
sessions: number;
|
|
1012
|
+
sessions: number | null;
|
|
1004
1013
|
}[];
|
|
1005
1014
|
};
|
|
1006
1015
|
/**
|
|
1007
|
-
* @description
|
|
1008
|
-
*
|
|
1009
|
-
* exposed through `availability.sections` as `actions_advanced`.
|
|
1016
|
+
* @description Summary of each action family: goals, forms, outbound, downloads,
|
|
1017
|
+
* errors, custom and instrumentation.
|
|
1010
1018
|
*/
|
|
1011
1019
|
families: {
|
|
1012
1020
|
/** @enum {string} */
|
|
1013
1021
|
family: "goals" | "forms" | "outbound" | "downloads" | "errors" | "custom" | "instrumentation";
|
|
1014
|
-
occurrences: number;
|
|
1015
|
-
sessions: number;
|
|
1022
|
+
occurrences: number | null;
|
|
1023
|
+
sessions: number | null;
|
|
1016
1024
|
}[];
|
|
1017
1025
|
family_timeseries: {
|
|
1018
1026
|
/** Format: date */
|
|
1019
1027
|
date: string;
|
|
1020
1028
|
/** @enum {string} */
|
|
1021
1029
|
family: "goals" | "forms" | "outbound" | "downloads" | "errors" | "custom" | "instrumentation";
|
|
1022
|
-
occurrences: number;
|
|
1023
|
-
sessions: number;
|
|
1030
|
+
occurrences: number | null;
|
|
1031
|
+
sessions: number | null;
|
|
1024
1032
|
}[];
|
|
1025
1033
|
goals_configured: boolean;
|
|
1026
1034
|
timeseries: {
|
|
1027
1035
|
/** Format: date */
|
|
1028
1036
|
date: string;
|
|
1029
|
-
error_sessions: number;
|
|
1030
|
-
instrumentation_sessions: number;
|
|
1031
|
-
meaningful_action_sessions: number;
|
|
1032
|
-
meaningful_occurrences: number;
|
|
1033
|
-
total_sessions: number;
|
|
1037
|
+
error_sessions: number | null;
|
|
1038
|
+
instrumentation_sessions: number | null;
|
|
1039
|
+
meaningful_action_sessions: number | null;
|
|
1040
|
+
meaningful_occurrences: number | null;
|
|
1041
|
+
total_sessions: number | null;
|
|
1034
1042
|
}[];
|
|
1035
1043
|
totals: {
|
|
1036
|
-
error_sessions: number;
|
|
1037
|
-
instrumentation_sessions: number;
|
|
1038
|
-
meaningful_action_sessions: number;
|
|
1039
|
-
meaningful_occurrences: number;
|
|
1040
|
-
total_sessions: number;
|
|
1044
|
+
error_sessions: number | null;
|
|
1045
|
+
instrumentation_sessions: number | null;
|
|
1046
|
+
meaningful_action_sessions: number | null;
|
|
1047
|
+
meaningful_occurrences: number | null;
|
|
1048
|
+
total_sessions: number | null;
|
|
1041
1049
|
};
|
|
1042
1050
|
};
|
|
1043
1051
|
ActionsReportResponse: components["schemas"]["UserApiActionsEnvelope"] & {
|
|
@@ -1072,49 +1080,64 @@ export interface components {
|
|
|
1072
1080
|
tenant_name?: string | null;
|
|
1073
1081
|
/** @description Current routing slug for tenant breakdown rows. */
|
|
1074
1082
|
tenant_slug?: string | null;
|
|
1075
|
-
value: number;
|
|
1083
|
+
value: number | null;
|
|
1076
1084
|
};
|
|
1077
1085
|
ContentFullCurrent: {
|
|
1078
1086
|
entries?: {
|
|
1079
|
-
bounce_rate: number;
|
|
1080
|
-
entries: number;
|
|
1087
|
+
bounce_rate: number | null;
|
|
1088
|
+
entries: number | null;
|
|
1081
1089
|
page_title?: string | null;
|
|
1082
1090
|
path_canon: string | null;
|
|
1083
1091
|
}[];
|
|
1084
1092
|
exits?: {
|
|
1085
|
-
exit_rate: number;
|
|
1086
|
-
exits: number;
|
|
1093
|
+
exit_rate: number | null;
|
|
1094
|
+
exits: number | null;
|
|
1087
1095
|
page_title?: string | null;
|
|
1088
1096
|
path_canon: string | null;
|
|
1089
1097
|
}[];
|
|
1090
1098
|
/** @enum {string} */
|
|
1091
1099
|
include: "full";
|
|
1100
|
+
/**
|
|
1101
|
+
* @description The only Web Vitals measurement method served.
|
|
1102
|
+
* @enum {string}
|
|
1103
|
+
*/
|
|
1104
|
+
metric_method?: "web-vitals-6.2.3-cls1";
|
|
1092
1105
|
pages: {
|
|
1093
|
-
avg_page_eng_time_ms: number;
|
|
1106
|
+
avg_page_eng_time_ms: number | null;
|
|
1094
1107
|
avg_scroll_depth?: number | null;
|
|
1095
|
-
bounces: number;
|
|
1096
|
-
entries: number;
|
|
1097
|
-
exit_rate: number;
|
|
1098
|
-
exits: number;
|
|
1099
|
-
page_bounce_rate: number;
|
|
1108
|
+
bounces: number | null;
|
|
1109
|
+
entries: number | null;
|
|
1110
|
+
exit_rate: number | null;
|
|
1111
|
+
exits: number | null;
|
|
1112
|
+
page_bounce_rate: number | null;
|
|
1100
1113
|
page_title?: string | null;
|
|
1101
|
-
pageviews: number;
|
|
1114
|
+
pageviews: number | null;
|
|
1102
1115
|
path_canon: string | null;
|
|
1103
1116
|
performance?: {
|
|
1117
|
+
n_cls?: number | null;
|
|
1118
|
+
n_fcp?: number | null;
|
|
1119
|
+
n_inp?: number | null;
|
|
1120
|
+
n_lcp?: number | null;
|
|
1121
|
+
n_ttfb?: number | null;
|
|
1104
1122
|
p75_cls: number | null;
|
|
1105
1123
|
p75_fcp?: number | null;
|
|
1106
1124
|
p75_inp: number | null;
|
|
1107
1125
|
p75_lcp: number | null;
|
|
1108
1126
|
p75_ttfb: number | null;
|
|
1109
|
-
samples: number;
|
|
1127
|
+
samples: number | null;
|
|
1110
1128
|
} | null;
|
|
1111
|
-
|
|
1129
|
+
/** @description Derived from the published counts only; it reveals nothing finer than them. */
|
|
1130
|
+
share?: number | null;
|
|
1131
|
+
unique_pageviews: number | null;
|
|
1112
1132
|
}[];
|
|
1113
1133
|
timeseries: {
|
|
1114
1134
|
/** Format: date */
|
|
1115
1135
|
date: string;
|
|
1116
|
-
pageviews: number;
|
|
1136
|
+
pageviews: number | null;
|
|
1117
1137
|
path_canon: string;
|
|
1138
|
+
/** @description Visible page paths only (not `(other)`). Derived from the published counts only; it reveals nothing finer than them. */
|
|
1139
|
+
share?: number | null;
|
|
1140
|
+
total_pageviews?: number | null;
|
|
1118
1141
|
}[];
|
|
1119
1142
|
totals: components["schemas"]["ContentTotals"];
|
|
1120
1143
|
};
|
|
@@ -1130,14 +1153,18 @@ export interface components {
|
|
|
1130
1153
|
/** @enum {string} */
|
|
1131
1154
|
include: "summary";
|
|
1132
1155
|
/**
|
|
1133
|
-
* @description Dense, strictly increasing
|
|
1134
|
-
* one point per requested day, including zero-valued
|
|
1135
|
-
*
|
|
1156
|
+
* @description Dense, strictly increasing daily series in the site's time zone. It
|
|
1157
|
+
* contains exactly one point per requested day, including zero-valued
|
|
1158
|
+
* empty days. The
|
|
1159
|
+
* exact daily pageviews add up to the exact period total, but each
|
|
1160
|
+
* point and `totals.pageviews` are published independently: a count
|
|
1161
|
+
* from 1 to 9 is published as `null` (« < 10 »; zero stays `0`), so
|
|
1162
|
+
* the returned points cannot be added up; use `totals.pageviews`.
|
|
1136
1163
|
*/
|
|
1137
1164
|
timeseries: {
|
|
1138
1165
|
/** Format: date */
|
|
1139
1166
|
date: string;
|
|
1140
|
-
pageviews: number;
|
|
1167
|
+
pageviews: number | null;
|
|
1141
1168
|
}[];
|
|
1142
1169
|
totals: components["schemas"]["ContentTotals"];
|
|
1143
1170
|
};
|
|
@@ -1145,35 +1172,16 @@ export interface components {
|
|
|
1145
1172
|
meta: components["schemas"]["MeteredMeta"];
|
|
1146
1173
|
};
|
|
1147
1174
|
ContentTotals: {
|
|
1148
|
-
avg_page_eng_time_ms: number;
|
|
1149
|
-
bounce_rate: number;
|
|
1150
|
-
entries: number;
|
|
1151
|
-
exit_rate: number;
|
|
1152
|
-
pageviews: number;
|
|
1153
|
-
unique_pageviews: number;
|
|
1154
|
-
};
|
|
1155
|
-
DerivedProductCapability: {
|
|
1156
|
-
/** @enum {string} */
|
|
1157
|
-
data_envelope: "strict" | "extended" | "mixed";
|
|
1158
|
-
/** @enum {string} */
|
|
1159
|
-
level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1160
|
-
/** @enum {string} */
|
|
1161
|
-
maturity: "implemented" | "partially_implemented" | "not_explicitly_split" | "not_applicable";
|
|
1162
|
-
notes: string[];
|
|
1163
|
-
};
|
|
1164
|
-
EffectiveProductCapabilities: {
|
|
1165
|
-
acquisition: components["schemas"]["DerivedProductCapability"];
|
|
1166
|
-
advanced_actions: components["schemas"]["DerivedProductCapability"];
|
|
1167
|
-
api: components["schemas"]["DerivedProductCapability"];
|
|
1168
|
-
collection: components["schemas"]["DerivedProductCapability"];
|
|
1169
|
-
dashboard_surfaces: string[];
|
|
1170
|
-
exports: components["schemas"]["DerivedProductCapability"];
|
|
1171
|
-
multi_tenant: components["schemas"]["DerivedProductCapability"];
|
|
1172
|
-
reports: components["schemas"]["DerivedProductCapability"];
|
|
1175
|
+
avg_page_eng_time_ms: number | null;
|
|
1176
|
+
bounce_rate: number | null;
|
|
1177
|
+
entries: number | null;
|
|
1178
|
+
exit_rate: number | null;
|
|
1179
|
+
pageviews: number | null;
|
|
1180
|
+
unique_pageviews: number | null;
|
|
1173
1181
|
};
|
|
1174
1182
|
ErrorBody: {
|
|
1175
1183
|
/** @enum {string} */
|
|
1176
|
-
code: "UNAUTHORIZED" | "FORBIDDEN" | "INVALID_METHOD" | "INVALID_PARAMS" | "RETENTION_EXCEEDED" | "RATE_LIMITED" | "HARD_CAP_REACHED" | "
|
|
1184
|
+
code: "UNAUTHORIZED" | "FORBIDDEN" | "INVALID_METHOD" | "INVALID_PARAMS" | "RETENTION_EXCEEDED" | "RATE_LIMITED" | "HARD_CAP_REACHED" | "REPORT_NOT_AVAILABLE_FOR_REQUESTED_PERIOD" | "REPORT_RESPONSE_TOO_LARGE" | "INTERNAL_ERROR" | "NOT_FOUND";
|
|
1177
1185
|
details?: {
|
|
1178
1186
|
[key: string]: unknown;
|
|
1179
1187
|
} | null;
|
|
@@ -1202,13 +1210,24 @@ export interface components {
|
|
|
1202
1210
|
GoalListResponse: {
|
|
1203
1211
|
items: components["schemas"]["Goal"][];
|
|
1204
1212
|
};
|
|
1213
|
+
/**
|
|
1214
|
+
* @description Goals whose selected population is below the reporting minimum or
|
|
1215
|
+
* whose converted-session cohort is below the per-cell minimum are
|
|
1216
|
+
* omitted. Consumers must not infer zero when a configured goal is absent.
|
|
1217
|
+
*/
|
|
1205
1218
|
GoalsConversionsCurrent: {
|
|
1206
1219
|
goals: {
|
|
1207
|
-
conversions: number;
|
|
1220
|
+
conversions: number | null;
|
|
1208
1221
|
goal_id: string;
|
|
1209
1222
|
last_seen_at: string | null;
|
|
1210
|
-
|
|
1211
|
-
|
|
1223
|
+
/**
|
|
1224
|
+
* @description Always `available` for returned goal rows. Suppressed goals
|
|
1225
|
+
* are omitted rather than returned with zero.
|
|
1226
|
+
* @enum {string}
|
|
1227
|
+
*/
|
|
1228
|
+
reporting_status?: "available" | "suppressed_small_group" | "insufficient_population";
|
|
1229
|
+
total_sessions: number | null;
|
|
1230
|
+
unique_sessions: number | null;
|
|
1212
1231
|
}[];
|
|
1213
1232
|
};
|
|
1214
1233
|
GoalsConversionsEnvelope: {
|
|
@@ -1216,6 +1235,7 @@ export interface components {
|
|
|
1216
1235
|
compare: components["schemas"]["GoalsConversionsCurrent"] | null;
|
|
1217
1236
|
current: components["schemas"]["GoalsConversionsCurrent"];
|
|
1218
1237
|
range: components["schemas"]["Range"];
|
|
1238
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1219
1239
|
};
|
|
1220
1240
|
GoalsConversionsResponse: components["schemas"]["GoalsConversionsEnvelope"] & {
|
|
1221
1241
|
meta: components["schemas"]["MeteredMeta"];
|
|
@@ -1224,22 +1244,11 @@ export interface components {
|
|
|
1224
1244
|
/** Format: uri */
|
|
1225
1245
|
docs_url: string;
|
|
1226
1246
|
org_id: string;
|
|
1227
|
-
/**
|
|
1228
|
-
* @deprecated
|
|
1229
|
-
* @description Deprecated compatibility mirror of `product.runtime_plan_id`. The canonical product object is `product`. This field is retained for compatibility and must not be used by new integrations. It remains returned as a deprecated mirror; no sunset date has been announced.
|
|
1230
|
-
* @enum {string}
|
|
1231
|
-
*/
|
|
1232
|
-
plan_id: "free" | "starter" | "pro";
|
|
1233
1247
|
product: components["schemas"]["WorkspaceProductConfiguration"];
|
|
1234
1248
|
quotas: components["schemas"]["Quotas"];
|
|
1235
1249
|
rate_limits: {
|
|
1236
1250
|
rps: number;
|
|
1237
1251
|
};
|
|
1238
|
-
/**
|
|
1239
|
-
* @deprecated
|
|
1240
|
-
* @description Deprecated compatibility mirror of `product.product_retention.api_retention_days`. This field is retained for compatibility and must not be used by new integrations. It remains returned as a deprecated mirror; no sunset date has been announced.
|
|
1241
|
-
*/
|
|
1242
|
-
retention_days: number;
|
|
1243
1252
|
};
|
|
1244
1253
|
MeteredMeta: {
|
|
1245
1254
|
billable_overage: boolean;
|
|
@@ -1250,50 +1259,55 @@ export interface components {
|
|
|
1250
1259
|
};
|
|
1251
1260
|
OverviewCurrent: {
|
|
1252
1261
|
acquisition: {
|
|
1262
|
+
/**
|
|
1263
|
+
* @description Visits with consent by channel (Campagnes option); empty
|
|
1264
|
+
* without the option.
|
|
1265
|
+
*/
|
|
1253
1266
|
by_channel: components["schemas"]["AcquisitionChannelItem"][];
|
|
1254
1267
|
top_landing_pages: {
|
|
1255
|
-
/** @enum {string} */
|
|
1256
|
-
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1257
1268
|
page_title?: string | null;
|
|
1258
1269
|
path_canon: string | null;
|
|
1259
|
-
sessions: number;
|
|
1270
|
+
sessions: number | null;
|
|
1260
1271
|
}[];
|
|
1272
|
+
/**
|
|
1273
|
+
* @description Named sources, all visits: the domains of one service under
|
|
1274
|
+
* its name, counted before the ten-visit threshold.
|
|
1275
|
+
*/
|
|
1276
|
+
top_referrer_sources: components["schemas"]["TopReferrerSource"][];
|
|
1261
1277
|
top_referrers: components["schemas"]["TopReferrer"][];
|
|
1262
1278
|
};
|
|
1263
1279
|
audience: {
|
|
1264
1280
|
browsers: {
|
|
1265
1281
|
browser_family: string;
|
|
1266
|
-
sessions: number;
|
|
1282
|
+
sessions: number | null;
|
|
1267
1283
|
}[];
|
|
1268
1284
|
/**
|
|
1269
|
-
* @description
|
|
1270
|
-
*
|
|
1285
|
+
* @description Cities of ten visits or more. The city is read alone: the list
|
|
1286
|
+
* is empty with a hostname, client space, filter or segment.
|
|
1271
1287
|
*/
|
|
1272
|
-
cities
|
|
1288
|
+
cities?: {
|
|
1273
1289
|
city: string;
|
|
1274
1290
|
country: string;
|
|
1275
|
-
sessions: number;
|
|
1291
|
+
sessions: number | null;
|
|
1276
1292
|
}[];
|
|
1277
1293
|
countries: {
|
|
1278
1294
|
country: string;
|
|
1279
|
-
sessions: number;
|
|
1295
|
+
sessions: number | null;
|
|
1280
1296
|
}[];
|
|
1281
1297
|
devices: {
|
|
1298
|
+
avg_pages_per_session?: number | null;
|
|
1299
|
+
avg_session_eng_time_ms?: number | null;
|
|
1282
1300
|
device_type: string;
|
|
1283
|
-
sessions: number;
|
|
1301
|
+
sessions: number | null;
|
|
1284
1302
|
}[];
|
|
1285
1303
|
os: {
|
|
1286
1304
|
os_family: string;
|
|
1287
|
-
sessions: number;
|
|
1305
|
+
sessions: number | null;
|
|
1288
1306
|
}[];
|
|
1289
|
-
/**
|
|
1290
|
-
* @description Mixed overview audience slice. When unavailable, inspect
|
|
1291
|
-
* `availability.sections` for `overview_regions`.
|
|
1292
|
-
*/
|
|
1293
1307
|
regions: {
|
|
1294
1308
|
country: string;
|
|
1295
1309
|
region: string;
|
|
1296
|
-
sessions: number;
|
|
1310
|
+
sessions: number | null;
|
|
1297
1311
|
}[];
|
|
1298
1312
|
};
|
|
1299
1313
|
content: {
|
|
@@ -1303,7 +1317,7 @@ export interface components {
|
|
|
1303
1317
|
};
|
|
1304
1318
|
top_pages: {
|
|
1305
1319
|
page_title?: string | null;
|
|
1306
|
-
pageviews: number;
|
|
1320
|
+
pageviews: number | null;
|
|
1307
1321
|
path_canon: string | null;
|
|
1308
1322
|
}[];
|
|
1309
1323
|
};
|
|
@@ -1312,25 +1326,25 @@ export interface components {
|
|
|
1312
1326
|
};
|
|
1313
1327
|
overview: {
|
|
1314
1328
|
timeseries: {
|
|
1315
|
-
avg_page_eng_time_ms: number;
|
|
1316
|
-
avg_session_eng_time_ms: number;
|
|
1317
|
-
bounce_rate: number;
|
|
1329
|
+
avg_page_eng_time_ms: number | null;
|
|
1330
|
+
avg_session_eng_time_ms: number | null;
|
|
1331
|
+
bounce_rate: number | null;
|
|
1318
1332
|
/** Format: date */
|
|
1319
1333
|
date: string;
|
|
1320
|
-
engagement_rate: number;
|
|
1321
|
-
pageviews: number;
|
|
1322
|
-
sessions: number;
|
|
1323
|
-
visitors: number;
|
|
1334
|
+
engagement_rate: number | null;
|
|
1335
|
+
pageviews: number | null;
|
|
1336
|
+
sessions: number | null;
|
|
1337
|
+
visitors: number | null;
|
|
1324
1338
|
}[];
|
|
1325
1339
|
totals: {
|
|
1326
|
-
avg_page_eng_time_ms: number;
|
|
1327
|
-
avg_pages_per_session: number;
|
|
1328
|
-
avg_session_eng_time_ms: number;
|
|
1329
|
-
bounce_rate: number;
|
|
1330
|
-
engagement_rate: number;
|
|
1331
|
-
pageviews: number;
|
|
1332
|
-
sessions: number;
|
|
1333
|
-
visitors: number;
|
|
1340
|
+
avg_page_eng_time_ms: number | null;
|
|
1341
|
+
avg_pages_per_session: number | null;
|
|
1342
|
+
avg_session_eng_time_ms: number | null;
|
|
1343
|
+
bounce_rate: number | null;
|
|
1344
|
+
engagement_rate: number | null;
|
|
1345
|
+
pageviews: number | null;
|
|
1346
|
+
sessions: number | null;
|
|
1347
|
+
visitors: number | null;
|
|
1334
1348
|
};
|
|
1335
1349
|
/** @enum {string} */
|
|
1336
1350
|
visitors_mode: "sessions" | "daily_uniques";
|
|
@@ -1357,18 +1371,10 @@ export interface components {
|
|
|
1357
1371
|
usage_history_months: number;
|
|
1358
1372
|
};
|
|
1359
1373
|
ProductDashboard: {
|
|
1360
|
-
/** @enum {string} */
|
|
1361
|
-
breakdowns_high_cardinality_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1362
|
-
/** @enum {string} */
|
|
1363
|
-
breakdowns_standard_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1364
|
-
/** @enum {string} */
|
|
1365
|
-
essential_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1366
1374
|
hourly_enabled: boolean;
|
|
1367
1375
|
/** @enum {string} */
|
|
1368
1376
|
hourly_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1369
1377
|
/** @enum {string} */
|
|
1370
|
-
standard_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1371
|
-
/** @enum {string} */
|
|
1372
1378
|
team_management_level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1373
1379
|
};
|
|
1374
1380
|
ProductExports: {
|
|
@@ -1406,60 +1412,46 @@ export interface components {
|
|
|
1406
1412
|
end: string;
|
|
1407
1413
|
/** Format: date-time */
|
|
1408
1414
|
start: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* @description IANA time zone of the site, present when it is not UTC (absent:
|
|
1417
|
+
* UTC). The requested dates, the daily `date` values and the hourly
|
|
1418
|
+
* buckets follow it; `start` and `end` are the matching instants in
|
|
1419
|
+
* UTC.
|
|
1420
|
+
*/
|
|
1421
|
+
timezone?: string;
|
|
1409
1422
|
};
|
|
1410
1423
|
/**
|
|
1411
|
-
* @description
|
|
1412
|
-
*
|
|
1413
|
-
*
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
*
|
|
1424
|
+
* @description Type of referring site, read from the referring domain alone through
|
|
1425
|
+
* a fixed table. It never separates paid from organic.
|
|
1426
|
+
* @enum {string}
|
|
1427
|
+
*/
|
|
1428
|
+
ReferrerType: "search" | "social" | "messaging" | "ai_assistant" | "other";
|
|
1429
|
+
/**
|
|
1430
|
+
* @description Availability of a report for the requested period and its comparison
|
|
1431
|
+
* period. `sections` lists the parts of the report that belong to the
|
|
1432
|
+
* Campagnes option; each one is reported with the reason
|
|
1433
|
+
* `campaigns_option_required` while the option is off.
|
|
1418
1434
|
*/
|
|
1419
1435
|
ReportAvailability: {
|
|
1420
|
-
classification: components["schemas"]["ReportAvailabilityClassification"];
|
|
1421
|
-
/** Format: date-time */
|
|
1422
|
-
collectionProfileEffectiveAt: string | null;
|
|
1423
1436
|
compare: components["schemas"]["ReportPeriodAvailability"] | null;
|
|
1424
|
-
/**
|
|
1425
|
-
* @description Route-level availability for the current range. On `mixed` routes,
|
|
1426
|
-
* `status=available` means the strict-safe base slice is readable;
|
|
1427
|
-
* inspect `sections` for enriched sub-slices that remain locked or
|
|
1428
|
-
* partial.
|
|
1429
|
-
*/
|
|
1430
1437
|
current: components["schemas"]["ReportPeriodAvailability"];
|
|
1431
|
-
/** @enum {string} */
|
|
1432
|
-
currentProfile: "strict" | "extended";
|
|
1433
|
-
readModel?: components["schemas"]["ReportAvailabilityReadModel"] | null;
|
|
1434
1438
|
route: components["schemas"]["ReportAvailabilityRouteId"];
|
|
1435
|
-
/**
|
|
1436
|
-
* @description Section-level availability for mixed routes. Each entry describes
|
|
1437
|
-
* an enriched sub-slice that may remain locked or partially
|
|
1438
|
-
* compatible while the enclosing route still returns HTTP `200`.
|
|
1439
|
-
*/
|
|
1440
1439
|
sections: components["schemas"]["ReportSectionAvailability"][];
|
|
1441
1440
|
};
|
|
1442
|
-
/** @enum {string} */
|
|
1443
|
-
ReportAvailabilityClassification: "strict_safe" | "extended_only" | "mixed";
|
|
1444
1441
|
/**
|
|
1445
|
-
* @description
|
|
1446
|
-
*
|
|
1447
|
-
*
|
|
1442
|
+
* @description - `campaigns_option_required`: the data belongs to the Campagnes
|
|
1443
|
+
* option, which is not enabled on the site.
|
|
1444
|
+
* - `outside_source_coverage`: the requested period is not covered by
|
|
1445
|
+
* collected data.
|
|
1446
|
+
* @enum {string|null}
|
|
1448
1447
|
*/
|
|
1449
|
-
|
|
1450
|
-
extended: components["schemas"]["ReportAvailabilityReadModelSliceId"][];
|
|
1451
|
-
strictSafe: components["schemas"]["ReportAvailabilityReadModelSliceId"][];
|
|
1452
|
-
};
|
|
1453
|
-
/** @description Opaque identifier for a data slice within an availability result. */
|
|
1454
|
-
ReportAvailabilityReadModelSliceId: string;
|
|
1455
|
-
/** @enum {string|null} */
|
|
1456
|
-
ReportAvailabilityReason: "strict_safe_route" | "extended_data_required" | "requested_period_has_no_extended_data" | "requested_period_crosses_profile_change" | "outside_source_coverage" | "section_not_collected_in_runtime" | null;
|
|
1448
|
+
ReportAvailabilityReason: "campaigns_option_required" | "outside_source_coverage" | null;
|
|
1457
1449
|
/** @description Opaque identifier for the route associated with this availability result. */
|
|
1458
1450
|
ReportAvailabilityRouteId: string;
|
|
1459
1451
|
/** @description Opaque identifier for a section within an availability result. */
|
|
1460
1452
|
ReportAvailabilitySectionId: string;
|
|
1461
1453
|
/** @enum {string} */
|
|
1462
|
-
ReportAvailabilityStatus: "available" | "
|
|
1454
|
+
ReportAvailabilityStatus: "available" | "partially_available_outside_source_coverage" | "not_available_for_requested_period";
|
|
1463
1455
|
ReportPeriodAvailability: {
|
|
1464
1456
|
/** Format: date-time */
|
|
1465
1457
|
compatibleEnd: string | null;
|
|
@@ -1473,12 +1465,11 @@ export interface components {
|
|
|
1473
1465
|
status: components["schemas"]["ReportAvailabilityStatus"];
|
|
1474
1466
|
};
|
|
1475
1467
|
/**
|
|
1476
|
-
* @description
|
|
1477
|
-
*
|
|
1478
|
-
*
|
|
1468
|
+
* @description Availability of a report section that belongs to the Campagnes option.
|
|
1469
|
+
* The report itself is returned with HTTP `200`; the section is empty
|
|
1470
|
+
* when the site does not have the option.
|
|
1479
1471
|
*/
|
|
1480
1472
|
ReportSectionAvailability: {
|
|
1481
|
-
classification: components["schemas"]["ReportAvailabilityClassification"];
|
|
1482
1473
|
compare: components["schemas"]["ReportPeriodAvailability"] | null;
|
|
1483
1474
|
current: components["schemas"]["ReportPeriodAvailability"];
|
|
1484
1475
|
id: components["schemas"]["ReportAvailabilitySectionId"];
|
|
@@ -1500,27 +1491,42 @@ export interface components {
|
|
|
1500
1491
|
};
|
|
1501
1492
|
SiteProductConfiguration: {
|
|
1502
1493
|
api: components["schemas"]["ProductApi"];
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
/**
|
|
1507
|
-
* Format: date-time
|
|
1508
|
-
* @description Timestamp from which the current site profile applies to future collection. This is prospective only and does not backfill older events.
|
|
1509
|
-
*/
|
|
1510
|
-
collection_profile_effective_at: string | null;
|
|
1511
|
-
dashboard: components["schemas"]["SiteProductDashboard"];
|
|
1494
|
+
/** @description Campagnes option of the site: marketing reports (channels, sources, mediums, campaigns) computed on visits whose visitor gave consent. Off by default; the owner or an admin of the workspace sets it, on every plan. */
|
|
1495
|
+
campaigns_enabled: boolean;
|
|
1496
|
+
dashboard: components["schemas"]["ProductDashboard"];
|
|
1512
1497
|
exports: components["schemas"]["ProductExports"];
|
|
1513
1498
|
product_retention: components["schemas"]["ProductRetention"];
|
|
1514
1499
|
/** @enum {string} */
|
|
1515
1500
|
runtime_plan_id: "free" | "starter" | "pro";
|
|
1516
|
-
technical_retention: components["schemas"]["TechnicalRetention"];
|
|
1517
|
-
};
|
|
1518
|
-
SiteProductDashboard: components["schemas"]["ProductDashboard"] & {
|
|
1519
|
-
enabled_surfaces: string[];
|
|
1520
1501
|
};
|
|
1521
1502
|
SitesResponse: {
|
|
1522
1503
|
items: components["schemas"]["SiteItem"][];
|
|
1523
1504
|
};
|
|
1505
|
+
/**
|
|
1506
|
+
* @description Small-site rule. A rate, a mean or a percentile needs ten contributors;
|
|
1507
|
+
* below, it is `null` in `current`. When the requested period has fewer,
|
|
1508
|
+
* these are the same totals over the shortest calendar period (ISO week,
|
|
1509
|
+
* month, quarter, year) that contains it and counts ten contributors.
|
|
1510
|
+
* Complement rule: when a filter sets apart 1 to 9 visits of the site in
|
|
1511
|
+
* the requested period, its rates, means, durations and percentiles are
|
|
1512
|
+
* `null` (rows included, and in `compare`), and these totals come from
|
|
1513
|
+
* the shortest such period where the filter sets apart none or at least
|
|
1514
|
+
* ten visits (`reason: filter_complement`). Counts are unchanged.
|
|
1515
|
+
* Absent or `null` when no such period exists.
|
|
1516
|
+
*/
|
|
1517
|
+
SmallSiteBasis: {
|
|
1518
|
+
period: {
|
|
1519
|
+
/** Format: date-time */
|
|
1520
|
+
end: string;
|
|
1521
|
+
/** Format: date-time */
|
|
1522
|
+
start: string;
|
|
1523
|
+
};
|
|
1524
|
+
/** @enum {string} */
|
|
1525
|
+
reason?: "small_site" | "filter_complement";
|
|
1526
|
+
totals: {
|
|
1527
|
+
[key: string]: number | null;
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1524
1530
|
/** @description Compare window metadata for report and metrics surfaces. */
|
|
1525
1531
|
SurfaceCompareWindow: {
|
|
1526
1532
|
/** Format: date-time */
|
|
@@ -1545,23 +1551,23 @@ export interface components {
|
|
|
1545
1551
|
SurfaceExportCapability: {
|
|
1546
1552
|
csv: boolean;
|
|
1547
1553
|
/** @enum {string} */
|
|
1548
|
-
dataEnvelope: "strict" | "extended" | "mixed";
|
|
1549
|
-
/** @enum {string} */
|
|
1550
1554
|
level: "none" | "limited" | "standard" | "guardrailed" | "advanced" | "custom";
|
|
1551
1555
|
notes?: string[];
|
|
1552
1556
|
};
|
|
1553
|
-
/** @description Additive
|
|
1557
|
+
/** @description Additive metadata for reports and metrics. */
|
|
1554
1558
|
SurfaceMeta: {
|
|
1555
1559
|
compareWindow: components["schemas"]["SurfaceCompareWindow"];
|
|
1556
|
-
/** @enum {string} */
|
|
1557
|
-
dataEnvelope: "strict" | "extended" | "mixed";
|
|
1558
1560
|
dataFreshness: components["schemas"]["SurfaceDataFreshness"];
|
|
1559
1561
|
exportCapability: components["schemas"]["SurfaceExportCapability"];
|
|
1560
|
-
/** @
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1562
|
+
/** @description Analytics counts are exact from 10 and 0 is a measured empty count. A count of 1..9 is `null` in totals, list rows and time series points alike: render it as less than 10, never as a number. A field absent from a response was not measured. Totals are computed on exact values, then published by the same rule; never add up displayed values. A share is `null` for a row under 10 visits. A change (`delta`, `delta_pct`) is published only when both counts are, and `delta_pct` is a ratio (0.56 is +56%). Rates are published to the percent; 0.005 and 0.995 represent the open tails below 1% and above 99%. Rates, means, durations and percentiles are null under 10 contributors. Last conversion dates have day precision. Usage metering, billing, limits and diagnostics remain exact. This policy reduces detail; it is not a guarantee of anonymity. */
|
|
1563
|
+
reportingPrecision?: {
|
|
1564
|
+
/** @enum {integer} */
|
|
1565
|
+
minimumCount: 10;
|
|
1566
|
+
/** @enum {number} */
|
|
1567
|
+
rateStep: 0.01;
|
|
1568
|
+
/** @enum {string} */
|
|
1569
|
+
version: "exact-masked-counts-v1";
|
|
1570
|
+
};
|
|
1565
1571
|
};
|
|
1566
1572
|
TenantItem: {
|
|
1567
1573
|
/** @enum {string} */
|
|
@@ -1578,22 +1584,27 @@ export interface components {
|
|
|
1578
1584
|
};
|
|
1579
1585
|
TimeseriesPoint: {
|
|
1580
1586
|
ts: string;
|
|
1581
|
-
value: number;
|
|
1587
|
+
value: number | null;
|
|
1582
1588
|
};
|
|
1583
1589
|
TimeseriesResponse: {
|
|
1584
1590
|
availability: components["schemas"]["ReportAvailability"];
|
|
1585
1591
|
meta: components["schemas"]["MeteredMeta"];
|
|
1592
|
+
period_total: number | null;
|
|
1586
1593
|
points: components["schemas"]["TimeseriesPoint"][];
|
|
1587
1594
|
};
|
|
1588
1595
|
TopReferrer: {
|
|
1589
|
-
/** @enum {string} */
|
|
1590
|
-
channel?: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1591
1596
|
domain: string;
|
|
1592
1597
|
favicon_url?: string | null;
|
|
1593
|
-
sessions: number;
|
|
1598
|
+
sessions: number | null;
|
|
1599
|
+
};
|
|
1600
|
+
TopReferrerSource: {
|
|
1601
|
+
favicon_url?: string | null;
|
|
1602
|
+
sessions: number | null;
|
|
1603
|
+
source: string;
|
|
1604
|
+
type: components["schemas"]["ReferrerType"];
|
|
1594
1605
|
};
|
|
1595
1606
|
TopSource: {
|
|
1596
|
-
sessions: number;
|
|
1607
|
+
sessions: number | null;
|
|
1597
1608
|
source: string;
|
|
1598
1609
|
};
|
|
1599
1610
|
UsageCurrentResponse: {
|
|
@@ -1622,58 +1633,78 @@ export interface components {
|
|
|
1622
1633
|
used_units: number;
|
|
1623
1634
|
};
|
|
1624
1635
|
UserApiAcquisitionCurrent: {
|
|
1636
|
+
/**
|
|
1637
|
+
* @description Visits with consent by channel (Campagnes option, section
|
|
1638
|
+
* `acquisition_attribution`); empty without the option.
|
|
1639
|
+
*/
|
|
1625
1640
|
by_channel: components["schemas"]["AcquisitionChannelItem"][];
|
|
1626
1641
|
by_day: {
|
|
1627
|
-
/** @enum {string} */
|
|
1628
|
-
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1629
1642
|
/** Format: date */
|
|
1630
1643
|
date: string;
|
|
1631
|
-
sessions: number;
|
|
1644
|
+
sessions: number | null;
|
|
1632
1645
|
}[];
|
|
1646
|
+
/** @description Campagnes option of the site. When `false`, the Campagnes sections are empty. */
|
|
1647
|
+
campaigns_enabled: boolean;
|
|
1648
|
+
/** @description Visits with Campagnes consent in the period, published like the other counts. `0` when the option is off. */
|
|
1649
|
+
consented_sessions: number | null;
|
|
1633
1650
|
/**
|
|
1634
|
-
* @description
|
|
1635
|
-
*
|
|
1651
|
+
* @description Visits with consent by campaign (Campagnes option, section
|
|
1652
|
+
* `acquisition_attribution`); empty without the option.
|
|
1636
1653
|
*/
|
|
1637
1654
|
top_campaigns: {
|
|
1638
1655
|
campaign: string;
|
|
1639
|
-
sessions: number;
|
|
1656
|
+
sessions: number | null;
|
|
1640
1657
|
}[];
|
|
1641
|
-
/** @description
|
|
1658
|
+
/** @description Landing pages of the visits. */
|
|
1642
1659
|
top_landing_pages: {
|
|
1643
|
-
/** @enum {string} */
|
|
1644
|
-
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1645
1660
|
page_title?: string | null;
|
|
1646
1661
|
path_canon: string | null;
|
|
1647
|
-
sessions: number;
|
|
1662
|
+
sessions: number | null;
|
|
1648
1663
|
}[];
|
|
1649
1664
|
/**
|
|
1650
|
-
* @description
|
|
1651
|
-
*
|
|
1665
|
+
* @description Visits with consent by medium (Campagnes option, section
|
|
1666
|
+
* `acquisition_attribution`); empty without the option.
|
|
1652
1667
|
*/
|
|
1653
1668
|
top_mediums: {
|
|
1654
1669
|
medium: string;
|
|
1655
|
-
sessions: number;
|
|
1670
|
+
sessions: number | null;
|
|
1656
1671
|
}[];
|
|
1657
|
-
/** @description
|
|
1672
|
+
/** @description Referring domains of the visits. */
|
|
1658
1673
|
top_referrers: components["schemas"]["TopReferrer"][];
|
|
1659
1674
|
/**
|
|
1660
|
-
* @description
|
|
1661
|
-
*
|
|
1675
|
+
* @description Visits with consent by source (Campagnes option, section
|
|
1676
|
+
* `acquisition_attribution`); empty without the option.
|
|
1662
1677
|
*/
|
|
1663
1678
|
top_sources: components["schemas"]["TopSource"][];
|
|
1664
1679
|
totals: {
|
|
1665
|
-
avg_session_eng_time_ms: number;
|
|
1666
|
-
engagement_rate: number;
|
|
1667
|
-
pageviews: number;
|
|
1668
|
-
sessions: number;
|
|
1680
|
+
avg_session_eng_time_ms: number | null;
|
|
1681
|
+
engagement_rate: number | null;
|
|
1682
|
+
pageviews: number | null;
|
|
1683
|
+
sessions: number | null;
|
|
1669
1684
|
};
|
|
1670
1685
|
};
|
|
1671
1686
|
UserApiAcquisitionDetailsCurrent: {
|
|
1687
|
+
/** @description Campagnes option of the site. When `false`, the Campagnes sections are empty. */
|
|
1688
|
+
campaigns_enabled: boolean;
|
|
1689
|
+
/** @description Visits with Campagnes consent in the period, published like the other counts. `0` when the option is off. */
|
|
1690
|
+
consented_sessions: number | null;
|
|
1672
1691
|
dimensions: {
|
|
1692
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
1673
1693
|
campaigns: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1694
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
1695
|
+
contents: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1696
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
1674
1697
|
mediums: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1698
|
+
/** @description Named sources, all visits: the domains of one service under its name, counted before the ten-visit threshold. */
|
|
1699
|
+
referrer_sources: components["schemas"]["AcquisitionReferrerSourceItem"][];
|
|
1700
|
+
/** @description Types of referring site, all visits: search engine, social network, messaging, AI assistant, other site. */
|
|
1701
|
+
referrer_types: components["schemas"]["AcquisitionReferrerTypeItem"][];
|
|
1702
|
+
/** @description Referring domains, all visits. */
|
|
1675
1703
|
referrers: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1704
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
1676
1705
|
sources: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1706
|
+
/** @description Computed on visits with consent (Campagnes option); empty without the option. */
|
|
1707
|
+
terms: components["schemas"]["AcquisitionDimensionItem"][];
|
|
1677
1708
|
};
|
|
1678
1709
|
goals_configured: boolean;
|
|
1679
1710
|
impact?: components["schemas"]["AcquisitionImpact"] | null;
|
|
@@ -1684,6 +1715,7 @@ export interface components {
|
|
|
1684
1715
|
compare: components["schemas"]["UserApiAcquisitionCurrent"] | null;
|
|
1685
1716
|
current: components["schemas"]["UserApiAcquisitionCurrent"];
|
|
1686
1717
|
range: components["schemas"]["Range"];
|
|
1718
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1687
1719
|
};
|
|
1688
1720
|
UserApiAcquisitionReportMeta: {
|
|
1689
1721
|
availability: components["schemas"]["ReportAvailability"];
|
|
@@ -1691,15 +1723,32 @@ export interface components {
|
|
|
1691
1723
|
range: components["schemas"]["Range"];
|
|
1692
1724
|
};
|
|
1693
1725
|
UserApiAcquisitionSummaryCurrent: {
|
|
1726
|
+
/** @description Campagnes option of the site. When `false`, the Campagnes sections are empty. */
|
|
1727
|
+
campaigns_enabled: boolean;
|
|
1728
|
+
/**
|
|
1729
|
+
* @description Visits with consent by channel and day (Campagnes option); empty
|
|
1730
|
+
* without the option.
|
|
1731
|
+
*/
|
|
1732
|
+
channel_timeseries: {
|
|
1733
|
+
/** @enum {string} */
|
|
1734
|
+
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1735
|
+
/** Format: date */
|
|
1736
|
+
date: string;
|
|
1737
|
+
sessions: number | null;
|
|
1738
|
+
}[];
|
|
1739
|
+
/**
|
|
1740
|
+
* @description Visits with consent by channel (Campagnes option, section
|
|
1741
|
+
* `acquisition_attribution`); empty without the option.
|
|
1742
|
+
*/
|
|
1694
1743
|
channels: components["schemas"]["AcquisitionSummaryChannelItem"][];
|
|
1744
|
+
/** @description Visits with Campagnes consent in the period, published like the other counts. `0` when the option is off. */
|
|
1745
|
+
consented_sessions: number | null;
|
|
1695
1746
|
coverage: components["schemas"]["AcquisitionCoverage"];
|
|
1696
1747
|
goals_configured: boolean;
|
|
1697
1748
|
mix_timeseries: {
|
|
1698
|
-
/** @enum {string} */
|
|
1699
|
-
channel: "Direct" | "Search" | "Referral" | "Social" | "Email" | "Paid" | "Other";
|
|
1700
1749
|
/** Format: date */
|
|
1701
1750
|
date: string;
|
|
1702
|
-
sessions: number;
|
|
1751
|
+
sessions: number | null;
|
|
1703
1752
|
}[];
|
|
1704
1753
|
totals: components["schemas"]["AcquisitionSummaryTotals"];
|
|
1705
1754
|
};
|
|
@@ -1708,18 +1757,21 @@ export interface components {
|
|
|
1708
1757
|
compare: components["schemas"]["ActionsCurrent"] | null;
|
|
1709
1758
|
current: components["schemas"]["ActionsCurrent"];
|
|
1710
1759
|
range: components["schemas"]["Range"];
|
|
1760
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1711
1761
|
};
|
|
1712
1762
|
UserApiContentFullEnvelope: {
|
|
1713
1763
|
availability: components["schemas"]["ReportAvailability"];
|
|
1714
1764
|
compare: components["schemas"]["ContentFullCurrent"] | null;
|
|
1715
1765
|
current: components["schemas"]["ContentFullCurrent"];
|
|
1716
1766
|
range: components["schemas"]["Range"];
|
|
1767
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1717
1768
|
};
|
|
1718
1769
|
UserApiContentSummaryEnvelope: {
|
|
1719
1770
|
availability: components["schemas"]["ReportAvailability"];
|
|
1720
1771
|
compare: components["schemas"]["ContentSummaryCurrent"] | null;
|
|
1721
1772
|
current: components["schemas"]["ContentSummaryCurrent"];
|
|
1722
1773
|
range: components["schemas"]["Range"];
|
|
1774
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1723
1775
|
};
|
|
1724
1776
|
UserApiGoalFilters: {
|
|
1725
1777
|
action_id?: string;
|
|
@@ -1728,25 +1780,23 @@ export interface components {
|
|
|
1728
1780
|
form_id?: string;
|
|
1729
1781
|
};
|
|
1730
1782
|
UserApiMoverItem: {
|
|
1731
|
-
current_pageviews: number;
|
|
1732
|
-
delta: number;
|
|
1733
|
-
delta_pct: number;
|
|
1783
|
+
current_pageviews: number | null;
|
|
1784
|
+
delta: number | null;
|
|
1785
|
+
delta_pct: number | null;
|
|
1734
1786
|
page_title?: string | null;
|
|
1735
1787
|
path_canon: string | null;
|
|
1736
|
-
previous_pageviews: number;
|
|
1788
|
+
previous_pageviews: number | null;
|
|
1737
1789
|
};
|
|
1738
1790
|
UserApiOverviewEnvelope: {
|
|
1739
1791
|
availability: components["schemas"]["ReportAvailability"];
|
|
1740
1792
|
compare: components["schemas"]["OverviewCurrent"] | null;
|
|
1741
1793
|
current: components["schemas"]["OverviewCurrent"];
|
|
1742
1794
|
range: components["schemas"]["Range"];
|
|
1795
|
+
small_site?: components["schemas"]["SmallSiteBasis"] | null;
|
|
1743
1796
|
};
|
|
1744
1797
|
WorkspaceProductConfiguration: {
|
|
1745
1798
|
api: components["schemas"]["ProductApi"];
|
|
1746
|
-
capabilities: components["schemas"]["EffectiveProductCapabilities"];
|
|
1747
1799
|
dashboard: components["schemas"]["ProductDashboard"];
|
|
1748
|
-
/** @enum {string} */
|
|
1749
|
-
default_collection_profile: "strict" | "extended";
|
|
1750
1800
|
exports: components["schemas"]["ProductExports"];
|
|
1751
1801
|
product_retention: components["schemas"]["ProductRetention"];
|
|
1752
1802
|
quotas: components["schemas"]["ProductQuotas"];
|
|
@@ -1791,7 +1841,7 @@ export interface components {
|
|
|
1791
1841
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
1792
1842
|
};
|
|
1793
1843
|
};
|
|
1794
|
-
/** @description Request parameters are invalid. */
|
|
1844
|
+
/** @description Request parameters are invalid, or the result is below the minimum reporting cohort (`REPORTING_THRESHOLD`, no `details`). */
|
|
1795
1845
|
InvalidParams: {
|
|
1796
1846
|
headers: {
|
|
1797
1847
|
"X-Request-Id": components["headers"]["XRequestId"];
|
|
@@ -1815,9 +1865,8 @@ export interface components {
|
|
|
1815
1865
|
};
|
|
1816
1866
|
};
|
|
1817
1867
|
/**
|
|
1818
|
-
* @description The requested
|
|
1819
|
-
* `
|
|
1820
|
-
* required Extended data envelope.
|
|
1868
|
+
* @description The requested period is not covered by collected data
|
|
1869
|
+
* (`REPORT_NOT_AVAILABLE_FOR_REQUESTED_PERIOD`).
|
|
1821
1870
|
*/
|
|
1822
1871
|
ReportAvailabilityConflict: {
|
|
1823
1872
|
headers: {
|
|
@@ -1854,29 +1903,30 @@ export interface components {
|
|
|
1854
1903
|
/**
|
|
1855
1904
|
* @description Grouping dimension for breakdown endpoint.
|
|
1856
1905
|
* When `dimension=tenant`, rows are grouped by stable `tenant_id`. The
|
|
1906
|
+
* statistics of a tenant are those of the page's client space. The
|
|
1857
1907
|
* response also includes `tenant_slug` and `tenant_name` as display labels.
|
|
1858
1908
|
*/
|
|
1859
|
-
BreakdownDimension: "device" | "referrer" | "page" | "browser" | "os" | "tenant";
|
|
1909
|
+
BreakdownDimension: "device" | "referrer" | "page" | "browser" | "os" | "country" | "tenant";
|
|
1860
1910
|
/** @description Number of rows returned by breakdown endpoint. */
|
|
1861
1911
|
BreakdownLimit: number;
|
|
1862
1912
|
/** @description Compare current range against the previous equivalent period. */
|
|
1863
1913
|
CompareParam: "prev_period";
|
|
1864
1914
|
/**
|
|
1865
|
-
* @description Content response depth. `summary` returns totals and one global
|
|
1866
|
-
* pageview point per day; `limit` has no effect. `full` returns the
|
|
1867
|
-
* detailed Content report.
|
|
1915
|
+
* @description Content response depth. `summary` returns totals and one global
|
|
1916
|
+
* pageview point per day of the site's time zone; `limit` has no effect. `full` returns the
|
|
1917
|
+
* detailed Content report.
|
|
1868
1918
|
* When omitted, ranges up to 90 days use `full`; ranges from 91 through
|
|
1869
1919
|
* 365 days use `summary`.
|
|
1870
1920
|
*/
|
|
1871
|
-
ContentInclude: "summary" | "full"
|
|
1921
|
+
ContentInclude: "summary" | "full";
|
|
1872
1922
|
/**
|
|
1873
1923
|
* @description JSON object serialized as string, example:
|
|
1874
1924
|
* `{"device":"mobile","referrer":"google.com"}`.
|
|
1875
1925
|
*/
|
|
1876
1926
|
Filters: string;
|
|
1877
|
-
/** @description Inclusive
|
|
1927
|
+
/** @description Inclusive start date (YYYY-MM-DD), a day of the site's time zone (a UTC date for usage history). Pass explicit from and to dates to bound the requested period. */
|
|
1878
1928
|
FromDate: string;
|
|
1879
|
-
/** @description Granularity (`
|
|
1929
|
+
/** @description Granularity (`day` or `hour`, on every plan with API access). */
|
|
1880
1930
|
Interval: "day" | "hour";
|
|
1881
1931
|
/**
|
|
1882
1932
|
* @description Metric to aggregate (default `pageviews`). `sessions` uses the same
|
|
@@ -1898,7 +1948,7 @@ export interface components {
|
|
|
1898
1948
|
* `tenant_id` identifies one tenant.
|
|
1899
1949
|
*/
|
|
1900
1950
|
TenantId: string;
|
|
1901
|
-
/** @description Inclusive
|
|
1951
|
+
/** @description Inclusive end date (`YYYY-MM-DD`), a day of the site's time zone (a UTC date for usage history). Defaults to today. */
|
|
1902
1952
|
ToDate: string;
|
|
1903
1953
|
/** @description Traffic segment to include. */
|
|
1904
1954
|
TrafficParam: "humans" | "humans_including_ai" | "bots_only" | "ai_bots_only" | "all";
|