@zernio/node 0.2.841 → 0.2.843
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 +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -0
package/dist/index.d.mts
CHANGED
|
@@ -39677,6 +39677,16 @@ type CreateStandaloneAdData = {
|
|
|
39677
39677
|
*
|
|
39678
39678
|
*/
|
|
39679
39679
|
startDate?: string;
|
|
39680
|
+
/**
|
|
39681
|
+
* Meta only. The Facebook Page the ad runs as (`object_story_spec.page_id`). Defaults to
|
|
39682
|
+
* the Page bound to the connection. Pass another Page ID to run the ad as that Page: any
|
|
39683
|
+
* Page granted to the connection is accepted (for a business-login connection, every Page
|
|
39684
|
+
* granted in Meta's dialog; list them with GET /v1/ads/instagram-accounts). The Instagram
|
|
39685
|
+
* identity is re-resolved for that Page unless `instagramAccountId` is set. A Page the
|
|
39686
|
+
* connection cannot see is a 400 on `pageId` naming the granted Pages.
|
|
39687
|
+
*
|
|
39688
|
+
*/
|
|
39689
|
+
pageId?: string;
|
|
39680
39690
|
/**
|
|
39681
39691
|
* Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
|
|
39682
39692
|
* Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
|
|
@@ -40890,6 +40900,10 @@ type SearchAdTargetingResponse = ({
|
|
|
40890
40900
|
* Optional estimated reachable users for this option, when the platform returns it.
|
|
40891
40901
|
*/
|
|
40892
40902
|
audienceSize?: (number) | null;
|
|
40903
|
+
/**
|
|
40904
|
+
* ISO-3166 alpha-2 of the country a sub-country geo result (city, region, zip, metro) belongs to, when the platform reports it (Meta does). Useful to know whether a location falls under the EU DSA disclosure rules before creating the ad.
|
|
40905
|
+
*/
|
|
40906
|
+
countryCode?: string;
|
|
40893
40907
|
}>;
|
|
40894
40908
|
});
|
|
40895
40909
|
type SearchAdTargetingError = (unknown | {
|
package/dist/index.d.ts
CHANGED
|
@@ -39677,6 +39677,16 @@ type CreateStandaloneAdData = {
|
|
|
39677
39677
|
*
|
|
39678
39678
|
*/
|
|
39679
39679
|
startDate?: string;
|
|
39680
|
+
/**
|
|
39681
|
+
* Meta only. The Facebook Page the ad runs as (`object_story_spec.page_id`). Defaults to
|
|
39682
|
+
* the Page bound to the connection. Pass another Page ID to run the ad as that Page: any
|
|
39683
|
+
* Page granted to the connection is accepted (for a business-login connection, every Page
|
|
39684
|
+
* granted in Meta's dialog; list them with GET /v1/ads/instagram-accounts). The Instagram
|
|
39685
|
+
* identity is re-resolved for that Page unless `instagramAccountId` is set. A Page the
|
|
39686
|
+
* connection cannot see is a 400 on `pageId` naming the granted Pages.
|
|
39687
|
+
*
|
|
39688
|
+
*/
|
|
39689
|
+
pageId?: string;
|
|
39680
39690
|
/**
|
|
39681
39691
|
* Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
|
|
39682
39692
|
* Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
|
|
@@ -40890,6 +40900,10 @@ type SearchAdTargetingResponse = ({
|
|
|
40890
40900
|
* Optional estimated reachable users for this option, when the platform returns it.
|
|
40891
40901
|
*/
|
|
40892
40902
|
audienceSize?: (number) | null;
|
|
40903
|
+
/**
|
|
40904
|
+
* ISO-3166 alpha-2 of the country a sub-country geo result (city, region, zip, metro) belongs to, when the platform reports it (Meta does). Useful to know whether a location falls under the EU DSA disclosure rules before creating the ad.
|
|
40905
|
+
*/
|
|
40906
|
+
countryCode?: string;
|
|
40893
40907
|
}>;
|
|
40894
40908
|
});
|
|
40895
40909
|
type SearchAdTargetingError = (unknown | {
|
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.843",
|
|
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.843",
|
|
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
|
@@ -40328,6 +40328,16 @@ export type CreateStandaloneAdData = {
|
|
|
40328
40328
|
*
|
|
40329
40329
|
*/
|
|
40330
40330
|
startDate?: string;
|
|
40331
|
+
/**
|
|
40332
|
+
* Meta only. The Facebook Page the ad runs as (`object_story_spec.page_id`). Defaults to
|
|
40333
|
+
* the Page bound to the connection. Pass another Page ID to run the ad as that Page: any
|
|
40334
|
+
* Page granted to the connection is accepted (for a business-login connection, every Page
|
|
40335
|
+
* granted in Meta's dialog; list them with GET /v1/ads/instagram-accounts). The Instagram
|
|
40336
|
+
* identity is re-resolved for that Page unless `instagramAccountId` is set. A Page the
|
|
40337
|
+
* connection cannot see is a 400 on `pageId` naming the granted Pages.
|
|
40338
|
+
*
|
|
40339
|
+
*/
|
|
40340
|
+
pageId?: string;
|
|
40331
40341
|
/**
|
|
40332
40342
|
* Meta only. Override the Instagram account the ad is delivered as. Pass an Instagram
|
|
40333
40343
|
* Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`.
|
|
@@ -41584,6 +41594,10 @@ export type SearchAdTargetingResponse = ({
|
|
|
41584
41594
|
* Optional estimated reachable users for this option, when the platform returns it.
|
|
41585
41595
|
*/
|
|
41586
41596
|
audienceSize?: (number) | null;
|
|
41597
|
+
/**
|
|
41598
|
+
* ISO-3166 alpha-2 of the country a sub-country geo result (city, region, zip, metro) belongs to, when the platform reports it (Meta does). Useful to know whether a location falls under the EU DSA disclosure rules before creating the ad.
|
|
41599
|
+
*/
|
|
41600
|
+
countryCode?: string;
|
|
41587
41601
|
}>;
|
|
41588
41602
|
});
|
|
41589
41603
|
|