@zernio/node 0.2.553 → 0.2.554
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 +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +21 -2
package/dist/index.d.mts
CHANGED
|
@@ -30102,6 +30102,22 @@ type CreateStandaloneAdData = {
|
|
|
30102
30102
|
*
|
|
30103
30103
|
*/
|
|
30104
30104
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER';
|
|
30105
|
+
/**
|
|
30106
|
+
* TikTok only. Creates the ad as a TikTok Upgraded Smart+
|
|
30107
|
+
* campaign: TikTok automates targeting, bidding and delivery. Supports goals
|
|
30108
|
+
* `conversions` (Smart+ Web Conversions), `lead_generation` (Smart+ Lead
|
|
30109
|
+
* Generation with a website form on `linkUrl`; TikTok Instant Forms not supported)
|
|
30110
|
+
* and `app_promotion` (Smart+ App installs; the ad's destination is the app store,
|
|
30111
|
+
* so `linkUrl` is not used). The web goals require `promotedObject.pixelId` AND
|
|
30112
|
+
* `promotedObject.customEventType`; `app_promotion` requires
|
|
30113
|
+
* `promotedObject.applicationId` instead.
|
|
30114
|
+
* Targeting works like on any TikTok ad (defaults to `countries: ["US"]` when
|
|
30115
|
+
* omitted); TikTok automates delivery within it.
|
|
30116
|
+
* The budget lives on the Smart+ campaign (Campaign Budget Optimization); a `lifetime`
|
|
30117
|
+
* budget additionally requires `endDate`. Cannot be combined with `adSetId`.
|
|
30118
|
+
*
|
|
30119
|
+
*/
|
|
30120
|
+
smartPlus?: boolean;
|
|
30105
30121
|
/**
|
|
30106
30122
|
* What the ad optimises against. Behaviour depends on the platform.
|
|
30107
30123
|
*
|
|
@@ -30115,12 +30131,15 @@ type CreateStandaloneAdData = {
|
|
|
30115
30131
|
*
|
|
30116
30132
|
* Other Meta goals (engagement, traffic, awareness, video_views) ignore this field.
|
|
30117
30133
|
*
|
|
30118
|
-
* **TikTok**:
|
|
30134
|
+
* **TikTok**: used by `goal: conversions` and the Smart+ goals (`smartPlus: true`).
|
|
30119
30135
|
* - `pixelId` maps to the ad group's `pixel_id`. Required: a TikTok website-conversion
|
|
30120
30136
|
* ad group without a pixel is rejected with `40002: Please select a pixel`.
|
|
30121
30137
|
* - `customEventType` maps to the ad group's `optimization_event` (the pixel event to
|
|
30122
|
-
* optimise for). Optional
|
|
30138
|
+
* optimise for). Optional on the regular conversions flow, required on Smart+.
|
|
30123
30139
|
* See the `customEventType` field below for the valid TikTok codes.
|
|
30140
|
+
* - `applicationId` (Smart+ `goal: app_promotion` only) maps to the ad group's `app_id`:
|
|
30141
|
+
* the App ID of an app registered on the TikTok Ads account (Assets → Events →
|
|
30142
|
+
* App Events). Install optimization needs the app's MMP tracking configured.
|
|
30124
30143
|
*
|
|
30125
30144
|
* The remaining `promotedObject.*` fields are Meta-only. Platforms other than
|
|
30126
30145
|
* Meta and TikTok ignore `promotedObject` entirely.
|
package/dist/index.d.ts
CHANGED
|
@@ -30102,6 +30102,22 @@ type CreateStandaloneAdData = {
|
|
|
30102
30102
|
*
|
|
30103
30103
|
*/
|
|
30104
30104
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER';
|
|
30105
|
+
/**
|
|
30106
|
+
* TikTok only. Creates the ad as a TikTok Upgraded Smart+
|
|
30107
|
+
* campaign: TikTok automates targeting, bidding and delivery. Supports goals
|
|
30108
|
+
* `conversions` (Smart+ Web Conversions), `lead_generation` (Smart+ Lead
|
|
30109
|
+
* Generation with a website form on `linkUrl`; TikTok Instant Forms not supported)
|
|
30110
|
+
* and `app_promotion` (Smart+ App installs; the ad's destination is the app store,
|
|
30111
|
+
* so `linkUrl` is not used). The web goals require `promotedObject.pixelId` AND
|
|
30112
|
+
* `promotedObject.customEventType`; `app_promotion` requires
|
|
30113
|
+
* `promotedObject.applicationId` instead.
|
|
30114
|
+
* Targeting works like on any TikTok ad (defaults to `countries: ["US"]` when
|
|
30115
|
+
* omitted); TikTok automates delivery within it.
|
|
30116
|
+
* The budget lives on the Smart+ campaign (Campaign Budget Optimization); a `lifetime`
|
|
30117
|
+
* budget additionally requires `endDate`. Cannot be combined with `adSetId`.
|
|
30118
|
+
*
|
|
30119
|
+
*/
|
|
30120
|
+
smartPlus?: boolean;
|
|
30105
30121
|
/**
|
|
30106
30122
|
* What the ad optimises against. Behaviour depends on the platform.
|
|
30107
30123
|
*
|
|
@@ -30115,12 +30131,15 @@ type CreateStandaloneAdData = {
|
|
|
30115
30131
|
*
|
|
30116
30132
|
* Other Meta goals (engagement, traffic, awareness, video_views) ignore this field.
|
|
30117
30133
|
*
|
|
30118
|
-
* **TikTok**:
|
|
30134
|
+
* **TikTok**: used by `goal: conversions` and the Smart+ goals (`smartPlus: true`).
|
|
30119
30135
|
* - `pixelId` maps to the ad group's `pixel_id`. Required: a TikTok website-conversion
|
|
30120
30136
|
* ad group without a pixel is rejected with `40002: Please select a pixel`.
|
|
30121
30137
|
* - `customEventType` maps to the ad group's `optimization_event` (the pixel event to
|
|
30122
|
-
* optimise for). Optional
|
|
30138
|
+
* optimise for). Optional on the regular conversions flow, required on Smart+.
|
|
30123
30139
|
* See the `customEventType` field below for the valid TikTok codes.
|
|
30140
|
+
* - `applicationId` (Smart+ `goal: app_promotion` only) maps to the ad group's `app_id`:
|
|
30141
|
+
* the App ID of an app registered on the TikTok Ads account (Assets → Events →
|
|
30142
|
+
* App Events). Install optimization needs the app's MMP tracking configured.
|
|
30124
30143
|
*
|
|
30125
30144
|
* The remaining `promotedObject.*` fields are Meta-only. Platforms other than
|
|
30126
30145
|
* Meta and TikTok ignore `promotedObject` entirely.
|
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.554",
|
|
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.554",
|
|
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
|
@@ -30638,6 +30638,22 @@ export type CreateStandaloneAdData = {
|
|
|
30638
30638
|
*
|
|
30639
30639
|
*/
|
|
30640
30640
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER';
|
|
30641
|
+
/**
|
|
30642
|
+
* TikTok only. Creates the ad as a TikTok Upgraded Smart+
|
|
30643
|
+
* campaign: TikTok automates targeting, bidding and delivery. Supports goals
|
|
30644
|
+
* `conversions` (Smart+ Web Conversions), `lead_generation` (Smart+ Lead
|
|
30645
|
+
* Generation with a website form on `linkUrl`; TikTok Instant Forms not supported)
|
|
30646
|
+
* and `app_promotion` (Smart+ App installs; the ad's destination is the app store,
|
|
30647
|
+
* so `linkUrl` is not used). The web goals require `promotedObject.pixelId` AND
|
|
30648
|
+
* `promotedObject.customEventType`; `app_promotion` requires
|
|
30649
|
+
* `promotedObject.applicationId` instead.
|
|
30650
|
+
* Targeting works like on any TikTok ad (defaults to `countries: ["US"]` when
|
|
30651
|
+
* omitted); TikTok automates delivery within it.
|
|
30652
|
+
* The budget lives on the Smart+ campaign (Campaign Budget Optimization); a `lifetime`
|
|
30653
|
+
* budget additionally requires `endDate`. Cannot be combined with `adSetId`.
|
|
30654
|
+
*
|
|
30655
|
+
*/
|
|
30656
|
+
smartPlus?: boolean;
|
|
30641
30657
|
/**
|
|
30642
30658
|
* What the ad optimises against. Behaviour depends on the platform.
|
|
30643
30659
|
*
|
|
@@ -30651,12 +30667,15 @@ export type CreateStandaloneAdData = {
|
|
|
30651
30667
|
*
|
|
30652
30668
|
* Other Meta goals (engagement, traffic, awareness, video_views) ignore this field.
|
|
30653
30669
|
*
|
|
30654
|
-
* **TikTok**:
|
|
30670
|
+
* **TikTok**: used by `goal: conversions` and the Smart+ goals (`smartPlus: true`).
|
|
30655
30671
|
* - `pixelId` maps to the ad group's `pixel_id`. Required: a TikTok website-conversion
|
|
30656
30672
|
* ad group without a pixel is rejected with `40002: Please select a pixel`.
|
|
30657
30673
|
* - `customEventType` maps to the ad group's `optimization_event` (the pixel event to
|
|
30658
|
-
* optimise for). Optional
|
|
30674
|
+
* optimise for). Optional on the regular conversions flow, required on Smart+.
|
|
30659
30675
|
* See the `customEventType` field below for the valid TikTok codes.
|
|
30676
|
+
* - `applicationId` (Smart+ `goal: app_promotion` only) maps to the ad group's `app_id`:
|
|
30677
|
+
* the App ID of an app registered on the TikTok Ads account (Assets → Events →
|
|
30678
|
+
* App Events). Install optimization needs the app's MMP tracking configured.
|
|
30660
30679
|
*
|
|
30661
30680
|
* The remaining `promotedObject.*` fields are Meta-only. Platforms other than
|
|
30662
30681
|
* Meta and TikTok ignore `promotedObject` entirely.
|