@vitrina/api 14.118.1 → 14.118.3
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/index.d.cts +157 -12
- package/dist/index.d.ts +157 -12
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -169704,6 +169704,19 @@ interface paths {
|
|
|
169704
169704
|
min_campaign_age_days: number;
|
|
169705
169705
|
checked_at: string;
|
|
169706
169706
|
} | null;
|
|
169707
|
+
/**
|
|
169708
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
169709
|
+
* @enum {string|null}
|
|
169710
|
+
*/
|
|
169711
|
+
creative_mix: "mixed" | "separate" | null;
|
|
169712
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
169713
|
+
build_failure: {
|
|
169714
|
+
code: string;
|
|
169715
|
+
/** @description What happened, in plain words for the dealer. */
|
|
169716
|
+
message: string;
|
|
169717
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
169718
|
+
meta_message?: string | null;
|
|
169719
|
+
} | null;
|
|
169707
169720
|
}[];
|
|
169708
169721
|
}[];
|
|
169709
169722
|
};
|
|
@@ -169844,7 +169857,7 @@ interface paths {
|
|
|
169844
169857
|
* }
|
|
169845
169858
|
*/
|
|
169846
169859
|
"application/json": {
|
|
169847
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
169860
|
+
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across the ad sets of every lane, ≥ $20k per ad set. */
|
|
169848
169861
|
budget: {
|
|
169849
169862
|
/** @enum {string} */
|
|
169850
169863
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -169860,6 +169873,11 @@ interface paths {
|
|
|
169860
169873
|
*/
|
|
169861
169874
|
messaging_account_id?: string | null;
|
|
169862
169875
|
}[];
|
|
169876
|
+
/**
|
|
169877
|
+
* @description How videos sit next to statics on every lane. `mixed`: ONE ad set per lane with the videos as extra ads beside the statics (they compete; Meta delivers more of whichever works). `separate`: a video ad set per lane next to the statics one (two ad sets per lane, ≥ $20k each). Omitted: `separate` when the budget funds ≥ $20k per separate ad set, else `mixed`. The preflight's `budget.creative_mix` says which one applies.
|
|
169878
|
+
* @enum {string}
|
|
169879
|
+
*/
|
|
169880
|
+
creative_mix?: "mixed" | "separate";
|
|
169863
169881
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
169864
169882
|
region_codes?: string[];
|
|
169865
169883
|
page_id?: string;
|
|
@@ -170011,6 +170029,19 @@ interface paths {
|
|
|
170011
170029
|
min_campaign_age_days: number;
|
|
170012
170030
|
checked_at: string;
|
|
170013
170031
|
} | null;
|
|
170032
|
+
/**
|
|
170033
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170034
|
+
* @enum {string|null}
|
|
170035
|
+
*/
|
|
170036
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170037
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170038
|
+
build_failure: {
|
|
170039
|
+
code: string;
|
|
170040
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170041
|
+
message: string;
|
|
170042
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170043
|
+
meta_message?: string | null;
|
|
170044
|
+
} | null;
|
|
170014
170045
|
}[];
|
|
170015
170046
|
offer_snapshot: {
|
|
170016
170047
|
[key: string]: unknown;
|
|
@@ -170285,6 +170316,19 @@ interface paths {
|
|
|
170285
170316
|
min_campaign_age_days: number;
|
|
170286
170317
|
checked_at: string;
|
|
170287
170318
|
} | null;
|
|
170319
|
+
/**
|
|
170320
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170321
|
+
* @enum {string|null}
|
|
170322
|
+
*/
|
|
170323
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170324
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170325
|
+
build_failure: {
|
|
170326
|
+
code: string;
|
|
170327
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170328
|
+
message: string;
|
|
170329
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170330
|
+
meta_message?: string | null;
|
|
170331
|
+
} | null;
|
|
170288
170332
|
}[];
|
|
170289
170333
|
offer_snapshot: {
|
|
170290
170334
|
[key: string]: unknown;
|
|
@@ -171285,7 +171329,7 @@ interface paths {
|
|
|
171285
171329
|
/**
|
|
171286
171330
|
* @example {
|
|
171287
171331
|
* "budget": {
|
|
171288
|
-
* "package": "
|
|
171332
|
+
* "package": "inicial"
|
|
171289
171333
|
* },
|
|
171290
171334
|
* "lanes": [
|
|
171291
171335
|
* {
|
|
@@ -171296,11 +171340,12 @@ interface paths {
|
|
|
171296
171340
|
* "messaging_account_id": "7c2d3e4f-5a6b-4c7d-8e9f-a0b1c2d3e4f5"
|
|
171297
171341
|
* }
|
|
171298
171342
|
* ],
|
|
171299
|
-
* "with_video":
|
|
171343
|
+
* "with_video": true,
|
|
171344
|
+
* "creative_mix": "mixed"
|
|
171300
171345
|
* }
|
|
171301
171346
|
*/
|
|
171302
171347
|
"application/json": {
|
|
171303
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
171348
|
+
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across the ad sets of every lane, ≥ $20k per ad set. */
|
|
171304
171349
|
budget: {
|
|
171305
171350
|
/** @enum {string} */
|
|
171306
171351
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -171317,10 +171362,15 @@ interface paths {
|
|
|
171317
171362
|
messaging_account_id?: string | null;
|
|
171318
171363
|
}[];
|
|
171319
171364
|
/**
|
|
171320
|
-
* @description A video ad set
|
|
171365
|
+
* @description A video was picked (with `creative_mix: separate` it adds a video ad set per lane, which changes the per-ad-set split).
|
|
171321
171366
|
* @default false
|
|
171322
171367
|
*/
|
|
171323
171368
|
with_video?: boolean;
|
|
171369
|
+
/**
|
|
171370
|
+
* @description How videos sit next to statics on every lane. `mixed`: ONE ad set per lane with the videos as extra ads beside the statics (they compete; Meta delivers more of whichever works). `separate`: a video ad set per lane next to the statics one (two ad sets per lane, ≥ $20k each). Omitted: `separate` when the budget funds ≥ $20k per separate ad set, else `mixed`. The preflight's `budget.creative_mix` says which one applies.
|
|
171371
|
+
* @enum {string}
|
|
171372
|
+
*/
|
|
171373
|
+
creative_mix?: "mixed" | "separate";
|
|
171324
171374
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
171325
171375
|
region_codes?: string[];
|
|
171326
171376
|
page_id?: string;
|
|
@@ -171340,17 +171390,52 @@ interface paths {
|
|
|
171340
171390
|
* "data": {
|
|
171341
171391
|
* "budget": {
|
|
171342
171392
|
* "ok": true,
|
|
171343
|
-
* "package": "
|
|
171344
|
-
* "daily_total_clp":
|
|
171393
|
+
* "package": "inicial",
|
|
171394
|
+
* "daily_total_clp": 40000,
|
|
171345
171395
|
* "per_lane_clp": {
|
|
171346
|
-
* "landing":
|
|
171347
|
-
* "whatsapp":
|
|
171396
|
+
* "landing": 20000,
|
|
171397
|
+
* "whatsapp": 20000
|
|
171348
171398
|
* },
|
|
171349
171399
|
* "per_adset_clp": {
|
|
171350
|
-
* "landing":
|
|
171351
|
-
* "whatsapp":
|
|
171400
|
+
* "landing": 20000,
|
|
171401
|
+
* "whatsapp": 20000
|
|
171352
171402
|
* },
|
|
171353
|
-
* "message": null
|
|
171403
|
+
* "message": null,
|
|
171404
|
+
* "creative_mix": "mixed",
|
|
171405
|
+
* "adsets_per_lane": {
|
|
171406
|
+
* "landing": 1,
|
|
171407
|
+
* "whatsapp": 1
|
|
171408
|
+
* },
|
|
171409
|
+
* "min_daily_total_clp": 40000,
|
|
171410
|
+
* "packages": [
|
|
171411
|
+
* {
|
|
171412
|
+
* "package": "inicial",
|
|
171413
|
+
* "daily_total_clp": 40000,
|
|
171414
|
+
* "ok": true,
|
|
171415
|
+
* "per_adset_clp": {
|
|
171416
|
+
* "landing": 20000,
|
|
171417
|
+
* "whatsapp": 20000
|
|
171418
|
+
* }
|
|
171419
|
+
* },
|
|
171420
|
+
* {
|
|
171421
|
+
* "package": "recomendado",
|
|
171422
|
+
* "daily_total_clp": 60000,
|
|
171423
|
+
* "ok": true,
|
|
171424
|
+
* "per_adset_clp": {
|
|
171425
|
+
* "landing": 30000,
|
|
171426
|
+
* "whatsapp": 30000
|
|
171427
|
+
* }
|
|
171428
|
+
* },
|
|
171429
|
+
* {
|
|
171430
|
+
* "package": "intensivo",
|
|
171431
|
+
* "daily_total_clp": 100000,
|
|
171432
|
+
* "ok": true,
|
|
171433
|
+
* "per_adset_clp": {
|
|
171434
|
+
* "landing": 50000,
|
|
171435
|
+
* "whatsapp": 50000
|
|
171436
|
+
* }
|
|
171437
|
+
* }
|
|
171438
|
+
* ]
|
|
171354
171439
|
* },
|
|
171355
171440
|
* "ad_account": {
|
|
171356
171441
|
* "readable": true,
|
|
@@ -171408,6 +171493,27 @@ interface paths {
|
|
|
171408
171493
|
[key: string]: number;
|
|
171409
171494
|
};
|
|
171410
171495
|
message: string | null;
|
|
171496
|
+
/**
|
|
171497
|
+
* @description The mix this request builds with (its own, or the default).
|
|
171498
|
+
* @enum {string}
|
|
171499
|
+
*/
|
|
171500
|
+
creative_mix: "mixed" | "separate";
|
|
171501
|
+
/** @description Ad sets each lane runs with that mix. */
|
|
171502
|
+
adsets_per_lane: {
|
|
171503
|
+
[key: string]: number;
|
|
171504
|
+
};
|
|
171505
|
+
/** @description The smallest daily total these ad sets accept: $20k per ad set, at least $40k. */
|
|
171506
|
+
min_daily_total_clp: number;
|
|
171507
|
+
/** @description Every fixed package, checked against the ad sets planned. */
|
|
171508
|
+
packages: {
|
|
171509
|
+
/** @enum {string} */
|
|
171510
|
+
package: "inicial" | "recomendado" | "intensivo";
|
|
171511
|
+
daily_total_clp: number;
|
|
171512
|
+
ok: boolean;
|
|
171513
|
+
per_adset_clp: {
|
|
171514
|
+
[key: string]: number;
|
|
171515
|
+
};
|
|
171516
|
+
}[];
|
|
171411
171517
|
};
|
|
171412
171518
|
ad_account: {
|
|
171413
171519
|
readable: boolean;
|
|
@@ -171693,6 +171799,19 @@ interface paths {
|
|
|
171693
171799
|
min_campaign_age_days: number;
|
|
171694
171800
|
checked_at: string;
|
|
171695
171801
|
} | null;
|
|
171802
|
+
/**
|
|
171803
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
171804
|
+
* @enum {string|null}
|
|
171805
|
+
*/
|
|
171806
|
+
creative_mix: "mixed" | "separate" | null;
|
|
171807
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
171808
|
+
build_failure: {
|
|
171809
|
+
code: string;
|
|
171810
|
+
/** @description What happened, in plain words for the dealer. */
|
|
171811
|
+
message: string;
|
|
171812
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
171813
|
+
meta_message?: string | null;
|
|
171814
|
+
} | null;
|
|
171696
171815
|
}[];
|
|
171697
171816
|
offer_snapshot: {
|
|
171698
171817
|
[key: string]: unknown;
|
|
@@ -171960,6 +172079,19 @@ interface paths {
|
|
|
171960
172079
|
min_campaign_age_days: number;
|
|
171961
172080
|
checked_at: string;
|
|
171962
172081
|
} | null;
|
|
172082
|
+
/**
|
|
172083
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
172084
|
+
* @enum {string|null}
|
|
172085
|
+
*/
|
|
172086
|
+
creative_mix: "mixed" | "separate" | null;
|
|
172087
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
172088
|
+
build_failure: {
|
|
172089
|
+
code: string;
|
|
172090
|
+
/** @description What happened, in plain words for the dealer. */
|
|
172091
|
+
message: string;
|
|
172092
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
172093
|
+
meta_message?: string | null;
|
|
172094
|
+
} | null;
|
|
171963
172095
|
}[];
|
|
171964
172096
|
offer_snapshot: {
|
|
171965
172097
|
[key: string]: unknown;
|
|
@@ -172888,6 +173020,19 @@ interface paths {
|
|
|
172888
173020
|
min_campaign_age_days: number;
|
|
172889
173021
|
checked_at: string;
|
|
172890
173022
|
} | null;
|
|
173023
|
+
/**
|
|
173024
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
173025
|
+
* @enum {string|null}
|
|
173026
|
+
*/
|
|
173027
|
+
creative_mix: "mixed" | "separate" | null;
|
|
173028
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
173029
|
+
build_failure: {
|
|
173030
|
+
code: string;
|
|
173031
|
+
/** @description What happened, in plain words for the dealer. */
|
|
173032
|
+
message: string;
|
|
173033
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
173034
|
+
meta_message?: string | null;
|
|
173035
|
+
} | null;
|
|
172891
173036
|
}[];
|
|
172892
173037
|
offer_snapshot: {
|
|
172893
173038
|
[key: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -169704,6 +169704,19 @@ interface paths {
|
|
|
169704
169704
|
min_campaign_age_days: number;
|
|
169705
169705
|
checked_at: string;
|
|
169706
169706
|
} | null;
|
|
169707
|
+
/**
|
|
169708
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
169709
|
+
* @enum {string|null}
|
|
169710
|
+
*/
|
|
169711
|
+
creative_mix: "mixed" | "separate" | null;
|
|
169712
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
169713
|
+
build_failure: {
|
|
169714
|
+
code: string;
|
|
169715
|
+
/** @description What happened, in plain words for the dealer. */
|
|
169716
|
+
message: string;
|
|
169717
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
169718
|
+
meta_message?: string | null;
|
|
169719
|
+
} | null;
|
|
169707
169720
|
}[];
|
|
169708
169721
|
}[];
|
|
169709
169722
|
};
|
|
@@ -169844,7 +169857,7 @@ interface paths {
|
|
|
169844
169857
|
* }
|
|
169845
169858
|
*/
|
|
169846
169859
|
"application/json": {
|
|
169847
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
169860
|
+
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across the ad sets of every lane, ≥ $20k per ad set. */
|
|
169848
169861
|
budget: {
|
|
169849
169862
|
/** @enum {string} */
|
|
169850
169863
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -169860,6 +169873,11 @@ interface paths {
|
|
|
169860
169873
|
*/
|
|
169861
169874
|
messaging_account_id?: string | null;
|
|
169862
169875
|
}[];
|
|
169876
|
+
/**
|
|
169877
|
+
* @description How videos sit next to statics on every lane. `mixed`: ONE ad set per lane with the videos as extra ads beside the statics (they compete; Meta delivers more of whichever works). `separate`: a video ad set per lane next to the statics one (two ad sets per lane, ≥ $20k each). Omitted: `separate` when the budget funds ≥ $20k per separate ad set, else `mixed`. The preflight's `budget.creative_mix` says which one applies.
|
|
169878
|
+
* @enum {string}
|
|
169879
|
+
*/
|
|
169880
|
+
creative_mix?: "mixed" | "separate";
|
|
169863
169881
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
169864
169882
|
region_codes?: string[];
|
|
169865
169883
|
page_id?: string;
|
|
@@ -170011,6 +170029,19 @@ interface paths {
|
|
|
170011
170029
|
min_campaign_age_days: number;
|
|
170012
170030
|
checked_at: string;
|
|
170013
170031
|
} | null;
|
|
170032
|
+
/**
|
|
170033
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170034
|
+
* @enum {string|null}
|
|
170035
|
+
*/
|
|
170036
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170037
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170038
|
+
build_failure: {
|
|
170039
|
+
code: string;
|
|
170040
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170041
|
+
message: string;
|
|
170042
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170043
|
+
meta_message?: string | null;
|
|
170044
|
+
} | null;
|
|
170014
170045
|
}[];
|
|
170015
170046
|
offer_snapshot: {
|
|
170016
170047
|
[key: string]: unknown;
|
|
@@ -170285,6 +170316,19 @@ interface paths {
|
|
|
170285
170316
|
min_campaign_age_days: number;
|
|
170286
170317
|
checked_at: string;
|
|
170287
170318
|
} | null;
|
|
170319
|
+
/**
|
|
170320
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170321
|
+
* @enum {string|null}
|
|
170322
|
+
*/
|
|
170323
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170324
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170325
|
+
build_failure: {
|
|
170326
|
+
code: string;
|
|
170327
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170328
|
+
message: string;
|
|
170329
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170330
|
+
meta_message?: string | null;
|
|
170331
|
+
} | null;
|
|
170288
170332
|
}[];
|
|
170289
170333
|
offer_snapshot: {
|
|
170290
170334
|
[key: string]: unknown;
|
|
@@ -171285,7 +171329,7 @@ interface paths {
|
|
|
171285
171329
|
/**
|
|
171286
171330
|
* @example {
|
|
171287
171331
|
* "budget": {
|
|
171288
|
-
* "package": "
|
|
171332
|
+
* "package": "inicial"
|
|
171289
171333
|
* },
|
|
171290
171334
|
* "lanes": [
|
|
171291
171335
|
* {
|
|
@@ -171296,11 +171340,12 @@ interface paths {
|
|
|
171296
171340
|
* "messaging_account_id": "7c2d3e4f-5a6b-4c7d-8e9f-a0b1c2d3e4f5"
|
|
171297
171341
|
* }
|
|
171298
171342
|
* ],
|
|
171299
|
-
* "with_video":
|
|
171343
|
+
* "with_video": true,
|
|
171344
|
+
* "creative_mix": "mixed"
|
|
171300
171345
|
* }
|
|
171301
171346
|
*/
|
|
171302
171347
|
"application/json": {
|
|
171303
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
171348
|
+
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across the ad sets of every lane, ≥ $20k per ad set. */
|
|
171304
171349
|
budget: {
|
|
171305
171350
|
/** @enum {string} */
|
|
171306
171351
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -171317,10 +171362,15 @@ interface paths {
|
|
|
171317
171362
|
messaging_account_id?: string | null;
|
|
171318
171363
|
}[];
|
|
171319
171364
|
/**
|
|
171320
|
-
* @description A video ad set
|
|
171365
|
+
* @description A video was picked (with `creative_mix: separate` it adds a video ad set per lane, which changes the per-ad-set split).
|
|
171321
171366
|
* @default false
|
|
171322
171367
|
*/
|
|
171323
171368
|
with_video?: boolean;
|
|
171369
|
+
/**
|
|
171370
|
+
* @description How videos sit next to statics on every lane. `mixed`: ONE ad set per lane with the videos as extra ads beside the statics (they compete; Meta delivers more of whichever works). `separate`: a video ad set per lane next to the statics one (two ad sets per lane, ≥ $20k each). Omitted: `separate` when the budget funds ≥ $20k per separate ad set, else `mixed`. The preflight's `budget.creative_mix` says which one applies.
|
|
171371
|
+
* @enum {string}
|
|
171372
|
+
*/
|
|
171373
|
+
creative_mix?: "mixed" | "separate";
|
|
171324
171374
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
171325
171375
|
region_codes?: string[];
|
|
171326
171376
|
page_id?: string;
|
|
@@ -171340,17 +171390,52 @@ interface paths {
|
|
|
171340
171390
|
* "data": {
|
|
171341
171391
|
* "budget": {
|
|
171342
171392
|
* "ok": true,
|
|
171343
|
-
* "package": "
|
|
171344
|
-
* "daily_total_clp":
|
|
171393
|
+
* "package": "inicial",
|
|
171394
|
+
* "daily_total_clp": 40000,
|
|
171345
171395
|
* "per_lane_clp": {
|
|
171346
|
-
* "landing":
|
|
171347
|
-
* "whatsapp":
|
|
171396
|
+
* "landing": 20000,
|
|
171397
|
+
* "whatsapp": 20000
|
|
171348
171398
|
* },
|
|
171349
171399
|
* "per_adset_clp": {
|
|
171350
|
-
* "landing":
|
|
171351
|
-
* "whatsapp":
|
|
171400
|
+
* "landing": 20000,
|
|
171401
|
+
* "whatsapp": 20000
|
|
171352
171402
|
* },
|
|
171353
|
-
* "message": null
|
|
171403
|
+
* "message": null,
|
|
171404
|
+
* "creative_mix": "mixed",
|
|
171405
|
+
* "adsets_per_lane": {
|
|
171406
|
+
* "landing": 1,
|
|
171407
|
+
* "whatsapp": 1
|
|
171408
|
+
* },
|
|
171409
|
+
* "min_daily_total_clp": 40000,
|
|
171410
|
+
* "packages": [
|
|
171411
|
+
* {
|
|
171412
|
+
* "package": "inicial",
|
|
171413
|
+
* "daily_total_clp": 40000,
|
|
171414
|
+
* "ok": true,
|
|
171415
|
+
* "per_adset_clp": {
|
|
171416
|
+
* "landing": 20000,
|
|
171417
|
+
* "whatsapp": 20000
|
|
171418
|
+
* }
|
|
171419
|
+
* },
|
|
171420
|
+
* {
|
|
171421
|
+
* "package": "recomendado",
|
|
171422
|
+
* "daily_total_clp": 60000,
|
|
171423
|
+
* "ok": true,
|
|
171424
|
+
* "per_adset_clp": {
|
|
171425
|
+
* "landing": 30000,
|
|
171426
|
+
* "whatsapp": 30000
|
|
171427
|
+
* }
|
|
171428
|
+
* },
|
|
171429
|
+
* {
|
|
171430
|
+
* "package": "intensivo",
|
|
171431
|
+
* "daily_total_clp": 100000,
|
|
171432
|
+
* "ok": true,
|
|
171433
|
+
* "per_adset_clp": {
|
|
171434
|
+
* "landing": 50000,
|
|
171435
|
+
* "whatsapp": 50000
|
|
171436
|
+
* }
|
|
171437
|
+
* }
|
|
171438
|
+
* ]
|
|
171354
171439
|
* },
|
|
171355
171440
|
* "ad_account": {
|
|
171356
171441
|
* "readable": true,
|
|
@@ -171408,6 +171493,27 @@ interface paths {
|
|
|
171408
171493
|
[key: string]: number;
|
|
171409
171494
|
};
|
|
171410
171495
|
message: string | null;
|
|
171496
|
+
/**
|
|
171497
|
+
* @description The mix this request builds with (its own, or the default).
|
|
171498
|
+
* @enum {string}
|
|
171499
|
+
*/
|
|
171500
|
+
creative_mix: "mixed" | "separate";
|
|
171501
|
+
/** @description Ad sets each lane runs with that mix. */
|
|
171502
|
+
adsets_per_lane: {
|
|
171503
|
+
[key: string]: number;
|
|
171504
|
+
};
|
|
171505
|
+
/** @description The smallest daily total these ad sets accept: $20k per ad set, at least $40k. */
|
|
171506
|
+
min_daily_total_clp: number;
|
|
171507
|
+
/** @description Every fixed package, checked against the ad sets planned. */
|
|
171508
|
+
packages: {
|
|
171509
|
+
/** @enum {string} */
|
|
171510
|
+
package: "inicial" | "recomendado" | "intensivo";
|
|
171511
|
+
daily_total_clp: number;
|
|
171512
|
+
ok: boolean;
|
|
171513
|
+
per_adset_clp: {
|
|
171514
|
+
[key: string]: number;
|
|
171515
|
+
};
|
|
171516
|
+
}[];
|
|
171411
171517
|
};
|
|
171412
171518
|
ad_account: {
|
|
171413
171519
|
readable: boolean;
|
|
@@ -171693,6 +171799,19 @@ interface paths {
|
|
|
171693
171799
|
min_campaign_age_days: number;
|
|
171694
171800
|
checked_at: string;
|
|
171695
171801
|
} | null;
|
|
171802
|
+
/**
|
|
171803
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
171804
|
+
* @enum {string|null}
|
|
171805
|
+
*/
|
|
171806
|
+
creative_mix: "mixed" | "separate" | null;
|
|
171807
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
171808
|
+
build_failure: {
|
|
171809
|
+
code: string;
|
|
171810
|
+
/** @description What happened, in plain words for the dealer. */
|
|
171811
|
+
message: string;
|
|
171812
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
171813
|
+
meta_message?: string | null;
|
|
171814
|
+
} | null;
|
|
171696
171815
|
}[];
|
|
171697
171816
|
offer_snapshot: {
|
|
171698
171817
|
[key: string]: unknown;
|
|
@@ -171960,6 +172079,19 @@ interface paths {
|
|
|
171960
172079
|
min_campaign_age_days: number;
|
|
171961
172080
|
checked_at: string;
|
|
171962
172081
|
} | null;
|
|
172082
|
+
/**
|
|
172083
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
172084
|
+
* @enum {string|null}
|
|
172085
|
+
*/
|
|
172086
|
+
creative_mix: "mixed" | "separate" | null;
|
|
172087
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
172088
|
+
build_failure: {
|
|
172089
|
+
code: string;
|
|
172090
|
+
/** @description What happened, in plain words for the dealer. */
|
|
172091
|
+
message: string;
|
|
172092
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
172093
|
+
meta_message?: string | null;
|
|
172094
|
+
} | null;
|
|
171963
172095
|
}[];
|
|
171964
172096
|
offer_snapshot: {
|
|
171965
172097
|
[key: string]: unknown;
|
|
@@ -172888,6 +173020,19 @@ interface paths {
|
|
|
172888
173020
|
min_campaign_age_days: number;
|
|
172889
173021
|
checked_at: string;
|
|
172890
173022
|
} | null;
|
|
173023
|
+
/**
|
|
173024
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
173025
|
+
* @enum {string|null}
|
|
173026
|
+
*/
|
|
173027
|
+
creative_mix: "mixed" | "separate" | null;
|
|
173028
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
173029
|
+
build_failure: {
|
|
173030
|
+
code: string;
|
|
173031
|
+
/** @description What happened, in plain words for the dealer. */
|
|
173032
|
+
message: string;
|
|
173033
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
173034
|
+
meta_message?: string | null;
|
|
173035
|
+
} | null;
|
|
172891
173036
|
}[];
|
|
172892
173037
|
offer_snapshot: {
|
|
172893
173038
|
[key: string]: unknown;
|
package/package.json
CHANGED