@zernio/node 0.2.825 → 0.2.827
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 +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +7 -4
package/dist/index.d.mts
CHANGED
|
@@ -38251,7 +38251,10 @@ type BoostPostData = {
|
|
|
38251
38251
|
*/
|
|
38252
38252
|
status?: 'ACTIVE' | 'PAUSED';
|
|
38253
38253
|
/**
|
|
38254
|
-
* Meta
|
|
38254
|
+
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
38255
|
+
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
38256
|
+
* billed per view (CPV); any other value is a 400. Meta: explicit ad-set
|
|
38257
|
+
* `optimization_goal` override. When omitted,
|
|
38255
38258
|
* defaults to the value derived from `goal`. Messaging boosts always
|
|
38256
38259
|
* use CONVERSATIONS and reject another optimizationGoal. Otherwise the value must be compatible
|
|
38257
38260
|
* with the objective Meta derives from `goal`, not with the objective used
|
|
@@ -38338,7 +38341,7 @@ type CreateStandaloneAdData = {
|
|
|
38338
38341
|
*/
|
|
38339
38342
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'job_applicants';
|
|
38340
38343
|
/**
|
|
38341
|
-
* Meta
|
|
38344
|
+
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
38342
38345
|
*/
|
|
38343
38346
|
optimizationGoal?: string;
|
|
38344
38347
|
/**
|
|
@@ -40127,7 +40130,7 @@ type SearchAdLibraryData = {
|
|
|
40127
40130
|
*/
|
|
40128
40131
|
searchType?: 'KEYWORD_UNORDERED' | 'KEYWORD_EXACT_PHRASE';
|
|
40129
40132
|
/**
|
|
40130
|
-
* Earliest delivery date (YYYY-MM-DD).
|
|
40133
|
+
* Meta only. Earliest delivery date (YYYY-MM-DD). LinkedIn's archive does not filter by date, so it is a 400 there: filter on details.adStatistics.firstImpressionAt / latestImpressionAt instead (EU-delivered ads only).
|
|
40131
40134
|
*/
|
|
40132
40135
|
since?: string;
|
|
40133
40136
|
/**
|
|
@@ -40135,7 +40138,7 @@ type SearchAdLibraryData = {
|
|
|
40135
40138
|
*/
|
|
40136
40139
|
status?: 'ACTIVE' | 'INACTIVE' | 'ALL';
|
|
40137
40140
|
/**
|
|
40138
|
-
* Latest delivery date (YYYY-MM-DD).
|
|
40141
|
+
* Meta only. Latest delivery date (YYYY-MM-DD); a 400 on LinkedIn, see since.
|
|
40139
40142
|
*/
|
|
40140
40143
|
until?: string;
|
|
40141
40144
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -38251,7 +38251,10 @@ type BoostPostData = {
|
|
|
38251
38251
|
*/
|
|
38252
38252
|
status?: 'ACTIVE' | 'PAUSED';
|
|
38253
38253
|
/**
|
|
38254
|
-
* Meta
|
|
38254
|
+
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
38255
|
+
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
38256
|
+
* billed per view (CPV); any other value is a 400. Meta: explicit ad-set
|
|
38257
|
+
* `optimization_goal` override. When omitted,
|
|
38255
38258
|
* defaults to the value derived from `goal`. Messaging boosts always
|
|
38256
38259
|
* use CONVERSATIONS and reject another optimizationGoal. Otherwise the value must be compatible
|
|
38257
38260
|
* with the objective Meta derives from `goal`, not with the objective used
|
|
@@ -38338,7 +38341,7 @@ type CreateStandaloneAdData = {
|
|
|
38338
38341
|
*/
|
|
38339
38342
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'job_applicants';
|
|
38340
38343
|
/**
|
|
38341
|
-
* Meta
|
|
38344
|
+
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
38342
38345
|
*/
|
|
38343
38346
|
optimizationGoal?: string;
|
|
38344
38347
|
/**
|
|
@@ -40127,7 +40130,7 @@ type SearchAdLibraryData = {
|
|
|
40127
40130
|
*/
|
|
40128
40131
|
searchType?: 'KEYWORD_UNORDERED' | 'KEYWORD_EXACT_PHRASE';
|
|
40129
40132
|
/**
|
|
40130
|
-
* Earliest delivery date (YYYY-MM-DD).
|
|
40133
|
+
* Meta only. Earliest delivery date (YYYY-MM-DD). LinkedIn's archive does not filter by date, so it is a 400 there: filter on details.adStatistics.firstImpressionAt / latestImpressionAt instead (EU-delivered ads only).
|
|
40131
40134
|
*/
|
|
40132
40135
|
since?: string;
|
|
40133
40136
|
/**
|
|
@@ -40135,7 +40138,7 @@ type SearchAdLibraryData = {
|
|
|
40135
40138
|
*/
|
|
40136
40139
|
status?: 'ACTIVE' | 'INACTIVE' | 'ALL';
|
|
40137
40140
|
/**
|
|
40138
|
-
* Latest delivery date (YYYY-MM-DD).
|
|
40141
|
+
* Meta only. Latest delivery date (YYYY-MM-DD); a 400 on LinkedIn, see since.
|
|
40139
40142
|
*/
|
|
40140
40143
|
until?: string;
|
|
40141
40144
|
};
|
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.827",
|
|
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.827",
|
|
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
|
@@ -10659,8 +10659,8 @@ export const searchAdTargeting = <ThrowOnError extends boolean = false>(options:
|
|
|
10659
10659
|
* last impression. EU-delivered ads carry impression ranges and the disclosed targeting facets.
|
|
10660
10660
|
* Pages are capped at 25 ads (`limit` > 25 is a 400); `after` is the next offset.
|
|
10661
10661
|
*
|
|
10662
|
-
* Which params apply: `q`, `countries`, `
|
|
10663
|
-
* `
|
|
10662
|
+
* Which params apply: `q`, `countries`, `limit`, `after` on both; `pageIds`, `adType`, `status`,
|
|
10663
|
+
* `platforms`, `mediaType`, `languages`, `searchType`, `fields`, `since`, `until` are Meta-only;
|
|
10664
10664
|
* `advertiser` is LinkedIn-only. Passing a param the account's platform does not support is a 400
|
|
10665
10665
|
* naming the param.
|
|
10666
10666
|
*/
|
|
@@ -38861,7 +38861,10 @@ export type BoostPostData = {
|
|
|
38861
38861
|
*/
|
|
38862
38862
|
status?: 'ACTIVE' | 'PAUSED';
|
|
38863
38863
|
/**
|
|
38864
|
-
* Meta
|
|
38864
|
+
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
38865
|
+
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
38866
|
+
* billed per view (CPV); any other value is a 400. Meta: explicit ad-set
|
|
38867
|
+
* `optimization_goal` override. When omitted,
|
|
38865
38868
|
* defaults to the value derived from `goal`. Messaging boosts always
|
|
38866
38869
|
* use CONVERSATIONS and reject another optimizationGoal. Otherwise the value must be compatible
|
|
38867
38870
|
* with the objective Meta derives from `goal`, not with the objective used
|
|
@@ -38954,7 +38957,7 @@ export type CreateStandaloneAdData = {
|
|
|
38954
38957
|
*/
|
|
38955
38958
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'job_applicants';
|
|
38956
38959
|
/**
|
|
38957
|
-
* Meta
|
|
38960
|
+
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
38958
38961
|
*/
|
|
38959
38962
|
optimizationGoal?: string;
|
|
38960
38963
|
/**
|
|
@@ -40788,7 +40791,7 @@ export type SearchAdLibraryData = {
|
|
|
40788
40791
|
*/
|
|
40789
40792
|
searchType?: 'KEYWORD_UNORDERED' | 'KEYWORD_EXACT_PHRASE';
|
|
40790
40793
|
/**
|
|
40791
|
-
* Earliest delivery date (YYYY-MM-DD).
|
|
40794
|
+
* Meta only. Earliest delivery date (YYYY-MM-DD). LinkedIn's archive does not filter by date, so it is a 400 there: filter on details.adStatistics.firstImpressionAt / latestImpressionAt instead (EU-delivered ads only).
|
|
40792
40795
|
*/
|
|
40793
40796
|
since?: string;
|
|
40794
40797
|
/**
|
|
@@ -40796,7 +40799,7 @@ export type SearchAdLibraryData = {
|
|
|
40796
40799
|
*/
|
|
40797
40800
|
status?: 'ACTIVE' | 'INACTIVE' | 'ALL';
|
|
40798
40801
|
/**
|
|
40799
|
-
* Latest delivery date (YYYY-MM-DD).
|
|
40802
|
+
* Meta only. Latest delivery date (YYYY-MM-DD); a 400 on LinkedIn, see since.
|
|
40800
40803
|
*/
|
|
40801
40804
|
until?: string;
|
|
40802
40805
|
};
|