@vitrina/api 14.118.2 → 15.0.0
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 +216 -36
- package/dist/index.d.ts +216 -36
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166301,14 +166301,20 @@ interface paths {
|
|
|
166301
166301
|
* "error": null,
|
|
166302
166302
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166303
166303
|
* "completed_at": null,
|
|
166304
|
+
* "templates": [
|
|
166305
|
+
* "asi-de-facil",
|
|
166306
|
+
* "pov-chat",
|
|
166307
|
+
* "tasacion"
|
|
166308
|
+
* ],
|
|
166304
166309
|
* "voice_skipped": [],
|
|
166305
166310
|
* "renders": [
|
|
166306
166311
|
* {
|
|
166307
166312
|
* "id": "2b7e1d4a-8c3f-4a6e-9f10-3c4d5e6f7a81",
|
|
166308
|
-
* "render_key": "
|
|
166309
|
-
* "
|
|
166310
|
-
* "
|
|
166311
|
-
* "
|
|
166313
|
+
* "render_key": "tpl-asi-de-facil-20s-9x16-vo",
|
|
166314
|
+
* "template": "asi-de-facil",
|
|
166315
|
+
* "hook": null,
|
|
166316
|
+
* "cut": 20,
|
|
166317
|
+
* "aspect": "9x16",
|
|
166312
166318
|
* "voiced": true,
|
|
166313
166319
|
* "status": "ready",
|
|
166314
166320
|
* "error": null,
|
|
@@ -166320,9 +166326,10 @@ interface paths {
|
|
|
166320
166326
|
* },
|
|
166321
166327
|
* {
|
|
166322
166328
|
* "id": "5d1c8e2f-3a4b-4c5d-8e6f-7a8b9c0d1e22",
|
|
166323
|
-
* "render_key": "
|
|
166324
|
-
* "
|
|
166325
|
-
* "
|
|
166329
|
+
* "render_key": "tpl-pov-chat-20s-9x16-vo",
|
|
166330
|
+
* "template": "pov-chat",
|
|
166331
|
+
* "hook": null,
|
|
166332
|
+
* "cut": 20,
|
|
166326
166333
|
* "aspect": "9x16",
|
|
166327
166334
|
* "voiced": true,
|
|
166328
166335
|
* "status": "rendering",
|
|
@@ -166346,15 +166353,25 @@ interface paths {
|
|
|
166346
166353
|
error: string | null;
|
|
166347
166354
|
created_at: string;
|
|
166348
166355
|
completed_at: string | null;
|
|
166349
|
-
/** @description
|
|
166350
|
-
|
|
166356
|
+
/** @description What this set renders. */
|
|
166357
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166358
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166359
|
+
voice_skipped: string[];
|
|
166351
166360
|
renders: {
|
|
166352
166361
|
/** Format: uuid */
|
|
166353
166362
|
id: string;
|
|
166354
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166363
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166355
166364
|
render_key: string;
|
|
166356
|
-
/**
|
|
166357
|
-
|
|
166365
|
+
/**
|
|
166366
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166367
|
+
* @enum {string}
|
|
166368
|
+
*/
|
|
166369
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166370
|
+
/**
|
|
166371
|
+
* @description The M30 hook; null for a template video.
|
|
166372
|
+
* @enum {string|null}
|
|
166373
|
+
*/
|
|
166374
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166358
166375
|
cut: number;
|
|
166359
166376
|
/** @enum {string} */
|
|
166360
166377
|
aspect: "9x16" | "4x5";
|
|
@@ -166365,7 +166382,7 @@ interface paths {
|
|
|
166365
166382
|
error: string | null;
|
|
166366
166383
|
/**
|
|
166367
166384
|
* Format: uuid
|
|
166368
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166385
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166369
166386
|
*/
|
|
166370
166387
|
asset_id: string | null;
|
|
166371
166388
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -166473,7 +166490,7 @@ interface paths {
|
|
|
166473
166490
|
put?: never;
|
|
166474
166491
|
/**
|
|
166475
166492
|
* Render the Lanzamiento consignment videos
|
|
166476
|
-
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the
|
|
166493
|
+
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the templates in `templates` (default: «Así de fácil», «POV: vendes tu auto solo», «¿Cuánto vale tu auto hoy?», one 9:16 voiced video each) and/or `m30`, the original consignment video (hooks × cuts × 9:16/4:5 × voiced/music-only). Answers 202 with the video set; poll `GET …/videos` until `status` is `done` or `failed`. Idempotent: asking again returns the same set and re-queues only the variants that failed. 409 `video_render_not_configured` while the render service is not set up; 409 `oferta_not_configured` when the set’s Oferta cannot back a claim.
|
|
166477
166494
|
*/
|
|
166478
166495
|
post: {
|
|
166479
166496
|
parameters: {
|
|
@@ -166491,13 +166508,16 @@ interface paths {
|
|
|
166491
166508
|
content: {
|
|
166492
166509
|
/**
|
|
166493
166510
|
* @example {
|
|
166494
|
-
* "
|
|
166495
|
-
* "
|
|
166496
|
-
*
|
|
166497
|
-
*
|
|
166511
|
+
* "templates": [
|
|
166512
|
+
* "asi-de-facil",
|
|
166513
|
+
* "pov-chat",
|
|
166514
|
+
* "tasacion"
|
|
166515
|
+
* ]
|
|
166498
166516
|
* }
|
|
166499
166517
|
*/
|
|
166500
166518
|
"application/json": {
|
|
166519
|
+
/** @description Which videos to render. `asi-de-facil` («Así de fácil»: the process as an animated explainer), `pov-chat` («POV: vendes tu auto solo»: a native chat, the chaos of selling alone and the relief), `tasacion` («¿Cuánto vale tu auto hoy?»: the patente, the commission, the floor as figures): one 9:16 voiced video each, ≤ 20 s, copy from the Oferta only. `m30`: the original consignment video (hooks × cuts × 4:5/9:16 × voiced/music-only; `hooks`, `cuts`, `aspects` and `voice` narrow it). Default: the three templates. Asking again with a template the set has not rendered adds it and keeps what is ready. */
|
|
166520
|
+
templates?: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166501
166521
|
/** @description Hooks to render. Default: every hook the Oferta allows (B needs a commission figure, C needs `segment_label`). */
|
|
166502
166522
|
hooks?: ("A" | "B" | "C")[];
|
|
166503
166523
|
/** @description Lengths in seconds. Default: `20` (the script with the form line needs it; a voiced cut too short for the script is reported as failed with the reason, its music-only twin renders). */
|
|
@@ -166530,6 +166550,11 @@ interface paths {
|
|
|
166530
166550
|
* "error": null,
|
|
166531
166551
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166532
166552
|
* "completed_at": null,
|
|
166553
|
+
* "templates": [
|
|
166554
|
+
* "asi-de-facil",
|
|
166555
|
+
* "pov-chat",
|
|
166556
|
+
* "tasacion"
|
|
166557
|
+
* ],
|
|
166533
166558
|
* "voice_skipped": [],
|
|
166534
166559
|
* "renders": []
|
|
166535
166560
|
* }
|
|
@@ -166547,15 +166572,25 @@ interface paths {
|
|
|
166547
166572
|
error: string | null;
|
|
166548
166573
|
created_at: string;
|
|
166549
166574
|
completed_at: string | null;
|
|
166550
|
-
/** @description
|
|
166551
|
-
|
|
166575
|
+
/** @description What this set renders. */
|
|
166576
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166577
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166578
|
+
voice_skipped: string[];
|
|
166552
166579
|
renders: {
|
|
166553
166580
|
/** Format: uuid */
|
|
166554
166581
|
id: string;
|
|
166555
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166582
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166556
166583
|
render_key: string;
|
|
166557
|
-
/**
|
|
166558
|
-
|
|
166584
|
+
/**
|
|
166585
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166586
|
+
* @enum {string}
|
|
166587
|
+
*/
|
|
166588
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166589
|
+
/**
|
|
166590
|
+
* @description The M30 hook; null for a template video.
|
|
166591
|
+
* @enum {string|null}
|
|
166592
|
+
*/
|
|
166593
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166559
166594
|
cut: number;
|
|
166560
166595
|
/** @enum {string} */
|
|
166561
166596
|
aspect: "9x16" | "4x5";
|
|
@@ -166566,7 +166601,7 @@ interface paths {
|
|
|
166566
166601
|
error: string | null;
|
|
166567
166602
|
/**
|
|
166568
166603
|
* Format: uuid
|
|
166569
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166604
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166570
166605
|
*/
|
|
166571
166606
|
asset_id: string | null;
|
|
166572
166607
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -169704,6 +169739,19 @@ interface paths {
|
|
|
169704
169739
|
min_campaign_age_days: number;
|
|
169705
169740
|
checked_at: string;
|
|
169706
169741
|
} | null;
|
|
169742
|
+
/**
|
|
169743
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
169744
|
+
* @enum {string|null}
|
|
169745
|
+
*/
|
|
169746
|
+
creative_mix: "mixed" | "separate" | null;
|
|
169747
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
169748
|
+
build_failure: {
|
|
169749
|
+
code: string;
|
|
169750
|
+
/** @description What happened, in plain words for the dealer. */
|
|
169751
|
+
message: string;
|
|
169752
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
169753
|
+
meta_message?: string | null;
|
|
169754
|
+
} | null;
|
|
169707
169755
|
}[];
|
|
169708
169756
|
}[];
|
|
169709
169757
|
};
|
|
@@ -169844,7 +169892,7 @@ interface paths {
|
|
|
169844
169892
|
* }
|
|
169845
169893
|
*/
|
|
169846
169894
|
"application/json": {
|
|
169847
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
169895
|
+
/** @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
169896
|
budget: {
|
|
169849
169897
|
/** @enum {string} */
|
|
169850
169898
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -169860,6 +169908,11 @@ interface paths {
|
|
|
169860
169908
|
*/
|
|
169861
169909
|
messaging_account_id?: string | null;
|
|
169862
169910
|
}[];
|
|
169911
|
+
/**
|
|
169912
|
+
* @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.
|
|
169913
|
+
* @enum {string}
|
|
169914
|
+
*/
|
|
169915
|
+
creative_mix?: "mixed" | "separate";
|
|
169863
169916
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
169864
169917
|
region_codes?: string[];
|
|
169865
169918
|
page_id?: string;
|
|
@@ -170011,6 +170064,19 @@ interface paths {
|
|
|
170011
170064
|
min_campaign_age_days: number;
|
|
170012
170065
|
checked_at: string;
|
|
170013
170066
|
} | null;
|
|
170067
|
+
/**
|
|
170068
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170069
|
+
* @enum {string|null}
|
|
170070
|
+
*/
|
|
170071
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170072
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170073
|
+
build_failure: {
|
|
170074
|
+
code: string;
|
|
170075
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170076
|
+
message: string;
|
|
170077
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170078
|
+
meta_message?: string | null;
|
|
170079
|
+
} | null;
|
|
170014
170080
|
}[];
|
|
170015
170081
|
offer_snapshot: {
|
|
170016
170082
|
[key: string]: unknown;
|
|
@@ -170285,6 +170351,19 @@ interface paths {
|
|
|
170285
170351
|
min_campaign_age_days: number;
|
|
170286
170352
|
checked_at: string;
|
|
170287
170353
|
} | null;
|
|
170354
|
+
/**
|
|
170355
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170356
|
+
* @enum {string|null}
|
|
170357
|
+
*/
|
|
170358
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170359
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170360
|
+
build_failure: {
|
|
170361
|
+
code: string;
|
|
170362
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170363
|
+
message: string;
|
|
170364
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170365
|
+
meta_message?: string | null;
|
|
170366
|
+
} | null;
|
|
170288
170367
|
}[];
|
|
170289
170368
|
offer_snapshot: {
|
|
170290
170369
|
[key: string]: unknown;
|
|
@@ -171285,7 +171364,7 @@ interface paths {
|
|
|
171285
171364
|
/**
|
|
171286
171365
|
* @example {
|
|
171287
171366
|
* "budget": {
|
|
171288
|
-
* "package": "
|
|
171367
|
+
* "package": "inicial"
|
|
171289
171368
|
* },
|
|
171290
171369
|
* "lanes": [
|
|
171291
171370
|
* {
|
|
@@ -171296,11 +171375,12 @@ interface paths {
|
|
|
171296
171375
|
* "messaging_account_id": "7c2d3e4f-5a6b-4c7d-8e9f-a0b1c2d3e4f5"
|
|
171297
171376
|
* }
|
|
171298
171377
|
* ],
|
|
171299
|
-
* "with_video":
|
|
171378
|
+
* "with_video": true,
|
|
171379
|
+
* "creative_mix": "mixed"
|
|
171300
171380
|
* }
|
|
171301
171381
|
*/
|
|
171302
171382
|
"application/json": {
|
|
171303
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
171383
|
+
/** @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
171384
|
budget: {
|
|
171305
171385
|
/** @enum {string} */
|
|
171306
171386
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -171317,10 +171397,15 @@ interface paths {
|
|
|
171317
171397
|
messaging_account_id?: string | null;
|
|
171318
171398
|
}[];
|
|
171319
171399
|
/**
|
|
171320
|
-
* @description A video ad set
|
|
171400
|
+
* @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
171401
|
* @default false
|
|
171322
171402
|
*/
|
|
171323
171403
|
with_video?: boolean;
|
|
171404
|
+
/**
|
|
171405
|
+
* @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.
|
|
171406
|
+
* @enum {string}
|
|
171407
|
+
*/
|
|
171408
|
+
creative_mix?: "mixed" | "separate";
|
|
171324
171409
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
171325
171410
|
region_codes?: string[];
|
|
171326
171411
|
page_id?: string;
|
|
@@ -171340,17 +171425,52 @@ interface paths {
|
|
|
171340
171425
|
* "data": {
|
|
171341
171426
|
* "budget": {
|
|
171342
171427
|
* "ok": true,
|
|
171343
|
-
* "package": "
|
|
171344
|
-
* "daily_total_clp":
|
|
171428
|
+
* "package": "inicial",
|
|
171429
|
+
* "daily_total_clp": 40000,
|
|
171345
171430
|
* "per_lane_clp": {
|
|
171346
|
-
* "landing":
|
|
171347
|
-
* "whatsapp":
|
|
171431
|
+
* "landing": 20000,
|
|
171432
|
+
* "whatsapp": 20000
|
|
171348
171433
|
* },
|
|
171349
171434
|
* "per_adset_clp": {
|
|
171350
|
-
* "landing":
|
|
171351
|
-
* "whatsapp":
|
|
171435
|
+
* "landing": 20000,
|
|
171436
|
+
* "whatsapp": 20000
|
|
171352
171437
|
* },
|
|
171353
|
-
* "message": null
|
|
171438
|
+
* "message": null,
|
|
171439
|
+
* "creative_mix": "mixed",
|
|
171440
|
+
* "adsets_per_lane": {
|
|
171441
|
+
* "landing": 1,
|
|
171442
|
+
* "whatsapp": 1
|
|
171443
|
+
* },
|
|
171444
|
+
* "min_daily_total_clp": 40000,
|
|
171445
|
+
* "packages": [
|
|
171446
|
+
* {
|
|
171447
|
+
* "package": "inicial",
|
|
171448
|
+
* "daily_total_clp": 40000,
|
|
171449
|
+
* "ok": true,
|
|
171450
|
+
* "per_adset_clp": {
|
|
171451
|
+
* "landing": 20000,
|
|
171452
|
+
* "whatsapp": 20000
|
|
171453
|
+
* }
|
|
171454
|
+
* },
|
|
171455
|
+
* {
|
|
171456
|
+
* "package": "recomendado",
|
|
171457
|
+
* "daily_total_clp": 60000,
|
|
171458
|
+
* "ok": true,
|
|
171459
|
+
* "per_adset_clp": {
|
|
171460
|
+
* "landing": 30000,
|
|
171461
|
+
* "whatsapp": 30000
|
|
171462
|
+
* }
|
|
171463
|
+
* },
|
|
171464
|
+
* {
|
|
171465
|
+
* "package": "intensivo",
|
|
171466
|
+
* "daily_total_clp": 100000,
|
|
171467
|
+
* "ok": true,
|
|
171468
|
+
* "per_adset_clp": {
|
|
171469
|
+
* "landing": 50000,
|
|
171470
|
+
* "whatsapp": 50000
|
|
171471
|
+
* }
|
|
171472
|
+
* }
|
|
171473
|
+
* ]
|
|
171354
171474
|
* },
|
|
171355
171475
|
* "ad_account": {
|
|
171356
171476
|
* "readable": true,
|
|
@@ -171408,6 +171528,27 @@ interface paths {
|
|
|
171408
171528
|
[key: string]: number;
|
|
171409
171529
|
};
|
|
171410
171530
|
message: string | null;
|
|
171531
|
+
/**
|
|
171532
|
+
* @description The mix this request builds with (its own, or the default).
|
|
171533
|
+
* @enum {string}
|
|
171534
|
+
*/
|
|
171535
|
+
creative_mix: "mixed" | "separate";
|
|
171536
|
+
/** @description Ad sets each lane runs with that mix. */
|
|
171537
|
+
adsets_per_lane: {
|
|
171538
|
+
[key: string]: number;
|
|
171539
|
+
};
|
|
171540
|
+
/** @description The smallest daily total these ad sets accept: $20k per ad set, at least $40k. */
|
|
171541
|
+
min_daily_total_clp: number;
|
|
171542
|
+
/** @description Every fixed package, checked against the ad sets planned. */
|
|
171543
|
+
packages: {
|
|
171544
|
+
/** @enum {string} */
|
|
171545
|
+
package: "inicial" | "recomendado" | "intensivo";
|
|
171546
|
+
daily_total_clp: number;
|
|
171547
|
+
ok: boolean;
|
|
171548
|
+
per_adset_clp: {
|
|
171549
|
+
[key: string]: number;
|
|
171550
|
+
};
|
|
171551
|
+
}[];
|
|
171411
171552
|
};
|
|
171412
171553
|
ad_account: {
|
|
171413
171554
|
readable: boolean;
|
|
@@ -171693,6 +171834,19 @@ interface paths {
|
|
|
171693
171834
|
min_campaign_age_days: number;
|
|
171694
171835
|
checked_at: string;
|
|
171695
171836
|
} | null;
|
|
171837
|
+
/**
|
|
171838
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
171839
|
+
* @enum {string|null}
|
|
171840
|
+
*/
|
|
171841
|
+
creative_mix: "mixed" | "separate" | null;
|
|
171842
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
171843
|
+
build_failure: {
|
|
171844
|
+
code: string;
|
|
171845
|
+
/** @description What happened, in plain words for the dealer. */
|
|
171846
|
+
message: string;
|
|
171847
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
171848
|
+
meta_message?: string | null;
|
|
171849
|
+
} | null;
|
|
171696
171850
|
}[];
|
|
171697
171851
|
offer_snapshot: {
|
|
171698
171852
|
[key: string]: unknown;
|
|
@@ -171960,6 +172114,19 @@ interface paths {
|
|
|
171960
172114
|
min_campaign_age_days: number;
|
|
171961
172115
|
checked_at: string;
|
|
171962
172116
|
} | null;
|
|
172117
|
+
/**
|
|
172118
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
172119
|
+
* @enum {string|null}
|
|
172120
|
+
*/
|
|
172121
|
+
creative_mix: "mixed" | "separate" | null;
|
|
172122
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
172123
|
+
build_failure: {
|
|
172124
|
+
code: string;
|
|
172125
|
+
/** @description What happened, in plain words for the dealer. */
|
|
172126
|
+
message: string;
|
|
172127
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
172128
|
+
meta_message?: string | null;
|
|
172129
|
+
} | null;
|
|
171963
172130
|
}[];
|
|
171964
172131
|
offer_snapshot: {
|
|
171965
172132
|
[key: string]: unknown;
|
|
@@ -172888,6 +173055,19 @@ interface paths {
|
|
|
172888
173055
|
min_campaign_age_days: number;
|
|
172889
173056
|
checked_at: string;
|
|
172890
173057
|
} | null;
|
|
173058
|
+
/**
|
|
173059
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
173060
|
+
* @enum {string|null}
|
|
173061
|
+
*/
|
|
173062
|
+
creative_mix: "mixed" | "separate" | null;
|
|
173063
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
173064
|
+
build_failure: {
|
|
173065
|
+
code: string;
|
|
173066
|
+
/** @description What happened, in plain words for the dealer. */
|
|
173067
|
+
message: string;
|
|
173068
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
173069
|
+
meta_message?: string | null;
|
|
173070
|
+
} | null;
|
|
172891
173071
|
}[];
|
|
172892
173072
|
offer_snapshot: {
|
|
172893
173073
|
[key: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -166301,14 +166301,20 @@ interface paths {
|
|
|
166301
166301
|
* "error": null,
|
|
166302
166302
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166303
166303
|
* "completed_at": null,
|
|
166304
|
+
* "templates": [
|
|
166305
|
+
* "asi-de-facil",
|
|
166306
|
+
* "pov-chat",
|
|
166307
|
+
* "tasacion"
|
|
166308
|
+
* ],
|
|
166304
166309
|
* "voice_skipped": [],
|
|
166305
166310
|
* "renders": [
|
|
166306
166311
|
* {
|
|
166307
166312
|
* "id": "2b7e1d4a-8c3f-4a6e-9f10-3c4d5e6f7a81",
|
|
166308
|
-
* "render_key": "
|
|
166309
|
-
* "
|
|
166310
|
-
* "
|
|
166311
|
-
* "
|
|
166313
|
+
* "render_key": "tpl-asi-de-facil-20s-9x16-vo",
|
|
166314
|
+
* "template": "asi-de-facil",
|
|
166315
|
+
* "hook": null,
|
|
166316
|
+
* "cut": 20,
|
|
166317
|
+
* "aspect": "9x16",
|
|
166312
166318
|
* "voiced": true,
|
|
166313
166319
|
* "status": "ready",
|
|
166314
166320
|
* "error": null,
|
|
@@ -166320,9 +166326,10 @@ interface paths {
|
|
|
166320
166326
|
* },
|
|
166321
166327
|
* {
|
|
166322
166328
|
* "id": "5d1c8e2f-3a4b-4c5d-8e6f-7a8b9c0d1e22",
|
|
166323
|
-
* "render_key": "
|
|
166324
|
-
* "
|
|
166325
|
-
* "
|
|
166329
|
+
* "render_key": "tpl-pov-chat-20s-9x16-vo",
|
|
166330
|
+
* "template": "pov-chat",
|
|
166331
|
+
* "hook": null,
|
|
166332
|
+
* "cut": 20,
|
|
166326
166333
|
* "aspect": "9x16",
|
|
166327
166334
|
* "voiced": true,
|
|
166328
166335
|
* "status": "rendering",
|
|
@@ -166346,15 +166353,25 @@ interface paths {
|
|
|
166346
166353
|
error: string | null;
|
|
166347
166354
|
created_at: string;
|
|
166348
166355
|
completed_at: string | null;
|
|
166349
|
-
/** @description
|
|
166350
|
-
|
|
166356
|
+
/** @description What this set renders. */
|
|
166357
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166358
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166359
|
+
voice_skipped: string[];
|
|
166351
166360
|
renders: {
|
|
166352
166361
|
/** Format: uuid */
|
|
166353
166362
|
id: string;
|
|
166354
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166363
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166355
166364
|
render_key: string;
|
|
166356
|
-
/**
|
|
166357
|
-
|
|
166365
|
+
/**
|
|
166366
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166367
|
+
* @enum {string}
|
|
166368
|
+
*/
|
|
166369
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166370
|
+
/**
|
|
166371
|
+
* @description The M30 hook; null for a template video.
|
|
166372
|
+
* @enum {string|null}
|
|
166373
|
+
*/
|
|
166374
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166358
166375
|
cut: number;
|
|
166359
166376
|
/** @enum {string} */
|
|
166360
166377
|
aspect: "9x16" | "4x5";
|
|
@@ -166365,7 +166382,7 @@ interface paths {
|
|
|
166365
166382
|
error: string | null;
|
|
166366
166383
|
/**
|
|
166367
166384
|
* Format: uuid
|
|
166368
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166385
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166369
166386
|
*/
|
|
166370
166387
|
asset_id: string | null;
|
|
166371
166388
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -166473,7 +166490,7 @@ interface paths {
|
|
|
166473
166490
|
put?: never;
|
|
166474
166491
|
/**
|
|
166475
166492
|
* Render the Lanzamiento consignment videos
|
|
166476
|
-
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the
|
|
166493
|
+
* @description Queues the generated consignment videos for a render set: the same dealer facts, stock photos and Oferta as its statics, rendered as the templates in `templates` (default: «Así de fácil», «POV: vendes tu auto solo», «¿Cuánto vale tu auto hoy?», one 9:16 voiced video each) and/or `m30`, the original consignment video (hooks × cuts × 9:16/4:5 × voiced/music-only). Answers 202 with the video set; poll `GET …/videos` until `status` is `done` or `failed`. Idempotent: asking again returns the same set and re-queues only the variants that failed. 409 `video_render_not_configured` while the render service is not set up; 409 `oferta_not_configured` when the set’s Oferta cannot back a claim.
|
|
166477
166494
|
*/
|
|
166478
166495
|
post: {
|
|
166479
166496
|
parameters: {
|
|
@@ -166491,13 +166508,16 @@ interface paths {
|
|
|
166491
166508
|
content: {
|
|
166492
166509
|
/**
|
|
166493
166510
|
* @example {
|
|
166494
|
-
* "
|
|
166495
|
-
* "
|
|
166496
|
-
*
|
|
166497
|
-
*
|
|
166511
|
+
* "templates": [
|
|
166512
|
+
* "asi-de-facil",
|
|
166513
|
+
* "pov-chat",
|
|
166514
|
+
* "tasacion"
|
|
166515
|
+
* ]
|
|
166498
166516
|
* }
|
|
166499
166517
|
*/
|
|
166500
166518
|
"application/json": {
|
|
166519
|
+
/** @description Which videos to render. `asi-de-facil` («Así de fácil»: the process as an animated explainer), `pov-chat` («POV: vendes tu auto solo»: a native chat, the chaos of selling alone and the relief), `tasacion` («¿Cuánto vale tu auto hoy?»: the patente, the commission, the floor as figures): one 9:16 voiced video each, ≤ 20 s, copy from the Oferta only. `m30`: the original consignment video (hooks × cuts × 4:5/9:16 × voiced/music-only; `hooks`, `cuts`, `aspects` and `voice` narrow it). Default: the three templates. Asking again with a template the set has not rendered adds it and keeps what is ready. */
|
|
166520
|
+
templates?: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166501
166521
|
/** @description Hooks to render. Default: every hook the Oferta allows (B needs a commission figure, C needs `segment_label`). */
|
|
166502
166522
|
hooks?: ("A" | "B" | "C")[];
|
|
166503
166523
|
/** @description Lengths in seconds. Default: `20` (the script with the form line needs it; a voiced cut too short for the script is reported as failed with the reason, its music-only twin renders). */
|
|
@@ -166530,6 +166550,11 @@ interface paths {
|
|
|
166530
166550
|
* "error": null,
|
|
166531
166551
|
* "created_at": "2026-10-27T15:00:00.000Z",
|
|
166532
166552
|
* "completed_at": null,
|
|
166553
|
+
* "templates": [
|
|
166554
|
+
* "asi-de-facil",
|
|
166555
|
+
* "pov-chat",
|
|
166556
|
+
* "tasacion"
|
|
166557
|
+
* ],
|
|
166533
166558
|
* "voice_skipped": [],
|
|
166534
166559
|
* "renders": []
|
|
166535
166560
|
* }
|
|
@@ -166547,15 +166572,25 @@ interface paths {
|
|
|
166547
166572
|
error: string | null;
|
|
166548
166573
|
created_at: string;
|
|
166549
166574
|
completed_at: string | null;
|
|
166550
|
-
/** @description
|
|
166551
|
-
|
|
166575
|
+
/** @description What this set renders. */
|
|
166576
|
+
templates: ("asi-de-facil" | "pov-chat" | "tasacion" | "m30")[];
|
|
166577
|
+
/** @description M30 hooks rendered music-only because their voice-over cannot fit, and templates not rendered because their voice-over cannot fit 20 s (a long dealer name or landing address). */
|
|
166578
|
+
voice_skipped: string[];
|
|
166552
166579
|
renders: {
|
|
166553
166580
|
/** Format: uuid */
|
|
166554
166581
|
id: string;
|
|
166555
|
-
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo
|
|
166582
|
+
/** @description `hook<H>-<cut>s-<aspect>-<vo|novo>` (M30) or `tpl-<template>-20s-9x16-vo`, unique in the set. */
|
|
166556
166583
|
render_key: string;
|
|
166557
|
-
/**
|
|
166558
|
-
|
|
166584
|
+
/**
|
|
166585
|
+
* @description The template that renders this video (`m30` = the original matrix).
|
|
166586
|
+
* @enum {string}
|
|
166587
|
+
*/
|
|
166588
|
+
template: "asi-de-facil" | "pov-chat" | "tasacion" | "m30";
|
|
166589
|
+
/**
|
|
166590
|
+
* @description The M30 hook; null for a template video.
|
|
166591
|
+
* @enum {string|null}
|
|
166592
|
+
*/
|
|
166593
|
+
hook: "A" | "B" | "C" | "D" | null;
|
|
166559
166594
|
cut: number;
|
|
166560
166595
|
/** @enum {string} */
|
|
166561
166596
|
aspect: "9x16" | "4x5";
|
|
@@ -166566,7 +166601,7 @@ interface paths {
|
|
|
166566
166601
|
error: string | null;
|
|
166567
166602
|
/**
|
|
166568
166603
|
* Format: uuid
|
|
166569
|
-
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes
|
|
166604
|
+
* @description Once ready: the `generated_video` creative asset. `POST /ads/lanzamientos` takes an M30 4:5 one as `videos[].feed_asset_id` and its 9:16 twin (same hook, cut and voice) as `vertical_asset_id`; a template video (9:16 only) goes alone as `feed_asset_id`.
|
|
166570
166605
|
*/
|
|
166571
166606
|
asset_id: string | null;
|
|
166572
166607
|
/** @description A 10-minute playback URL (ready only). */
|
|
@@ -169704,6 +169739,19 @@ interface paths {
|
|
|
169704
169739
|
min_campaign_age_days: number;
|
|
169705
169740
|
checked_at: string;
|
|
169706
169741
|
} | null;
|
|
169742
|
+
/**
|
|
169743
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
169744
|
+
* @enum {string|null}
|
|
169745
|
+
*/
|
|
169746
|
+
creative_mix: "mixed" | "separate" | null;
|
|
169747
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
169748
|
+
build_failure: {
|
|
169749
|
+
code: string;
|
|
169750
|
+
/** @description What happened, in plain words for the dealer. */
|
|
169751
|
+
message: string;
|
|
169752
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
169753
|
+
meta_message?: string | null;
|
|
169754
|
+
} | null;
|
|
169707
169755
|
}[];
|
|
169708
169756
|
}[];
|
|
169709
169757
|
};
|
|
@@ -169844,7 +169892,7 @@ interface paths {
|
|
|
169844
169892
|
* }
|
|
169845
169893
|
*/
|
|
169846
169894
|
"application/json": {
|
|
169847
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
169895
|
+
/** @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
169896
|
budget: {
|
|
169849
169897
|
/** @enum {string} */
|
|
169850
169898
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -169860,6 +169908,11 @@ interface paths {
|
|
|
169860
169908
|
*/
|
|
169861
169909
|
messaging_account_id?: string | null;
|
|
169862
169910
|
}[];
|
|
169911
|
+
/**
|
|
169912
|
+
* @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.
|
|
169913
|
+
* @enum {string}
|
|
169914
|
+
*/
|
|
169915
|
+
creative_mix?: "mixed" | "separate";
|
|
169863
169916
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
169864
169917
|
region_codes?: string[];
|
|
169865
169918
|
page_id?: string;
|
|
@@ -170011,6 +170064,19 @@ interface paths {
|
|
|
170011
170064
|
min_campaign_age_days: number;
|
|
170012
170065
|
checked_at: string;
|
|
170013
170066
|
} | null;
|
|
170067
|
+
/**
|
|
170068
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170069
|
+
* @enum {string|null}
|
|
170070
|
+
*/
|
|
170071
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170072
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170073
|
+
build_failure: {
|
|
170074
|
+
code: string;
|
|
170075
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170076
|
+
message: string;
|
|
170077
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170078
|
+
meta_message?: string | null;
|
|
170079
|
+
} | null;
|
|
170014
170080
|
}[];
|
|
170015
170081
|
offer_snapshot: {
|
|
170016
170082
|
[key: string]: unknown;
|
|
@@ -170285,6 +170351,19 @@ interface paths {
|
|
|
170285
170351
|
min_campaign_age_days: number;
|
|
170286
170352
|
checked_at: string;
|
|
170287
170353
|
} | null;
|
|
170354
|
+
/**
|
|
170355
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
170356
|
+
* @enum {string|null}
|
|
170357
|
+
*/
|
|
170358
|
+
creative_mix: "mixed" | "separate" | null;
|
|
170359
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
170360
|
+
build_failure: {
|
|
170361
|
+
code: string;
|
|
170362
|
+
/** @description What happened, in plain words for the dealer. */
|
|
170363
|
+
message: string;
|
|
170364
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
170365
|
+
meta_message?: string | null;
|
|
170366
|
+
} | null;
|
|
170288
170367
|
}[];
|
|
170289
170368
|
offer_snapshot: {
|
|
170290
170369
|
[key: string]: unknown;
|
|
@@ -171285,7 +171364,7 @@ interface paths {
|
|
|
171285
171364
|
/**
|
|
171286
171365
|
* @example {
|
|
171287
171366
|
* "budget": {
|
|
171288
|
-
* "package": "
|
|
171367
|
+
* "package": "inicial"
|
|
171289
171368
|
* },
|
|
171290
171369
|
* "lanes": [
|
|
171291
171370
|
* {
|
|
@@ -171296,11 +171375,12 @@ interface paths {
|
|
|
171296
171375
|
* "messaging_account_id": "7c2d3e4f-5a6b-4c7d-8e9f-a0b1c2d3e4f5"
|
|
171297
171376
|
* }
|
|
171298
171377
|
* ],
|
|
171299
|
-
* "with_video":
|
|
171378
|
+
* "with_video": true,
|
|
171379
|
+
* "creative_mix": "mixed"
|
|
171300
171380
|
* }
|
|
171301
171381
|
*/
|
|
171302
171382
|
"application/json": {
|
|
171303
|
-
/** @description Daily total across lanes: Inicial $40k, Recomendado $60k, Intensivo $100k, or custom ≥ $40k. Split evenly across
|
|
171383
|
+
/** @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
171384
|
budget: {
|
|
171305
171385
|
/** @enum {string} */
|
|
171306
171386
|
package: "inicial" | "recomendado" | "intensivo" | "custom";
|
|
@@ -171317,10 +171397,15 @@ interface paths {
|
|
|
171317
171397
|
messaging_account_id?: string | null;
|
|
171318
171398
|
}[];
|
|
171319
171399
|
/**
|
|
171320
|
-
* @description A video ad set
|
|
171400
|
+
* @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
171401
|
* @default false
|
|
171322
171402
|
*/
|
|
171323
171403
|
with_video?: boolean;
|
|
171404
|
+
/**
|
|
171405
|
+
* @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.
|
|
171406
|
+
* @enum {string}
|
|
171407
|
+
*/
|
|
171408
|
+
creative_mix?: "mixed" | "separate";
|
|
171324
171409
|
/** @description CUT region codes; omitted = the dealer's own region. */
|
|
171325
171410
|
region_codes?: string[];
|
|
171326
171411
|
page_id?: string;
|
|
@@ -171340,17 +171425,52 @@ interface paths {
|
|
|
171340
171425
|
* "data": {
|
|
171341
171426
|
* "budget": {
|
|
171342
171427
|
* "ok": true,
|
|
171343
|
-
* "package": "
|
|
171344
|
-
* "daily_total_clp":
|
|
171428
|
+
* "package": "inicial",
|
|
171429
|
+
* "daily_total_clp": 40000,
|
|
171345
171430
|
* "per_lane_clp": {
|
|
171346
|
-
* "landing":
|
|
171347
|
-
* "whatsapp":
|
|
171431
|
+
* "landing": 20000,
|
|
171432
|
+
* "whatsapp": 20000
|
|
171348
171433
|
* },
|
|
171349
171434
|
* "per_adset_clp": {
|
|
171350
|
-
* "landing":
|
|
171351
|
-
* "whatsapp":
|
|
171435
|
+
* "landing": 20000,
|
|
171436
|
+
* "whatsapp": 20000
|
|
171352
171437
|
* },
|
|
171353
|
-
* "message": null
|
|
171438
|
+
* "message": null,
|
|
171439
|
+
* "creative_mix": "mixed",
|
|
171440
|
+
* "adsets_per_lane": {
|
|
171441
|
+
* "landing": 1,
|
|
171442
|
+
* "whatsapp": 1
|
|
171443
|
+
* },
|
|
171444
|
+
* "min_daily_total_clp": 40000,
|
|
171445
|
+
* "packages": [
|
|
171446
|
+
* {
|
|
171447
|
+
* "package": "inicial",
|
|
171448
|
+
* "daily_total_clp": 40000,
|
|
171449
|
+
* "ok": true,
|
|
171450
|
+
* "per_adset_clp": {
|
|
171451
|
+
* "landing": 20000,
|
|
171452
|
+
* "whatsapp": 20000
|
|
171453
|
+
* }
|
|
171454
|
+
* },
|
|
171455
|
+
* {
|
|
171456
|
+
* "package": "recomendado",
|
|
171457
|
+
* "daily_total_clp": 60000,
|
|
171458
|
+
* "ok": true,
|
|
171459
|
+
* "per_adset_clp": {
|
|
171460
|
+
* "landing": 30000,
|
|
171461
|
+
* "whatsapp": 30000
|
|
171462
|
+
* }
|
|
171463
|
+
* },
|
|
171464
|
+
* {
|
|
171465
|
+
* "package": "intensivo",
|
|
171466
|
+
* "daily_total_clp": 100000,
|
|
171467
|
+
* "ok": true,
|
|
171468
|
+
* "per_adset_clp": {
|
|
171469
|
+
* "landing": 50000,
|
|
171470
|
+
* "whatsapp": 50000
|
|
171471
|
+
* }
|
|
171472
|
+
* }
|
|
171473
|
+
* ]
|
|
171354
171474
|
* },
|
|
171355
171475
|
* "ad_account": {
|
|
171356
171476
|
* "readable": true,
|
|
@@ -171408,6 +171528,27 @@ interface paths {
|
|
|
171408
171528
|
[key: string]: number;
|
|
171409
171529
|
};
|
|
171410
171530
|
message: string | null;
|
|
171531
|
+
/**
|
|
171532
|
+
* @description The mix this request builds with (its own, or the default).
|
|
171533
|
+
* @enum {string}
|
|
171534
|
+
*/
|
|
171535
|
+
creative_mix: "mixed" | "separate";
|
|
171536
|
+
/** @description Ad sets each lane runs with that mix. */
|
|
171537
|
+
adsets_per_lane: {
|
|
171538
|
+
[key: string]: number;
|
|
171539
|
+
};
|
|
171540
|
+
/** @description The smallest daily total these ad sets accept: $20k per ad set, at least $40k. */
|
|
171541
|
+
min_daily_total_clp: number;
|
|
171542
|
+
/** @description Every fixed package, checked against the ad sets planned. */
|
|
171543
|
+
packages: {
|
|
171544
|
+
/** @enum {string} */
|
|
171545
|
+
package: "inicial" | "recomendado" | "intensivo";
|
|
171546
|
+
daily_total_clp: number;
|
|
171547
|
+
ok: boolean;
|
|
171548
|
+
per_adset_clp: {
|
|
171549
|
+
[key: string]: number;
|
|
171550
|
+
};
|
|
171551
|
+
}[];
|
|
171411
171552
|
};
|
|
171412
171553
|
ad_account: {
|
|
171413
171554
|
readable: boolean;
|
|
@@ -171693,6 +171834,19 @@ interface paths {
|
|
|
171693
171834
|
min_campaign_age_days: number;
|
|
171694
171835
|
checked_at: string;
|
|
171695
171836
|
} | null;
|
|
171837
|
+
/**
|
|
171838
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
171839
|
+
* @enum {string|null}
|
|
171840
|
+
*/
|
|
171841
|
+
creative_mix: "mixed" | "separate" | null;
|
|
171842
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
171843
|
+
build_failure: {
|
|
171844
|
+
code: string;
|
|
171845
|
+
/** @description What happened, in plain words for the dealer. */
|
|
171846
|
+
message: string;
|
|
171847
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
171848
|
+
meta_message?: string | null;
|
|
171849
|
+
} | null;
|
|
171696
171850
|
}[];
|
|
171697
171851
|
offer_snapshot: {
|
|
171698
171852
|
[key: string]: unknown;
|
|
@@ -171960,6 +172114,19 @@ interface paths {
|
|
|
171960
172114
|
min_campaign_age_days: number;
|
|
171961
172115
|
checked_at: string;
|
|
171962
172116
|
} | null;
|
|
172117
|
+
/**
|
|
172118
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
172119
|
+
* @enum {string|null}
|
|
172120
|
+
*/
|
|
172121
|
+
creative_mix: "mixed" | "separate" | null;
|
|
172122
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
172123
|
+
build_failure: {
|
|
172124
|
+
code: string;
|
|
172125
|
+
/** @description What happened, in plain words for the dealer. */
|
|
172126
|
+
message: string;
|
|
172127
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
172128
|
+
meta_message?: string | null;
|
|
172129
|
+
} | null;
|
|
171963
172130
|
}[];
|
|
171964
172131
|
offer_snapshot: {
|
|
171965
172132
|
[key: string]: unknown;
|
|
@@ -172888,6 +173055,19 @@ interface paths {
|
|
|
172888
173055
|
min_campaign_age_days: number;
|
|
172889
173056
|
checked_at: string;
|
|
172890
173057
|
} | null;
|
|
173058
|
+
/**
|
|
173059
|
+
* @description mixed: one ad set with videos beside statics; separate: a video ad set per lane. null = created before the option (separate).
|
|
173060
|
+
* @enum {string|null}
|
|
173061
|
+
*/
|
|
173062
|
+
creative_mix: "mixed" | "separate" | null;
|
|
173063
|
+
/** @description This lane failed to build and was rolled back on its own; the other lane stayed created PAUSED. null = built. */
|
|
173064
|
+
build_failure: {
|
|
173065
|
+
code: string;
|
|
173066
|
+
/** @description What happened, in plain words for the dealer. */
|
|
173067
|
+
message: string;
|
|
173068
|
+
/** @description Meta's (or Atribu's) own error text, verbatim. */
|
|
173069
|
+
meta_message?: string | null;
|
|
173070
|
+
} | null;
|
|
172891
173071
|
}[];
|
|
172892
173072
|
offer_snapshot: {
|
|
172893
173073
|
[key: string]: unknown;
|
package/package.json
CHANGED