@zernio/node 0.2.701 → 0.2.703
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 +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -1
- package/src/generated/types.gen.ts +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -13811,7 +13811,7 @@ type GetConnectUrlData = {
|
|
|
13811
13811
|
*/
|
|
13812
13812
|
profileId: string;
|
|
13813
13813
|
/**
|
|
13814
|
-
* Your custom redirect URL after connection completes.
|
|
13814
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13815
13815
|
*
|
|
13816
13816
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13817
13817
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -14069,8 +14069,9 @@ type ConnectAdsData = {
|
|
|
14069
14069
|
/**
|
|
14070
14070
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
14071
14071
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
14072
|
-
* standalone (`googleads`) flows.
|
|
14073
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
14072
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
14073
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
14074
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
14074
14075
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
14075
14076
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
14076
14077
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -14112,7 +14113,7 @@ type GetShopifyConnectUrlData = {
|
|
|
14112
14113
|
*/
|
|
14113
14114
|
profileId: string;
|
|
14114
14115
|
/**
|
|
14115
|
-
* Your custom redirect URL after connection completes.
|
|
14116
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
14116
14117
|
*/
|
|
14117
14118
|
redirect_url?: string;
|
|
14118
14119
|
/**
|
|
@@ -33446,7 +33447,7 @@ type CreateStandaloneAdData = {
|
|
|
33446
33447
|
*/
|
|
33447
33448
|
campaignType?: 'display' | 'search';
|
|
33448
33449
|
/**
|
|
33449
|
-
* Google Search only. BROAD-match keywords on the new ad group
|
|
33450
|
+
* Google Search only. BROAD-match keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.keywords, which also sets match types.
|
|
33450
33451
|
*/
|
|
33451
33452
|
keywords?: Array<(string)>;
|
|
33452
33453
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -13811,7 +13811,7 @@ type GetConnectUrlData = {
|
|
|
13811
13811
|
*/
|
|
13812
13812
|
profileId: string;
|
|
13813
13813
|
/**
|
|
13814
|
-
* Your custom redirect URL after connection completes.
|
|
13814
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13815
13815
|
*
|
|
13816
13816
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13817
13817
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -14069,8 +14069,9 @@ type ConnectAdsData = {
|
|
|
14069
14069
|
/**
|
|
14070
14070
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
14071
14071
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
14072
|
-
* standalone (`googleads`) flows.
|
|
14073
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
14072
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
14073
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
14074
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
14074
14075
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
14075
14076
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
14076
14077
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -14112,7 +14113,7 @@ type GetShopifyConnectUrlData = {
|
|
|
14112
14113
|
*/
|
|
14113
14114
|
profileId: string;
|
|
14114
14115
|
/**
|
|
14115
|
-
* Your custom redirect URL after connection completes.
|
|
14116
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
14116
14117
|
*/
|
|
14117
14118
|
redirect_url?: string;
|
|
14118
14119
|
/**
|
|
@@ -33446,7 +33447,7 @@ type CreateStandaloneAdData = {
|
|
|
33446
33447
|
*/
|
|
33447
33448
|
campaignType?: 'display' | 'search';
|
|
33448
33449
|
/**
|
|
33449
|
-
* Google Search only. BROAD-match keywords on the new ad group
|
|
33450
|
+
* Google Search only. BROAD-match keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.keywords, which also sets match types.
|
|
33450
33451
|
*/
|
|
33451
33452
|
keywords?: Array<(string)>;
|
|
33452
33453
|
/**
|
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.703",
|
|
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.703",
|
|
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
|
@@ -7814,7 +7814,8 @@ export const listAdCampaigns = <ThrowOnError extends boolean = false>(options?:
|
|
|
7814
7814
|
* Platform notes: on Meta a budget here is campaign-level (CBO) by definition; omit it
|
|
7815
7815
|
* for ABO (each ad set carries its own budget), and `specialAdCategories` /
|
|
7816
7816
|
* `bidStrategy` are Meta-only (400 elsewhere). Google, X and OpenAI require a budget
|
|
7817
|
-
* (422 without one; OpenAI accepts only `budgetType: lifetime
|
|
7817
|
+
* (422 without one; OpenAI accepts only `budgetType: lifetime`, Google only
|
|
7818
|
+
* `budgetType: daily`). LinkedIn creates the
|
|
7818
7819
|
* campaign GROUP (our campaign level) and rejects a budget, which lives on the
|
|
7819
7820
|
* campaign (ad set) level there; it comes back `status: DRAFT`. TikTok campaigns are
|
|
7820
7821
|
* created without a status and report `ENABLE`. Created `PAUSED` unless
|
|
@@ -13070,7 +13070,7 @@ export type GetConnectUrlData = {
|
|
|
13070
13070
|
*/
|
|
13071
13071
|
profileId: string;
|
|
13072
13072
|
/**
|
|
13073
|
-
* Your custom redirect URL after connection completes.
|
|
13073
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13074
13074
|
*
|
|
13075
13075
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13076
13076
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -13334,8 +13334,9 @@ export type ConnectAdsData = {
|
|
|
13334
13334
|
/**
|
|
13335
13335
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
13336
13336
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
13337
|
-
* standalone (`googleads`) flows.
|
|
13338
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
13337
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
13338
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
13339
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
13339
13340
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
13340
13341
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
13341
13342
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -13380,7 +13381,7 @@ export type GetShopifyConnectUrlData = {
|
|
|
13380
13381
|
*/
|
|
13381
13382
|
profileId: string;
|
|
13382
13383
|
/**
|
|
13383
|
-
* Your custom redirect URL after connection completes.
|
|
13384
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
13384
13385
|
*/
|
|
13385
13386
|
redirect_url?: string;
|
|
13386
13387
|
/**
|
|
@@ -34055,7 +34056,7 @@ export type CreateStandaloneAdData = {
|
|
|
34055
34056
|
*/
|
|
34056
34057
|
campaignType?: 'display' | 'search';
|
|
34057
34058
|
/**
|
|
34058
|
-
* Google Search only. BROAD-match keywords on the new ad group
|
|
34059
|
+
* Google Search only. BROAD-match keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.keywords, which also sets match types.
|
|
34059
34060
|
*/
|
|
34060
34061
|
keywords?: Array<(string)>;
|
|
34061
34062
|
/**
|