@zernio/node 0.2.1498 → 0.2.1500
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/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -62710,7 +62710,7 @@ type CreateAdAudienceData = {
|
|
|
62710
62710
|
* - ads: `CLICK`, `IMPRESSION`, `PLAY 2S`, `PLAY 6S`, `PLAY 25`, `PLAY 50`, `PLAY 75`, `PLAY OVER`, and the `ENGAGEMENT APP PROFILE` / `ENGAGEMENT TIKTOK INSTANT` / `ENGAGEMENT COLLECTION ADS` `CLICK` and `IMPRESSION` events.
|
|
62711
62711
|
* - organic_video: `ORGANIC VIDEO PLAY 2S`, `ORGANIC VIDEO PLAY 6S`, `ORGANIC VIDEO PLAY OVER`, `ORGANIC VIDEO ENGAGEMENT`.
|
|
62712
62712
|
* - live_video: `LIVE VIDEO VIEW`, `LIVE VIDEO ENGAGEMENT`.
|
|
62713
|
-
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER
|
|
62713
|
+
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER`.
|
|
62714
62714
|
*
|
|
62715
62715
|
*/
|
|
62716
62716
|
event?: string;
|
|
@@ -62735,11 +62735,11 @@ type CreateAdAudienceData = {
|
|
|
62735
62735
|
*/
|
|
62736
62736
|
source?: 'ads' | 'organic_video' | 'live_video' | 'business_account';
|
|
62737
62737
|
/**
|
|
62738
|
-
* tiktok_engagement: ad group
|
|
62738
|
+
* tiktok_engagement: ad group ids for `ads`, TikTok post ids (`item_id`) for `organic_video` and live video ids for `live_video` (max 10 for both). Not accepted for `business_account`: Zernio sends the core_user_id of the TikTok for Business user that connected the ad account.
|
|
62739
62739
|
*/
|
|
62740
62740
|
sourceIds?: Array<(string)>;
|
|
62741
62741
|
/**
|
|
62742
|
-
* tiktok_engagement: the TikTok identity that owns the videos
|
|
62742
|
+
* tiktok_engagement: the TikTok identity (TT_USER or BC_AUTH_TT) that owns the videos. Required for organic_video and live_video.
|
|
62743
62743
|
*/
|
|
62744
62744
|
identityId?: string;
|
|
62745
62745
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -62710,7 +62710,7 @@ type CreateAdAudienceData = {
|
|
|
62710
62710
|
* - ads: `CLICK`, `IMPRESSION`, `PLAY 2S`, `PLAY 6S`, `PLAY 25`, `PLAY 50`, `PLAY 75`, `PLAY OVER`, and the `ENGAGEMENT APP PROFILE` / `ENGAGEMENT TIKTOK INSTANT` / `ENGAGEMENT COLLECTION ADS` `CLICK` and `IMPRESSION` events.
|
|
62711
62711
|
* - organic_video: `ORGANIC VIDEO PLAY 2S`, `ORGANIC VIDEO PLAY 6S`, `ORGANIC VIDEO PLAY OVER`, `ORGANIC VIDEO ENGAGEMENT`.
|
|
62712
62712
|
* - live_video: `LIVE VIDEO VIEW`, `LIVE VIDEO ENGAGEMENT`.
|
|
62713
|
-
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER
|
|
62713
|
+
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER`.
|
|
62714
62714
|
*
|
|
62715
62715
|
*/
|
|
62716
62716
|
event?: string;
|
|
@@ -62735,11 +62735,11 @@ type CreateAdAudienceData = {
|
|
|
62735
62735
|
*/
|
|
62736
62736
|
source?: 'ads' | 'organic_video' | 'live_video' | 'business_account';
|
|
62737
62737
|
/**
|
|
62738
|
-
* tiktok_engagement: ad group
|
|
62738
|
+
* tiktok_engagement: ad group ids for `ads`, TikTok post ids (`item_id`) for `organic_video` and live video ids for `live_video` (max 10 for both). Not accepted for `business_account`: Zernio sends the core_user_id of the TikTok for Business user that connected the ad account.
|
|
62739
62739
|
*/
|
|
62740
62740
|
sourceIds?: Array<(string)>;
|
|
62741
62741
|
/**
|
|
62742
|
-
* tiktok_engagement: the TikTok identity that owns the videos
|
|
62742
|
+
* tiktok_engagement: the TikTok identity (TT_USER or BC_AUTH_TT) that owns the videos. Required for organic_video and live_video.
|
|
62743
62743
|
*/
|
|
62744
62744
|
identityId?: string;
|
|
62745
62745
|
/**
|
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.1500",
|
|
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.1500",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -17195,6 +17195,8 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
|
|
|
17195
17195
|
*
|
|
17196
17196
|
* TikTok geo searches return every matching level in one list (`type` is `country`, `region`, `city`, `district`, or `metro` for DMA areas), and `geoType` is not applied.
|
|
17197
17197
|
*
|
|
17198
|
+
* `path` starts with the country code, then the parent regions from the top down, so same-name places can be told apart. In the US the regions are the state, then the county: Austin, Texas reads `["US", "Texas", "Travis"]`.
|
|
17199
|
+
*
|
|
17198
17200
|
* Results are scoped to the advertiser's targetable markets (pass `adAccountId` when the connection holds several advertisers). A two-letter `q` also matches a country by ISO code (`q=GB` returns the United Kingdom first).
|
|
17199
17201
|
*
|
|
17200
17202
|
* A `country` result's id is its ISO 3166-1 alpha-2 code, for `targeting.countries`. Every other id is TikTok's numeric location id, usable in `regions`/`cities`/`metros` keys on `POST /v1/ads/create`.
|
|
@@ -64064,7 +64064,7 @@ export type CreateAdAudienceData = {
|
|
|
64064
64064
|
* - ads: `CLICK`, `IMPRESSION`, `PLAY 2S`, `PLAY 6S`, `PLAY 25`, `PLAY 50`, `PLAY 75`, `PLAY OVER`, and the `ENGAGEMENT APP PROFILE` / `ENGAGEMENT TIKTOK INSTANT` / `ENGAGEMENT COLLECTION ADS` `CLICK` and `IMPRESSION` events.
|
|
64065
64065
|
* - organic_video: `ORGANIC VIDEO PLAY 2S`, `ORGANIC VIDEO PLAY 6S`, `ORGANIC VIDEO PLAY OVER`, `ORGANIC VIDEO ENGAGEMENT`.
|
|
64066
64066
|
* - live_video: `LIVE VIDEO VIEW`, `LIVE VIDEO ENGAGEMENT`.
|
|
64067
|
-
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER
|
|
64067
|
+
* - business_account: `BUSINESS ACCOUNT PROFILE FOLLOW`, `BUSINESS ACCOUNT PROFILE VISIT`, `BUSINESS ACCOUNT ENGAGEMENT`, `BUSINESS ACCOUNT PLAY 2S`, `BUSINESS ACCOUNT PLAY 6S`, `BUSINESS ACCOUNT PLAY OVER`.
|
|
64068
64068
|
*
|
|
64069
64069
|
*/
|
|
64070
64070
|
event?: string;
|
|
@@ -64089,11 +64089,11 @@ export type CreateAdAudienceData = {
|
|
|
64089
64089
|
*/
|
|
64090
64090
|
source?: 'ads' | 'organic_video' | 'live_video' | 'business_account';
|
|
64091
64091
|
/**
|
|
64092
|
-
* tiktok_engagement: ad group
|
|
64092
|
+
* tiktok_engagement: ad group ids for `ads`, TikTok post ids (`item_id`) for `organic_video` and live video ids for `live_video` (max 10 for both). Not accepted for `business_account`: Zernio sends the core_user_id of the TikTok for Business user that connected the ad account.
|
|
64093
64093
|
*/
|
|
64094
64094
|
sourceIds?: Array<(string)>;
|
|
64095
64095
|
/**
|
|
64096
|
-
* tiktok_engagement: the TikTok identity that owns the videos
|
|
64096
|
+
* tiktok_engagement: the TikTok identity (TT_USER or BC_AUTH_TT) that owns the videos. Required for organic_video and live_video.
|
|
64097
64097
|
*/
|
|
64098
64098
|
identityId?: string;
|
|
64099
64099
|
/**
|