@zinn-digital/sdk 0.1.1697 → 0.1.1701
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/dist/generated/schema.d.ts +104 -8
- package/package.json +1 -1
|
@@ -21056,6 +21056,28 @@ export interface paths {
|
|
|
21056
21056
|
patch?: never;
|
|
21057
21057
|
trace?: never;
|
|
21058
21058
|
};
|
|
21059
|
+
"/v1/ads/connections/{connection_id}/tracking/retry": {
|
|
21060
|
+
parameters: {
|
|
21061
|
+
query?: never;
|
|
21062
|
+
header?: never;
|
|
21063
|
+
path: {
|
|
21064
|
+
connection_id: string;
|
|
21065
|
+
};
|
|
21066
|
+
cookie?: never;
|
|
21067
|
+
};
|
|
21068
|
+
get?: never;
|
|
21069
|
+
put?: never;
|
|
21070
|
+
/**
|
|
21071
|
+
* Send the uploads Google never gave a verdict on again (a person's retry).
|
|
21072
|
+
* @description Gated on `ads.manage`; audit action `ads.tracking_retry`. Google accepted these uploads and no verdict was read within 3 days, so nothing more is sent automatically (`AdsTracking.given_up`). Each goes back to pending ONCE and the tracking check starts, which sends them the normal way (good standing is checked at the send; a refusal waits the normal back-off). Idempotent: a second call finds none given up and re-queues nothing (`requeued: 0`, `started: false`). A refunded upload, or one past the network's upload window, is never sent again; a refund of a re-queued one is still a retraction (Google may have recorded the original).
|
|
21073
|
+
*/
|
|
21074
|
+
post: operations["retryAdsTrackingGivenUp"];
|
|
21075
|
+
delete?: never;
|
|
21076
|
+
options?: never;
|
|
21077
|
+
head?: never;
|
|
21078
|
+
patch?: never;
|
|
21079
|
+
trace?: never;
|
|
21080
|
+
};
|
|
21059
21081
|
"/v1/ads/connections/{connection_id}/universal-negatives": {
|
|
21060
21082
|
parameters: {
|
|
21061
21083
|
query?: never;
|
|
@@ -62423,6 +62445,7 @@ export interface components {
|
|
|
62423
62445
|
ad_group?: string;
|
|
62424
62446
|
campaign?: string;
|
|
62425
62447
|
clicks: number;
|
|
62448
|
+
/** @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not (Microsoft `AllConversions`, Google `metrics.all_conversions`; a day stored before that column read its biddable figure). */
|
|
62426
62449
|
conversions_milli: number;
|
|
62427
62450
|
cost_micros: number;
|
|
62428
62451
|
impressions: number;
|
|
@@ -65837,7 +65860,10 @@ export interface components {
|
|
|
65837
65860
|
added: string;
|
|
65838
65861
|
campaign: string;
|
|
65839
65862
|
clicks: number;
|
|
65840
|
-
/**
|
|
65863
|
+
/**
|
|
65864
|
+
* Format: int64
|
|
65865
|
+
* @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not.
|
|
65866
|
+
*/
|
|
65841
65867
|
conversions_milli: number;
|
|
65842
65868
|
/** Format: int64 */
|
|
65843
65869
|
cost_micros: number;
|
|
@@ -66178,7 +66204,7 @@ export interface components {
|
|
|
66178
66204
|
};
|
|
66179
66205
|
AdsAiMaxFigures: {
|
|
66180
66206
|
clicks: number;
|
|
66181
|
-
/** @description
|
|
66207
|
+
/** @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not. */
|
|
66182
66208
|
conversions_milli: number;
|
|
66183
66209
|
/** @description Account currency, micros (Google's unit). */
|
|
66184
66210
|
cost_micros: number;
|
|
@@ -66255,7 +66281,10 @@ export interface components {
|
|
|
66255
66281
|
clicks: number;
|
|
66256
66282
|
/** Format: int64 */
|
|
66257
66283
|
conv_rate_bp: number | null;
|
|
66258
|
-
/**
|
|
66284
|
+
/**
|
|
66285
|
+
* Format: int64
|
|
66286
|
+
* @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not (Microsoft `AllConversions`, Google `metrics.all_conversions`; a day stored before that column read its biddable figure).
|
|
66287
|
+
*/
|
|
66259
66288
|
conversions_milli: number;
|
|
66260
66289
|
/** Format: int64 */
|
|
66261
66290
|
cost_micros: number;
|
|
@@ -66635,6 +66664,7 @@ export interface components {
|
|
|
66635
66664
|
AdsAnalyticsSeries: {
|
|
66636
66665
|
buckets?: string[];
|
|
66637
66666
|
clicks: number[];
|
|
66667
|
+
/** @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not (Microsoft `AllConversions`, Google `metrics.all_conversions`; a day stored before that column read its biddable figure). One per bucket. */
|
|
66638
66668
|
conversions_milli: number[];
|
|
66639
66669
|
cost_micros: number[];
|
|
66640
66670
|
impressions: number[];
|
|
@@ -66693,7 +66723,7 @@ export interface components {
|
|
|
66693
66723
|
min_conversions: number;
|
|
66694
66724
|
/**
|
|
66695
66725
|
* Format: int64
|
|
66696
|
-
* @description
|
|
66726
|
+
* @description BIDDABLE: the tracked accounts' conversions on the goals that count for bidding (every primary action). A sale on any other goal is still RECORDED by the network and is not in this figure; the dashboard labels it 'what the networks' bidding can see'.
|
|
66697
66727
|
*/
|
|
66698
66728
|
network_conversions_milli: number;
|
|
66699
66729
|
/** Format: int64 */
|
|
@@ -66727,7 +66757,10 @@ export interface components {
|
|
|
66727
66757
|
/** Format: int64 */
|
|
66728
66758
|
measured_conversions: number;
|
|
66729
66759
|
network: string;
|
|
66730
|
-
/**
|
|
66760
|
+
/**
|
|
66761
|
+
* Format: int64
|
|
66762
|
+
* @description BIDDABLE: this account's conversions on the goals that count for bidding; a sale on any other goal is recorded by the network but not counted here.
|
|
66763
|
+
*/
|
|
66731
66764
|
network_conversions_milli: number;
|
|
66732
66765
|
};
|
|
66733
66766
|
AdsAnalyticsTruthCheck: {
|
|
@@ -68905,7 +68938,10 @@ export interface components {
|
|
|
68905
68938
|
AdsImportedHistory: {
|
|
68906
68939
|
/** Format: int64 */
|
|
68907
68940
|
clicks: number;
|
|
68908
|
-
/**
|
|
68941
|
+
/**
|
|
68942
|
+
* Format: int64
|
|
68943
|
+
* @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not.
|
|
68944
|
+
*/
|
|
68909
68945
|
conversions_milli: number;
|
|
68910
68946
|
/** Format: int64 */
|
|
68911
68947
|
cost_micros: number;
|
|
@@ -70672,7 +70708,10 @@ export interface components {
|
|
|
70672
70708
|
AdsReportFigures: {
|
|
70673
70709
|
/** Format: int64 */
|
|
70674
70710
|
clicks: number;
|
|
70675
|
-
/**
|
|
70711
|
+
/**
|
|
70712
|
+
* Format: int64
|
|
70713
|
+
* @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not (Microsoft `AllConversions`, Google `metrics.all_conversions`; a day stored before that column read its biddable figure).
|
|
70714
|
+
*/
|
|
70676
70715
|
conversions_milli: number;
|
|
70677
70716
|
/** Format: int64 */
|
|
70678
70717
|
cost_micros: number;
|
|
@@ -70702,6 +70741,7 @@ export interface components {
|
|
|
70702
70741
|
client_org_id: string;
|
|
70703
70742
|
/** Format: uuid */
|
|
70704
70743
|
connection_id: string;
|
|
70744
|
+
/** @description BIDDABLE conversions x 1000 only (the goals the network bids on). Kept under its old name so a saved Looker Studio report never changes meaning; see recorded_conversions_milli. */
|
|
70705
70745
|
conversions_milli: number;
|
|
70706
70746
|
cost_micros: number;
|
|
70707
70747
|
currency: string;
|
|
@@ -70709,6 +70749,8 @@ export interface components {
|
|
|
70709
70749
|
day: string;
|
|
70710
70750
|
impressions: number;
|
|
70711
70751
|
platform: string;
|
|
70752
|
+
/** @description RECORDED conversions x 1000 (MSALLCONV-FU2): every conversion the network recorded, biddable goal or not (Microsoft `AllConversions`, Google `metrics.all_conversions`; a day stored before that column read its biddable figure). */
|
|
70753
|
+
recorded_conversions_milli: number;
|
|
70712
70754
|
value_micros: number;
|
|
70713
70755
|
}[];
|
|
70714
70756
|
/** Format: date */
|
|
@@ -70980,7 +71022,7 @@ export interface components {
|
|
|
70980
71022
|
/** @enum {string} */
|
|
70981
71023
|
trigger: "schedule" | "manual";
|
|
70982
71024
|
};
|
|
70983
|
-
/** @description A customer rule (za-196, docs/1006 §46): IF `metric` over the last `window_days` days `comparator` `threshold` THEN `action`. Closed sets only. Units of `threshold` by metric: `cost`, `cost_without_conversions`, `cpa` — integer minor units of the account currency; `clicks`, `impressions`, `conversions` — whole counts; `ctr`, `conversion_rate` — basis points (1% = 100); `roas` — percent (conversion value / cost x 100). A rate with nothing under it (no impressions, clicks, conversions or cost) has no reading and never matches. */
|
|
71025
|
+
/** @description A customer rule (za-196, docs/1006 §46): IF `metric` over the last `window_days` days `comparator` `threshold` THEN `action`. Closed sets only. Units of `threshold` by metric: `cost`, `cost_without_conversions`, `cpa` — integer minor units of the account currency; `clicks`, `impressions`, `conversions` — whole counts; `ctr`, `conversion_rate` — basis points (1% = 100); `roas` — percent (conversion value / cost x 100). A rate with nothing under it (no impressions, clicks, conversions or cost) has no reading and never matches. `conversions`, `cpa`, `conversion_rate` and `cost_without_conversions` read the RECORDED conversions (every conversion the network recorded, including those not used for bidding; Microsoft All conversions), never the narrower biddable figure; a day the network did not report has no reading and is never read as zero. */
|
|
70984
71026
|
AdsRuleSpec: {
|
|
70985
71027
|
/** @enum {string} */
|
|
70986
71028
|
action?: "notify" | "pause_campaign" | "budget_down" | "budget_up";
|
|
@@ -71871,6 +71913,8 @@ export interface components {
|
|
|
71871
71913
|
/** @description Integer minor units of `currency`. */
|
|
71872
71914
|
price_minor: number;
|
|
71873
71915
|
} | null;
|
|
71916
|
+
/** @description Uploads Google accepted and never gave a verdict on within 3 days (not refunded, still inside the network's upload window). Nothing more is sent automatically; `POST .../tracking/retry` sends exactly these again. */
|
|
71917
|
+
given_up: number;
|
|
71874
71918
|
history: components["schemas"]["AdsTrackingCheck"][];
|
|
71875
71919
|
/** @description Why the autopilot is not judging this account today (za-116), or null. */
|
|
71876
71920
|
hold: {
|
|
@@ -71941,7 +71985,23 @@ export interface components {
|
|
|
71941
71985
|
holds_autopilot: boolean;
|
|
71942
71986
|
real: number;
|
|
71943
71987
|
recovered: number;
|
|
71988
|
+
/** @description The recovery run's counts. `confirm` is Google's verdict (Data Manager request status, TENANT-DM-STATUS) on requests it accepted earlier: `refused` rows Google refused after accepting the request (never an undecided or refunded row), `again` the ones of those sent again later (a refused request goes again whole, then split once in two, each try waiting longer), `partial` requests Google recorded only in part, `undecided` rows Google gave no verdict on within 3 days (sent again), `refunded` rows refunded while awaiting and never recorded, `unreadable` requests whose status could not be read this run (asked again after a back-off). */
|
|
71944
71989
|
recovery: {
|
|
71990
|
+
confirm?: {
|
|
71991
|
+
again?: number;
|
|
71992
|
+
checked?: number;
|
|
71993
|
+
confirmed?: number;
|
|
71994
|
+
held?: number;
|
|
71995
|
+
partial?: number;
|
|
71996
|
+
refunded?: number;
|
|
71997
|
+
refused?: number;
|
|
71998
|
+
undecided?: number;
|
|
71999
|
+
unreadable?: number;
|
|
72000
|
+
waiting?: number;
|
|
72001
|
+
} & {
|
|
72002
|
+
[key: string]: unknown;
|
|
72003
|
+
};
|
|
72004
|
+
} & {
|
|
71945
72005
|
[key: string]: unknown;
|
|
71946
72006
|
};
|
|
71947
72007
|
/** @enum {string} */
|
|
@@ -153380,6 +153440,42 @@ export interface operations {
|
|
|
153380
153440
|
};
|
|
153381
153441
|
};
|
|
153382
153442
|
};
|
|
153443
|
+
retryAdsTrackingGivenUp: {
|
|
153444
|
+
parameters: {
|
|
153445
|
+
query?: never;
|
|
153446
|
+
header?: never;
|
|
153447
|
+
path: {
|
|
153448
|
+
connection_id: string;
|
|
153449
|
+
};
|
|
153450
|
+
cookie?: never;
|
|
153451
|
+
};
|
|
153452
|
+
requestBody?: never;
|
|
153453
|
+
responses: {
|
|
153454
|
+
/** @description The given-up uploads were re-queued (or none were left). */
|
|
153455
|
+
200: {
|
|
153456
|
+
headers: {
|
|
153457
|
+
[name: string]: unknown;
|
|
153458
|
+
};
|
|
153459
|
+
content: {
|
|
153460
|
+
"application/json": {
|
|
153461
|
+
/** Format: uuid */
|
|
153462
|
+
connection_id: string;
|
|
153463
|
+
/** @description Uploads still given up after this call. */
|
|
153464
|
+
given_up: number;
|
|
153465
|
+
/** @description Uploads put back to pending by this call. */
|
|
153466
|
+
requeued: number;
|
|
153467
|
+
/** @description The tracking check workflow started. */
|
|
153468
|
+
started: boolean;
|
|
153469
|
+
};
|
|
153470
|
+
};
|
|
153471
|
+
};
|
|
153472
|
+
401: components["responses"]["Unauthorized"];
|
|
153473
|
+
403: components["responses"]["Forbidden"];
|
|
153474
|
+
404: components["responses"]["NotFound"];
|
|
153475
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
153476
|
+
429: components["responses"]["TooManyRequests"];
|
|
153477
|
+
};
|
|
153478
|
+
};
|
|
153383
153479
|
getAdsUniversalNegatives: {
|
|
153384
153480
|
parameters: {
|
|
153385
153481
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1701",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|