@zinn-digital/sdk 0.1.1700 → 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 +76 -0
- 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;
|
|
@@ -71891,6 +71913,8 @@ export interface components {
|
|
|
71891
71913
|
/** @description Integer minor units of `currency`. */
|
|
71892
71914
|
price_minor: number;
|
|
71893
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;
|
|
71894
71918
|
history: components["schemas"]["AdsTrackingCheck"][];
|
|
71895
71919
|
/** @description Why the autopilot is not judging this account today (za-116), or null. */
|
|
71896
71920
|
hold: {
|
|
@@ -71961,7 +71985,23 @@ export interface components {
|
|
|
71961
71985
|
holds_autopilot: boolean;
|
|
71962
71986
|
real: number;
|
|
71963
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). */
|
|
71964
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
|
+
} & {
|
|
71965
72005
|
[key: string]: unknown;
|
|
71966
72006
|
};
|
|
71967
72007
|
/** @enum {string} */
|
|
@@ -153400,6 +153440,42 @@ export interface operations {
|
|
|
153400
153440
|
};
|
|
153401
153441
|
};
|
|
153402
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
|
+
};
|
|
153403
153479
|
getAdsUniversalNegatives: {
|
|
153404
153480
|
parameters: {
|
|
153405
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>",
|