@zinn-digital/sdk 0.1.1445 → 0.1.1447
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 +58 -4
- package/package.json +1 -1
|
@@ -21032,7 +21032,7 @@ export interface paths {
|
|
|
21032
21032
|
get?: never;
|
|
21033
21033
|
/**
|
|
21034
21034
|
* Store one server-side key (write-only; kept in Vault).
|
|
21035
|
-
* @description Gated on `ads.manage`; audit-logged (`ads.tracking_hub_key_set`, the kind only). The key is written to Vault and never returned, logged or stored in the database; the hub keeps the time it was set and its last four characters. `503` when Vault could not be written (nothing is saved; retry).
|
|
21035
|
+
* @description Gated on `ads.manage`; audit-logged (`ads.tracking_hub_key_set`, the kind only). The key is written to Vault and never returned, logged or stored in the database; the hub keeps the time it was set and its last four characters. `503` when Vault could not be written (nothing is saved; retry). From then on the key SENDS the organisation's real outcomes server-side (docs/1006 §122): see `server_sends` on the hub for what it really sent.
|
|
21036
21036
|
*/
|
|
21037
21037
|
put: operations["setAdsTrackingHubKey"];
|
|
21038
21038
|
post?: never;
|
|
@@ -62805,6 +62805,12 @@ export interface components {
|
|
|
62805
62805
|
push_test_confidence_recommended: number;
|
|
62806
62806
|
/** @description Push tests waiting or running at once on the account (default 2). */
|
|
62807
62807
|
push_test_max_running: number;
|
|
62808
|
+
/** @description za-86 (PARITY86) — the measured monthly searches a phrase needs before it broadens a campaign that cannot enter the auction (added as a PHRASE keyword through the `keywords` mode). Recommended 10. */
|
|
62809
|
+
reach_min_searches: number;
|
|
62810
|
+
/** @description za-86 (PARITY86) — the Recommended value of each `reach_*` setting ("Reset to recommended"). */
|
|
62811
|
+
reach_recommended: components["schemas"]["AdsReachSettings"];
|
|
62812
|
+
/** @description za-86 (PARITY86) — days of the reach test after a broadening; still no impression at the end → paused (Automatic `pauses`) or offered as one click (Ask me first). Recommended 14. */
|
|
62813
|
+
reach_test_days: number;
|
|
62808
62814
|
/** @description The 30-day return (conversion value per unit of spend, as a percentage: 400 = 4.0x) the autopilot needs before it raises a budget by itself; null = no target. */
|
|
62809
62815
|
roas_target_pct: number | null;
|
|
62810
62816
|
/** @description RSATEST (za-197) — the confidence a winner needs (p below 1 - this/100). Recommended 95. */
|
|
@@ -63474,7 +63480,7 @@ export interface components {
|
|
|
63474
63480
|
* @description za-72 `compare_page`: a competitor ad moved onto the customer's own comparison page for its rival, under the `ads` mode.
|
|
63475
63481
|
* @enum {string}
|
|
63476
63482
|
*/
|
|
63477
|
-
step: "negatives" | "pauses" | "keywords" | "budgets" | "bids" | "assets" | "compare_page" | "goals";
|
|
63483
|
+
step: "negatives" | "pauses" | "keywords" | "budgets" | "bids" | "assets" | "compare_page" | "goals" | "reach";
|
|
63478
63484
|
}[];
|
|
63479
63485
|
};
|
|
63480
63486
|
/** @description The organisation's autopilot decisions (za-166, docs/1006 §77). */
|
|
@@ -64371,6 +64377,8 @@ export interface components {
|
|
|
64371
64377
|
pacing_target_minor?: number | null;
|
|
64372
64378
|
push_test_confidence_pct?: number;
|
|
64373
64379
|
push_test_max_running?: number;
|
|
64380
|
+
reach_min_searches?: number;
|
|
64381
|
+
reach_test_days?: number;
|
|
64374
64382
|
roas_target_pct?: number | null;
|
|
64375
64383
|
rsa_test_confidence_pct?: number;
|
|
64376
64384
|
/** @enum {string} */
|
|
@@ -66695,6 +66703,11 @@ export interface components {
|
|
|
66695
66703
|
value: number | null;
|
|
66696
66704
|
}[];
|
|
66697
66705
|
};
|
|
66706
|
+
/** @description za-86 (PARITY86) — a connection's reach settings for campaigns that cannot enter the auction (stored, or the Recommended). */
|
|
66707
|
+
AdsReachSettings: {
|
|
66708
|
+
reach_min_searches: number;
|
|
66709
|
+
reach_test_days: number;
|
|
66710
|
+
};
|
|
66698
66711
|
AdsReport: {
|
|
66699
66712
|
accounts: components["schemas"]["AdsReportAccount"][];
|
|
66700
66713
|
clients: components["schemas"]["AdsReportClient"][];
|
|
@@ -67909,6 +67922,8 @@ export interface components {
|
|
|
67909
67922
|
/** Format: uuid */
|
|
67910
67923
|
org_id: string;
|
|
67911
67924
|
server_keys: {
|
|
67925
|
+
/** @description The Pinterest ad account id (blank for every other kind). */
|
|
67926
|
+
account_id: string;
|
|
67912
67927
|
/** @description The key's last four characters (blank when not set). */
|
|
67913
67928
|
hint: string;
|
|
67914
67929
|
/** @enum {string} */
|
|
@@ -67917,14 +67932,49 @@ export interface components {
|
|
|
67917
67932
|
set: boolean;
|
|
67918
67933
|
/** Format: date-time */
|
|
67919
67934
|
set_at: string | null;
|
|
67935
|
+
/** @description The network test code the key sends with (blank = live sends). */
|
|
67936
|
+
test_code: string;
|
|
67920
67937
|
}[];
|
|
67921
67938
|
/** @description Network -> how its server-side conversions travel. */
|
|
67922
67939
|
server_routes: {
|
|
67923
67940
|
[key: string]: {
|
|
67924
67941
|
connected_provider: string | null;
|
|
67925
67942
|
key_kind: string | null;
|
|
67926
|
-
/**
|
|
67927
|
-
|
|
67943
|
+
/**
|
|
67944
|
+
* @description key = a key in Vault that sends; stored = a key in Vault that cannot send yet (server_sends says why).
|
|
67945
|
+
* @enum {string}
|
|
67946
|
+
*/
|
|
67947
|
+
route: "connected" | "key" | "stored" | "none";
|
|
67948
|
+
};
|
|
67949
|
+
};
|
|
67950
|
+
/** @description Key kind -> what that key really sent (docs/1006 §122), computed from the per-outcome delivery receipts. Only outcomes whose source reported ad_user_data consent GRANTED are sent, with the hashed e-mail only. */
|
|
67951
|
+
server_sends: {
|
|
67952
|
+
[key: string]: {
|
|
67953
|
+
/** @description Where the network mints a replacement key. */
|
|
67954
|
+
keys_url: string;
|
|
67955
|
+
last_error: {
|
|
67956
|
+
/** Format: date-time */
|
|
67957
|
+
at: string;
|
|
67958
|
+
/** @enum {string} */
|
|
67959
|
+
class: "provider_outage" | "rate_limited" | "credential_invalid" | "provider_billing" | "entitlement_exhausted" | "target_unreachable" | "permanent";
|
|
67960
|
+
} | null;
|
|
67961
|
+
/** Format: date-time */
|
|
67962
|
+
last_sent_at: string | null;
|
|
67963
|
+
/** @description The network refused this key since it was set; nothing more is sent until it is replaced. */
|
|
67964
|
+
needs_new_key: boolean;
|
|
67965
|
+
/**
|
|
67966
|
+
* @description Why a stored key is not used for sending (blank when it sends or is not stored).
|
|
67967
|
+
* @enum {string}
|
|
67968
|
+
*/
|
|
67969
|
+
not_sending_reason: "" | "noKey" | "noTagId" | "noAccountId" | "noConversionId";
|
|
67970
|
+
/** @description The key is stored AND can send. */
|
|
67971
|
+
sending: boolean;
|
|
67972
|
+
/** @description Outcomes this key sent in the last 24 hours. */
|
|
67973
|
+
sent_24h: number;
|
|
67974
|
+
/** @description The network's status board ('' when it publishes none). */
|
|
67975
|
+
status_url: string;
|
|
67976
|
+
/** @description The key sends with a network test code. */
|
|
67977
|
+
test_mode: boolean;
|
|
67928
67978
|
};
|
|
67929
67979
|
};
|
|
67930
67980
|
/** @description Network -> its browser tag id (google_ads, ga4, microsoft_uet, meta_pixel, tiktok_pixel, linkedin_insight, x_pixel, pinterest_tag, amazon_tag). */
|
|
@@ -147020,7 +147070,11 @@ export interface operations {
|
|
|
147020
147070
|
requestBody: {
|
|
147021
147071
|
content: {
|
|
147022
147072
|
"application/json": {
|
|
147073
|
+
/** @description pinterest_capi only, and required there: the numeric Pinterest ad account id the conversion token belongs to (the Conversions API posts to /ad_accounts/{id}/events). Any other kind refuses it (badAccount). */
|
|
147074
|
+
account_id?: string;
|
|
147023
147075
|
key: string;
|
|
147076
|
+
/** @description Optional network test code (docs/1006 §122): Meta / TikTok test_event_code, Pinterest test=true, GA4's validation server. Events sent with it appear in the network's test view only and are not counted as conversions. LinkedIn has no test mode and refuses it (badTestCode). */
|
|
147077
|
+
test_code?: string;
|
|
147024
147078
|
};
|
|
147025
147079
|
};
|
|
147026
147080
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1447",
|
|
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>",
|