@getlatedev/node 0.2.226 → 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 CHANGED
@@ -18085,7 +18085,7 @@ type UpdateAdTrackingTagsData = {
18085
18085
  value: string;
18086
18086
  }>;
18087
18087
  /**
18088
- * Meta only. Required to rebuild the immutable creative when setting urlTags.
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;
package/dist/index.d.ts CHANGED
@@ -18085,7 +18085,7 @@ type UpdateAdTrackingTagsData = {
18085
18085
  value: string;
18086
18086
  }>;
18087
18087
  /**
18088
- * Meta only. Required to rebuild the immutable creative when setting urlTags.
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;
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.226",
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.226",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.226",
3
+ "version": "0.2.227",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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}) + `creative` (headline, body, callToAction, linkUrl, imageUrl).
4716
- * Meta creatives are immutable, so this REBUILDS the creative and repoints the ad the full
4717
- * creative is required. Placement-customized / asset-feed / dark creatives may not be
4718
- * rebuildable this way and return 422.
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. Required to rebuild the immutable creative when setting urlTags.
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;