@getlatedev/node 0.2.1763 → 0.2.1764
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 +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +17 -0
package/dist/index.d.mts
CHANGED
|
@@ -69796,6 +69796,15 @@ type UpdateAdData = {
|
|
|
69796
69796
|
* Meta only. The display link shown on link (image) ads, Meta link_data.caption. Returns 422 on video creatives and on asset feeds without a link.
|
|
69797
69797
|
*/
|
|
69798
69798
|
caption?: string;
|
|
69799
|
+
/**
|
|
69800
|
+
* Meta only. The map location the `GET_DIRECTIONS` button opens, while the ad link stays as it is. Send it with `callToAction: GET_DIRECTIONS`.
|
|
69801
|
+
*
|
|
69802
|
+
* - 400 with any other `callToAction`, with a value that is not an `fbgeo://` location, and on other networks.
|
|
69803
|
+
* - 422 on video ads (their only link is the button, so change `linkUrl`), on lead ads, and on asset feed creatives that list their calls to action in the feed.
|
|
69804
|
+
* - Required with `callToAction: GET_DIRECTIONS` on a full image creative (headline, body, callToAction, linkUrl, imageUrl), and on a partial edit of an image ad whose button has no location yet. Without it the request is a 400, and no other field of it reaches Meta.
|
|
69805
|
+
*
|
|
69806
|
+
*/
|
|
69807
|
+
callToActionLink?: MetaCallToActionLink;
|
|
69799
69808
|
};
|
|
69800
69809
|
/**
|
|
69801
69810
|
* Rename the ad. Now propagated to Meta (POST /{ad-id}); non-Meta platforms return 501.
|
|
@@ -71026,6 +71035,10 @@ type UpdateAdTrackingTagsData = {
|
|
|
71026
71035
|
linkUrl: string;
|
|
71027
71036
|
imageUrl: string;
|
|
71028
71037
|
videoUrl?: string;
|
|
71038
|
+
/**
|
|
71039
|
+
* The Get Directions button location, required to rebuild a `GET_DIRECTIONS` image creative (400 without it). Only with `callToAction: GET_DIRECTIONS`.
|
|
71040
|
+
*/
|
|
71041
|
+
callToActionLink?: MetaCallToActionLink;
|
|
71029
71042
|
};
|
|
71030
71043
|
/**
|
|
71031
71044
|
* Google only. Full tracking template (must contain {lpurl}).
|
|
@@ -74907,6 +74920,10 @@ type BoostPostData = {
|
|
|
74907
74920
|
* and `INSTAGRAM_MESSAGE`. VIEW_INSTAGRAM_PROFILE requires linkUrl;
|
|
74908
74921
|
* the messaging CTAs select their destination automatically.
|
|
74909
74922
|
*
|
|
74923
|
+
* **Meta** `GET_DIRECTIONS` is a 400: Meta opens that button on a map location,
|
|
74924
|
+
* and a boost's only button link is `linkUrl`, a website. Create the ad
|
|
74925
|
+
* with POST /v1/ads/create and `callToActionLink` instead.
|
|
74926
|
+
*
|
|
74910
74927
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
74911
74928
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|
|
74912
74929
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -69796,6 +69796,15 @@ type UpdateAdData = {
|
|
|
69796
69796
|
* Meta only. The display link shown on link (image) ads, Meta link_data.caption. Returns 422 on video creatives and on asset feeds without a link.
|
|
69797
69797
|
*/
|
|
69798
69798
|
caption?: string;
|
|
69799
|
+
/**
|
|
69800
|
+
* Meta only. The map location the `GET_DIRECTIONS` button opens, while the ad link stays as it is. Send it with `callToAction: GET_DIRECTIONS`.
|
|
69801
|
+
*
|
|
69802
|
+
* - 400 with any other `callToAction`, with a value that is not an `fbgeo://` location, and on other networks.
|
|
69803
|
+
* - 422 on video ads (their only link is the button, so change `linkUrl`), on lead ads, and on asset feed creatives that list their calls to action in the feed.
|
|
69804
|
+
* - Required with `callToAction: GET_DIRECTIONS` on a full image creative (headline, body, callToAction, linkUrl, imageUrl), and on a partial edit of an image ad whose button has no location yet. Without it the request is a 400, and no other field of it reaches Meta.
|
|
69805
|
+
*
|
|
69806
|
+
*/
|
|
69807
|
+
callToActionLink?: MetaCallToActionLink;
|
|
69799
69808
|
};
|
|
69800
69809
|
/**
|
|
69801
69810
|
* Rename the ad. Now propagated to Meta (POST /{ad-id}); non-Meta platforms return 501.
|
|
@@ -71026,6 +71035,10 @@ type UpdateAdTrackingTagsData = {
|
|
|
71026
71035
|
linkUrl: string;
|
|
71027
71036
|
imageUrl: string;
|
|
71028
71037
|
videoUrl?: string;
|
|
71038
|
+
/**
|
|
71039
|
+
* The Get Directions button location, required to rebuild a `GET_DIRECTIONS` image creative (400 without it). Only with `callToAction: GET_DIRECTIONS`.
|
|
71040
|
+
*/
|
|
71041
|
+
callToActionLink?: MetaCallToActionLink;
|
|
71029
71042
|
};
|
|
71030
71043
|
/**
|
|
71031
71044
|
* Google only. Full tracking template (must contain {lpurl}).
|
|
@@ -74907,6 +74920,10 @@ type BoostPostData = {
|
|
|
74907
74920
|
* and `INSTAGRAM_MESSAGE`. VIEW_INSTAGRAM_PROFILE requires linkUrl;
|
|
74908
74921
|
* the messaging CTAs select their destination automatically.
|
|
74909
74922
|
*
|
|
74923
|
+
* **Meta** `GET_DIRECTIONS` is a 400: Meta opens that button on a map location,
|
|
74924
|
+
* and a boost's only button link is `linkUrl`, a website. Create the ad
|
|
74925
|
+
* with POST /v1/ads/create and `callToActionLink` instead.
|
|
74926
|
+
*
|
|
74910
74927
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
74911
74928
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|
|
74912
74929
|
*
|
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.
|
|
39
|
+
version: "0.2.1764",
|
|
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.
|
|
8
|
+
version: "0.2.1764",
|
|
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
|
@@ -71227,6 +71227,15 @@ export type UpdateAdData = {
|
|
|
71227
71227
|
* Meta only. The display link shown on link (image) ads, Meta link_data.caption. Returns 422 on video creatives and on asset feeds without a link.
|
|
71228
71228
|
*/
|
|
71229
71229
|
caption?: string;
|
|
71230
|
+
/**
|
|
71231
|
+
* Meta only. The map location the `GET_DIRECTIONS` button opens, while the ad link stays as it is. Send it with `callToAction: GET_DIRECTIONS`.
|
|
71232
|
+
*
|
|
71233
|
+
* - 400 with any other `callToAction`, with a value that is not an `fbgeo://` location, and on other networks.
|
|
71234
|
+
* - 422 on video ads (their only link is the button, so change `linkUrl`), on lead ads, and on asset feed creatives that list their calls to action in the feed.
|
|
71235
|
+
* - Required with `callToAction: GET_DIRECTIONS` on a full image creative (headline, body, callToAction, linkUrl, imageUrl), and on a partial edit of an image ad whose button has no location yet. Without it the request is a 400, and no other field of it reaches Meta.
|
|
71236
|
+
*
|
|
71237
|
+
*/
|
|
71238
|
+
callToActionLink?: MetaCallToActionLink;
|
|
71230
71239
|
};
|
|
71231
71240
|
/**
|
|
71232
71241
|
* Rename the ad. Now propagated to Meta (POST /{ad-id}); non-Meta platforms return 501.
|
|
@@ -72529,6 +72538,10 @@ export type UpdateAdTrackingTagsData = {
|
|
|
72529
72538
|
linkUrl: string;
|
|
72530
72539
|
imageUrl: string;
|
|
72531
72540
|
videoUrl?: string;
|
|
72541
|
+
/**
|
|
72542
|
+
* The Get Directions button location, required to rebuild a `GET_DIRECTIONS` image creative (400 without it). Only with `callToAction: GET_DIRECTIONS`.
|
|
72543
|
+
*/
|
|
72544
|
+
callToActionLink?: MetaCallToActionLink;
|
|
72532
72545
|
};
|
|
72533
72546
|
/**
|
|
72534
72547
|
* Google only. Full tracking template (must contain {lpurl}).
|
|
@@ -76671,6 +76684,10 @@ export type BoostPostData = {
|
|
|
76671
76684
|
* and `INSTAGRAM_MESSAGE`. VIEW_INSTAGRAM_PROFILE requires linkUrl;
|
|
76672
76685
|
* the messaging CTAs select their destination automatically.
|
|
76673
76686
|
*
|
|
76687
|
+
* **Meta** `GET_DIRECTIONS` is a 400: Meta opens that button on a map location,
|
|
76688
|
+
* and a boost's only button link is `linkUrl`, a website. Create the ad
|
|
76689
|
+
* with POST /v1/ads/create and `callToActionLink` instead.
|
|
76690
|
+
*
|
|
76674
76691
|
* **TikTok**: pass-through to `call_to_action` on the Spark Ad creative; the
|
|
76675
76692
|
* platform validates the value. See TikTok's "Enumeration - Call-to-Action".
|
|
76676
76693
|
*
|