@zinn-digital/sdk 0.1.1820 → 0.1.1821

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.
@@ -69806,6 +69806,11 @@ export interface components {
69806
69806
  proposed_at: string;
69807
69807
  /** @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). */
69808
69808
  proposed_by: string;
69809
+ /**
69810
+ * @description PROPOSERKIND: who proposed the change, as a kind the screen translates — the same words as a decision's `decided_by_kind`. `person` a member of this account's org; `agency` a member of the parent (reseller) org or the parent org's API key (a reseller's sign-in); `support` our staff; `integration` this org's own API key; `assistant` the customer's AI assistant over MCP; `ask` Ask Zinn® Ads' one-click fix on a question; `automatic` one of Zinn® Ads' own producers (the autopilot, the audit, a rule, …); `other` a person or key that is none of these (deleted). Stored when the change is proposed, so a later change of membership never rewrites it. `null` = the proposer cannot be classified (free text, or a person or key on a change made before 2026-11-15): show `proposed_by`.
69811
+ * @enum {string|null}
69812
+ */
69813
+ proposed_by_kind: "person" | "agency" | "support" | "integration" | "assistant" | "ask" | "automatic" | "other" | null;
69809
69814
  status: components["schemas"]["AdsChangeStatus"];
69810
69815
  /** @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). GATE-PERSON-FU: a change kept for a person also carries `summary.held_campaign_name` (the held campaign's name, "" when it could not be read) and, for an ad change, `summary.ad_edits` `[{ad, field (final_url|path1|path2|status), from, to}]` (at most 20; `from` is null when the ad's current value could not be read) with `summary.ad_edits_total`. */
69811
69816
  summary: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1820",
3
+ "version": "0.1.1821",
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>",