@zinn-digital/sdk 0.1.1463 → 0.1.1468
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.
- package/dist/generated/schema.d.ts +788 -1
- package/package.json +1 -1
|
@@ -16213,6 +16213,116 @@ export interface paths {
|
|
|
16213
16213
|
patch?: never;
|
|
16214
16214
|
trace?: never;
|
|
16215
16215
|
};
|
|
16216
|
+
"/v1/ads/briefs": {
|
|
16217
|
+
parameters: {
|
|
16218
|
+
query?: never;
|
|
16219
|
+
header?: never;
|
|
16220
|
+
path?: never;
|
|
16221
|
+
cookie?: never;
|
|
16222
|
+
};
|
|
16223
|
+
/**
|
|
16224
|
+
* The organisation's saved briefs, newest first (50).
|
|
16225
|
+
* @description Gated on `ads.view`. Filter with `offering_id`. Each lists its networks and their state.
|
|
16226
|
+
*/
|
|
16227
|
+
get: operations["listAdsLaunchBriefs"];
|
|
16228
|
+
put?: never;
|
|
16229
|
+
/**
|
|
16230
|
+
* Save one brief for many networks and start reading the site.
|
|
16231
|
+
* @description Gated on `ads.manage`; audit action `ads.brief_create` (za-291). The brief belongs to an offering (`offering_id`, else a website offering is made from `url`) and owns ONE Simple-mode build: the site is read once (`getAdsBuild` follows it; review and build the plan there), then each network's plan is made from it with `planAdsLaunchBrief`.
|
|
16232
|
+
*/
|
|
16233
|
+
post: operations["createAdsLaunchBrief"];
|
|
16234
|
+
delete?: never;
|
|
16235
|
+
options?: never;
|
|
16236
|
+
head?: never;
|
|
16237
|
+
patch?: never;
|
|
16238
|
+
trace?: never;
|
|
16239
|
+
};
|
|
16240
|
+
"/v1/ads/briefs/{brief_id}": {
|
|
16241
|
+
parameters: {
|
|
16242
|
+
query?: never;
|
|
16243
|
+
header?: never;
|
|
16244
|
+
path: {
|
|
16245
|
+
brief_id: string;
|
|
16246
|
+
};
|
|
16247
|
+
cookie?: never;
|
|
16248
|
+
};
|
|
16249
|
+
/**
|
|
16250
|
+
* One brief with each network's plan and the networks it could add now.
|
|
16251
|
+
* @description Gated on `ads.view`. `can_add` lists the live, connected networks not on the brief yet (za-293).
|
|
16252
|
+
*/
|
|
16253
|
+
get: operations["getAdsLaunchBrief"];
|
|
16254
|
+
put?: never;
|
|
16255
|
+
post?: never;
|
|
16256
|
+
delete?: never;
|
|
16257
|
+
options?: never;
|
|
16258
|
+
head?: never;
|
|
16259
|
+
patch?: never;
|
|
16260
|
+
trace?: never;
|
|
16261
|
+
};
|
|
16262
|
+
"/v1/ads/briefs/{brief_id}/launch": {
|
|
16263
|
+
parameters: {
|
|
16264
|
+
query?: never;
|
|
16265
|
+
header?: never;
|
|
16266
|
+
path: {
|
|
16267
|
+
brief_id: string;
|
|
16268
|
+
};
|
|
16269
|
+
cookie?: never;
|
|
16270
|
+
};
|
|
16271
|
+
get?: never;
|
|
16272
|
+
put?: never;
|
|
16273
|
+
/**
|
|
16274
|
+
* Queue the named networks' plans as approve-first changes, together.
|
|
16275
|
+
* @description Gated on `ads.manage`; audit action `ads.brief_launch` (za-292). All or nothing. NOTHING is sent to any network: every change waits in the approval queue (`listAdsChanges`) with its Undo, and the kill switches, spend ceilings and good standing still decide when it is approved. Refused over the plan's spend bracket, over the offering's own ceiling (`offeringCeiling`), or when an account is paused or in another currency. Refused `planStale` when the build's budget or currency was edited after its plan was built (rebuild it first). Each campaign is assigned to the brief's offering (source `launch`).
|
|
16276
|
+
*/
|
|
16277
|
+
post: operations["launchAdsLaunchBrief"];
|
|
16278
|
+
delete?: never;
|
|
16279
|
+
options?: never;
|
|
16280
|
+
head?: never;
|
|
16281
|
+
patch?: never;
|
|
16282
|
+
trace?: never;
|
|
16283
|
+
};
|
|
16284
|
+
"/v1/ads/briefs/{brief_id}/plans": {
|
|
16285
|
+
parameters: {
|
|
16286
|
+
query?: never;
|
|
16287
|
+
header?: never;
|
|
16288
|
+
path: {
|
|
16289
|
+
brief_id: string;
|
|
16290
|
+
};
|
|
16291
|
+
cookie?: never;
|
|
16292
|
+
};
|
|
16293
|
+
get?: never;
|
|
16294
|
+
put?: never;
|
|
16295
|
+
/**
|
|
16296
|
+
* Make each named network's plan from the brief (now, or later to add a network).
|
|
16297
|
+
* @description Gated on `ads.manage`; audit action `ads.brief_plans` (za-292/za-293). Every network's plan comes from the same build: Google and Microsoft campaigns natively, X as a campaign with a line item and a promoted Tweet per ad group. Each network gets `split[network]` percent of the brief's budget (default: the room left, shared equally); shares across the brief never pass 100. A network already launched is never rebuilt. Nothing is queued.
|
|
16298
|
+
*/
|
|
16299
|
+
post: operations["planAdsLaunchBrief"];
|
|
16300
|
+
delete?: never;
|
|
16301
|
+
options?: never;
|
|
16302
|
+
head?: never;
|
|
16303
|
+
patch?: never;
|
|
16304
|
+
trace?: never;
|
|
16305
|
+
};
|
|
16306
|
+
"/v1/ads/briefs/networks": {
|
|
16307
|
+
parameters: {
|
|
16308
|
+
query?: never;
|
|
16309
|
+
header?: never;
|
|
16310
|
+
path?: never;
|
|
16311
|
+
cookie?: never;
|
|
16312
|
+
};
|
|
16313
|
+
/**
|
|
16314
|
+
* The ad networks a brief can launch on now.
|
|
16315
|
+
* @description Gated on `ads.view` (za-292). `state` is `ready` (live, Zinn® Ads builds there, and the organisation has an active account on it), `connect` (live and buildable; connect an account first) or `coming_soon`. A network that is not `ready` cannot be ticked.
|
|
16316
|
+
*/
|
|
16317
|
+
get: operations["listAdsBriefNetworks"];
|
|
16318
|
+
put?: never;
|
|
16319
|
+
post?: never;
|
|
16320
|
+
delete?: never;
|
|
16321
|
+
options?: never;
|
|
16322
|
+
head?: never;
|
|
16323
|
+
patch?: never;
|
|
16324
|
+
trace?: never;
|
|
16325
|
+
};
|
|
16216
16326
|
"/v1/ads/builds": {
|
|
16217
16327
|
parameters: {
|
|
16218
16328
|
query?: never;
|
|
@@ -16298,7 +16408,7 @@ export interface paths {
|
|
|
16298
16408
|
put?: never;
|
|
16299
16409
|
/**
|
|
16300
16410
|
* Turn a ready plan into approve-first queued changes on one connected account.
|
|
16301
|
-
* @description Gated on `ads.manage`; audit action `ads.build_launch`. Each campaign becomes ONE pending change (a `googleAds:mutate` request creating its budget, campaign, targeting, negatives, ad groups, keywords and ads), plus one for the conversion action. NOTHING is sent: every change waits in the approval queue (`listAdsChanges`) whatever the account's modes, and the kill switches, spend ceilings and good standing still decide when it is approved. Refused when the account is paused or killed, or its currency is not the plan's.
|
|
16411
|
+
* @description Gated on `ads.manage`; audit action `ads.build_launch`. Each campaign becomes ONE pending change (a `googleAds:mutate` request creating its budget, campaign, targeting, negatives, ad groups, keywords and ads), plus one for the conversion action. NOTHING is sent: every change waits in the approval queue (`listAdsChanges`) whatever the account's modes, and the kill switches, spend ceilings and good standing still decide when it is approved. Refused when the account is paused or killed, or its currency is not the plan's. Also refused `briefLaunched` once a brief made from this plan has queued a network (its budget is shared there: add Google Ads from the brief), and `offeringCeiling` when the whole budget would take the brief's product over its own monthly ceiling (za-290). Refused `planStale` when the budget or currency was edited after the plan was built: rebuild the plan first (its campaign budgets carry the number it was built for).
|
|
16302
16412
|
*/
|
|
16303
16413
|
post: operations["launchAdsBuild"];
|
|
16304
16414
|
delete?: never;
|
|
@@ -16307,6 +16417,46 @@ export interface paths {
|
|
|
16307
16417
|
patch?: never;
|
|
16308
16418
|
trace?: never;
|
|
16309
16419
|
};
|
|
16420
|
+
"/v1/ads/campaign-offerings": {
|
|
16421
|
+
parameters: {
|
|
16422
|
+
query?: never;
|
|
16423
|
+
header?: never;
|
|
16424
|
+
path?: never;
|
|
16425
|
+
cookie?: never;
|
|
16426
|
+
};
|
|
16427
|
+
get?: never;
|
|
16428
|
+
put?: never;
|
|
16429
|
+
/**
|
|
16430
|
+
* Set (or clear, with no offering) which offering one campaign advertises.
|
|
16431
|
+
* @description Gated on `ads.manage`; audit action `ads.campaign_offering_set`. Recorded as set by a person.
|
|
16432
|
+
*/
|
|
16433
|
+
post: operations["setAdsCampaignOffering"];
|
|
16434
|
+
delete?: never;
|
|
16435
|
+
options?: never;
|
|
16436
|
+
head?: never;
|
|
16437
|
+
patch?: never;
|
|
16438
|
+
trace?: never;
|
|
16439
|
+
};
|
|
16440
|
+
"/v1/ads/campaign-offerings/lookup": {
|
|
16441
|
+
parameters: {
|
|
16442
|
+
query?: never;
|
|
16443
|
+
header?: never;
|
|
16444
|
+
path?: never;
|
|
16445
|
+
cookie?: never;
|
|
16446
|
+
};
|
|
16447
|
+
get?: never;
|
|
16448
|
+
put?: never;
|
|
16449
|
+
/**
|
|
16450
|
+
* Which offering each of many campaigns advertises, in one call.
|
|
16451
|
+
* @description Gated on `ads.view`. Up to 5,000 pairs, answered in one database query. A campaign with no offering answers `offering_id: null` (Unassigned). `source` is `auto`, `person` or `launch`.
|
|
16452
|
+
*/
|
|
16453
|
+
post: operations["lookupAdsCampaignOfferings"];
|
|
16454
|
+
delete?: never;
|
|
16455
|
+
options?: never;
|
|
16456
|
+
head?: never;
|
|
16457
|
+
patch?: never;
|
|
16458
|
+
trace?: never;
|
|
16459
|
+
};
|
|
16310
16460
|
"/v1/ads/changes": {
|
|
16311
16461
|
parameters: {
|
|
16312
16462
|
query?: never;
|
|
@@ -20563,6 +20713,76 @@ export interface paths {
|
|
|
20563
20713
|
patch?: never;
|
|
20564
20714
|
trace?: never;
|
|
20565
20715
|
};
|
|
20716
|
+
"/v1/ads/offerings": {
|
|
20717
|
+
parameters: {
|
|
20718
|
+
query?: never;
|
|
20719
|
+
header?: never;
|
|
20720
|
+
path?: never;
|
|
20721
|
+
cookie?: never;
|
|
20722
|
+
};
|
|
20723
|
+
/**
|
|
20724
|
+
* Search the things the organisation advertises (sites, products, services, apps, locations, events, lead forms, offers).
|
|
20725
|
+
* @description Gated on `ads.view` (za-290). No cap on how many an organisation has: the list is keyset paginated by name (`next_cursor`), filtered by `q` (name or host), `kind` and `tag`, and costs two queries per page whatever its size. Archived offerings are listed only with `archived=true`. `campaigns` is how many campaigns are assigned to each.
|
|
20726
|
+
*/
|
|
20727
|
+
get: operations["listAdsOfferings"];
|
|
20728
|
+
put?: never;
|
|
20729
|
+
/**
|
|
20730
|
+
* Add one thing the organisation advertises.
|
|
20731
|
+
* @description Gated on `ads.manage`; audit action `ads.offering_create`. `domains` are derived from `urls` and used to match imported campaigns. `monthly_budget_minor` (integer minor units of `currency`) is this offering's own ceiling beside the account's.
|
|
20732
|
+
*/
|
|
20733
|
+
post: operations["createAdsOffering"];
|
|
20734
|
+
delete?: never;
|
|
20735
|
+
options?: never;
|
|
20736
|
+
head?: never;
|
|
20737
|
+
patch?: never;
|
|
20738
|
+
trace?: never;
|
|
20739
|
+
};
|
|
20740
|
+
"/v1/ads/offerings/{offering_id}": {
|
|
20741
|
+
parameters: {
|
|
20742
|
+
query?: never;
|
|
20743
|
+
header?: never;
|
|
20744
|
+
path: {
|
|
20745
|
+
offering_id: string;
|
|
20746
|
+
};
|
|
20747
|
+
cookie?: never;
|
|
20748
|
+
};
|
|
20749
|
+
/**
|
|
20750
|
+
* One offering.
|
|
20751
|
+
* @description Gated on `ads.view`.
|
|
20752
|
+
*/
|
|
20753
|
+
get: operations["getAdsOffering"];
|
|
20754
|
+
put?: never;
|
|
20755
|
+
post?: never;
|
|
20756
|
+
delete?: never;
|
|
20757
|
+
options?: never;
|
|
20758
|
+
head?: never;
|
|
20759
|
+
/**
|
|
20760
|
+
* Change an offering, or archive or restore it.
|
|
20761
|
+
* @description Gated on `ads.manage`; audit action `ads.offering_update`. Only the fields sent change. A monthly ceiling cannot be set in a currency other than the one its launched campaigns committed (`currencyCommitted`).
|
|
20762
|
+
*/
|
|
20763
|
+
patch: operations["updateAdsOffering"];
|
|
20764
|
+
trace?: never;
|
|
20765
|
+
};
|
|
20766
|
+
"/v1/ads/offerings/match": {
|
|
20767
|
+
parameters: {
|
|
20768
|
+
query?: never;
|
|
20769
|
+
header?: never;
|
|
20770
|
+
path?: never;
|
|
20771
|
+
cookie?: never;
|
|
20772
|
+
};
|
|
20773
|
+
get?: never;
|
|
20774
|
+
put?: never;
|
|
20775
|
+
/**
|
|
20776
|
+
* Assign a Google Ads account's campaigns to offerings by their ads' final URLs.
|
|
20777
|
+
* @description Gated on `ads.manage`; audit action `ads.offering_match`. Reads the account's ads and Performance Max asset groups (nothing is written to Google) and assigns each campaign whose final-URL host (or a parent domain) belongs to exactly one offering. A campaign a person assigned is never changed; a re-run changes nothing that has not moved.
|
|
20778
|
+
*/
|
|
20779
|
+
post: operations["matchAdsOfferings"];
|
|
20780
|
+
delete?: never;
|
|
20781
|
+
options?: never;
|
|
20782
|
+
head?: never;
|
|
20783
|
+
patch?: never;
|
|
20784
|
+
trace?: never;
|
|
20785
|
+
};
|
|
20566
20786
|
"/v1/ads/own-share": {
|
|
20567
20787
|
parameters: {
|
|
20568
20788
|
query?: never;
|
|
@@ -62887,6 +63107,8 @@ export interface components {
|
|
|
62887
63107
|
AdsAccountConnection: {
|
|
62888
63108
|
/** @description The ad account's own ISO 4217 currency. */
|
|
62889
63109
|
account_currency: string;
|
|
63110
|
+
/** @description LADDERFIX (owner 2026-11-03): "Let Zinn® Ads switch bidding automatically when there's enough data". Default `false`: a move onto Maximise conversions, target CPA, Maximise conversion value or target ROAS needs at least 15 of the campaign's OWN primary conversions in 30 days (with values for a value strategy) and then waits as a pending `bids` change for a person; `true` lets the ladder send it itself (inside the `bids` mode and the plan's autopilot). Never a switch without the data either way. */
|
|
63111
|
+
auto_bid_switch: boolean;
|
|
62890
63112
|
/** @description AUTO3 (za-141, owner 2026-10-21: "Auto ON by default"): a converting campaign losing auctions on price gets its CPC cap raised by itself (+20%, once a week, at most twice the cap it started at, never while the month is projected at or over the spend ceiling, with its 30-day Undo) — the one exception to approve-first. `bids` set to `off` still wins; a plan without autopilot queues it for approval instead. */
|
|
62891
63113
|
auto_cap_raise: boolean;
|
|
62892
63114
|
/** @description AUTO1 (za-105): when a country brings enough conversions cheaply inside campaigns that are not its own, propose it a campaign of its own (excluded from its parents in the same change). Goes through the `campaigns` mode — approve-first by default. */
|
|
@@ -63731,6 +63953,8 @@ export interface components {
|
|
|
63731
63953
|
AdsBidLadderRow: {
|
|
63732
63954
|
/** @description The account's 30-day conversions from enabled primary actions, when read for the focus (null: not read). */
|
|
63733
63955
|
account_conversions?: number | null;
|
|
63956
|
+
/** @description LADDERFIX: this proposal is never sent without a person's approval. */
|
|
63957
|
+
approve_first?: boolean;
|
|
63734
63958
|
campaign: string;
|
|
63735
63959
|
campaign_id: string;
|
|
63736
63960
|
/** @description The network's campaign type (SEARCH, SHOPPING, DISPLAY, VIDEO, MULTI_CHANNEL, DEMAND_GEN, PERFORMANCE_MAX, …). */
|
|
@@ -63748,6 +63972,8 @@ export interface components {
|
|
|
63748
63972
|
focus_short?: boolean;
|
|
63749
63973
|
/** Format: date-time */
|
|
63750
63974
|
frozen_until: string | null;
|
|
63975
|
+
/** @description LADDERFIX: the max CPC limit the step back to Maximise clicks sets (0: no clicks to measure). */
|
|
63976
|
+
gate_cap_micros?: number;
|
|
63751
63977
|
have: number;
|
|
63752
63978
|
have_7d: number;
|
|
63753
63979
|
/** @description Conversions the next step needs in window_days (vendor minimum x 1.5 */
|
|
@@ -63765,6 +63991,8 @@ export interface components {
|
|
|
63765
63991
|
pending_change: string | null;
|
|
63766
63992
|
/** @enum {string} */
|
|
63767
63993
|
platform: "google" | "microsoft";
|
|
63994
|
+
/** @description LADDERFIX: the pending change the ladder kept for approval. */
|
|
63995
|
+
proposed_change?: string | null;
|
|
63768
63996
|
/** @description The measured result 14 days after a switch, per day against the 30 days before. */
|
|
63769
63997
|
review: {
|
|
63770
63998
|
conversions_per_day_after: number;
|
|
@@ -63795,16 +64023,24 @@ export interface components {
|
|
|
63795
64023
|
* @enum {string}
|
|
63796
64024
|
*/
|
|
63797
64025
|
step: "clicks" | "conversions" | "target_cpa" | "target_roas" | "impression_share" | "";
|
|
64026
|
+
/** @description LADDERFIX: on a conversion strategy with fewer of its own primary conversions (30 days) than the gate needs — `need`/`have`; proposed back to Maximise clicks with `gate_cap_micros` (approve-first). */
|
|
64027
|
+
sufficiency?: boolean;
|
|
64028
|
+
/** @description LADDERFIX: ready by the ladder's rule but under the gate — it stays where it is (`have` of `need`). */
|
|
64029
|
+
sufficiency_short?: boolean;
|
|
63798
64030
|
/** Format: date-time */
|
|
63799
64031
|
switched_at: string | null;
|
|
63800
64032
|
switched_from: string | null;
|
|
63801
64033
|
switched_to: string | null;
|
|
64034
|
+
/** @description LADDERFIX: the 30-day primary conversions that carried a value. */
|
|
64035
|
+
valued_conversions?: number;
|
|
63802
64036
|
/** @description The network's published minimum; null when it publishes none (the figure is ours). */
|
|
63803
64037
|
vendor_min: number | null;
|
|
63804
64038
|
/** @enum {string} */
|
|
63805
64039
|
verdict: "up" | "down" | "not_yet" | "top" | "learning" | "kept";
|
|
63806
64040
|
/** @description The day the figure was read at the vendor. */
|
|
63807
64041
|
verified: string;
|
|
64042
|
+
/** @description za-264: no bid strategy change before this (an imported account's warm start). */
|
|
64043
|
+
warm_start_until?: string | null;
|
|
63808
64044
|
window_days: number;
|
|
63809
64045
|
};
|
|
63810
64046
|
AdsBrandBidder: {
|
|
@@ -63917,6 +64153,36 @@ export interface components {
|
|
|
63917
64153
|
undone_at: string | null;
|
|
63918
64154
|
}[];
|
|
63919
64155
|
};
|
|
64156
|
+
AdsBriefNetwork: {
|
|
64157
|
+
connections: {
|
|
64158
|
+
currency?: string;
|
|
64159
|
+
/** Format: uuid */
|
|
64160
|
+
id?: string;
|
|
64161
|
+
name?: string;
|
|
64162
|
+
}[];
|
|
64163
|
+
label: string;
|
|
64164
|
+
network: string;
|
|
64165
|
+
/** @enum {string} */
|
|
64166
|
+
state: "ready" | "connect" | "coming_soon";
|
|
64167
|
+
};
|
|
64168
|
+
AdsBriefPlan: {
|
|
64169
|
+
change_ids: string[];
|
|
64170
|
+
/** Format: uuid */
|
|
64171
|
+
connection_id: string;
|
|
64172
|
+
/** Format: uuid */
|
|
64173
|
+
id: string;
|
|
64174
|
+
/** Format: date-time */
|
|
64175
|
+
launched_at?: string | null;
|
|
64176
|
+
/** @enum {string} */
|
|
64177
|
+
network: "google" | "microsoft" | "x";
|
|
64178
|
+
/** @description `campaigns` (name, countries, language, daily_budget_micros, keywords, keyword_count, ad_groups, and `headlines`/`descriptions` or, on X, `tweets`), `daily_budget_micros`, `campaign_count`, `requests`. */
|
|
64179
|
+
preview: {
|
|
64180
|
+
[key: string]: unknown;
|
|
64181
|
+
};
|
|
64182
|
+
share_pct: number;
|
|
64183
|
+
/** @enum {string} */
|
|
64184
|
+
status: "preview" | "queued" | "empty";
|
|
64185
|
+
};
|
|
63920
64186
|
/** @enum {string} */
|
|
63921
64187
|
AdsBriefWhy: "bestReturn" | "offTarget" | "testShare" | "held" | "unreadable" | "otherCurrency" | "noReturn";
|
|
63922
64188
|
/** @description The customer's own budget for one campaign (za-84, docs/1006 §84). */
|
|
@@ -64262,6 +64528,15 @@ export interface components {
|
|
|
64262
64528
|
/** @description The bid-strategy ladder step it is on (§39). */
|
|
64263
64529
|
step: string;
|
|
64264
64530
|
};
|
|
64531
|
+
AdsCampaignOffering: {
|
|
64532
|
+
campaign_id: string;
|
|
64533
|
+
/** Format: uuid */
|
|
64534
|
+
connection_id: string;
|
|
64535
|
+
/** Format: uuid */
|
|
64536
|
+
offering_id: string | null;
|
|
64537
|
+
/** @enum {string|null} */
|
|
64538
|
+
source: "auto" | "person" | "launch" | null;
|
|
64539
|
+
};
|
|
64265
64540
|
/** @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`). */
|
|
64266
64541
|
AdsChange: {
|
|
64267
64542
|
action_class: string;
|
|
@@ -64533,6 +64808,8 @@ export interface components {
|
|
|
64533
64808
|
};
|
|
64534
64809
|
/** @description One connected account's autopilot settings (UI1, za-18). Only what is sent changes. Plan rules: `auto` in `modes`, `hold_until_sale` and `roas_target_pct` need autopilot (Starter and above); more than one language in `markets` and turning `competitor_automation` on need Pro and above. Turning a thing off is never refused. */
|
|
64535
64810
|
AdsConnectionSettingsUpdate: {
|
|
64811
|
+
/** @description LADDERFIX: let Zinn® Ads switch bidding automatically when there's enough data (default false: approve-first). */
|
|
64812
|
+
auto_bid_switch?: boolean;
|
|
64536
64813
|
auto_cap_raise?: boolean;
|
|
64537
64814
|
auto_new_countries?: boolean;
|
|
64538
64815
|
auto_push_tests?: boolean;
|
|
@@ -65526,6 +65803,35 @@ export interface components {
|
|
|
65526
65803
|
status: number;
|
|
65527
65804
|
url: string;
|
|
65528
65805
|
};
|
|
65806
|
+
AdsLaunchBrief: {
|
|
65807
|
+
/** Format: uuid */
|
|
65808
|
+
build_id: string;
|
|
65809
|
+
build_status?: string;
|
|
65810
|
+
can_add?: string[];
|
|
65811
|
+
/** Format: date-time */
|
|
65812
|
+
created_at?: string;
|
|
65813
|
+
currency: string;
|
|
65814
|
+
domain?: string;
|
|
65815
|
+
/** Format: uuid */
|
|
65816
|
+
id: string;
|
|
65817
|
+
monthly_budget_minor: number;
|
|
65818
|
+
name?: string;
|
|
65819
|
+
networks?: {
|
|
65820
|
+
network?: string;
|
|
65821
|
+
share_pct?: number;
|
|
65822
|
+
status?: string;
|
|
65823
|
+
}[];
|
|
65824
|
+
objective?: string;
|
|
65825
|
+
offering?: components["schemas"]["AdsOffering"];
|
|
65826
|
+
/** Format: uuid */
|
|
65827
|
+
offering_id: string;
|
|
65828
|
+
/** Format: uuid */
|
|
65829
|
+
org_id: string;
|
|
65830
|
+
plans?: components["schemas"]["AdsBriefPlan"][];
|
|
65831
|
+
split: {
|
|
65832
|
+
[key: string]: number;
|
|
65833
|
+
};
|
|
65834
|
+
};
|
|
65529
65835
|
AdsMarketLanguage: {
|
|
65530
65836
|
/** @enum {string} */
|
|
65531
65837
|
code: "" | "languageNotOnSite" | "languageNotTargetable";
|
|
@@ -65874,6 +66180,50 @@ export interface components {
|
|
|
65874
66180
|
/** @description 400 = a 4.00x return. */
|
|
65875
66181
|
target_roas_pct?: number;
|
|
65876
66182
|
};
|
|
66183
|
+
AdsOffering: {
|
|
66184
|
+
archived: boolean;
|
|
66185
|
+
campaigns: number;
|
|
66186
|
+
/** Format: date-time */
|
|
66187
|
+
created_at?: string;
|
|
66188
|
+
currency?: string | null;
|
|
66189
|
+
domains: string[];
|
|
66190
|
+
/** Format: uuid */
|
|
66191
|
+
id: string;
|
|
66192
|
+
kind: components["schemas"]["AdsOfferingKind"];
|
|
66193
|
+
markets: {
|
|
66194
|
+
[key: string]: unknown;
|
|
66195
|
+
}[];
|
|
66196
|
+
monthly_budget_minor?: number | null;
|
|
66197
|
+
name: string;
|
|
66198
|
+
objective?: string;
|
|
66199
|
+
/** Format: uuid */
|
|
66200
|
+
org_id: string;
|
|
66201
|
+
tags: string[];
|
|
66202
|
+
urls: string[];
|
|
66203
|
+
};
|
|
66204
|
+
AdsOfferingInput: {
|
|
66205
|
+
/** @description On update, archive (true) or restore (false) the offering. */
|
|
66206
|
+
archived?: boolean;
|
|
66207
|
+
currency?: string;
|
|
66208
|
+
kind?: components["schemas"]["AdsOfferingKind"];
|
|
66209
|
+
markets?: {
|
|
66210
|
+
country?: string;
|
|
66211
|
+
language?: string;
|
|
66212
|
+
}[];
|
|
66213
|
+
monthly_budget_minor?: number | null;
|
|
66214
|
+
name?: string;
|
|
66215
|
+
/** @enum {string} */
|
|
66216
|
+
objective?: "" | "leads" | "revenue" | "traffic" | "installs";
|
|
66217
|
+
/**
|
|
66218
|
+
* Format: uuid
|
|
66219
|
+
* @description On create, which of the caller's organisations owns it (required when there are several).
|
|
66220
|
+
*/
|
|
66221
|
+
org_id?: string;
|
|
66222
|
+
tags?: string[];
|
|
66223
|
+
urls?: string[];
|
|
66224
|
+
};
|
|
66225
|
+
/** @enum {string} */
|
|
66226
|
+
AdsOfferingKind: "website" | "product" | "service" | "app" | "location" | "event" | "lead_form" | "affiliate_offer" | "other";
|
|
65877
66227
|
/** @description za-191 / za-N3 (docs/1006 §78): paid beside organic for one Google Ads account, and the saver's thresholds. */
|
|
65878
66228
|
AdsOrganic: {
|
|
65879
66229
|
/** @description `[min, max]` per numeric threshold. */
|
|
@@ -138278,6 +138628,208 @@ export interface operations {
|
|
|
138278
138628
|
429: components["responses"]["TooManyRequests"];
|
|
138279
138629
|
};
|
|
138280
138630
|
};
|
|
138631
|
+
listAdsLaunchBriefs: {
|
|
138632
|
+
parameters: {
|
|
138633
|
+
query?: {
|
|
138634
|
+
build_id?: string;
|
|
138635
|
+
offering_id?: string;
|
|
138636
|
+
org_id?: string;
|
|
138637
|
+
};
|
|
138638
|
+
header?: never;
|
|
138639
|
+
path?: never;
|
|
138640
|
+
cookie?: never;
|
|
138641
|
+
};
|
|
138642
|
+
requestBody?: never;
|
|
138643
|
+
responses: {
|
|
138644
|
+
/** @description The briefs. */
|
|
138645
|
+
200: {
|
|
138646
|
+
headers: {
|
|
138647
|
+
[name: string]: unknown;
|
|
138648
|
+
};
|
|
138649
|
+
content: {
|
|
138650
|
+
"application/json": {
|
|
138651
|
+
data: components["schemas"]["AdsLaunchBrief"][];
|
|
138652
|
+
};
|
|
138653
|
+
};
|
|
138654
|
+
};
|
|
138655
|
+
401: components["responses"]["Unauthorized"];
|
|
138656
|
+
429: components["responses"]["TooManyRequests"];
|
|
138657
|
+
};
|
|
138658
|
+
};
|
|
138659
|
+
createAdsLaunchBrief: {
|
|
138660
|
+
parameters: {
|
|
138661
|
+
query?: never;
|
|
138662
|
+
header?: never;
|
|
138663
|
+
path?: never;
|
|
138664
|
+
cookie?: never;
|
|
138665
|
+
};
|
|
138666
|
+
requestBody: {
|
|
138667
|
+
content: {
|
|
138668
|
+
"application/json": {
|
|
138669
|
+
/**
|
|
138670
|
+
* Format: uuid
|
|
138671
|
+
* @description Adopt an existing Simple-mode build as the brief (its budget, currency and markets); one brief per build, returned as it is when it exists. A build already launched through its own door is refused `offeringCeiling` when its budget does not fit what the offering's monthly ceiling has left, and `offeringCurrency` when its currency is not the offering's.
|
|
138672
|
+
*/
|
|
138673
|
+
build_id?: string;
|
|
138674
|
+
currency?: string;
|
|
138675
|
+
markets?: {
|
|
138676
|
+
country?: string;
|
|
138677
|
+
language?: string;
|
|
138678
|
+
}[];
|
|
138679
|
+
monthly_budget_minor?: number;
|
|
138680
|
+
name?: string;
|
|
138681
|
+
/** @enum {string} */
|
|
138682
|
+
objective?: "" | "leads" | "revenue" | "traffic" | "installs";
|
|
138683
|
+
offer?: string;
|
|
138684
|
+
/** Format: uuid */
|
|
138685
|
+
offering_id?: string;
|
|
138686
|
+
offers_free?: boolean;
|
|
138687
|
+
/** Format: uuid */
|
|
138688
|
+
org_id?: string;
|
|
138689
|
+
url?: string;
|
|
138690
|
+
};
|
|
138691
|
+
};
|
|
138692
|
+
};
|
|
138693
|
+
responses: {
|
|
138694
|
+
/** @description The brief. */
|
|
138695
|
+
201: {
|
|
138696
|
+
headers: {
|
|
138697
|
+
[name: string]: unknown;
|
|
138698
|
+
};
|
|
138699
|
+
content: {
|
|
138700
|
+
"application/json": components["schemas"]["AdsLaunchBrief"];
|
|
138701
|
+
};
|
|
138702
|
+
};
|
|
138703
|
+
401: components["responses"]["Unauthorized"];
|
|
138704
|
+
403: components["responses"]["Forbidden"];
|
|
138705
|
+
404: components["responses"]["NotFound"];
|
|
138706
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
138707
|
+
429: components["responses"]["TooManyRequests"];
|
|
138708
|
+
};
|
|
138709
|
+
};
|
|
138710
|
+
getAdsLaunchBrief: {
|
|
138711
|
+
parameters: {
|
|
138712
|
+
query?: never;
|
|
138713
|
+
header?: never;
|
|
138714
|
+
path: {
|
|
138715
|
+
brief_id: string;
|
|
138716
|
+
};
|
|
138717
|
+
cookie?: never;
|
|
138718
|
+
};
|
|
138719
|
+
requestBody?: never;
|
|
138720
|
+
responses: {
|
|
138721
|
+
/** @description The brief. */
|
|
138722
|
+
200: {
|
|
138723
|
+
headers: {
|
|
138724
|
+
[name: string]: unknown;
|
|
138725
|
+
};
|
|
138726
|
+
content: {
|
|
138727
|
+
"application/json": components["schemas"]["AdsLaunchBrief"];
|
|
138728
|
+
};
|
|
138729
|
+
};
|
|
138730
|
+
401: components["responses"]["Unauthorized"];
|
|
138731
|
+
404: components["responses"]["NotFound"];
|
|
138732
|
+
429: components["responses"]["TooManyRequests"];
|
|
138733
|
+
};
|
|
138734
|
+
};
|
|
138735
|
+
launchAdsLaunchBrief: {
|
|
138736
|
+
parameters: {
|
|
138737
|
+
query?: never;
|
|
138738
|
+
header?: never;
|
|
138739
|
+
path: {
|
|
138740
|
+
brief_id: string;
|
|
138741
|
+
};
|
|
138742
|
+
cookie?: never;
|
|
138743
|
+
};
|
|
138744
|
+
requestBody: {
|
|
138745
|
+
content: {
|
|
138746
|
+
"application/json": {
|
|
138747
|
+
networks: ("google" | "microsoft" | "x")[];
|
|
138748
|
+
};
|
|
138749
|
+
};
|
|
138750
|
+
};
|
|
138751
|
+
responses: {
|
|
138752
|
+
/** @description The brief with its plans queued. */
|
|
138753
|
+
200: {
|
|
138754
|
+
headers: {
|
|
138755
|
+
[name: string]: unknown;
|
|
138756
|
+
};
|
|
138757
|
+
content: {
|
|
138758
|
+
"application/json": components["schemas"]["AdsLaunchBrief"];
|
|
138759
|
+
};
|
|
138760
|
+
};
|
|
138761
|
+
401: components["responses"]["Unauthorized"];
|
|
138762
|
+
404: components["responses"]["NotFound"];
|
|
138763
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
138764
|
+
429: components["responses"]["TooManyRequests"];
|
|
138765
|
+
};
|
|
138766
|
+
};
|
|
138767
|
+
planAdsLaunchBrief: {
|
|
138768
|
+
parameters: {
|
|
138769
|
+
query?: never;
|
|
138770
|
+
header?: never;
|
|
138771
|
+
path: {
|
|
138772
|
+
brief_id: string;
|
|
138773
|
+
};
|
|
138774
|
+
cookie?: never;
|
|
138775
|
+
};
|
|
138776
|
+
requestBody: {
|
|
138777
|
+
content: {
|
|
138778
|
+
"application/json": {
|
|
138779
|
+
networks: (("google" | "microsoft" | "x") | {
|
|
138780
|
+
/** Format: uuid */
|
|
138781
|
+
connection_id?: string;
|
|
138782
|
+
/** @enum {string} */
|
|
138783
|
+
network: "google" | "microsoft" | "x";
|
|
138784
|
+
})[];
|
|
138785
|
+
split?: {
|
|
138786
|
+
[key: string]: number;
|
|
138787
|
+
};
|
|
138788
|
+
};
|
|
138789
|
+
};
|
|
138790
|
+
};
|
|
138791
|
+
responses: {
|
|
138792
|
+
/** @description The brief with its plans. */
|
|
138793
|
+
200: {
|
|
138794
|
+
headers: {
|
|
138795
|
+
[name: string]: unknown;
|
|
138796
|
+
};
|
|
138797
|
+
content: {
|
|
138798
|
+
"application/json": components["schemas"]["AdsLaunchBrief"];
|
|
138799
|
+
};
|
|
138800
|
+
};
|
|
138801
|
+
401: components["responses"]["Unauthorized"];
|
|
138802
|
+
404: components["responses"]["NotFound"];
|
|
138803
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
138804
|
+
429: components["responses"]["TooManyRequests"];
|
|
138805
|
+
};
|
|
138806
|
+
};
|
|
138807
|
+
listAdsBriefNetworks: {
|
|
138808
|
+
parameters: {
|
|
138809
|
+
query?: {
|
|
138810
|
+
org_id?: string;
|
|
138811
|
+
};
|
|
138812
|
+
header?: never;
|
|
138813
|
+
path?: never;
|
|
138814
|
+
cookie?: never;
|
|
138815
|
+
};
|
|
138816
|
+
requestBody?: never;
|
|
138817
|
+
responses: {
|
|
138818
|
+
/** @description Every network. */
|
|
138819
|
+
200: {
|
|
138820
|
+
headers: {
|
|
138821
|
+
[name: string]: unknown;
|
|
138822
|
+
};
|
|
138823
|
+
content: {
|
|
138824
|
+
"application/json": {
|
|
138825
|
+
data: components["schemas"]["AdsBriefNetwork"][];
|
|
138826
|
+
};
|
|
138827
|
+
};
|
|
138828
|
+
};
|
|
138829
|
+
401: components["responses"]["Unauthorized"];
|
|
138830
|
+
429: components["responses"]["TooManyRequests"];
|
|
138831
|
+
};
|
|
138832
|
+
};
|
|
138281
138833
|
listAdsBuilds: {
|
|
138282
138834
|
parameters: {
|
|
138283
138835
|
query?: {
|
|
@@ -138471,6 +139023,76 @@ export interface operations {
|
|
|
138471
139023
|
429: components["responses"]["TooManyRequests"];
|
|
138472
139024
|
};
|
|
138473
139025
|
};
|
|
139026
|
+
setAdsCampaignOffering: {
|
|
139027
|
+
parameters: {
|
|
139028
|
+
query?: never;
|
|
139029
|
+
header?: never;
|
|
139030
|
+
path?: never;
|
|
139031
|
+
cookie?: never;
|
|
139032
|
+
};
|
|
139033
|
+
requestBody: {
|
|
139034
|
+
content: {
|
|
139035
|
+
"application/json": {
|
|
139036
|
+
campaign_id: string;
|
|
139037
|
+
campaign_name?: string;
|
|
139038
|
+
/** Format: uuid */
|
|
139039
|
+
connection_id: string;
|
|
139040
|
+
/** Format: uuid */
|
|
139041
|
+
offering_id?: string | null;
|
|
139042
|
+
};
|
|
139043
|
+
};
|
|
139044
|
+
};
|
|
139045
|
+
responses: {
|
|
139046
|
+
/** @description The assignment. */
|
|
139047
|
+
200: {
|
|
139048
|
+
headers: {
|
|
139049
|
+
[name: string]: unknown;
|
|
139050
|
+
};
|
|
139051
|
+
content: {
|
|
139052
|
+
"application/json": components["schemas"]["AdsCampaignOffering"];
|
|
139053
|
+
};
|
|
139054
|
+
};
|
|
139055
|
+
401: components["responses"]["Unauthorized"];
|
|
139056
|
+
404: components["responses"]["NotFound"];
|
|
139057
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
139058
|
+
429: components["responses"]["TooManyRequests"];
|
|
139059
|
+
};
|
|
139060
|
+
};
|
|
139061
|
+
lookupAdsCampaignOfferings: {
|
|
139062
|
+
parameters: {
|
|
139063
|
+
query?: never;
|
|
139064
|
+
header?: never;
|
|
139065
|
+
path?: never;
|
|
139066
|
+
cookie?: never;
|
|
139067
|
+
};
|
|
139068
|
+
requestBody: {
|
|
139069
|
+
content: {
|
|
139070
|
+
"application/json": {
|
|
139071
|
+
pairs: {
|
|
139072
|
+
campaign_id: string;
|
|
139073
|
+
/** Format: uuid */
|
|
139074
|
+
connection_id: string;
|
|
139075
|
+
}[];
|
|
139076
|
+
};
|
|
139077
|
+
};
|
|
139078
|
+
};
|
|
139079
|
+
responses: {
|
|
139080
|
+
/** @description One row per pair, in the order sent. */
|
|
139081
|
+
200: {
|
|
139082
|
+
headers: {
|
|
139083
|
+
[name: string]: unknown;
|
|
139084
|
+
};
|
|
139085
|
+
content: {
|
|
139086
|
+
"application/json": {
|
|
139087
|
+
data: components["schemas"]["AdsCampaignOffering"][];
|
|
139088
|
+
};
|
|
139089
|
+
};
|
|
139090
|
+
};
|
|
139091
|
+
401: components["responses"]["Unauthorized"];
|
|
139092
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
139093
|
+
429: components["responses"]["TooManyRequests"];
|
|
139094
|
+
};
|
|
139095
|
+
};
|
|
138474
139096
|
listAdsChanges: {
|
|
138475
139097
|
parameters: {
|
|
138476
139098
|
query?: {
|
|
@@ -140718,6 +141340,8 @@ export interface operations {
|
|
|
140718
141340
|
};
|
|
140719
141341
|
content: {
|
|
140720
141342
|
"application/json": {
|
|
141343
|
+
/** @description LADDERFIX: the account's toggle — false (the default) keeps every move onto a conversion strategy as a pending change for a person. */
|
|
141344
|
+
auto_bid_switch?: boolean;
|
|
140721
141345
|
data: components["schemas"]["AdsBidLadderRow"][];
|
|
140722
141346
|
/** @description ADSFOCUS-GUARD: the customer's own floor of account conversions (30 days, enabled primary actions) before a clicks campaign moves to Maximise conversions with no target; null = following `focus_min_recommended`. Set through the autopilot settings (`focus_min_conversions`). */
|
|
140723
141347
|
focus_min_conversions?: number | null;
|
|
@@ -140726,6 +141350,13 @@ export interface operations {
|
|
|
140726
141350
|
freeze_days: number;
|
|
140727
141351
|
/** @description Our margin over the vendor minimum, as a fraction (3/2). */
|
|
140728
141352
|
margin: string;
|
|
141353
|
+
/** @description LADDERFIX: the data-sufficiency gate — the campaign's own primary conversions in 30 days a move onto each conversion strategy needs (config, 15 by default). */
|
|
141354
|
+
sufficiency?: {
|
|
141355
|
+
conversions: number;
|
|
141356
|
+
target_cpa: number;
|
|
141357
|
+
/** @description Conversions WITH a value, for Maximise conversion value and target ROAS. */
|
|
141358
|
+
value: number;
|
|
141359
|
+
};
|
|
140729
141360
|
};
|
|
140730
141361
|
};
|
|
140731
141362
|
};
|
|
@@ -146457,6 +147088,162 @@ export interface operations {
|
|
|
146457
147088
|
429: components["responses"]["TooManyRequests"];
|
|
146458
147089
|
};
|
|
146459
147090
|
};
|
|
147091
|
+
listAdsOfferings: {
|
|
147092
|
+
parameters: {
|
|
147093
|
+
query?: {
|
|
147094
|
+
archived?: boolean;
|
|
147095
|
+
cursor?: string;
|
|
147096
|
+
kind?: components["schemas"]["AdsOfferingKind"];
|
|
147097
|
+
limit?: number;
|
|
147098
|
+
org_id?: string;
|
|
147099
|
+
q?: string;
|
|
147100
|
+
tag?: string;
|
|
147101
|
+
};
|
|
147102
|
+
header?: never;
|
|
147103
|
+
path?: never;
|
|
147104
|
+
cookie?: never;
|
|
147105
|
+
};
|
|
147106
|
+
requestBody?: never;
|
|
147107
|
+
responses: {
|
|
147108
|
+
/** @description One page of offerings. */
|
|
147109
|
+
200: {
|
|
147110
|
+
headers: {
|
|
147111
|
+
[name: string]: unknown;
|
|
147112
|
+
};
|
|
147113
|
+
content: {
|
|
147114
|
+
"application/json": {
|
|
147115
|
+
data: components["schemas"]["AdsOffering"][];
|
|
147116
|
+
next_cursor: string | null;
|
|
147117
|
+
};
|
|
147118
|
+
};
|
|
147119
|
+
};
|
|
147120
|
+
401: components["responses"]["Unauthorized"];
|
|
147121
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
147122
|
+
429: components["responses"]["TooManyRequests"];
|
|
147123
|
+
};
|
|
147124
|
+
};
|
|
147125
|
+
createAdsOffering: {
|
|
147126
|
+
parameters: {
|
|
147127
|
+
query?: never;
|
|
147128
|
+
header?: never;
|
|
147129
|
+
path?: never;
|
|
147130
|
+
cookie?: never;
|
|
147131
|
+
};
|
|
147132
|
+
requestBody: {
|
|
147133
|
+
content: {
|
|
147134
|
+
"application/json": components["schemas"]["AdsOfferingInput"];
|
|
147135
|
+
};
|
|
147136
|
+
};
|
|
147137
|
+
responses: {
|
|
147138
|
+
/** @description The offering. */
|
|
147139
|
+
201: {
|
|
147140
|
+
headers: {
|
|
147141
|
+
[name: string]: unknown;
|
|
147142
|
+
};
|
|
147143
|
+
content: {
|
|
147144
|
+
"application/json": components["schemas"]["AdsOffering"];
|
|
147145
|
+
};
|
|
147146
|
+
};
|
|
147147
|
+
401: components["responses"]["Unauthorized"];
|
|
147148
|
+
403: components["responses"]["Forbidden"];
|
|
147149
|
+
404: components["responses"]["NotFound"];
|
|
147150
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
147151
|
+
429: components["responses"]["TooManyRequests"];
|
|
147152
|
+
};
|
|
147153
|
+
};
|
|
147154
|
+
getAdsOffering: {
|
|
147155
|
+
parameters: {
|
|
147156
|
+
query?: never;
|
|
147157
|
+
header?: never;
|
|
147158
|
+
path: {
|
|
147159
|
+
offering_id: string;
|
|
147160
|
+
};
|
|
147161
|
+
cookie?: never;
|
|
147162
|
+
};
|
|
147163
|
+
requestBody?: never;
|
|
147164
|
+
responses: {
|
|
147165
|
+
/** @description The offering. */
|
|
147166
|
+
200: {
|
|
147167
|
+
headers: {
|
|
147168
|
+
[name: string]: unknown;
|
|
147169
|
+
};
|
|
147170
|
+
content: {
|
|
147171
|
+
"application/json": components["schemas"]["AdsOffering"];
|
|
147172
|
+
};
|
|
147173
|
+
};
|
|
147174
|
+
401: components["responses"]["Unauthorized"];
|
|
147175
|
+
404: components["responses"]["NotFound"];
|
|
147176
|
+
429: components["responses"]["TooManyRequests"];
|
|
147177
|
+
};
|
|
147178
|
+
};
|
|
147179
|
+
updateAdsOffering: {
|
|
147180
|
+
parameters: {
|
|
147181
|
+
query?: never;
|
|
147182
|
+
header?: never;
|
|
147183
|
+
path: {
|
|
147184
|
+
offering_id: string;
|
|
147185
|
+
};
|
|
147186
|
+
cookie?: never;
|
|
147187
|
+
};
|
|
147188
|
+
requestBody: {
|
|
147189
|
+
content: {
|
|
147190
|
+
"application/json": components["schemas"]["AdsOfferingInput"] & {
|
|
147191
|
+
archived?: boolean;
|
|
147192
|
+
};
|
|
147193
|
+
};
|
|
147194
|
+
};
|
|
147195
|
+
responses: {
|
|
147196
|
+
/** @description The offering. */
|
|
147197
|
+
200: {
|
|
147198
|
+
headers: {
|
|
147199
|
+
[name: string]: unknown;
|
|
147200
|
+
};
|
|
147201
|
+
content: {
|
|
147202
|
+
"application/json": components["schemas"]["AdsOffering"];
|
|
147203
|
+
};
|
|
147204
|
+
};
|
|
147205
|
+
401: components["responses"]["Unauthorized"];
|
|
147206
|
+
404: components["responses"]["NotFound"];
|
|
147207
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
147208
|
+
429: components["responses"]["TooManyRequests"];
|
|
147209
|
+
};
|
|
147210
|
+
};
|
|
147211
|
+
matchAdsOfferings: {
|
|
147212
|
+
parameters: {
|
|
147213
|
+
query?: never;
|
|
147214
|
+
header?: never;
|
|
147215
|
+
path?: never;
|
|
147216
|
+
cookie?: never;
|
|
147217
|
+
};
|
|
147218
|
+
requestBody: {
|
|
147219
|
+
content: {
|
|
147220
|
+
"application/json": {
|
|
147221
|
+
/** Format: uuid */
|
|
147222
|
+
connection_id: string;
|
|
147223
|
+
};
|
|
147224
|
+
};
|
|
147225
|
+
};
|
|
147226
|
+
responses: {
|
|
147227
|
+
/** @description What was matched. */
|
|
147228
|
+
200: {
|
|
147229
|
+
headers: {
|
|
147230
|
+
[name: string]: unknown;
|
|
147231
|
+
};
|
|
147232
|
+
content: {
|
|
147233
|
+
"application/json": {
|
|
147234
|
+
kept_person: number;
|
|
147235
|
+
matched: number;
|
|
147236
|
+
unchanged: number;
|
|
147237
|
+
unmatched: number;
|
|
147238
|
+
};
|
|
147239
|
+
};
|
|
147240
|
+
};
|
|
147241
|
+
401: components["responses"]["Unauthorized"];
|
|
147242
|
+
404: components["responses"]["NotFound"];
|
|
147243
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
147244
|
+
429: components["responses"]["TooManyRequests"];
|
|
147245
|
+
};
|
|
147246
|
+
};
|
|
146460
147247
|
getAdsOwnShare: {
|
|
146461
147248
|
parameters: {
|
|
146462
147249
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1468",
|
|
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>",
|