@zernio/node 0.2.654 → 0.2.655
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +11 -0
- package/src/generated/types.gen.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6562,7 +6562,7 @@ type TargetingSpec = {
|
|
|
6562
6562
|
name?: string;
|
|
6563
6563
|
}>;
|
|
6564
6564
|
/**
|
|
6565
|
-
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured
|
|
6565
|
+
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
6566
6566
|
*/
|
|
6567
6567
|
customLocations?: Array<{
|
|
6568
6568
|
latitude: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6562,7 +6562,7 @@ type TargetingSpec = {
|
|
|
6562
6562
|
name?: string;
|
|
6563
6563
|
}>;
|
|
6564
6564
|
/**
|
|
6565
|
-
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured
|
|
6565
|
+
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
6566
6566
|
*/
|
|
6567
6567
|
customLocations?: Array<{
|
|
6568
6568
|
latitude: number;
|
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.655",
|
|
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.655",
|
|
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
|
@@ -8789,6 +8789,17 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
|
|
|
8789
8789
|
* `urn:li:geo:*` URN usable as a `regions[].key` on `POST /v1/ads/create`,
|
|
8790
8790
|
* `POST /v1/ads/boost` and `POST /v1/ads/targeting/reach-estimate`.
|
|
8791
8791
|
*
|
|
8792
|
+
* Google geo searches resolve against Google's geoTargetConstants and return
|
|
8793
|
+
* every matching level in one list; `geoType` is not applied (Google's
|
|
8794
|
+
* `target_type` is an open taxonomy that does not map one-to-one onto the
|
|
8795
|
+
* `geoType` enum), so filter client-side on the returned `type` (`country`,
|
|
8796
|
+
* `region`, `city`, `zip`, `metro`, or the lowercased Google target type for
|
|
8797
|
+
* rarer levels). `countryCode` scopes the search to one country. Each id is
|
|
8798
|
+
* Google's numeric criterion id, usable as a `regions`/`cities`/`zips`/`metros`
|
|
8799
|
+
* `key` on `POST /v1/ads/create`. Google city radius is not supported (pass a
|
|
8800
|
+
* `customLocations` lat/lng pin for a radius); country targeting also accepts
|
|
8801
|
+
* plain ISO codes via `countries` with no search call.
|
|
8802
|
+
*
|
|
8792
8803
|
* Pinterest resolves against three whole-catalog endpoints (interests, locations,
|
|
8793
8804
|
* regions) with no server-side query or pagination, so matching, ranking and the
|
|
8794
8805
|
* `limit` cutoff all happen in Zernio; the catalog is independent of any ad account
|
|
@@ -5437,7 +5437,7 @@ export type TargetingSpec = {
|
|
|
5437
5437
|
name?: string;
|
|
5438
5438
|
}>;
|
|
5439
5439
|
/**
|
|
5440
|
-
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured
|
|
5440
|
+
* Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
5441
5441
|
*/
|
|
5442
5442
|
customLocations?: Array<{
|
|
5443
5443
|
latitude: number;
|