@getlatedev/node 0.2.491 → 0.2.493

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
@@ -1438,7 +1438,7 @@ type Ad = {
1438
1438
  /**
1439
1439
  * Primary thumbnail/image URL
1440
1440
  */
1441
- thumbnailUrl?: string;
1441
+ thumbnailUrl?: (string) | null;
1442
1442
  /**
1443
1443
  * Alternative image URL
1444
1444
  */
@@ -27218,6 +27218,13 @@ type BoostPostData = {
27218
27218
  * `location_types` survive). Array values (`flexible_spec`, ...) are replaced
27219
27219
  * as a whole key, never element-merged.
27220
27220
  *
27221
+ * When `rawTargeting` is present the `advantage_audience: 0` default that
27222
+ * Zernio normally applies is no longer emitted, so it cannot clobber a
27223
+ * `targeting_automation` sent in the raw spec. Meta requires
27224
+ * `targeting_automation` on ad set creation, so include it in the raw spec,
27225
+ * or send `targeting.advantage_audience` (0 or 1), which is merged over raw
27226
+ * as `targeting_automation`.
27227
+ *
27221
27228
  */
27222
27229
  rawTargeting?: {
27223
27230
  [key: string]: unknown;
package/dist/index.d.ts CHANGED
@@ -1438,7 +1438,7 @@ type Ad = {
1438
1438
  /**
1439
1439
  * Primary thumbnail/image URL
1440
1440
  */
1441
- thumbnailUrl?: string;
1441
+ thumbnailUrl?: (string) | null;
1442
1442
  /**
1443
1443
  * Alternative image URL
1444
1444
  */
@@ -27218,6 +27218,13 @@ type BoostPostData = {
27218
27218
  * `location_types` survive). Array values (`flexible_spec`, ...) are replaced
27219
27219
  * as a whole key, never element-merged.
27220
27220
  *
27221
+ * When `rawTargeting` is present the `advantage_audience: 0` default that
27222
+ * Zernio normally applies is no longer emitted, so it cannot clobber a
27223
+ * `targeting_automation` sent in the raw spec. Meta requires
27224
+ * `targeting_automation` on ad set creation, so include it in the raw spec,
27225
+ * or send `targeting.advantage_audience` (0 or 1), which is merged over raw
27226
+ * as `targeting_automation`.
27227
+ *
27221
27228
  */
27222
27229
  rawTargeting?: {
27223
27230
  [key: string]: 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: "@getlatedev/node",
39
- version: "0.2.491",
39
+ version: "0.2.493",
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.491",
8
+ version: "0.2.493",
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.491",
3
+ "version": "0.2.493",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -254,7 +254,7 @@ export type Ad = {
254
254
  /**
255
255
  * Primary thumbnail/image URL
256
256
  */
257
- thumbnailUrl?: string;
257
+ thumbnailUrl?: (string) | null;
258
258
  /**
259
259
  * Alternative image URL
260
260
  */
@@ -27745,6 +27745,13 @@ export type BoostPostData = {
27745
27745
  * `location_types` survive). Array values (`flexible_spec`, ...) are replaced
27746
27746
  * as a whole key, never element-merged.
27747
27747
  *
27748
+ * When `rawTargeting` is present the `advantage_audience: 0` default that
27749
+ * Zernio normally applies is no longer emitted, so it cannot clobber a
27750
+ * `targeting_automation` sent in the raw spec. Meta requires
27751
+ * `targeting_automation` on ad set creation, so include it in the raw spec,
27752
+ * or send `targeting.advantage_audience` (0 or 1), which is merged over raw
27753
+ * as `targeting_automation`.
27754
+ *
27748
27755
  */
27749
27756
  rawTargeting?: {
27750
27757
  [key: string]: unknown;