@zinn-digital/sdk 0.1.1624 → 0.1.1626

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.
@@ -16889,7 +16889,7 @@ export interface paths {
16889
16889
  put?: never;
16890
16890
  /**
16891
16891
  * Approve, reject, undo, or allow a rejected change again.
16892
- * @description Gated on `ads.manage`; audit action `ads.change_<action>`. `approve` sends exactly the proposed request to Google in the background (202); a kill switch, the spend ceiling or the organisation's standing can still refuse it (`refused`). When the send meets Google's daily operation allowance the change stays `approved` with `summary.deferred_to` (when it is sent — automatically, by the same workflow), never refused. `undo` sends the change's inverse (202) — allowed with the kill switch on; an Undo that meets the same allowance leaves the change `applied` with `summary.undo_deferred_to` and is sent after the reset by the same Undo workflow (never recorded as failed), even when that is past the Undo window. A rejection binds the item on Google, Microsoft Ads and X alike. `reject` answers 200. A rejected negative keyword or keyword (same account, text, match type and level) is never proposed or sent again by any producer — the gate refuses it `rejectedBefore`, whether or not it still collides — until `allow_again` (200, a rejected change only, else `notRejected`; leaves `summary.allowed_again` `{by, at}`); `undo_allow_again` (200, else `notAllowedAgain`) puts the rejection back.
16892
+ * @description Gated on `ads.manage`; audit action `ads.change_<action>`. `approve` sends exactly the proposed request to Google in the background (202); a kill switch, the spend ceiling or the organisation's standing can still refuse it (`refused`). When the send meets Google's daily operation allowance the change stays `approved` with `summary.deferred_to` (when it is sent — automatically, by the same workflow), never refused. za-326 r3: an approval does not override a network's learning phase — an automatic change approved while the network says its unit is learning stays `approved` with `summary.learning` (`rule`, `network`) and `summary.deferred_to` (when learning is read again), and is sent once learning ends. `undo` sends the change's inverse (202) — allowed with the kill switch on; an Undo that meets the same allowance leaves the change `applied` with `summary.undo_deferred_to` and is sent after the reset by the same Undo workflow (never recorded as failed), even when that is past the Undo window. A rejection binds the item on Google, Microsoft Ads and X alike. `reject` answers 200. A rejected negative keyword or keyword (same account, text, match type and level) is never proposed or sent again by any producer — the gate refuses it `rejectedBefore`, whether or not it still collides — until `allow_again` (200, a rejected change only, else `notRejected`; leaves `summary.allowed_again` `{by, at}`); `undo_allow_again` (200, else `notAllowedAgain`) puts the rejection back.
16893
16893
  */
16894
16894
  post: operations["decideAdsChange"];
16895
16895
  delete?: never;
@@ -65792,6 +65792,10 @@ export interface components {
65792
65792
  found?: {
65793
65793
  [key: string]: number;
65794
65794
  };
65795
+ /** @description za-326: the proposals a learning rule held, per rule code — `bid_strategy` (our 14-day freeze after a bid-strategy switch), `meta_learning_phase` (Meta reports the ad set as learning), `tiktok_learning_phase` (TikTok's first 7 days / 25 results). Each network's rule comes from the network registry; a Google negative or exclusion is never held (Google: targeting changes never trigger Learning). Absent when none. */
65796
+ learning_held?: {
65797
+ [key: string]: number;
65798
+ };
65795
65799
  proposed?: number;
65796
65800
  read?: {
65797
65801
  [key: string]: number;
@@ -65802,6 +65806,8 @@ export interface components {
65802
65806
  * @enum {string}
65803
65807
  */
65804
65808
  sanity_unchecked?: "x_no_targeting_read" | "no_keyword_read" | "held_trackingUnreadable" | "held_trackingUnreliable" | "held" | "names_unread";
65809
+ /** @description Proposals a learning rule held (nothing sent or queued). */
65810
+ skipped_learning?: number;
65805
65811
  skipped_recent?: number;
65806
65812
  } & {
65807
65813
  [key: string]: unknown;
@@ -66536,7 +66542,7 @@ export interface components {
66536
66542
  /** @enum {string|null} */
66537
66543
  source: "auto" | "person" | "launch" | null;
66538
66544
  };
66539
- /** @description One change to an ad account. `summary` holds figures (service, operations, resources, values), never sentences. A Microsoft website exclusion re-added by the hourly repair (PG2FIX) carries `reason: reapplied_after_concurrent_edit`. An automatic raise (AUTO3) carries `auto_action` (`cap_raise` za-141 · `budget_raise` za-144), `campaign`, `campaign_id`, `from_micros`, `to_micros`, `cpa_micros`, `account_cpa_micros` and `lost_rank` or `lost_budget`, plus za-157's quality gate figures `quality_signal`, `quality_rate` and `quality_account_rate`. A conflicting negative keyword (za-182, `auto_action: negative_conflict`) carries `decision` (`pause_keywords` · `narrow_negative` · `remove_negative` · `move_to_campaigns`, with `keep_campaigns` `id`/`name`), `reasons` (`negative_newer` · `owner_kept` · `shared_list` · `waste_negative` · `keyword_converts` · `keyword_newer` · `keyword_wins` · `list_reaches_sibling`), `negative` (`text`, `match`, `level` campaign · ad_group · list · account, `where`, `resource`), `blocked` (up to 20 keywords: `text`, `match`, `campaign`, `ad_group`, `resource`) and `blocked_count`. A write that would ADD a negative blocking an enabled keyword is refused before it is sent or queued, whoever asked. A new keyword the audit adds (za-81, `auto_action: new_keyword`) carries `keyword`, `campaign`, `campaign_id`, `ad_group`, `clicks`, `conversions`, `est_daily_micros` and `currency`; when approved it is checked for collisions once more as it is sent, and refused (`error` starting `collides:`) when it would take searches from another ad group. A conversion-goal change (za-78, `auto_action: primary_goal`) carries `goal_action` (the conversion action's name), `goal_category`, `goal_primary` (the new flag), `goal_rule` (`outcome_secondary` · `soft_primary`) and `goal_recorded` (its 30-day count); it is approve-first always, and refused (`error` `goalStarves`, figures in `goal_check`: `recording_now`, `recording_after`) when it would leave no primary conversion action that records — whoever approved it; `error` `goalUnreadable` (no `goal_check`) when the account's conversion actions could not be read to check it. za-70: every change on a customer's account that adds a negative keyword or a keyword is replayed by the collision simulator first, and the replay is kept in `collision`: `checked_at`, `unread` (the account could not be read — a collision, never "clean"), `changes` (each `kind` negative · keyword, `text`, `match`, `ad_group`), `collisions` (each `kind` keyword · converted · main · growing · competes · takes, `text`, `campaign`, `ad_group`) with `collisions_total`, `hits` (up to 10 searches of the last 30 days with a click or a conversion it would block or compete for: `term`, `campaign`, `ad_group`, `clicks`, `conversions_milli`) with `hits_total`, `clicks` and `conversions_milli` (totals). A colliding change is never sent by itself: with the connection's `collision_mode` `approve` it waits in the queue, and a person's approval sends it only when a fresh replay finds no collision they were not shown; otherwise, and with `refuse`, it is refused (`error` `collides`). When the account could not be read for the replay (`collision.unread`) an approval, or `refuse`, refuses it `collisionUnread` — nothing established, asked again once the account reads. za-213 (site-to-ad sync for a site hosted with us, `proposed_by: site-sync`): `auto_action: site_sync` is an ad text edit writing a hosted page's new price (`url`, `old_price_minor`, `new_price_minor`, `currency`, integer minor units); `auto_action: site_sync_pause` pauses the ads of a page whose offer ended (`url`). */
66545
+ /** @description One change to an ad account. `summary` holds figures (service, operations, resources, values), never sentences. za-326 r3: a change queued (or approved and waiting) while the network says its ad set is learning carries `learning` (`rule`: an `AdsAuditRun` `learning_held` code, `network`: the network's name). A Microsoft website exclusion re-added by the hourly repair (PG2FIX) carries `reason: reapplied_after_concurrent_edit`. An automatic raise (AUTO3) carries `auto_action` (`cap_raise` za-141 · `budget_raise` za-144), `campaign`, `campaign_id`, `from_micros`, `to_micros`, `cpa_micros`, `account_cpa_micros` and `lost_rank` or `lost_budget`, plus za-157's quality gate figures `quality_signal`, `quality_rate` and `quality_account_rate`. A conflicting negative keyword (za-182, `auto_action: negative_conflict`) carries `decision` (`pause_keywords` · `narrow_negative` · `remove_negative` · `move_to_campaigns`, with `keep_campaigns` `id`/`name`), `reasons` (`negative_newer` · `owner_kept` · `shared_list` · `waste_negative` · `keyword_converts` · `keyword_newer` · `keyword_wins` · `list_reaches_sibling`), `negative` (`text`, `match`, `level` campaign · ad_group · list · account, `where`, `resource`), `blocked` (up to 20 keywords: `text`, `match`, `campaign`, `ad_group`, `resource`) and `blocked_count`. A write that would ADD a negative blocking an enabled keyword is refused before it is sent or queued, whoever asked. A new keyword the audit adds (za-81, `auto_action: new_keyword`) carries `keyword`, `campaign`, `campaign_id`, `ad_group`, `clicks`, `conversions`, `est_daily_micros` and `currency`; when approved it is checked for collisions once more as it is sent, and refused (`error` starting `collides:`) when it would take searches from another ad group. A conversion-goal change (za-78, `auto_action: primary_goal`) carries `goal_action` (the conversion action's name), `goal_category`, `goal_primary` (the new flag), `goal_rule` (`outcome_secondary` · `soft_primary`) and `goal_recorded` (its 30-day count); it is approve-first always, and refused (`error` `goalStarves`, figures in `goal_check`: `recording_now`, `recording_after`) when it would leave no primary conversion action that records — whoever approved it; `error` `goalUnreadable` (no `goal_check`) when the account's conversion actions could not be read to check it. za-70: every change on a customer's account that adds a negative keyword or a keyword is replayed by the collision simulator first, and the replay is kept in `collision`: `checked_at`, `unread` (the account could not be read — a collision, never "clean"), `changes` (each `kind` negative · keyword, `text`, `match`, `ad_group`), `collisions` (each `kind` keyword · converted · main · growing · competes · takes, `text`, `campaign`, `ad_group`) with `collisions_total`, `hits` (up to 10 searches of the last 30 days with a click or a conversion it would block or compete for: `term`, `campaign`, `ad_group`, `clicks`, `conversions_milli`) with `hits_total`, `clicks` and `conversions_milli` (totals). A colliding change is never sent by itself: with the connection's `collision_mode` `approve` it waits in the queue, and a person's approval sends it only when a fresh replay finds no collision they were not shown; otherwise, and with `refuse`, it is refused (`error` `collides`). When the account could not be read for the replay (`collision.unread`) an approval, or `refuse`, refuses it `collisionUnread` — nothing established, asked again once the account reads. za-213 (site-to-ad sync for a site hosted with us, `proposed_by: site-sync`): `auto_action: site_sync` is an ad text edit writing a hosted page's new price (`url`, `old_price_minor`, `new_price_minor`, `currency`, integer minor units); `auto_action: site_sync_pause` pauses the ads of a page whose offer ended (`url`). */
66540
66546
  AdsChange: {
66541
66547
  action_class: string;
66542
66548
  /** Format: date-time */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1624",
3
+ "version": "0.1.1626",
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>",