@zernio/node 0.2.1489 → 0.2.1491
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.mts +18 -10
- package/dist/index.d.ts +18 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +18 -10
package/dist/index.d.mts
CHANGED
|
@@ -14450,7 +14450,7 @@ type MetaPagePartner = {
|
|
|
14450
14450
|
* A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
14451
14451
|
*
|
|
14452
14452
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
14453
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
14453
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
14454
14454
|
*
|
|
14455
14455
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
14456
14456
|
*
|
|
@@ -14461,9 +14461,13 @@ type MetaPlacementAssets = {
|
|
|
14461
14461
|
*/
|
|
14462
14462
|
defaultImageUrl?: string;
|
|
14463
14463
|
/**
|
|
14464
|
-
* Video mode. Catch-all video for any placement no rule matches.
|
|
14464
|
+
* Video mode. Catch-all video for any placement no rule matches. Video mode requires this or `defaultVideoId`.
|
|
14465
14465
|
*/
|
|
14466
14466
|
defaultVideoUrl?: string;
|
|
14467
|
+
/**
|
|
14468
|
+
* Video mode. ID of a video already on the ad account, used as the catch-all instead of uploading `defaultVideoUrl`. Wins over `defaultVideoUrl`. A video still processing after 30 seconds returns 409.
|
|
14469
|
+
*/
|
|
14470
|
+
defaultVideoId?: string;
|
|
14467
14471
|
/**
|
|
14468
14472
|
* Video mode (optional). Poster image for the default video; Meta auto-generates one when omitted.
|
|
14469
14473
|
*/
|
|
@@ -14477,9 +14481,13 @@ type MetaPlacementAssets = {
|
|
|
14477
14481
|
*/
|
|
14478
14482
|
imageUrl?: string;
|
|
14479
14483
|
/**
|
|
14480
|
-
* Video mode. The video to deliver for this rule's placements.
|
|
14484
|
+
* Video mode. The video to deliver for this rule's placements. Each rule needs this or `videoId`.
|
|
14481
14485
|
*/
|
|
14482
14486
|
videoUrl?: string;
|
|
14487
|
+
/**
|
|
14488
|
+
* Video mode. ID of a video already on the ad account, used for this rule instead of uploading `videoUrl`. Wins over `videoUrl`. A video still processing after 30 seconds returns 409.
|
|
14489
|
+
*/
|
|
14490
|
+
videoId?: string;
|
|
14483
14491
|
/**
|
|
14484
14492
|
* Video mode (optional). Poster image for this rule's video; auto-generated when omitted.
|
|
14485
14493
|
*/
|
|
@@ -58135,7 +58143,7 @@ type ListAdAccountsResponse = ({
|
|
|
58135
58143
|
*/
|
|
58136
58144
|
minimumDailyBudget?: number;
|
|
58137
58145
|
/**
|
|
58138
|
-
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT
|
|
58146
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing, when the account has no payment method, and for accounts paid through Business Billing Hub, which still create ads. Absence alone is not a missing payment method.
|
|
58139
58147
|
*/
|
|
58140
58148
|
fundingSource?: string;
|
|
58141
58149
|
/**
|
|
@@ -58162,10 +58170,10 @@ type ListAdAccountsResponse = ({
|
|
|
58162
58170
|
/**
|
|
58163
58171
|
* Meta only. Whether the ad account has a payment method:
|
|
58164
58172
|
*
|
|
58165
|
-
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), `disableReason` is `3` (RISK_PAYMENT)
|
|
58173
|
+
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), or `disableReason` is `3` (RISK_PAYMENT).
|
|
58166
58174
|
* - `missing`, effect: ad creation fails at the ad step with Meta code 100 / subcode 1359188. Add a payment method in Meta's Billing & payments center.
|
|
58167
58175
|
* - `ok`: Meta returns a funding source. This is presence, not validity: Meta can still refuse the card or balance at ad creation.
|
|
58168
|
-
* - `unknown`:
|
|
58176
|
+
* - `unknown`: Meta returns no funding source. The token may not see billing, the account may have no payment method, or it is paid through Business Billing Hub (Meta omits the funding source there even for admins). Meta decides at ad creation.
|
|
58169
58177
|
*
|
|
58170
58178
|
*/
|
|
58171
58179
|
billingStatus?: 'ok' | 'missing' | 'unknown';
|
|
@@ -59331,8 +59339,8 @@ type CreateStandaloneAdData = {
|
|
|
59331
59339
|
*
|
|
59332
59340
|
* Before the dry run, Meta validateOnly runs the account status and payment checks of GET /v1/ads/accounts/health: an ad account that is not ready answers its blocker `code` (`ad_account_unusable`, `ad_account_payment_required`) with `details.hint` and `details.fix`, and Meta is not called.
|
|
59333
59341
|
*
|
|
59334
|
-
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, or existingCreativeId.
|
|
59335
|
-
* - Return 400: dynamicCreative, translations, carouselCards, placement videos, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
59342
|
+
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, placementAssets with an existing video id in every slot and no thumbnails, or existingCreativeId.
|
|
59343
|
+
* - Return 400: dynamicCreative, translations, carouselCards, placement videos by URL or with thumbnails, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
59336
59344
|
* - Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped.
|
|
59337
59345
|
* - When Meta cannot dry-run the nested tree, the campaign and creative are validated alone and the adSet and ad nodes return unverified with the reason. This covers code 2, and two errors Meta returns but then creates normally (below).
|
|
59338
59346
|
* - Code 1 (unknown error) on an OFFSITE_CONVERSIONS ad set nested in a new campaign (some website-conversion ad sets).
|
|
@@ -60168,12 +60176,12 @@ type CreateStandaloneAdData = {
|
|
|
60168
60176
|
*
|
|
60169
60177
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove that every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
60170
60178
|
*
|
|
60171
|
-
* `validateOnly: true` supports all-image placementAssets without uploading or creating anything. Video
|
|
60179
|
+
* `validateOnly: true` supports all-image placementAssets, and video placementAssets with a video id in every slot and no thumbnails, without uploading or creating anything. Video URLs and thumbnails need an upload, so they return 400.
|
|
60172
60180
|
*
|
|
60173
60181
|
* **Media.** A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
60174
60182
|
*
|
|
60175
60183
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
60176
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
60184
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
60177
60185
|
*
|
|
60178
60186
|
*/
|
|
60179
60187
|
placementAssets?: (MetaPlacementAssets);
|
package/dist/index.d.ts
CHANGED
|
@@ -14450,7 +14450,7 @@ type MetaPagePartner = {
|
|
|
14450
14450
|
* A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
14451
14451
|
*
|
|
14452
14452
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
14453
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
14453
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
14454
14454
|
*
|
|
14455
14455
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
14456
14456
|
*
|
|
@@ -14461,9 +14461,13 @@ type MetaPlacementAssets = {
|
|
|
14461
14461
|
*/
|
|
14462
14462
|
defaultImageUrl?: string;
|
|
14463
14463
|
/**
|
|
14464
|
-
* Video mode. Catch-all video for any placement no rule matches.
|
|
14464
|
+
* Video mode. Catch-all video for any placement no rule matches. Video mode requires this or `defaultVideoId`.
|
|
14465
14465
|
*/
|
|
14466
14466
|
defaultVideoUrl?: string;
|
|
14467
|
+
/**
|
|
14468
|
+
* Video mode. ID of a video already on the ad account, used as the catch-all instead of uploading `defaultVideoUrl`. Wins over `defaultVideoUrl`. A video still processing after 30 seconds returns 409.
|
|
14469
|
+
*/
|
|
14470
|
+
defaultVideoId?: string;
|
|
14467
14471
|
/**
|
|
14468
14472
|
* Video mode (optional). Poster image for the default video; Meta auto-generates one when omitted.
|
|
14469
14473
|
*/
|
|
@@ -14477,9 +14481,13 @@ type MetaPlacementAssets = {
|
|
|
14477
14481
|
*/
|
|
14478
14482
|
imageUrl?: string;
|
|
14479
14483
|
/**
|
|
14480
|
-
* Video mode. The video to deliver for this rule's placements.
|
|
14484
|
+
* Video mode. The video to deliver for this rule's placements. Each rule needs this or `videoId`.
|
|
14481
14485
|
*/
|
|
14482
14486
|
videoUrl?: string;
|
|
14487
|
+
/**
|
|
14488
|
+
* Video mode. ID of a video already on the ad account, used for this rule instead of uploading `videoUrl`. Wins over `videoUrl`. A video still processing after 30 seconds returns 409.
|
|
14489
|
+
*/
|
|
14490
|
+
videoId?: string;
|
|
14483
14491
|
/**
|
|
14484
14492
|
* Video mode (optional). Poster image for this rule's video; auto-generated when omitted.
|
|
14485
14493
|
*/
|
|
@@ -58135,7 +58143,7 @@ type ListAdAccountsResponse = ({
|
|
|
58135
58143
|
*/
|
|
58136
58144
|
minimumDailyBudget?: number;
|
|
58137
58145
|
/**
|
|
58138
|
-
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT
|
|
58146
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing, when the account has no payment method, and for accounts paid through Business Billing Hub, which still create ads. Absence alone is not a missing payment method.
|
|
58139
58147
|
*/
|
|
58140
58148
|
fundingSource?: string;
|
|
58141
58149
|
/**
|
|
@@ -58162,10 +58170,10 @@ type ListAdAccountsResponse = ({
|
|
|
58162
58170
|
/**
|
|
58163
58171
|
* Meta only. Whether the ad account has a payment method:
|
|
58164
58172
|
*
|
|
58165
|
-
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), `disableReason` is `3` (RISK_PAYMENT)
|
|
58173
|
+
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), or `disableReason` is `3` (RISK_PAYMENT).
|
|
58166
58174
|
* - `missing`, effect: ad creation fails at the ad step with Meta code 100 / subcode 1359188. Add a payment method in Meta's Billing & payments center.
|
|
58167
58175
|
* - `ok`: Meta returns a funding source. This is presence, not validity: Meta can still refuse the card or balance at ad creation.
|
|
58168
|
-
* - `unknown`:
|
|
58176
|
+
* - `unknown`: Meta returns no funding source. The token may not see billing, the account may have no payment method, or it is paid through Business Billing Hub (Meta omits the funding source there even for admins). Meta decides at ad creation.
|
|
58169
58177
|
*
|
|
58170
58178
|
*/
|
|
58171
58179
|
billingStatus?: 'ok' | 'missing' | 'unknown';
|
|
@@ -59331,8 +59339,8 @@ type CreateStandaloneAdData = {
|
|
|
59331
59339
|
*
|
|
59332
59340
|
* Before the dry run, Meta validateOnly runs the account status and payment checks of GET /v1/ads/accounts/health: an ad account that is not ready answers its blocker `code` (`ad_account_unusable`, `ad_account_payment_required`) with `details.hint` and `details.fix`, and Meta is not called.
|
|
59333
59341
|
*
|
|
59334
|
-
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, or existingCreativeId.
|
|
59335
|
-
* - Return 400: dynamicCreative, translations, carouselCards, placement videos, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
59342
|
+
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, placementAssets with an existing video id in every slot and no thumbnails, or existingCreativeId.
|
|
59343
|
+
* - Return 400: dynamicCreative, translations, carouselCards, placement videos by URL or with thumbnails, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
59336
59344
|
* - Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped.
|
|
59337
59345
|
* - When Meta cannot dry-run the nested tree, the campaign and creative are validated alone and the adSet and ad nodes return unverified with the reason. This covers code 2, and two errors Meta returns but then creates normally (below).
|
|
59338
59346
|
* - Code 1 (unknown error) on an OFFSITE_CONVERSIONS ad set nested in a new campaign (some website-conversion ad sets).
|
|
@@ -60168,12 +60176,12 @@ type CreateStandaloneAdData = {
|
|
|
60168
60176
|
*
|
|
60169
60177
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove that every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
60170
60178
|
*
|
|
60171
|
-
* `validateOnly: true` supports all-image placementAssets without uploading or creating anything. Video
|
|
60179
|
+
* `validateOnly: true` supports all-image placementAssets, and video placementAssets with a video id in every slot and no thumbnails, without uploading or creating anything. Video URLs and thumbnails need an upload, so they return 400.
|
|
60172
60180
|
*
|
|
60173
60181
|
* **Media.** A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
60174
60182
|
*
|
|
60175
60183
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
60176
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
60184
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
60177
60185
|
*
|
|
60178
60186
|
*/
|
|
60179
60187
|
placementAssets?: (MetaPlacementAssets);
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1491",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1491",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -12688,7 +12688,7 @@ export type MetaPagePartner = {
|
|
|
12688
12688
|
* A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
12689
12689
|
*
|
|
12690
12690
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
12691
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
12691
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
12692
12692
|
*
|
|
12693
12693
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
12694
12694
|
*
|
|
@@ -12699,9 +12699,13 @@ export type MetaPlacementAssets = {
|
|
|
12699
12699
|
*/
|
|
12700
12700
|
defaultImageUrl?: string;
|
|
12701
12701
|
/**
|
|
12702
|
-
* Video mode. Catch-all video for any placement no rule matches.
|
|
12702
|
+
* Video mode. Catch-all video for any placement no rule matches. Video mode requires this or `defaultVideoId`.
|
|
12703
12703
|
*/
|
|
12704
12704
|
defaultVideoUrl?: string;
|
|
12705
|
+
/**
|
|
12706
|
+
* Video mode. ID of a video already on the ad account, used as the catch-all instead of uploading `defaultVideoUrl`. Wins over `defaultVideoUrl`. A video still processing after 30 seconds returns 409.
|
|
12707
|
+
*/
|
|
12708
|
+
defaultVideoId?: string;
|
|
12705
12709
|
/**
|
|
12706
12710
|
* Video mode (optional). Poster image for the default video; Meta auto-generates one when omitted.
|
|
12707
12711
|
*/
|
|
@@ -12715,9 +12719,13 @@ export type MetaPlacementAssets = {
|
|
|
12715
12719
|
*/
|
|
12716
12720
|
imageUrl?: string;
|
|
12717
12721
|
/**
|
|
12718
|
-
* Video mode. The video to deliver for this rule's placements.
|
|
12722
|
+
* Video mode. The video to deliver for this rule's placements. Each rule needs this or `videoId`.
|
|
12719
12723
|
*/
|
|
12720
12724
|
videoUrl?: string;
|
|
12725
|
+
/**
|
|
12726
|
+
* Video mode. ID of a video already on the ad account, used for this rule instead of uploading `videoUrl`. Wins over `videoUrl`. A video still processing after 30 seconds returns 409.
|
|
12727
|
+
*/
|
|
12728
|
+
videoId?: string;
|
|
12721
12729
|
/**
|
|
12722
12730
|
* Video mode (optional). Poster image for this rule's video; auto-generated when omitted.
|
|
12723
12731
|
*/
|
|
@@ -59322,7 +59330,7 @@ export type ListAdAccountsResponse = ({
|
|
|
59322
59330
|
*/
|
|
59323
59331
|
minimumDailyBudget?: number;
|
|
59324
59332
|
/**
|
|
59325
|
-
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT
|
|
59333
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing, when the account has no payment method, and for accounts paid through Business Billing Hub, which still create ads. Absence alone is not a missing payment method.
|
|
59326
59334
|
*/
|
|
59327
59335
|
fundingSource?: string;
|
|
59328
59336
|
/**
|
|
@@ -59349,10 +59357,10 @@ export type ListAdAccountsResponse = ({
|
|
|
59349
59357
|
/**
|
|
59350
59358
|
* Meta only. Whether the ad account has a payment method:
|
|
59351
59359
|
*
|
|
59352
|
-
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), `disableReason` is `3` (RISK_PAYMENT)
|
|
59360
|
+
* - `missing`: `accountStatus` is `3` (UNSETTLED) or `9` (IN_GRACE_PERIOD), or `disableReason` is `3` (RISK_PAYMENT).
|
|
59353
59361
|
* - `missing`, effect: ad creation fails at the ad step with Meta code 100 / subcode 1359188. Add a payment method in Meta's Billing & payments center.
|
|
59354
59362
|
* - `ok`: Meta returns a funding source. This is presence, not validity: Meta can still refuse the card or balance at ad creation.
|
|
59355
|
-
* - `unknown`:
|
|
59363
|
+
* - `unknown`: Meta returns no funding source. The token may not see billing, the account may have no payment method, or it is paid through Business Billing Hub (Meta omits the funding source there even for admins). Meta decides at ad creation.
|
|
59356
59364
|
*
|
|
59357
59365
|
*/
|
|
59358
59366
|
billingStatus?: 'ok' | 'missing' | 'unknown';
|
|
@@ -60553,8 +60561,8 @@ export type CreateStandaloneAdData = {
|
|
|
60553
60561
|
*
|
|
60554
60562
|
* Before the dry run, Meta validateOnly runs the account status and payment checks of GET /v1/ads/accounts/health: an ad account that is not ready answers its blocker `code` (`ad_account_unusable`, `ad_account_payment_required`) with `details.hint` and `details.fix`, and Meta is not called.
|
|
60555
60563
|
*
|
|
60556
|
-
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, or existingCreativeId.
|
|
60557
|
-
* - Return 400: dynamicCreative, translations, carouselCards, placement videos, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
60564
|
+
* - Supported: a single image or existing video.id (each also with bodies[] / headlines[] Multiple Text Options), all-image placementAssets with per-rule copy and text pools, placementAssets with an existing video id in every slot and no thumbnails, or existingCreativeId.
|
|
60565
|
+
* - Return 400: dynamicCreative, translations, carouselCards, placement videos by URL or with thumbnails, new video uploads, creatives[], adSetId, RESERVED buying.
|
|
60558
60566
|
* - Placement validation uses existing Instagram identities only. Existing campaign or creative nodes are marked skipped.
|
|
60559
60567
|
* - When Meta cannot dry-run the nested tree, the campaign and creative are validated alone and the adSet and ad nodes return unverified with the reason. This covers code 2, and two errors Meta returns but then creates normally (below).
|
|
60560
60568
|
* - Code 1 (unknown error) on an OFFSITE_CONVERSIONS ad set nested in a new campaign (some website-conversion ad sets).
|
|
@@ -61390,12 +61398,12 @@ export type CreateStandaloneAdData = {
|
|
|
61390
61398
|
*
|
|
61391
61399
|
* Meta controls text rendering by placement and format. Validation accepts these fields but does not prove that every field appears in delivery. Preview the ad, and put copy that must always be visible into the image or video itself.
|
|
61392
61400
|
*
|
|
61393
|
-
* `validateOnly: true` supports all-image placementAssets without uploading or creating anything. Video
|
|
61401
|
+
* `validateOnly: true` supports all-image placementAssets, and video placementAssets with a video id in every slot and no thumbnails, without uploading or creating anything. Video URLs and thumbnails need an upload, so they return 400.
|
|
61394
61402
|
*
|
|
61395
61403
|
* **Media.** A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad format). Exactly one catch-all default is required.
|
|
61396
61404
|
*
|
|
61397
61405
|
* - Image mode: `defaultImageUrl` + `rules[].imageUrl`.
|
|
61398
|
-
* - Video mode: `defaultVideoUrl` + `rules[].videoUrl`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted).
|
|
61406
|
+
* - Video mode: `defaultVideoUrl` or `defaultVideoId` + `rules[].videoUrl` or `rules[].videoId`, with optional `thumbnailUrl`/`defaultThumbnailUrl` posters (Meta auto-generates them when omitted). An id reuses a video already on the ad account and wins over a URL in the same slot; the two can mix across slots.
|
|
61399
61407
|
*
|
|
61400
61408
|
*/
|
|
61401
61409
|
placementAssets?: (MetaPlacementAssets);
|