@zinn-digital/sdk 0.1.1730 → 0.1.1732

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.
@@ -17299,7 +17299,7 @@ export interface paths {
17299
17299
  put?: never;
17300
17300
  /**
17301
17301
  * Login with Amazon's authorize URL to connect Amazon Ads profiles (za-45).
17302
- * @description Gated on `ads.manage`. The same flow as Meta's, over Login with Amazon (scope `advertising::campaign_management`): the browser goes to `authorize_url` (`www.amazon.com/ap/oa`) and Amazon returns it to `/v1/ads/connect/amazon/callback`, which sends it on to the dashboard's account picker (`/ads?connect=pick&grant=<id>&platform=amazon`). Amazon Ads is READ-ONLY in Zinn® Ads for now: campaigns and spend are read, nothing is changed (a write is refused `readOnlyNetwork`). Every refusal on the Amazon path carries the network-neutral code (`netNotConfigured`, `netNoSuchGrant`, `netScopeNotGranted`, …) whose words name the network through `{network}` (Amazon Ads), never Google.
17302
+ * @description Gated on `ads.manage`. The same flow as Meta's, over Login with Amazon (scope `advertising::campaign_management`): the browser goes to `authorize_url` (`www.amazon.com/ap/oa`) and Amazon returns it to `/v1/ads/connect/amazon/callback`, which sends it on to the dashboard's account picker (`/ads?connect=pick&grant=<id>&platform=amazon`). Zinn® Ads reads Amazon's Sponsored Products campaigns, spend and search terms; the daily audit proposes exact campaign negatives and phrase keywords, each sent only through the approve-first change queue with its Undo (never a bid or a budget). A change approved while Amazon Ads writes are switched off, or for a house connection, is refused `amazonWritesOff`. Every refusal on the Amazon path carries the network-neutral code (`netNotConfigured`, `netNoSuchGrant`, `netScopeNotGranted`, …) whose words name the network through `{network}` (Amazon Ads), never Google.
17303
17303
  */
17304
17304
  post: operations["startAdsConnectAmazon"];
17305
17305
  delete?: never;
@@ -68077,7 +68077,7 @@ export interface components {
68077
68077
  /** @enum {string|null} */
68078
68078
  source: "auto" | "person" | "launch" | null;
68079
68079
  };
68080
- /** @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; ZA326-FU: `bid_strategy` is the 14-day za-183 freeze, which in an `approve` class queues the change and a person's approval sends it). While it waits it also carries `learning_unread` (re-checks in a row that could not read the learning state) and `learning_since`; all three go when the wait ends (sent, refused, failed, withdrawn) or when the change is queued again and nothing holds it. A withdrawn change carries `withdrawn` (`by`, `at`). 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`). */
68080
+ /** @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; ZA326-FU: `bid_strategy` is the 14-day za-183 freeze, which in an `approve` class queues the change and a person's approval sends it). While it waits it also carries `learning_unread` (re-checks in a row that could not read the learning state) and `learning_since`; all three go when the wait ends (sent, refused, failed, withdrawn) or when the change is queued again and nothing holds it. A withdrawn change carries `withdrawn` (`by`, `at`). STALESUGG: a waiting change (or a proposal) whose campaign was removed, deleted or has ended, or whose ad group was removed, on any network, is withdrawn by Zinn® Ads itself — `rejected`, `decided_by` `zinn-ads`, `withdrawn` (`by` `zinn-ads`, `at`, `reason` `campaignEnded` · `adGroupRemoved`, and the `campaign` or `ad_group` id); it is never sent and never blocks the same item elsewhere. A waiting change whose campaign could not be read carries `stale` (`code` `targetUnread`, `at`) until it reads. 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`). */
68081
68081
  AdsChange: {
68082
68082
  action_class: string;
68083
68083
  /** Format: date-time */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1730",
3
+ "version": "0.1.1732",
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>",