@zinn-digital/sdk 0.1.1637 → 0.1.1638
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.
|
@@ -66664,7 +66664,7 @@ export interface components {
|
|
|
66664
66664
|
/** @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). */
|
|
66665
66665
|
proposed_by: string;
|
|
66666
66666
|
status: components["schemas"]["AdsChangeStatus"];
|
|
66667
|
-
/** @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). */
|
|
66667
|
+
/** @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`. */
|
|
66668
66668
|
summary: {
|
|
66669
66669
|
[key: string]: unknown;
|
|
66670
66670
|
};
|
|
@@ -71034,6 +71034,8 @@ export interface components {
|
|
|
71034
71034
|
entries?: number;
|
|
71035
71035
|
/** @description The held campaign a `decisionHeld` step waits on a person for (empty otherwise). */
|
|
71036
71036
|
held_campaign?: string;
|
|
71037
|
+
/** @description That held campaign's name ("" when it could not be read; show `held_campaign`) — GATE-PERSON-FU. */
|
|
71038
|
+
held_campaign_name?: string;
|
|
71037
71039
|
/** @description Linked to the account (Google) or every campaign (Microsoft). */
|
|
71038
71040
|
linked?: boolean;
|
|
71039
71041
|
list_name?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1638",
|
|
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>",
|