@zernio/node 0.2.813 → 0.2.814
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 +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -0
package/dist/index.d.mts
CHANGED
|
@@ -37765,6 +37765,19 @@ type BoostPostData = {
|
|
|
37765
37765
|
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms. A Smart+ Spark ad uses a dynamic CTA portfolio, sent as ad_configuration.call_to_action_id (TikTok does not accept a named call to action there): Zernio creates one per ad account and reuses it, and `callToAction` is rejected with a 400 on this path.
|
|
37766
37766
|
*/
|
|
37767
37767
|
smartPlus?: boolean;
|
|
37768
|
+
/**
|
|
37769
|
+
* TikTok Smart+ only (requires `smartPlus: true`). Several Spark posts as creatives of ONE Smart+ ad, each with its own post code (TikTok allows 1-50 per ad; posts from different creators mix). Replaces `platformPostId` + `sparkAuthCode`. Without `adSetId` it creates campaign + ad group + one ad carrying all of them; with `adSetId` it creates one new ad with all of them in that ad group. Rejected with a 400 on other platforms.
|
|
37770
|
+
*/
|
|
37771
|
+
sparkPosts?: Array<{
|
|
37772
|
+
/**
|
|
37773
|
+
* TikTok post (item) id.
|
|
37774
|
+
*/
|
|
37775
|
+
platformPostId: string;
|
|
37776
|
+
/**
|
|
37777
|
+
* That post's Spark code.
|
|
37778
|
+
*/
|
|
37779
|
+
sparkAuthCode: string;
|
|
37780
|
+
}>;
|
|
37768
37781
|
/**
|
|
37769
37782
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37770
37783
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
package/dist/index.d.ts
CHANGED
|
@@ -37765,6 +37765,19 @@ type BoostPostData = {
|
|
|
37765
37765
|
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms. A Smart+ Spark ad uses a dynamic CTA portfolio, sent as ad_configuration.call_to_action_id (TikTok does not accept a named call to action there): Zernio creates one per ad account and reuses it, and `callToAction` is rejected with a 400 on this path.
|
|
37766
37766
|
*/
|
|
37767
37767
|
smartPlus?: boolean;
|
|
37768
|
+
/**
|
|
37769
|
+
* TikTok Smart+ only (requires `smartPlus: true`). Several Spark posts as creatives of ONE Smart+ ad, each with its own post code (TikTok allows 1-50 per ad; posts from different creators mix). Replaces `platformPostId` + `sparkAuthCode`. Without `adSetId` it creates campaign + ad group + one ad carrying all of them; with `adSetId` it creates one new ad with all of them in that ad group. Rejected with a 400 on other platforms.
|
|
37770
|
+
*/
|
|
37771
|
+
sparkPosts?: Array<{
|
|
37772
|
+
/**
|
|
37773
|
+
* TikTok post (item) id.
|
|
37774
|
+
*/
|
|
37775
|
+
platformPostId: string;
|
|
37776
|
+
/**
|
|
37777
|
+
* That post's Spark code.
|
|
37778
|
+
*/
|
|
37779
|
+
sparkAuthCode: string;
|
|
37780
|
+
}>;
|
|
37768
37781
|
/**
|
|
37769
37782
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37770
37783
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
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.814",
|
|
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.814",
|
|
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
|
@@ -38368,6 +38368,19 @@ export type BoostPostData = {
|
|
|
38368
38368
|
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms. A Smart+ Spark ad uses a dynamic CTA portfolio, sent as ad_configuration.call_to_action_id (TikTok does not accept a named call to action there): Zernio creates one per ad account and reuses it, and `callToAction` is rejected with a 400 on this path.
|
|
38369
38369
|
*/
|
|
38370
38370
|
smartPlus?: boolean;
|
|
38371
|
+
/**
|
|
38372
|
+
* TikTok Smart+ only (requires `smartPlus: true`). Several Spark posts as creatives of ONE Smart+ ad, each with its own post code (TikTok allows 1-50 per ad; posts from different creators mix). Replaces `platformPostId` + `sparkAuthCode`. Without `adSetId` it creates campaign + ad group + one ad carrying all of them; with `adSetId` it creates one new ad with all of them in that ad group. Rejected with a 400 on other platforms.
|
|
38373
|
+
*/
|
|
38374
|
+
sparkPosts?: Array<{
|
|
38375
|
+
/**
|
|
38376
|
+
* TikTok post (item) id.
|
|
38377
|
+
*/
|
|
38378
|
+
platformPostId: string;
|
|
38379
|
+
/**
|
|
38380
|
+
* That post's Spark code.
|
|
38381
|
+
*/
|
|
38382
|
+
sparkAuthCode: string;
|
|
38383
|
+
}>;
|
|
38371
38384
|
/**
|
|
38372
38385
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
38373
38386
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|