@zernio/node 0.2.265 → 0.2.266
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 +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +28 -0
package/dist/index.d.mts
CHANGED
|
@@ -19154,6 +19154,10 @@ type CreateStandaloneAdData = {
|
|
|
19154
19154
|
* Required on legacy + multi-creative shapes. Inherited on attach.
|
|
19155
19155
|
*/
|
|
19156
19156
|
budgetType?: 'daily' | 'lifetime';
|
|
19157
|
+
/**
|
|
19158
|
+
* Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
|
|
19159
|
+
*/
|
|
19160
|
+
status?: 'ACTIVE' | 'PAUSED';
|
|
19157
19161
|
/**
|
|
19158
19162
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
19159
19163
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|
|
@@ -19282,6 +19286,30 @@ type CreateStandaloneAdData = {
|
|
|
19282
19286
|
*
|
|
19283
19287
|
*/
|
|
19284
19288
|
adSetId?: string;
|
|
19289
|
+
/**
|
|
19290
|
+
* Meta only. Add the new ad set under this EXISTING campaign
|
|
19291
|
+
* instead of creating a new one (multi-ad-set audience testing).
|
|
19292
|
+
* The new ad set's budget is matched to the campaign's mode
|
|
19293
|
+
* automatically: for a CBO campaign (campaign-level budget) omit
|
|
19294
|
+
* `budgetAmount`/`budgetType` — the campaign owns the budget; for
|
|
19295
|
+
* an ABO campaign pass them (they go on the new ad set). On
|
|
19296
|
+
* failure only the new ad set is cleaned up; the existing campaign
|
|
19297
|
+
* is left untouched and is never (re)activated. Mutually exclusive
|
|
19298
|
+
* with `adSetId` and `creatives[]`.
|
|
19299
|
+
*
|
|
19300
|
+
*/
|
|
19301
|
+
existingCampaignId?: string;
|
|
19302
|
+
/**
|
|
19303
|
+
* Meta only. Reuse an EXISTING ad creative by id instead of
|
|
19304
|
+
* building a new one from the copy/media fields (which are then
|
|
19305
|
+
* ignored). Combine with `existingCampaignId` to build a
|
|
19306
|
+
* multi-ad-set campaign that shares one creative. Mutually
|
|
19307
|
+
* exclusive with `creatives[]`, `dynamicCreative`, and
|
|
19308
|
+
* `placementAssets`. The creative id used is returned as
|
|
19309
|
+
* `creativeId` on the create response.
|
|
19310
|
+
*
|
|
19311
|
+
*/
|
|
19312
|
+
existingCreativeId?: string;
|
|
19285
19313
|
/**
|
|
19286
19314
|
* Google Display only
|
|
19287
19315
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -19154,6 +19154,10 @@ type CreateStandaloneAdData = {
|
|
|
19154
19154
|
* Required on legacy + multi-creative shapes. Inherited on attach.
|
|
19155
19155
|
*/
|
|
19156
19156
|
budgetType?: 'daily' | 'lifetime';
|
|
19157
|
+
/**
|
|
19158
|
+
* Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
|
|
19159
|
+
*/
|
|
19160
|
+
status?: 'ACTIVE' | 'PAUSED';
|
|
19157
19161
|
/**
|
|
19158
19162
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
19159
19163
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|
|
@@ -19282,6 +19286,30 @@ type CreateStandaloneAdData = {
|
|
|
19282
19286
|
*
|
|
19283
19287
|
*/
|
|
19284
19288
|
adSetId?: string;
|
|
19289
|
+
/**
|
|
19290
|
+
* Meta only. Add the new ad set under this EXISTING campaign
|
|
19291
|
+
* instead of creating a new one (multi-ad-set audience testing).
|
|
19292
|
+
* The new ad set's budget is matched to the campaign's mode
|
|
19293
|
+
* automatically: for a CBO campaign (campaign-level budget) omit
|
|
19294
|
+
* `budgetAmount`/`budgetType` — the campaign owns the budget; for
|
|
19295
|
+
* an ABO campaign pass them (they go on the new ad set). On
|
|
19296
|
+
* failure only the new ad set is cleaned up; the existing campaign
|
|
19297
|
+
* is left untouched and is never (re)activated. Mutually exclusive
|
|
19298
|
+
* with `adSetId` and `creatives[]`.
|
|
19299
|
+
*
|
|
19300
|
+
*/
|
|
19301
|
+
existingCampaignId?: string;
|
|
19302
|
+
/**
|
|
19303
|
+
* Meta only. Reuse an EXISTING ad creative by id instead of
|
|
19304
|
+
* building a new one from the copy/media fields (which are then
|
|
19305
|
+
* ignored). Combine with `existingCampaignId` to build a
|
|
19306
|
+
* multi-ad-set campaign that shares one creative. Mutually
|
|
19307
|
+
* exclusive with `creatives[]`, `dynamicCreative`, and
|
|
19308
|
+
* `placementAssets`. The creative id used is returned as
|
|
19309
|
+
* `creativeId` on the create response.
|
|
19310
|
+
*
|
|
19311
|
+
*/
|
|
19312
|
+
existingCreativeId?: string;
|
|
19285
19313
|
/**
|
|
19286
19314
|
* Google Display only
|
|
19287
19315
|
*/
|
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.266",
|
|
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.266",
|
|
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
|
@@ -19659,6 +19659,10 @@ export type CreateStandaloneAdData = {
|
|
|
19659
19659
|
* Required on legacy + multi-creative shapes. Inherited on attach.
|
|
19660
19660
|
*/
|
|
19661
19661
|
budgetType?: 'daily' | 'lifetime';
|
|
19662
|
+
/**
|
|
19663
|
+
* Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
|
|
19664
|
+
*/
|
|
19665
|
+
status?: 'ACTIVE' | 'PAUSED';
|
|
19662
19666
|
/**
|
|
19663
19667
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
19664
19668
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|
|
@@ -19787,6 +19791,30 @@ export type CreateStandaloneAdData = {
|
|
|
19787
19791
|
*
|
|
19788
19792
|
*/
|
|
19789
19793
|
adSetId?: string;
|
|
19794
|
+
/**
|
|
19795
|
+
* Meta only. Add the new ad set under this EXISTING campaign
|
|
19796
|
+
* instead of creating a new one (multi-ad-set audience testing).
|
|
19797
|
+
* The new ad set's budget is matched to the campaign's mode
|
|
19798
|
+
* automatically: for a CBO campaign (campaign-level budget) omit
|
|
19799
|
+
* `budgetAmount`/`budgetType` — the campaign owns the budget; for
|
|
19800
|
+
* an ABO campaign pass them (they go on the new ad set). On
|
|
19801
|
+
* failure only the new ad set is cleaned up; the existing campaign
|
|
19802
|
+
* is left untouched and is never (re)activated. Mutually exclusive
|
|
19803
|
+
* with `adSetId` and `creatives[]`.
|
|
19804
|
+
*
|
|
19805
|
+
*/
|
|
19806
|
+
existingCampaignId?: string;
|
|
19807
|
+
/**
|
|
19808
|
+
* Meta only. Reuse an EXISTING ad creative by id instead of
|
|
19809
|
+
* building a new one from the copy/media fields (which are then
|
|
19810
|
+
* ignored). Combine with `existingCampaignId` to build a
|
|
19811
|
+
* multi-ad-set campaign that shares one creative. Mutually
|
|
19812
|
+
* exclusive with `creatives[]`, `dynamicCreative`, and
|
|
19813
|
+
* `placementAssets`. The creative id used is returned as
|
|
19814
|
+
* `creativeId` on the create response.
|
|
19815
|
+
*
|
|
19816
|
+
*/
|
|
19817
|
+
existingCreativeId?: string;
|
|
19790
19818
|
/**
|
|
19791
19819
|
* Google Display only
|
|
19792
19820
|
*/
|