@zinn-digital/sdk 0.1.1619 → 0.1.1621
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.
|
@@ -18164,7 +18164,7 @@ export interface paths {
|
|
|
18164
18164
|
put?: never;
|
|
18165
18165
|
/**
|
|
18166
18166
|
* Record the customer's own budget for one campaign (za-84).
|
|
18167
|
-
* @description Gated on `ads.manage`; audit action `ads.own_budget_record`. The campaign is read from Google Ads now: it must exist and have a budget of its own. `kind` `budget` stays until the customer changes it (no `ends_on`); `test` runs 7 to 90 days and on `ends_on` becomes ONE question (keep, or go back) — the amount stays until answered. Starting today (default), an earlier decision on the campaign ends and, when Google does not already hold the amount, the budget change is proposed and approved together (recording it is the approval) and sent by the apply workflow through the account's gate (kill switches, good standing, spend ceilings); `change` is that change. Dated up to 90 days ahead (`starts_on`), nothing is written until its day. While in force no automatic budget change moves the campaign. Refusals (`422`): `ownBudgetGoogleOnly`, `ownBudgetBadRequest`, `ownBudgetNoSuchCampaign`, `ownBudgetShared`, `ownBudgetReadFailed
|
|
18167
|
+
* @description Gated on `ads.manage`; audit action `ads.own_budget_record`. The campaign is read from Google Ads now: it must exist and have a budget of its own. `kind` `budget` stays until the customer changes it (no `ends_on`); `test` runs 7 to 90 days and on `ends_on` becomes ONE question (keep, or go back) — the amount stays until answered. Starting today (default), an earlier decision on the campaign ends and, when Google does not already hold the amount, the budget change is proposed and approved together (recording it is the approval) and sent by the apply workflow through the account's gate (kill switches, good standing, spend ceilings); `change` is that change. Dated up to 90 days ahead (`starts_on`), nothing is written until its day. While in force no automatic budget change moves the campaign. Refusals (`422`): `ownBudgetGoogleOnly`, `ownBudgetBadRequest`, `ownBudgetNoSuchCampaign`, `ownBudgetShared`, `ownBudgetReadFailed`; `decisionPinned` / `decisionHeld` when the campaign is pinned or held and the caller is not a person (an API key or an MCP connection): only a signed-in person's decision moves such a campaign, and nothing is recorded (GATE-PERSON).
|
|
18168
18168
|
*/
|
|
18169
18169
|
post: operations["recordAdsBudgetDecision"];
|
|
18170
18170
|
delete?: never;
|
|
@@ -66531,7 +66531,7 @@ export interface components {
|
|
|
66531
66531
|
decided_by: string;
|
|
66532
66532
|
/** @description za-104: the reason given with the decision. An agency's client must give one to reject on the approval portal; `decided_by` then reads `client-portal:<link id>:<the name they typed>`. Empty otherwise. */
|
|
66533
66533
|
decision_reason?: string;
|
|
66534
|
-
/** @description Why the change was not sent, its CODE leading (`ceiling`, `killed`, `paused`, `disconnected`, `standing: …`, `needsReconnect`, `adBelowGood`, `xWritesOff`, za-70 `collides` — the collision simulator found what `summary.collision` names — or `collisionUnread` — the account could not be read for the replay — and za-10 `convertingSearch: …` — a negative keyword that would block a search with a conversion in the last 30 days, refused at the send even when a person approved it; SERVEWATCH `strategyStarves` — a bid-strategy switch whose ceiling or bids cannot win most of the campaign's searches against Google's own top-of-page estimates, refused whoever asked, its figures in `summary.serving_check`; za-327 `ceilingAboveLine` — a CPC ceiling above max(2x the 30-day average CPC, the top-of-page estimate) or above the break-even CPC, refused whoever asked, its figures in `summary.ceiling_check`; UNDOSTRAT, on an APPLIED change whose Undo puts a bid strategy back: `killed` · `paused` · `standing` · `strategyStarves` followed by `: undo refused` — the restore passes the kill switch, good standing and the same simulation — and `undoReadBackDiffers: <campaigns>`, the strategy Google read back after the Undo is not `summary.bidding_before`, so the change stays applied and its Undo can be sent again); otherwise the network's own sentence. Empty when nothing went wrong. */
|
|
66534
|
+
/** @description Why the change was not sent, its CODE leading (`ceiling`, `killed`, `paused`, `holdReleased` — GATE-PERSON r10: kept for a person while its campaign was held, and the hold was released, so the automatic path makes it instead — `disconnected`, `standing: …`, `needsReconnect`, `adBelowGood`, `xWritesOff`, za-70 `collides` — the collision simulator found what `summary.collision` names — or `collisionUnread` — the account could not be read for the replay — and za-10 `convertingSearch: …` — a negative keyword that would block a search with a conversion in the last 30 days, refused at the send even when a person approved it; SERVEWATCH `strategyStarves` — a bid-strategy switch whose ceiling or bids cannot win most of the campaign's searches against Google's own top-of-page estimates, refused whoever asked, its figures in `summary.serving_check`; za-327 `ceilingAboveLine` — a CPC ceiling above max(2x the 30-day average CPC, the top-of-page estimate) or above the break-even CPC, refused whoever asked, its figures in `summary.ceiling_check`; UNDOSTRAT, on an APPLIED change whose Undo puts a bid strategy back: `killed` · `paused` · `standing` · `strategyStarves` followed by `: undo refused` — the restore passes the kill switch, good standing and the same simulation — and `undoReadBackDiffers: <campaigns>`, the strategy Google read back after the Undo is not `summary.bidding_before`, so the change stays applied and its Undo can be sent again); otherwise the network's own sentence. Empty when nothing went wrong. */
|
|
66535
66535
|
error: string;
|
|
66536
66536
|
/** Format: uuid */
|
|
66537
66537
|
id: string;
|
|
@@ -66542,7 +66542,7 @@ export interface components {
|
|
|
66542
66542
|
/** @description Who proposed the change: who stored it (`user:<id>`, `autopilot`, `mcp:<id>`, `apikey:<id>`, …) — except a member of our staff, who reads `support` and never their id (VERIFY-ADSACTOR: an impersonated write is recorded as the staff member); a reseller's sign-in into this account (`apikey:<reseller key>` or the reseller's own `user:<id>`) reads the reseller's display name — `support` when that actor's sign-ins reach the clients of more than one parent, or its org is gone (ACTORS7, VERIFY-ACTORS7). */
|
|
66543
66543
|
proposed_by: string;
|
|
66544
66544
|
status: components["schemas"]["AdsChangeStatus"];
|
|
66545
|
-
/** @description What the change does, for the card. SERVEWATCH adds `serving_check` (a bid-strategy switch simulated before the send: `verdict` ok · unknown · starves, `strategy`, `reason`, `ceiling_micros`, `need_micros`, `reach_pct` of the searches the ceiling can win, `raise_to_micros`, `fix`), `restores_served` (a serving-watch revert of the change that stopped a campaign) and `converting_removal` (a removal of campaigns that produced `share_pct`% of the account's results in 30 days: `campaigns`, `share_pct`, `conversions` — an automatic one waits for a person). za-327 adds `ceiling_check` (a CPC ceiling judged before the send against the campaign's measured 30-day average CPC, the top-of-page estimate and the break-even CPC, target CPA x conversion rate: `verdict` ok · refuse · notJudged, `kind` maxClicks · targetImpressionShare · manualCpc · microsoftMaxCpc · microsoftKeywordBid, `ceiling_micros`, `avg_cpc_micros`, `top_micros`, `break_even_micros`, `line_micros` the owner row's line max(2x average CPC, top-of-page high) rounded down to the currency's billable unit, `suggest_micros` the priced fix (0 when no ceiling of one billable unit passes), `cut_micros` what it takes off the most a click costs, `no_fix` true when no ceiling passes (pause the campaign or raise its target), `strategy_id` the portfolio bid strategy whose ceiling it is, `reasons` aboveAverage · aboveTopOfPage · aboveBreakEven · noData · unreadable, `notes` accountFigures (a Microsoft keyword judged on the whole account: its campaign could not be read) · placementUnreadable (a Target impression share ceiling held to break-even: its placement could not be read) — refused above the line or above break-even; also kept on a change that was SENT (an automatic one, or one a person approved) when it was not judged or carries a note; an Undo or serving-watch revert that raises a ceiling is judged too). UNDOSTRAT adds `bidding_before` on a change that alters a campaign's bidding: one entry per campaign (`resource`, `type` the bidding strategy type, `portfolio` a portfolio strategy's resource or `settings` the strategy's own values — `location`, `locationFractionMicros`, `cpcBidCeilingMicros`, `cpcBidFloorMicros`, `targetCpaMicros`, `targetRoas`, `enhancedCpcEnabled`), read before the send. Its Undo restores exactly that, and is marked undone only when Google reads it back. za-323 adds `keywordSanity`: the keywords the keyword sanity gate took out of the request, each `{text, code}` with `code` keywordFragment (only stopwords, comparison or generic words) · keywordOneWord (a phrase or broad keyword with fewer than two meaningful words and no name the account knows) · keywordRivalNotName (a keyword about a rival with no rival named). A refused change's `error` leads with the same code. */
|
|
66545
|
+
/** @description What the change does, for the card. SERVEWATCH adds `serving_check` (a bid-strategy switch simulated before the send: `verdict` ok · unknown · starves, `strategy`, `reason`, `ceiling_micros`, `need_micros`, `reach_pct` of the searches the ceiling can win, `raise_to_micros`, `fix`), `restores_served` (a serving-watch revert of the change that stopped a campaign) and `converting_removal` (a removal of campaigns that produced `share_pct`% of the account's results in 30 days: `campaigns`, `share_pct`, `conversions` — an automatic one waits for a person). za-327 adds `ceiling_check` (a CPC ceiling judged before the send against the campaign's measured 30-day average CPC, the top-of-page estimate and the break-even CPC, target CPA x conversion rate: `verdict` ok · refuse · notJudged, `kind` maxClicks · targetImpressionShare · manualCpc · microsoftMaxCpc · microsoftKeywordBid, `ceiling_micros`, `avg_cpc_micros`, `top_micros`, `break_even_micros`, `line_micros` the owner row's line max(2x average CPC, top-of-page high) rounded down to the currency's billable unit, `suggest_micros` the priced fix (0 when no ceiling of one billable unit passes), `cut_micros` what it takes off the most a click costs, `no_fix` true when no ceiling passes (pause the campaign or raise its target), `strategy_id` the portfolio bid strategy whose ceiling it is, `reasons` aboveAverage · aboveTopOfPage · aboveBreakEven · noData · unreadable, `notes` accountFigures (a Microsoft keyword judged on the whole account: its campaign could not be read) · placementUnreadable (a Target impression share ceiling held to break-even: its placement could not be read) — refused above the line or above break-even; also kept on a change that was SENT (an automatic one, or one a person approved) when it was not judged or carries a note; an Undo or serving-watch revert that raises a ceiling is judged too). UNDOSTRAT adds `bidding_before` on a change that alters a campaign's bidding: one entry per campaign (`resource`, `type` the bidding strategy type, `portfolio` a portfolio strategy's resource or `settings` the strategy's own values — `location`, `locationFractionMicros`, `cpcBidCeilingMicros`, `cpcBidFloorMicros`, `targetCpaMicros`, `targetRoas`, `enhancedCpcEnabled`), read before the send. Its Undo restores exactly that, and is marked undone only when Google reads it back. za-323 adds `keywordSanity`: the keywords the keyword sanity gate took out of the request, each `{text, code}` with `code` keywordFragment (only stopwords, comparison or generic words) · keywordOneWord (a phrase or broad keyword with fewer than two meaningful words and no name the account knows) · keywordRivalNotName (a keyword about a rival with no rival named). A refused change's `error` leads with the same code. GATE-PERSON r4 adds `about` `{campaign, keyword}`: the campaign or keyword the change was proposed about (a budget or keyword criterion does not name it), so an approval by an API key or MCP is still bound by a pin or hold set after it was queued (`error` `decisionPinned` / `decisionHeld`, or `decisionUnread` when the campaigns a budget serves could not be read). GATE-PERSON r5: a Microsoft, X, Meta or ChatGPT budget or bid change that names no campaign the pins and holds can see, approved by an API key or MCP while anything is pinned or held, is refused `decisionUnread` too. GATE-PERSON r6: a Google bid change that names an ad group, an ad group criterion or bid modifier, or a portfolio bid strategy is judged on the campaigns read as serving it (`decisionPinned` / `decisionHeld`); unreadable, or naming no campaign at all, is refused `decisionUnread`. GATE-PERSON r7: while anything is held, a change of any other kind (keyword, negative, ad, asset, pause) that names only an ad group or something in one is judged on that ad group's campaign the same way (`decisionHeld` / `decisionUnread`). GATE-PERSON r8: while anything is held, a change naming a shared set (a shared negative list entry, the set, the account-level list's link), automatic or approved by an API key or MCP, is judged on every campaign the set reaches (`decisionHeld` / `decisionUnread`). GATE-PERSON r9: every resource resolves to its campaign first — a Performance Max asset group and anything in one, a budget, a strategy; a kind with no campaign (an account-level asset, conversion goal, negative list unlink, experiment promote) reaches every held campaign. A Microsoft shared negative list associated with a held campaign takes no item. Only a person's approval or Apply passes. An AUTOMATIC change to a shared list that reaches a held campaign (the za-333 sync) is kept `pending` for a person instead of refused, with `summary.heldForPerson` `{code: decisionHeld, campaign_id}`. GATE-PERSON r10: an ad (`ads/<id>`) is read to its campaign; an AUTOMATIC ad change (final URL, display path, status) reaching a held campaign is kept `pending` the same way, and one elsewhere is sent. An existing asset's update reaches every held campaign. When the customer releases the hold, a change still kept for a person on that campaign is closed `refused` with `error` `holdReleased` (the next audit makes the change itself). */
|
|
66546
66546
|
summary: {
|
|
66547
66547
|
[key: string]: unknown;
|
|
66548
66548
|
};
|
|
@@ -70910,6 +70910,8 @@ export interface components {
|
|
|
70910
70910
|
copies_removed?: number;
|
|
70911
70911
|
/** @description Entries on the list as read */
|
|
70912
70912
|
entries?: number;
|
|
70913
|
+
/** @description The held campaign a `decisionHeld` step waits on a person for (empty otherwise). */
|
|
70914
|
+
held_campaign?: string;
|
|
70913
70915
|
/** @description Linked to the account (Google) or every campaign (Microsoft). */
|
|
70914
70916
|
linked?: boolean;
|
|
70915
70917
|
list_name?: string;
|
|
@@ -70917,7 +70919,7 @@ export interface components {
|
|
|
70917
70919
|
/** @enum {string} */
|
|
70918
70920
|
network: "google" | "microsoft";
|
|
70919
70921
|
present?: string[];
|
|
70920
|
-
/** @description Why a step did not go out — `accountListFull`, a refusal code such as `notInGoodStanding`, `killed` or `notAutomatic`, `unreadBack`, or `vendor`. */
|
|
70922
|
+
/** @description Why a step did not go out — `accountListFull`, a refusal code such as `notInGoodStanding`, `killed` or `notAutomatic`, `unreadBack`, or `vendor`. With `waiting_approval`, `decisionHeld` means the step waits for a PERSON because the list covers a campaign the customer holds (`held_campaign`); a person's approve of `change_ids[0]` sends it, an API key's or MCP's approval is refused (GATE-PERSON r9). */
|
|
70921
70923
|
reason?: string;
|
|
70922
70924
|
/** @description Terms left off because they would block a keyword (or a search that converted). */
|
|
70923
70925
|
skipped?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1621",
|
|
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>",
|