@getlatedev/node 0.2.1219 → 0.2.1220

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
@@ -48226,10 +48226,16 @@ type CreateStandaloneAdData = {
48226
48226
  pageId?: string;
48227
48227
  /**
48228
48228
  * Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
48229
- * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
48230
- * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
48231
- * falling back to the Page's page-backed Instagram account. Useful when a Page has more
48232
- * than one eligible IG account.
48229
+ * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`; it
48230
+ * is sent as-is and never replaced. When omitted we use the Instagram account linked to
48231
+ * the Page; formats that need an Instagram actor without one use the actor the Page's
48232
+ * other ads already run as, then the Page's page-backed Instagram account. If Meta
48233
+ * refuses that default because the ad account has no access to it (200/1815199), the
48234
+ * creative is retried once with an Instagram account the ad account is authorized for;
48235
+ * with none, the request fails with a 422 on `instagramAccountId` (list the usable
48236
+ * accounts with GET /v1/ads/instagram-accounts). A creative replaced later through
48237
+ * /v1/ads/{adId} follows the same rule. Useful when a Page has more than one eligible IG
48238
+ * account.
48233
48239
  *
48234
48240
  */
48235
48241
  instagramAccountId?: string;
package/dist/index.d.ts CHANGED
@@ -48226,10 +48226,16 @@ type CreateStandaloneAdData = {
48226
48226
  pageId?: string;
48227
48227
  /**
48228
48228
  * Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
48229
- * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
48230
- * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
48231
- * falling back to the Page's page-backed Instagram account. Useful when a Page has more
48232
- * than one eligible IG account.
48229
+ * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`; it
48230
+ * is sent as-is and never replaced. When omitted we use the Instagram account linked to
48231
+ * the Page; formats that need an Instagram actor without one use the actor the Page's
48232
+ * other ads already run as, then the Page's page-backed Instagram account. If Meta
48233
+ * refuses that default because the ad account has no access to it (200/1815199), the
48234
+ * creative is retried once with an Instagram account the ad account is authorized for;
48235
+ * with none, the request fails with a 422 on `instagramAccountId` (list the usable
48236
+ * accounts with GET /v1/ads/instagram-accounts). A creative replaced later through
48237
+ * /v1/ads/{adId} follows the same rule. Useful when a Page has more than one eligible IG
48238
+ * account.
48233
48239
  *
48234
48240
  */
48235
48241
  instagramAccountId?: string;
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: "@getlatedev/node",
39
- version: "0.2.1219",
39
+ version: "0.2.1220",
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: "@getlatedev/node",
8
- version: "0.2.1219",
8
+ version: "0.2.1220",
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": "@getlatedev/node",
3
- "version": "0.2.1219",
3
+ "version": "0.2.1220",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -49044,10 +49044,16 @@ export type CreateStandaloneAdData = {
49044
49044
  pageId?: string;
49045
49045
  /**
49046
49046
  * Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
49047
- * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
49048
- * When omitted we use the Instagram actor Meta already runs the Page's other ads as,
49049
- * falling back to the Page's page-backed Instagram account. Useful when a Page has more
49050
- * than one eligible IG account.
49047
+ * Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`; it
49048
+ * is sent as-is and never replaced. When omitted we use the Instagram account linked to
49049
+ * the Page; formats that need an Instagram actor without one use the actor the Page's
49050
+ * other ads already run as, then the Page's page-backed Instagram account. If Meta
49051
+ * refuses that default because the ad account has no access to it (200/1815199), the
49052
+ * creative is retried once with an Instagram account the ad account is authorized for;
49053
+ * with none, the request fails with a 422 on `instagramAccountId` (list the usable
49054
+ * accounts with GET /v1/ads/instagram-accounts). A creative replaced later through
49055
+ * /v1/ads/{adId} follows the same rule. Useful when a Page has more than one eligible IG
49056
+ * account.
49051
49057
  *
49052
49058
  */
49053
49059
  instagramAccountId?: string;