@zernio/node 0.2.208 → 0.2.209
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 +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -992,6 +992,15 @@ type Ad = {
|
|
|
992
992
|
pinterestTitle?: string;
|
|
993
993
|
pinterestDescription?: string;
|
|
994
994
|
} | null;
|
|
995
|
+
/**
|
|
996
|
+
* The ad set's targeting (age, gender, geo, interests, placements, audience inclusions/exclusions).
|
|
997
|
+
* For ads created through Zernio this is the spec you supplied. For external ads (synced from
|
|
998
|
+
* Meta Ads Manager, `isExternal: true`) targeting lives at the ad set and isn't stored at ingest,
|
|
999
|
+
* so on the first `GET /v1/ads/{adId}` Zernio resolves it live from Meta and caches it on the ad;
|
|
1000
|
+
* the value is then Meta's raw `targeting` shape (snake_case, e.g. `geo_locations`, `age_min`),
|
|
1001
|
+
* the same object Ads Manager shows. May be absent if the ad set exposes no targeting or the lookup fails.
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
995
1004
|
targeting?: {
|
|
996
1005
|
[key: string]: unknown;
|
|
997
1006
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -992,6 +992,15 @@ type Ad = {
|
|
|
992
992
|
pinterestTitle?: string;
|
|
993
993
|
pinterestDescription?: string;
|
|
994
994
|
} | null;
|
|
995
|
+
/**
|
|
996
|
+
* The ad set's targeting (age, gender, geo, interests, placements, audience inclusions/exclusions).
|
|
997
|
+
* For ads created through Zernio this is the spec you supplied. For external ads (synced from
|
|
998
|
+
* Meta Ads Manager, `isExternal: true`) targeting lives at the ad set and isn't stored at ingest,
|
|
999
|
+
* so on the first `GET /v1/ads/{adId}` Zernio resolves it live from Meta and caches it on the ad;
|
|
1000
|
+
* the value is then Meta's raw `targeting` shape (snake_case, e.g. `geo_locations`, `age_min`),
|
|
1001
|
+
* the same object Ads Manager shows. May be absent if the ad set exposes no targeting or the lookup fails.
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
995
1004
|
targeting?: {
|
|
996
1005
|
[key: string]: unknown;
|
|
997
1006
|
};
|
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.209",
|
|
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.209",
|
|
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
|
@@ -260,6 +260,15 @@ export type Ad = {
|
|
|
260
260
|
pinterestTitle?: string;
|
|
261
261
|
pinterestDescription?: string;
|
|
262
262
|
} | null;
|
|
263
|
+
/**
|
|
264
|
+
* The ad set's targeting (age, gender, geo, interests, placements, audience inclusions/exclusions).
|
|
265
|
+
* For ads created through Zernio this is the spec you supplied. For external ads (synced from
|
|
266
|
+
* Meta Ads Manager, `isExternal: true`) targeting lives at the ad set and isn't stored at ingest,
|
|
267
|
+
* so on the first `GET /v1/ads/{adId}` Zernio resolves it live from Meta and caches it on the ad;
|
|
268
|
+
* the value is then Meta's raw `targeting` shape (snake_case, e.g. `geo_locations`, `age_min`),
|
|
269
|
+
* the same object Ads Manager shows. May be absent if the ad set exposes no targeting or the lookup fails.
|
|
270
|
+
*
|
|
271
|
+
*/
|
|
263
272
|
targeting?: {
|
|
264
273
|
[key: string]: unknown;
|
|
265
274
|
};
|