@getlatedev/node 0.2.225 → 0.2.227
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +7 -4
- package/src/generated/types.gen.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -18085,7 +18085,7 @@ type UpdateAdTrackingTagsData = {
|
|
|
18085
18085
|
value: string;
|
|
18086
18086
|
}>;
|
|
18087
18087
|
/**
|
|
18088
|
-
* Meta only.
|
|
18088
|
+
* Meta only. OPTIONAL — omit to preserve the existing creative verbatim (default). Provide it only to rebuild the creative explicitly, or for creatives whose object_story_spec Meta strips.
|
|
18089
18089
|
*/
|
|
18090
18090
|
creative?: {
|
|
18091
18091
|
headline: string;
|
|
@@ -18473,7 +18473,7 @@ type CreateStandaloneAdData = {
|
|
|
18473
18473
|
*/
|
|
18474
18474
|
linkUrl?: string;
|
|
18475
18475
|
/**
|
|
18476
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18476
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal. NOT compatible with `placementAssets` (per-placement creative) or `dynamicCreative` (multiple assets/text): Meta does not allow an asset_feed_spec creative on instant-form lead ads, so that combination is rejected with INVALID_FIELD_VALUE. Per-placement / multi-asset creative is supported on `traffic` and `conversions` goals.
|
|
18477
18477
|
*/
|
|
18478
18478
|
leadGenFormId?: string;
|
|
18479
18479
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -18085,7 +18085,7 @@ type UpdateAdTrackingTagsData = {
|
|
|
18085
18085
|
value: string;
|
|
18086
18086
|
}>;
|
|
18087
18087
|
/**
|
|
18088
|
-
* Meta only.
|
|
18088
|
+
* Meta only. OPTIONAL — omit to preserve the existing creative verbatim (default). Provide it only to rebuild the creative explicitly, or for creatives whose object_story_spec Meta strips.
|
|
18089
18089
|
*/
|
|
18090
18090
|
creative?: {
|
|
18091
18091
|
headline: string;
|
|
@@ -18473,7 +18473,7 @@ type CreateStandaloneAdData = {
|
|
|
18473
18473
|
*/
|
|
18474
18474
|
linkUrl?: string;
|
|
18475
18475
|
/**
|
|
18476
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18476
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal. NOT compatible with `placementAssets` (per-placement creative) or `dynamicCreative` (multiple assets/text): Meta does not allow an asset_feed_spec creative on instant-form lead ads, so that combination is rejected with INVALID_FIELD_VALUE. Per-placement / multi-asset creative is supported on `traffic` and `conversions` goals.
|
|
18477
18477
|
*/
|
|
18478
18478
|
leadGenFormId?: string;
|
|
18479
18479
|
/**
|
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.227",
|
|
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.227",
|
|
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
|
@@ -4712,10 +4712,13 @@ export const getAdTrackingTags = <ThrowOnError extends boolean = false>(options:
|
|
|
4712
4712
|
/**
|
|
4713
4713
|
* Set/update an ad's click-URL tracking tags
|
|
4714
4714
|
* Unified update. Send only the fields for the ad's platform:
|
|
4715
|
-
* - Meta: `urlTags` (array of {key,value})
|
|
4716
|
-
*
|
|
4717
|
-
*
|
|
4718
|
-
*
|
|
4715
|
+
* - Meta: `urlTags` (array of {key,value}). Meta creatives are immutable, so this rebuilds the
|
|
4716
|
+
* creative and repoints the ad. By DEFAULT we PRESERVE the existing creative verbatim
|
|
4717
|
+
* (re-post its object_story_spec + the new url_tags, reusing the image), so you send `urlTags`
|
|
4718
|
+
* ALONE — no need to read back headline/body/CTA. `creative` (headline, body, callToAction,
|
|
4719
|
+
* linkUrl, imageUrl) is OPTIONAL and only needed to rebuild explicitly, or for SHARE / page-post
|
|
4720
|
+
* / dark / asset_feed creatives whose object_story_spec Meta strips (those return 422 asking for
|
|
4721
|
+
* `creative`).
|
|
4719
4722
|
* - Google: `trackingUrlTemplate` and/or `finalUrlSuffix` (full template strings; account quota applies).
|
|
4720
4723
|
* - LinkedIn: `dynamicValueParameters` and/or `customValueParameters` (campaign-level Dynamic UTM).
|
|
4721
4724
|
*
|
|
@@ -18559,7 +18559,7 @@ export type UpdateAdTrackingTagsData = {
|
|
|
18559
18559
|
value: string;
|
|
18560
18560
|
}>;
|
|
18561
18561
|
/**
|
|
18562
|
-
* Meta only.
|
|
18562
|
+
* Meta only. OPTIONAL — omit to preserve the existing creative verbatim (default). Provide it only to rebuild the creative explicitly, or for creatives whose object_story_spec Meta strips.
|
|
18563
18563
|
*/
|
|
18564
18564
|
creative?: {
|
|
18565
18565
|
headline: string;
|
|
@@ -18962,7 +18962,7 @@ export type CreateStandaloneAdData = {
|
|
|
18962
18962
|
*/
|
|
18963
18963
|
linkUrl?: string;
|
|
18964
18964
|
/**
|
|
18965
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18965
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal. NOT compatible with `placementAssets` (per-placement creative) or `dynamicCreative` (multiple assets/text): Meta does not allow an asset_feed_spec creative on instant-form lead ads, so that combination is rejected with INVALID_FIELD_VALUE. Per-placement / multi-asset creative is supported on `traffic` and `conversions` goals.
|
|
18966
18966
|
*/
|
|
18967
18967
|
leadGenFormId?: string;
|
|
18968
18968
|
/**
|