@zinn-digital/sdk 0.1.1590 → 0.1.1592
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 +50 -2
- package/package.json +1 -1
|
@@ -6334,7 +6334,7 @@ export interface paths {
|
|
|
6334
6334
|
put?: never;
|
|
6335
6335
|
/**
|
|
6336
6336
|
* Do what an audit finding proposes in the Google Ads account (audited).
|
|
6337
|
-
* @description A wasteful search term is added as an exact negative to its shared list (or, for a search served by two campaigns — `detail.why = "cannibal"` — to the one campaign it does not belong in); a poor keyword is paused; a converting or growing search term (`good_term`, `new_keyword`) is added as a PHRASE keyword to the ad group it was searched in. Every change is first replayed against 30 days of search terms and every keyword (the collision simulator). One write to the account, then the finding is closed as `applied`. 422 for a finding that is closed or has nothing to apply (including a keyword proposal that failed a safety check, `detail.one_click = false`), `refusal.googleAds.wouldBlockKeyword` for a negative that is one of our own keywords (owner decision 133: never) and `refusal.googleAds.wouldCollide` when the change would stop a main, converting or growing search or take one from another ad group (the reasons are saved on `detail.collision`); 503 when Google refuses (the finding stays open). za-260 (WAVEBUILD): approving a wave's budget twice at once builds it once (the budget and plan rows are locked and re-read); the enable of a wave whose read-back set is no longer what was built is refused with `refusal.googleAds.waveEnableRefused`, the row stays open with the reasons on `detail.enable_refused` (each `market`, `campaign`, `code` — `not_paused`, `bidding`, `target_cpa`, `budget`, `country`, `negatives` with the missing `negatives`, or `set` — and `detail.enable_refused_at`) and the error's `details` carry the same reasons (`field` `campaigns.<market>`, `code`, English `message`). Audit action `google_ads.finding_applied`. Requires `campaigns.manage`. BUDGETMV1 (za-186): a budget-limited finding's body may name `option` — `move` (default, total unchanged) or `increase` (the campaign alone raised, refused with 422 when the monthly ceiling no longer has that room today).
|
|
6337
|
+
* @description A wasteful search term is added as an exact negative to its shared list (or, for a search served by two campaigns — `detail.why = "cannibal"` — to the one campaign it does not belong in); a poor keyword is paused; a converting or growing search term (`good_term`, `new_keyword`) is added as a PHRASE keyword to the ad group it was searched in. Every change is first replayed against 30 days of search terms and every keyword (the collision simulator). One write to the account, then the finding is closed as `applied`. 422 for a finding that is closed or has nothing to apply (including a keyword proposal that failed a safety check, `detail.one_click = false`), `refusal.googleAds.wouldBlockKeyword` for a negative that is one of our own keywords (owner decision 133: never) and `refusal.googleAds.wouldCollide` when the change would stop a main, converting or growing search or take one from another ad group (the reasons are saved on `detail.collision`); 422 `refusal.googleAds.houseGateRefused` when OUR house owner-manual gate refuses it (nothing is sent; ZA332); 503 `refusal.googleAds.googleRefused` only when Google refuses (the finding stays open). za-260 (WAVEBUILD): approving a wave's budget twice at once builds it once (the budget and plan rows are locked and re-read); the enable of a wave whose read-back set is no longer what was built is refused with `refusal.googleAds.waveEnableRefused`, the row stays open with the reasons on `detail.enable_refused` (each `market`, `campaign`, `code` — `not_paused`, `bidding`, `target_cpa`, `budget`, `country`, `negatives` with the missing `negatives`, or `set` — and `detail.enable_refused_at`) and the error's `details` carry the same reasons (`field` `campaigns.<market>`, `code`, English `message`). Audit action `google_ads.finding_applied`. Requires `campaigns.manage`. BUDGETMV1 (za-186): a budget-limited finding's body may name `option` — `move` (default, total unchanged) or `increase` (the campaign alone raised, refused with 422 when the monthly ceiling no longer has that room today).
|
|
6338
6338
|
*/
|
|
6339
6339
|
post: operations["applyAdminGoogleAdsFinding"];
|
|
6340
6340
|
delete?: never;
|
|
@@ -6356,7 +6356,7 @@ export interface paths {
|
|
|
6356
6356
|
put?: never;
|
|
6357
6357
|
/**
|
|
6358
6358
|
* Close an audit finding without acting on it (audited).
|
|
6359
|
-
* @description A dismissed finding stays dismissed: the daily audit does not raise it again. Audit action `google_ads.finding_dismissed`. Requires `campaigns.manage`.
|
|
6359
|
+
* @description A dismissed finding stays dismissed: the daily audit does not raise it again. A Google recommendation is dismissed at Google too: 422 `refusal.googleAds.houseGateRefused` when OUR house owner-manual gate refuses that (nothing is sent, the finding stays open; ZA332), 503 `refusal.googleAds.googleRefused` when Google refuses it. Audit action `google_ads.finding_dismissed`. Requires `campaigns.manage`.
|
|
6360
6360
|
*/
|
|
6361
6361
|
post: operations["dismissAdminGoogleAdsFinding"];
|
|
6362
6362
|
delete?: never;
|
|
@@ -82491,6 +82491,24 @@ export interface components {
|
|
|
82491
82491
|
rate_limit_per_min: number;
|
|
82492
82492
|
route_through_proxy: boolean;
|
|
82493
82493
|
};
|
|
82494
|
+
EmailMarketingAbResult: {
|
|
82495
|
+
a: components["schemas"]["EmailMarketingAbVariant"];
|
|
82496
|
+
b: components["schemas"]["EmailMarketingAbVariant"];
|
|
82497
|
+
/** Format: date-time */
|
|
82498
|
+
decided_at: string | null;
|
|
82499
|
+
/** @enum {string} */
|
|
82500
|
+
metric: "opens" | "clicks";
|
|
82501
|
+
/** @enum {string|null} */
|
|
82502
|
+
winner: "a" | "b" | null;
|
|
82503
|
+
};
|
|
82504
|
+
EmailMarketingAbVariant: {
|
|
82505
|
+
/** @description Unique clicks. */
|
|
82506
|
+
clicked: number;
|
|
82507
|
+
/** @description Unique opens. */
|
|
82508
|
+
opened: number;
|
|
82509
|
+
sent: number;
|
|
82510
|
+
subject: string;
|
|
82511
|
+
};
|
|
82494
82512
|
EmailMarketingAiDraft: {
|
|
82495
82513
|
/** @description The body */
|
|
82496
82514
|
html: string;
|
|
@@ -82512,6 +82530,14 @@ export interface components {
|
|
|
82512
82530
|
tone: "friendly" | "professional" | "playful" | "urgent" | "calm";
|
|
82513
82531
|
};
|
|
82514
82532
|
EmailMarketingCampaign: {
|
|
82533
|
+
/** Format: date-time */
|
|
82534
|
+
ab_decided_at: string | null;
|
|
82535
|
+
/** @enum {string} */
|
|
82536
|
+
ab_metric: "opens" | "clicks";
|
|
82537
|
+
ab_test_pct: number;
|
|
82538
|
+
ab_wait_minutes: number;
|
|
82539
|
+
/** @enum {string|null} */
|
|
82540
|
+
ab_winner: "a" | "b" | null;
|
|
82515
82541
|
/** Format: date-time */
|
|
82516
82542
|
created_at: string;
|
|
82517
82543
|
/** Format: date-time */
|
|
@@ -82530,6 +82556,8 @@ export interface components {
|
|
|
82530
82556
|
refusal_code: "not_open" | "account_on_hold" | "not_included" | "incomplete" | "pool_warming" | "sender_unverified" | "domain_auth" | "paused" | "quota" | "review" | "empty" | null;
|
|
82531
82557
|
refusal_message: string | null;
|
|
82532
82558
|
reply_to: string;
|
|
82559
|
+
/** @enum {string} */
|
|
82560
|
+
send_time_mode: "now" | "optimised";
|
|
82533
82561
|
/** Format: uuid */
|
|
82534
82562
|
sender_id: string | null;
|
|
82535
82563
|
/** Format: date-time */
|
|
@@ -82537,6 +82565,7 @@ export interface components {
|
|
|
82537
82565
|
/** @enum {string} */
|
|
82538
82566
|
status: "draft" | "sending" | "paused" | "sent" | "refused";
|
|
82539
82567
|
subject: string;
|
|
82568
|
+
subject_b: string;
|
|
82540
82569
|
/** @enum {string} */
|
|
82541
82570
|
template: "basic" | "raw";
|
|
82542
82571
|
text: string;
|
|
@@ -82549,6 +82578,8 @@ export interface components {
|
|
|
82549
82578
|
next_after: string | null;
|
|
82550
82579
|
};
|
|
82551
82580
|
EmailMarketingCampaignReport: {
|
|
82581
|
+
/** @description The A/B subject test, or null when the campaign is not a test. */
|
|
82582
|
+
ab?: components["schemas"]["EmailMarketingAbResult"] | null;
|
|
82552
82583
|
bounce_rate_bps: number;
|
|
82553
82584
|
bounced: number;
|
|
82554
82585
|
by_status: {
|
|
@@ -82570,6 +82601,15 @@ export interface components {
|
|
|
82570
82601
|
unsubscribed: number;
|
|
82571
82602
|
};
|
|
82572
82603
|
EmailMarketingCampaignWrite: {
|
|
82604
|
+
/**
|
|
82605
|
+
* @description A/B test: what the winner is measured on (unique opens or unique clicks per sent).
|
|
82606
|
+
* @enum {string}
|
|
82607
|
+
*/
|
|
82608
|
+
ab_metric?: "opens" | "clicks";
|
|
82609
|
+
/** @description A/B test: the share of the audience (%) split between A and B; the rest gets the winner. 0 = no test. Clamped to 0-50. */
|
|
82610
|
+
ab_test_pct?: number;
|
|
82611
|
+
/** @description A/B test: minutes from the start before the winner is chosen. Clamped to 30-2880. */
|
|
82612
|
+
ab_wait_minutes?: number;
|
|
82573
82613
|
from_name?: string;
|
|
82574
82614
|
html?: string;
|
|
82575
82615
|
/** Format: uuid */
|
|
@@ -82578,9 +82618,16 @@ export interface components {
|
|
|
82578
82618
|
postal_address?: string;
|
|
82579
82619
|
preheader?: string;
|
|
82580
82620
|
reply_to?: string;
|
|
82621
|
+
/**
|
|
82622
|
+
* @description `optimised` holds each recipient until their own best hour (from past opens and clicks, Apple proxy opens discounted), within 24 hours of the start.
|
|
82623
|
+
* @enum {string}
|
|
82624
|
+
*/
|
|
82625
|
+
send_time_mode?: "now" | "optimised";
|
|
82581
82626
|
/** Format: uuid */
|
|
82582
82627
|
sender_id?: string | null;
|
|
82583
82628
|
subject?: string;
|
|
82629
|
+
/** @description A/B test: the second subject line. Blank = no test. */
|
|
82630
|
+
subject_b?: string;
|
|
82584
82631
|
/** @enum {string} */
|
|
82585
82632
|
template?: "basic" | "raw";
|
|
82586
82633
|
text?: string;
|
|
@@ -125276,6 +125323,7 @@ export interface operations {
|
|
|
125276
125323
|
404: components["responses"]["NotFound"];
|
|
125277
125324
|
422: components["responses"]["UnprocessableEntity"];
|
|
125278
125325
|
429: components["responses"]["TooManyRequests"];
|
|
125326
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
125279
125327
|
};
|
|
125280
125328
|
};
|
|
125281
125329
|
undoAdminGoogleAdsChange: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1592",
|
|
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>",
|