@zinn-digital/sdk 0.1.1548 → 0.1.1550

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.
@@ -20724,6 +20724,28 @@ export interface paths {
20724
20724
  patch?: never;
20725
20725
  trace?: never;
20726
20726
  };
20727
+ "/v1/ads/connections/{connection_id}/universal-negatives": {
20728
+ parameters: {
20729
+ query?: never;
20730
+ header?: never;
20731
+ path: {
20732
+ connection_id: string;
20733
+ };
20734
+ cookie?: never;
20735
+ };
20736
+ /**
20737
+ * The ad account's one list of universal negative keywords and its sync state.
20738
+ * @description za-333. Gated on `ads.view`. The za-217 junk set (searches for a free host or a free blog platform) kept as ONE account-level negative keyword list on Google (at most 1,000 entries; an existing account-level list is used) and ONE shared negative keyword list associated with every campaign on Microsoft (at most 5,000), instead of a copy on every campaign. Each audit reads the account, adds what is missing through the change queue (approve-first, kill switches, good standing, the collision replay), reads the list back, and only then removes the per-campaign copies it covers, each with its Undo. `sync` is what the latest audit read and did (null before the first); read from the stored audit, never from the network in this request.
20739
+ */
20740
+ get: operations["getAdsUniversalNegatives"];
20741
+ put?: never;
20742
+ post?: never;
20743
+ delete?: never;
20744
+ options?: never;
20745
+ head?: never;
20746
+ patch?: never;
20747
+ trace?: never;
20748
+ };
20727
20749
  "/v1/ads/connections/{connection_id}/video": {
20728
20750
  parameters: {
20729
20751
  query?: never;
@@ -70005,6 +70027,52 @@ export interface components {
70005
70027
  [key: string]: string;
70006
70028
  };
70007
70029
  };
70030
+ /** @description za-333 — the account's one list of universal negatives. */
70031
+ AdsUniversalNegatives: {
70032
+ /** @description The most entries the network allows on the list. */
70033
+ cap: number;
70034
+ /** Format: date-time */
70035
+ checked_at: string | null;
70036
+ /** Format: uuid */
70037
+ connection_id: string;
70038
+ /** @description The name the list is made with. */
70039
+ list_name: string;
70040
+ platform: string;
70041
+ /** @description Google and Microsoft keep the list. */
70042
+ supported: boolean;
70043
+ sync: null | components["schemas"]["AdsUniversalNegativesSync"];
70044
+ /** @description The za-217 junk set, each added as a PHRASE negative. */
70045
+ terms: string[];
70046
+ };
70047
+ AdsUniversalNegativesSync: {
70048
+ cap?: number;
70049
+ change_ids?: string[];
70050
+ /** @description Per-campaign copies the list covers, as read by this run. `null` when this run did not read them (Microsoft skips the per-campaign read on a quiet synced account for at most 7 days); never 0 for an unread figure. */
70051
+ copies?: number | null;
70052
+ /** @description When the per-campaign copies were last actually read (ISO 8601; empty if never). */
70053
+ copies_read_at?: string;
70054
+ copies_removed?: number;
70055
+ /** @description Entries on the list as read */
70056
+ entries?: number;
70057
+ /** @description Linked to the account (Google) or every campaign (Microsoft). */
70058
+ linked?: boolean;
70059
+ list_name?: string;
70060
+ missing?: string[];
70061
+ /** @enum {string} */
70062
+ network: "google" | "microsoft";
70063
+ present?: string[];
70064
+ /** @description Why a step did not go out — `accountListFull`, a refusal code such as `notInGoodStanding`, `killed` or `notAutomatic`, `unreadBack`, or `vendor`. */
70065
+ reason?: string;
70066
+ /** @description Terms left off because they would block a keyword (or a search that converted). */
70067
+ skipped?: {
70068
+ blocks?: string;
70069
+ text?: string;
70070
+ }[];
70071
+ /** @enum {string} */
70072
+ state: "planned" | "waiting_approval" | "refused" | "full" | "synced" | "error";
70073
+ terms?: number;
70074
+ unlinked_campaigns?: number;
70075
+ };
70008
70076
  /** @description za-201 (docs/1006 §80): the Video and Demand Gen reading, or null before the first audit. `state`: `ok` · `attention` (a placement that spends and never converts, a frequency over 6 a person, mostly view-through conversions, more claimed than real sales, or no YouTube channel saved) · `noVideo`. Money is integer micros of `figures.currency`. */
70009
70077
  AdsVideoReading: {
70010
70078
  /** Format: date */
@@ -149198,6 +149266,32 @@ export interface operations {
149198
149266
  };
149199
149267
  };
149200
149268
  };
149269
+ getAdsUniversalNegatives: {
149270
+ parameters: {
149271
+ query?: never;
149272
+ header?: never;
149273
+ path: {
149274
+ connection_id: string;
149275
+ };
149276
+ cookie?: never;
149277
+ };
149278
+ requestBody?: never;
149279
+ responses: {
149280
+ /** @description The terms, the cap and the latest sync state. */
149281
+ 200: {
149282
+ headers: {
149283
+ [name: string]: unknown;
149284
+ };
149285
+ content: {
149286
+ "application/json": components["schemas"]["AdsUniversalNegatives"];
149287
+ };
149288
+ };
149289
+ 401: components["responses"]["Unauthorized"];
149290
+ 403: components["responses"]["Forbidden"];
149291
+ 404: components["responses"]["NotFound"];
149292
+ 429: components["responses"]["TooManyRequests"];
149293
+ };
149294
+ };
149201
149295
  getAdsVideo: {
149202
149296
  parameters: {
149203
149297
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1548",
3
+ "version": "0.1.1550",
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>",