@zernio/node 0.2.1510 → 0.2.1511

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 CHANGED
@@ -57133,6 +57133,14 @@ type CreateAdCreativeData = {
57133
57133
  description?: string;
57134
57134
  callToAction?: string;
57135
57135
  }>;
57136
+ /**
57137
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
57138
+ *
57139
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
57140
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
57141
+ *
57142
+ */
57143
+ instagramAccountId?: string;
57136
57144
  /**
57137
57145
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
57138
57146
  *
@@ -59883,7 +59891,7 @@ type CreateStandaloneAdData = {
59883
59891
  */
59884
59892
  adSetName?: string;
59885
59893
  /**
59886
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
59894
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
59887
59895
  */
59888
59896
  adName?: string;
59889
59897
  tracking?: AdTracking;
package/dist/index.d.ts CHANGED
@@ -57133,6 +57133,14 @@ type CreateAdCreativeData = {
57133
57133
  description?: string;
57134
57134
  callToAction?: string;
57135
57135
  }>;
57136
+ /**
57137
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
57138
+ *
57139
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
57140
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
57141
+ *
57142
+ */
57143
+ instagramAccountId?: string;
57136
57144
  /**
57137
57145
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
57138
57146
  *
@@ -59883,7 +59891,7 @@ type CreateStandaloneAdData = {
59883
59891
  */
59884
59892
  adSetName?: string;
59885
59893
  /**
59886
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
59894
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
59887
59895
  */
59888
59896
  adName?: string;
59889
59897
  tracking?: AdTracking;
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.1510",
39
+ version: "0.2.1511",
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.1510",
8
+ version: "0.2.1511",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1510",
3
+ "version": "0.2.1511",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15399,7 +15399,7 @@ export const listAdCreatives = <ThrowOnError extends boolean = false>(options: O
15399
15399
  *
15400
15400
  * ### Other fields
15401
15401
  *
15402
- * - The Page (and linked Instagram account, when present) is resolved from `accountId` as the story actor.
15402
+ * - The Page (and linked Instagram account, when present) is resolved from `accountId` as the story actor. `instagramAccountId` overrides the Instagram account.
15403
15403
  * - `creativeFeatures` configures Advantage+ enhancements.
15404
15404
  * - `promotion` is not supported and any object is rejected with 400.
15405
15405
  *
@@ -58191,6 +58191,14 @@ export type CreateAdCreativeData = {
58191
58191
  description?: string;
58192
58192
  callToAction?: string;
58193
58193
  }>;
58194
+ /**
58195
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
58196
+ *
58197
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
58198
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
58199
+ *
58200
+ */
58201
+ instagramAccountId?: string;
58194
58202
  /**
58195
58203
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
58196
58204
  *
@@ -61115,7 +61123,7 @@ export type CreateStandaloneAdData = {
61115
61123
  */
61116
61124
  adSetName?: string;
61117
61125
  /**
61118
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
61126
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
61119
61127
  */
61120
61128
  adName?: string;
61121
61129
  tracking?: AdTracking;