@zernio/node 0.2.925 → 0.2.926
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -40228,7 +40228,7 @@ type BoostPostData = {
|
|
|
40228
40228
|
*/
|
|
40229
40229
|
leadGenFormId?: string;
|
|
40230
40230
|
/**
|
|
40231
|
-
* Meta, TikTok, and
|
|
40231
|
+
* Meta, TikTok, LinkedIn, and Google. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On Google the pause is held on the campaign the boost creates (ad group and ad switched on), so PUT /v1/ads/campaigns/{campaignId}/status with `active` brings it live. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
|
|
40232
40232
|
*/
|
|
40233
40233
|
status?: 'ACTIVE' | 'PAUSED';
|
|
40234
40234
|
/**
|
|
@@ -40381,11 +40381,11 @@ type CreateStandaloneAdData = {
|
|
|
40381
40381
|
*/
|
|
40382
40382
|
budgetType?: 'daily' | 'lifetime';
|
|
40383
40383
|
/**
|
|
40384
|
-
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, and
|
|
40384
|
+
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, LinkedIn, and ChatGPT (OpenAI): publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. Google Search and Display follow the same rule, and because Google keeps an independent switch at campaign, ad group and ad level, a PAUSED create leaves the campaign it creates PAUSED at Google. On TikTok the whole campaign > ad group > ad hierarchy stays paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each). ChatGPT (OpenAI) follows the Meta rule: the pause is held on the campaign this call creates.
|
|
40385
40385
|
*/
|
|
40386
40386
|
status?: 'ACTIVE' | 'PAUSED';
|
|
40387
40387
|
/**
|
|
40388
|
-
* Meta and
|
|
40388
|
+
* Meta, Google, and ChatGPT (OpenAI). Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
40389
40389
|
*/
|
|
40390
40390
|
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
40391
40391
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -40228,7 +40228,7 @@ type BoostPostData = {
|
|
|
40228
40228
|
*/
|
|
40229
40229
|
leadGenFormId?: string;
|
|
40230
40230
|
/**
|
|
40231
|
-
* Meta, TikTok, and
|
|
40231
|
+
* Meta, TikTok, LinkedIn, and Google. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On Google the pause is held on the campaign the boost creates (ad group and ad switched on), so PUT /v1/ads/campaigns/{campaignId}/status with `active` brings it live. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
|
|
40232
40232
|
*/
|
|
40233
40233
|
status?: 'ACTIVE' | 'PAUSED';
|
|
40234
40234
|
/**
|
|
@@ -40381,11 +40381,11 @@ type CreateStandaloneAdData = {
|
|
|
40381
40381
|
*/
|
|
40382
40382
|
budgetType?: 'daily' | 'lifetime';
|
|
40383
40383
|
/**
|
|
40384
|
-
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, and
|
|
40384
|
+
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, LinkedIn, and ChatGPT (OpenAI): publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. Google Search and Display follow the same rule, and because Google keeps an independent switch at campaign, ad group and ad level, a PAUSED create leaves the campaign it creates PAUSED at Google. On TikTok the whole campaign > ad group > ad hierarchy stays paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each). ChatGPT (OpenAI) follows the Meta rule: the pause is held on the campaign this call creates.
|
|
40385
40385
|
*/
|
|
40386
40386
|
status?: 'ACTIVE' | 'PAUSED';
|
|
40387
40387
|
/**
|
|
40388
|
-
* Meta and
|
|
40388
|
+
* Meta, Google, and ChatGPT (OpenAI). Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
40389
40389
|
*/
|
|
40390
40390
|
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
40391
40391
|
/**
|
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.926",
|
|
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.926",
|
|
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
|
@@ -40880,7 +40880,7 @@ export type BoostPostData = {
|
|
|
40880
40880
|
*/
|
|
40881
40881
|
leadGenFormId?: string;
|
|
40882
40882
|
/**
|
|
40883
|
-
* Meta, TikTok, and
|
|
40883
|
+
* Meta, TikTok, LinkedIn, and Google. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On Google the pause is held on the campaign the boost creates (ad group and ad switched on), so PUT /v1/ads/campaigns/{campaignId}/status with `active` brings it live. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
|
|
40884
40884
|
*/
|
|
40885
40885
|
status?: 'ACTIVE' | 'PAUSED';
|
|
40886
40886
|
/**
|
|
@@ -41039,11 +41039,11 @@ export type CreateStandaloneAdData = {
|
|
|
41039
41039
|
*/
|
|
41040
41040
|
budgetType?: 'daily' | 'lifetime';
|
|
41041
41041
|
/**
|
|
41042
|
-
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, and
|
|
41042
|
+
* Google Performance Max accepts PAUSED only and always creates a paused campaign. Google Search and Display, Meta, TikTok, LinkedIn, and ChatGPT (OpenAI): publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. Google Search and Display follow the same rule, and because Google keeps an independent switch at campaign, ad group and ad level, a PAUSED create leaves the campaign it creates PAUSED at Google. On TikTok the whole campaign > ad group > ad hierarchy stays paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each). ChatGPT (OpenAI) follows the Meta rule: the pause is held on the campaign this call creates.
|
|
41043
41043
|
*/
|
|
41044
41044
|
status?: 'ACTIVE' | 'PAUSED';
|
|
41045
41045
|
/**
|
|
41046
|
-
* Meta and
|
|
41046
|
+
* Meta, Google, and ChatGPT (OpenAI). Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
41047
41047
|
*/
|
|
41048
41048
|
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
41049
41049
|
/**
|