@zernio/node 0.2.772 → 0.2.773

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
@@ -8296,6 +8296,10 @@ type TargetingSpec = {
8296
8296
  */
8297
8297
  excludedLocations?: {
8298
8298
  countries?: Array<(string)>;
8299
+ /**
8300
+ * Meta only. Continents and trade blocs to exclude (`excluded_geo_locations.country_groups`).
8301
+ */
8302
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
8299
8303
  regions?: Array<{
8300
8304
  key: string;
8301
8305
  name?: string;
@@ -37263,6 +37267,14 @@ type CreateStandaloneAdData = {
37263
37267
  * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn and OpenAI Ads currently honour country-level targeting only; any other targeting field returns 400 for OpenAI Ads.)
37264
37268
  */
37265
37269
  countries?: Array<(string)>;
37270
+ /**
37271
+ * Meta only. Continents and trade blocs (`geo_locations.country_groups`),
37272
+ * for targeting a whole region without listing its countries. Combines with
37273
+ * `countries` rather than replacing it. Discoverable via
37274
+ * `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
37275
+ *
37276
+ */
37277
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
37266
37278
  /**
37267
37279
  * City-level geo targeting (Meta and TikTok). Each city is targeted by the platform's opaque `key` (the city ID) which can be looked up via `GET /v1/ads/targeting/search?dimension=geo&q=<name>&countryCode=<ISO>`. Optional `radius` + `distance_unit` (Meta only) extend the targeting beyond the city limits (e.g. radius 25 km around the city center). Both must be set together, or both omitted (Meta defaults to ~16 km when omitted).
37268
37280
  *
package/dist/index.d.ts CHANGED
@@ -8296,6 +8296,10 @@ type TargetingSpec = {
8296
8296
  */
8297
8297
  excludedLocations?: {
8298
8298
  countries?: Array<(string)>;
8299
+ /**
8300
+ * Meta only. Continents and trade blocs to exclude (`excluded_geo_locations.country_groups`).
8301
+ */
8302
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
8299
8303
  regions?: Array<{
8300
8304
  key: string;
8301
8305
  name?: string;
@@ -37263,6 +37267,14 @@ type CreateStandaloneAdData = {
37263
37267
  * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn and OpenAI Ads currently honour country-level targeting only; any other targeting field returns 400 for OpenAI Ads.)
37264
37268
  */
37265
37269
  countries?: Array<(string)>;
37270
+ /**
37271
+ * Meta only. Continents and trade blocs (`geo_locations.country_groups`),
37272
+ * for targeting a whole region without listing its countries. Combines with
37273
+ * `countries` rather than replacing it. Discoverable via
37274
+ * `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
37275
+ *
37276
+ */
37277
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
37266
37278
  /**
37267
37279
  * City-level geo targeting (Meta and TikTok). Each city is targeted by the platform's opaque `key` (the city ID) which can be looked up via `GET /v1/ads/targeting/search?dimension=geo&q=<name>&countryCode=<ISO>`. Optional `radius` + `distance_unit` (Meta only) extend the targeting beyond the city limits (e.g. radius 25 km around the city center). Both must be set together, or both omitted (Meta defaults to ~16 km when omitted).
37268
37280
  *
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.772",
39
+ version: "0.2.773",
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.772",
8
+ version: "0.2.773",
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.772",
3
+ "version": "0.2.773",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6984,6 +6984,10 @@ export type TargetingSpec = {
6984
6984
  */
6985
6985
  excludedLocations?: {
6986
6986
  countries?: Array<(string)>;
6987
+ /**
6988
+ * Meta only. Continents and trade blocs to exclude (`excluded_geo_locations.country_groups`).
6989
+ */
6990
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
6987
6991
  regions?: Array<{
6988
6992
  key: string;
6989
6993
  name?: string;
@@ -37879,6 +37883,14 @@ export type CreateStandaloneAdData = {
37879
37883
  * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn and OpenAI Ads currently honour country-level targeting only; any other targeting field returns 400 for OpenAI Ads.)
37880
37884
  */
37881
37885
  countries?: Array<(string)>;
37886
+ /**
37887
+ * Meta only. Continents and trade blocs (`geo_locations.country_groups`),
37888
+ * for targeting a whole region without listing its countries. Combines with
37889
+ * `countries` rather than replacing it. Discoverable via
37890
+ * `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
37891
+ *
37892
+ */
37893
+ countryGroups?: Array<('africa' | 'asia' | 'europe' | 'north_america' | 'south_america' | 'oceania' | 'central_america' | 'caribbean' | 'eea' | 'euro_area' | 'nafta' | 'mercosur' | 'afta' | 'apec' | 'gcc' | 'cisfta' | 'emerging_markets' | 'itunes_app_store' | 'android_free_store' | 'android_paid_store')>;
37882
37894
  /**
37883
37895
  * City-level geo targeting (Meta and TikTok). Each city is targeted by the platform's opaque `key` (the city ID) which can be looked up via `GET /v1/ads/targeting/search?dimension=geo&q=<name>&countryCode=<ISO>`. Optional `radius` + `distance_unit` (Meta only) extend the targeting beyond the city limits (e.g. radius 25 km around the city center). Both must be set together, or both omitted (Meta defaults to ~16 km when omitted).
37884
37896
  *