@zinn-digital/sdk 0.1.1463 → 0.1.1464
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 +27 -0
- package/package.json +1 -1
|
@@ -62887,6 +62887,8 @@ export interface components {
|
|
|
62887
62887
|
AdsAccountConnection: {
|
|
62888
62888
|
/** @description The ad account's own ISO 4217 currency. */
|
|
62889
62889
|
account_currency: string;
|
|
62890
|
+
/** @description LADDERFIX (owner 2026-11-03): "Let Zinn® Ads switch bidding automatically when there's enough data". Default `false`: a move onto Maximise conversions, target CPA, Maximise conversion value or target ROAS needs at least 15 of the campaign's OWN primary conversions in 30 days (with values for a value strategy) and then waits as a pending `bids` change for a person; `true` lets the ladder send it itself (inside the `bids` mode and the plan's autopilot). Never a switch without the data either way. */
|
|
62891
|
+
auto_bid_switch: boolean;
|
|
62890
62892
|
/** @description AUTO3 (za-141, owner 2026-10-21: "Auto ON by default"): a converting campaign losing auctions on price gets its CPC cap raised by itself (+20%, once a week, at most twice the cap it started at, never while the month is projected at or over the spend ceiling, with its 30-day Undo) — the one exception to approve-first. `bids` set to `off` still wins; a plan without autopilot queues it for approval instead. */
|
|
62891
62893
|
auto_cap_raise: boolean;
|
|
62892
62894
|
/** @description AUTO1 (za-105): when a country brings enough conversions cheaply inside campaigns that are not its own, propose it a campaign of its own (excluded from its parents in the same change). Goes through the `campaigns` mode — approve-first by default. */
|
|
@@ -63731,6 +63733,8 @@ export interface components {
|
|
|
63731
63733
|
AdsBidLadderRow: {
|
|
63732
63734
|
/** @description The account's 30-day conversions from enabled primary actions, when read for the focus (null: not read). */
|
|
63733
63735
|
account_conversions?: number | null;
|
|
63736
|
+
/** @description LADDERFIX: this proposal is never sent without a person's approval. */
|
|
63737
|
+
approve_first?: boolean;
|
|
63734
63738
|
campaign: string;
|
|
63735
63739
|
campaign_id: string;
|
|
63736
63740
|
/** @description The network's campaign type (SEARCH, SHOPPING, DISPLAY, VIDEO, MULTI_CHANNEL, DEMAND_GEN, PERFORMANCE_MAX, …). */
|
|
@@ -63748,6 +63752,8 @@ export interface components {
|
|
|
63748
63752
|
focus_short?: boolean;
|
|
63749
63753
|
/** Format: date-time */
|
|
63750
63754
|
frozen_until: string | null;
|
|
63755
|
+
/** @description LADDERFIX: the max CPC limit the step back to Maximise clicks sets (0: no clicks to measure). */
|
|
63756
|
+
gate_cap_micros?: number;
|
|
63751
63757
|
have: number;
|
|
63752
63758
|
have_7d: number;
|
|
63753
63759
|
/** @description Conversions the next step needs in window_days (vendor minimum x 1.5 */
|
|
@@ -63765,6 +63771,8 @@ export interface components {
|
|
|
63765
63771
|
pending_change: string | null;
|
|
63766
63772
|
/** @enum {string} */
|
|
63767
63773
|
platform: "google" | "microsoft";
|
|
63774
|
+
/** @description LADDERFIX: the pending change the ladder kept for approval. */
|
|
63775
|
+
proposed_change?: string | null;
|
|
63768
63776
|
/** @description The measured result 14 days after a switch, per day against the 30 days before. */
|
|
63769
63777
|
review: {
|
|
63770
63778
|
conversions_per_day_after: number;
|
|
@@ -63795,16 +63803,24 @@ export interface components {
|
|
|
63795
63803
|
* @enum {string}
|
|
63796
63804
|
*/
|
|
63797
63805
|
step: "clicks" | "conversions" | "target_cpa" | "target_roas" | "impression_share" | "";
|
|
63806
|
+
/** @description LADDERFIX: on a conversion strategy with fewer of its own primary conversions (30 days) than the gate needs — `need`/`have`; proposed back to Maximise clicks with `gate_cap_micros` (approve-first). */
|
|
63807
|
+
sufficiency?: boolean;
|
|
63808
|
+
/** @description LADDERFIX: ready by the ladder's rule but under the gate — it stays where it is (`have` of `need`). */
|
|
63809
|
+
sufficiency_short?: boolean;
|
|
63798
63810
|
/** Format: date-time */
|
|
63799
63811
|
switched_at: string | null;
|
|
63800
63812
|
switched_from: string | null;
|
|
63801
63813
|
switched_to: string | null;
|
|
63814
|
+
/** @description LADDERFIX: the 30-day primary conversions that carried a value. */
|
|
63815
|
+
valued_conversions?: number;
|
|
63802
63816
|
/** @description The network's published minimum; null when it publishes none (the figure is ours). */
|
|
63803
63817
|
vendor_min: number | null;
|
|
63804
63818
|
/** @enum {string} */
|
|
63805
63819
|
verdict: "up" | "down" | "not_yet" | "top" | "learning" | "kept";
|
|
63806
63820
|
/** @description The day the figure was read at the vendor. */
|
|
63807
63821
|
verified: string;
|
|
63822
|
+
/** @description za-264: no bid strategy change before this (an imported account's warm start). */
|
|
63823
|
+
warm_start_until?: string | null;
|
|
63808
63824
|
window_days: number;
|
|
63809
63825
|
};
|
|
63810
63826
|
AdsBrandBidder: {
|
|
@@ -64533,6 +64549,8 @@ export interface components {
|
|
|
64533
64549
|
};
|
|
64534
64550
|
/** @description One connected account's autopilot settings (UI1, za-18). Only what is sent changes. Plan rules: `auto` in `modes`, `hold_until_sale` and `roas_target_pct` need autopilot (Starter and above); more than one language in `markets` and turning `competitor_automation` on need Pro and above. Turning a thing off is never refused. */
|
|
64535
64551
|
AdsConnectionSettingsUpdate: {
|
|
64552
|
+
/** @description LADDERFIX: let Zinn® Ads switch bidding automatically when there's enough data (default false: approve-first). */
|
|
64553
|
+
auto_bid_switch?: boolean;
|
|
64536
64554
|
auto_cap_raise?: boolean;
|
|
64537
64555
|
auto_new_countries?: boolean;
|
|
64538
64556
|
auto_push_tests?: boolean;
|
|
@@ -140718,6 +140736,8 @@ export interface operations {
|
|
|
140718
140736
|
};
|
|
140719
140737
|
content: {
|
|
140720
140738
|
"application/json": {
|
|
140739
|
+
/** @description LADDERFIX: the account's toggle — false (the default) keeps every move onto a conversion strategy as a pending change for a person. */
|
|
140740
|
+
auto_bid_switch?: boolean;
|
|
140721
140741
|
data: components["schemas"]["AdsBidLadderRow"][];
|
|
140722
140742
|
/** @description ADSFOCUS-GUARD: the customer's own floor of account conversions (30 days, enabled primary actions) before a clicks campaign moves to Maximise conversions with no target; null = following `focus_min_recommended`. Set through the autopilot settings (`focus_min_conversions`). */
|
|
140723
140743
|
focus_min_conversions?: number | null;
|
|
@@ -140726,6 +140746,13 @@ export interface operations {
|
|
|
140726
140746
|
freeze_days: number;
|
|
140727
140747
|
/** @description Our margin over the vendor minimum, as a fraction (3/2). */
|
|
140728
140748
|
margin: string;
|
|
140749
|
+
/** @description LADDERFIX: the data-sufficiency gate — the campaign's own primary conversions in 30 days a move onto each conversion strategy needs (config, 15 by default). */
|
|
140750
|
+
sufficiency?: {
|
|
140751
|
+
conversions: number;
|
|
140752
|
+
target_cpa: number;
|
|
140753
|
+
/** @description Conversions WITH a value, for Maximise conversion value and target ROAS. */
|
|
140754
|
+
value: number;
|
|
140755
|
+
};
|
|
140729
140756
|
};
|
|
140730
140757
|
};
|
|
140731
140758
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1464",
|
|
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>",
|