@zernio/node 0.2.1839 → 0.2.1840
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -68501,6 +68501,10 @@ type UpdateAdCampaignStatusData = {
|
|
|
68501
68501
|
body: {
|
|
68502
68502
|
status: 'active' | 'paused';
|
|
68503
68503
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
68504
|
+
/**
|
|
68505
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of a campaign created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the campaign. It echoes the requested status; `stage: true` answers 400.
|
|
68506
|
+
*/
|
|
68507
|
+
accountId?: string;
|
|
68504
68508
|
/**
|
|
68505
68509
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
68506
68510
|
*/
|
|
@@ -70317,6 +70321,10 @@ type UpdateAdSetStatusData = {
|
|
|
70317
70321
|
body: {
|
|
70318
70322
|
status: 'active' | 'paused';
|
|
70319
70323
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
70324
|
+
/**
|
|
70325
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad set created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad set. It echoes the requested status; `stage: true` answers 400.
|
|
70326
|
+
*/
|
|
70327
|
+
accountId?: string;
|
|
70320
70328
|
/**
|
|
70321
70329
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
70322
70330
|
*/
|
|
@@ -71023,6 +71031,10 @@ type DeleteAdError = (ErrorResponse);
|
|
|
71023
71031
|
type UpdateAdStatusData = {
|
|
71024
71032
|
body: {
|
|
71025
71033
|
status: 'active' | 'paused';
|
|
71034
|
+
/**
|
|
71035
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad. It echoes the requested status; `stage: true` answers 400.
|
|
71036
|
+
*/
|
|
71037
|
+
accountId?: string;
|
|
71026
71038
|
/**
|
|
71027
71039
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
71028
71040
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -68501,6 +68501,10 @@ type UpdateAdCampaignStatusData = {
|
|
|
68501
68501
|
body: {
|
|
68502
68502
|
status: 'active' | 'paused';
|
|
68503
68503
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
68504
|
+
/**
|
|
68505
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of a campaign created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the campaign. It echoes the requested status; `stage: true` answers 400.
|
|
68506
|
+
*/
|
|
68507
|
+
accountId?: string;
|
|
68504
68508
|
/**
|
|
68505
68509
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
68506
68510
|
*/
|
|
@@ -70317,6 +70321,10 @@ type UpdateAdSetStatusData = {
|
|
|
70317
70321
|
body: {
|
|
70318
70322
|
status: 'active' | 'paused';
|
|
70319
70323
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
70324
|
+
/**
|
|
70325
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad set created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad set. It echoes the requested status; `stage: true` answers 400.
|
|
70326
|
+
*/
|
|
70327
|
+
accountId?: string;
|
|
70320
70328
|
/**
|
|
70321
70329
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
70322
70330
|
*/
|
|
@@ -71023,6 +71031,10 @@ type DeleteAdError = (ErrorResponse);
|
|
|
71023
71031
|
type UpdateAdStatusData = {
|
|
71024
71032
|
body: {
|
|
71025
71033
|
status: 'active' | 'paused';
|
|
71034
|
+
/**
|
|
71035
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad. It echoes the requested status; `stage: true` answers 400.
|
|
71036
|
+
*/
|
|
71037
|
+
accountId?: string;
|
|
71026
71038
|
/**
|
|
71027
71039
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
71028
71040
|
*/
|
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.1840",
|
|
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.1840",
|
|
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
|
@@ -69892,6 +69892,10 @@ export type UpdateAdCampaignStatusData = {
|
|
|
69892
69892
|
body: {
|
|
69893
69893
|
status: 'active' | 'paused';
|
|
69894
69894
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
69895
|
+
/**
|
|
69896
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of a campaign created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the campaign. It echoes the requested status; `stage: true` answers 400.
|
|
69897
|
+
*/
|
|
69898
|
+
accountId?: string;
|
|
69895
69899
|
/**
|
|
69896
69900
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
69897
69901
|
*/
|
|
@@ -71774,6 +71778,10 @@ export type UpdateAdSetStatusData = {
|
|
|
71774
71778
|
body: {
|
|
71775
71779
|
status: 'active' | 'paused';
|
|
71776
71780
|
platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit' | 'microsoft' | 'amazon' | 'tradedesk' | 'snapchat';
|
|
71781
|
+
/**
|
|
71782
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad set created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad set. It echoes the requested status; `stage: true` answers 400.
|
|
71783
|
+
*/
|
|
71784
|
+
accountId?: string;
|
|
71777
71785
|
/**
|
|
71778
71786
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
71779
71787
|
*/
|
|
@@ -72501,6 +72509,10 @@ export type DeleteAdError = (ErrorResponse);
|
|
|
72501
72509
|
export type UpdateAdStatusData = {
|
|
72502
72510
|
body: {
|
|
72503
72511
|
status: 'active' | 'paused';
|
|
72512
|
+
/**
|
|
72513
|
+
* A Zernio Meta Ads or Facebook connection id (also accepted in the query). Changes the status of an ad created in Ads Manager that Zernio has not synced, by numeric Meta id. Ignored when Zernio has the ad. It echoes the requested status; `stage: true` answers 400.
|
|
72514
|
+
*/
|
|
72515
|
+
accountId?: string;
|
|
72504
72516
|
/**
|
|
72505
72517
|
* Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.
|
|
72506
72518
|
*/
|