@koda-sl/baker-cli 0.869.0-dev.0631d8a3c → 0.869.0-dev.49bba5255
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/README.md +2 -3
- package/dist/{ads-VSU53JN3.js → ads-CEF5MSJ6.js} +5 -5
- package/dist/{analytics-EM4NNEG5.js → analytics-3IS4CCFL.js} +26 -14
- package/dist/analytics-3IS4CCFL.js.map +1 -0
- package/dist/{chunk-7YHMZVKM.js → chunk-6SMIAFH2.js} +2 -2
- package/dist/{chunk-T7GAC2WG.js → chunk-7JM5OH6I.js} +32 -3
- package/dist/chunk-7JM5OH6I.js.map +1 -0
- package/dist/{chunk-XFTN3ARP.js → chunk-BPIHAIWB.js} +13 -22
- package/dist/chunk-BPIHAIWB.js.map +1 -0
- package/dist/{chunk-4YQ46MM4.js → chunk-E5US4SNS.js} +2 -2
- package/dist/{chunk-HORX3JLB.js → chunk-KFFAH3TX.js} +2 -2
- package/dist/{chunk-LMVSHRIS.js → chunk-VMZ2XBU7.js} +2 -2
- package/dist/{chunk-EVNRBJML.js → chunk-VT4GYO3E.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/{funnel-BFVSY5A6.js → funnel-G4JVDQUE.js} +3 -3
- package/dist/{google-HHKFDH7I.js → google-ZFRRYSFZ.js} +2 -2
- package/dist/{linkedin-RMZMQ2ZA.js → linkedin-EBOTX37R.js} +4 -8
- package/dist/{linkedin-RMZMQ2ZA.js.map → linkedin-EBOTX37R.js.map} +1 -1
- package/dist/{lookup-NWIDMQ5B.js → lookup-P5NID3LV.js} +4 -4
- package/dist/{meta-HOFABFAK.js → meta-SPPSYRMC.js} +2 -2
- package/dist/{performance-Y2S5FDGI.js → performance-L44CGNTO.js} +2 -2
- package/dist/{plan-F3LGGPUT.js → plan-OTRYXYVC.js} +3 -3
- package/dist/{preview-XXQ5AHXP.js → preview-4GUQGDBD.js} +42 -134
- package/dist/preview-4GUQGDBD.js.map +1 -0
- package/dist/preview-HD3QAR53.js +104 -0
- package/dist/preview-HD3QAR53.js.map +1 -0
- package/dist/{questionnaire-XRQKZDTC.js → questionnaire-AFTRG3QM.js} +3 -3
- package/dist/{sends-KAFVQSQQ.js → sends-V4MRXQSO.js} +3 -3
- package/dist/{sources-FPWA4AJN.js → sources-OTOVMOJ5.js} +4 -4
- package/dist/{unstage-FLZFPQ36.js → unstage-E32YHRML.js} +3 -3
- package/dist/{url-options-BANFHIHH.js → url-options-ETN75DT5.js} +2 -2
- package/package.json +1 -1
- package/dist/analytics-EM4NNEG5.js.map +0 -1
- package/dist/chunk-T7GAC2WG.js.map +0 -1
- package/dist/chunk-XFTN3ARP.js.map +0 -1
- package/dist/preview-4DDR337D.js +0 -151
- package/dist/preview-4DDR337D.js.map +0 -1
- package/dist/preview-XXQ5AHXP.js.map +0 -1
- /package/dist/{ads-VSU53JN3.js.map → ads-CEF5MSJ6.js.map} +0 -0
- /package/dist/{chunk-7YHMZVKM.js.map → chunk-6SMIAFH2.js.map} +0 -0
- /package/dist/{chunk-4YQ46MM4.js.map → chunk-E5US4SNS.js.map} +0 -0
- /package/dist/{chunk-HORX3JLB.js.map → chunk-KFFAH3TX.js.map} +0 -0
- /package/dist/{chunk-LMVSHRIS.js.map → chunk-VMZ2XBU7.js.map} +0 -0
- /package/dist/{chunk-EVNRBJML.js.map → chunk-VT4GYO3E.js.map} +0 -0
- /package/dist/{funnel-BFVSY5A6.js.map → funnel-G4JVDQUE.js.map} +0 -0
- /package/dist/{google-HHKFDH7I.js.map → google-ZFRRYSFZ.js.map} +0 -0
- /package/dist/{lookup-NWIDMQ5B.js.map → lookup-P5NID3LV.js.map} +0 -0
- /package/dist/{meta-HOFABFAK.js.map → meta-SPPSYRMC.js.map} +0 -0
- /package/dist/{performance-Y2S5FDGI.js.map → performance-L44CGNTO.js.map} +0 -0
- /package/dist/{plan-F3LGGPUT.js.map → plan-OTRYXYVC.js.map} +0 -0
- /package/dist/{questionnaire-XRQKZDTC.js.map → questionnaire-AFTRG3QM.js.map} +0 -0
- /package/dist/{sends-KAFVQSQQ.js.map → sends-V4MRXQSO.js.map} +0 -0
- /package/dist/{sources-FPWA4AJN.js.map → sources-OTOVMOJ5.js.map} +0 -0
- /package/dist/{unstage-FLZFPQ36.js.map → unstage-E32YHRML.js.map} +0 -0
- /package/dist/{url-options-BANFHIHH.js.map → url-options-ETN75DT5.js.map} +0 -0
|
@@ -8,32 +8,23 @@ import { tmpdir } from "os";
|
|
|
8
8
|
import { join } from "path";
|
|
9
9
|
var AD_PREVIEW_DIR = join(tmpdir(), "baker-ad-previews");
|
|
10
10
|
var AD_PREVIEW_DIR_LABEL = "your system temp folder, under baker-ad-previews";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
async function renderAdPreviews(inputs, target, draw = drawPreviewInChromium) {
|
|
12
|
+
mkdirSync(target.dir, { recursive: true });
|
|
13
|
+
const previews = [];
|
|
14
14
|
const taken = /* @__PURE__ */ new Map();
|
|
15
|
-
const
|
|
15
|
+
for (const input of inputs) {
|
|
16
16
|
const where = input.surface ? { placement: input.placement, surface: input.surface } : { placement: input.placement };
|
|
17
|
-
const base = [
|
|
17
|
+
const base = [target.name, input.placement, input.surface?.toLowerCase()].filter(Boolean).join("-");
|
|
18
18
|
const seen = (taken.get(base) ?? 0) + 1;
|
|
19
19
|
taken.set(base, seen);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const index = next++;
|
|
27
|
-
const { where, html, file } = jobs[index];
|
|
28
|
-
try {
|
|
29
|
-
const { text } = await draw(html, file);
|
|
30
|
-
previews[index] = { ...where, shownText: shownLines(text), image: file };
|
|
31
|
-
} catch (err) {
|
|
32
|
-
previews[index] = { ...where, error: err instanceof Error ? err.message : String(err) };
|
|
33
|
-
}
|
|
20
|
+
const file = join(target.dir, `${seen > 1 ? `${base}-${seen}` : base}.png`);
|
|
21
|
+
try {
|
|
22
|
+
const { text } = await draw(input.html, file);
|
|
23
|
+
previews.push({ ...where, shownText: shownLines(text), image: file });
|
|
24
|
+
} catch (err) {
|
|
25
|
+
previews.push({ ...where, error: err instanceof Error ? err.message : String(err) });
|
|
34
26
|
}
|
|
35
|
-
}
|
|
36
|
-
await Promise.all(Array.from({ length: Math.min(DRAW_CONCURRENCY, jobs.length) }, worker));
|
|
27
|
+
}
|
|
37
28
|
return { previews, hints: previewHints(previews) };
|
|
38
29
|
}
|
|
39
30
|
function shownLines(text) {
|
|
@@ -91,4 +82,4 @@ export {
|
|
|
91
82
|
AD_PREVIEW_DIR_LABEL,
|
|
92
83
|
renderAdPreviews
|
|
93
84
|
};
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-BPIHAIWB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/ads/ad-preview-images.ts"],"sourcesContent":["import { mkdirSync } from \"node:fs\";\nimport { tmpdir } from \"node:os\";\nimport { join } from \"node:path\";\nimport { launchBrowser } from \"../../engine/landing-library/browser.ts\";\n\n/**\n * Opens a platform's preview iframe and returns what it displays: the text\n * people read (`shownText`) and a picture for questions text cannot answer.\n *\n * The API's fields say what is stored, not what shows. A Session paused seven\n * live ads because a stored headline read like an internal code, with no way to\n * check whether the feed showed it. The rendered text settles that; the picture\n * covers what is not text — words drawn into the artwork, cropping, layout.\n */\n\nexport interface AdPreviewInput {\n placement: string;\n /** Where the platform shows it (LinkedIn FEED, …) when one placement renders on several surfaces. */\n surface?: string;\n html: string;\n}\n\ntype AdPreviewWhere = { placement: string; surface?: string };\nexport type AdPreviewResult =\n | (AdPreviewWhere & { shownText: string[]; image: string })\n | (AdPreviewWhere & { error: string });\n\n/** Render `html` (a platform iframe): save a PNG at `file`, return the text it displays. */\nexport type DrawPreview = (html: string, file: string) => Promise<{ text: string }>;\n\nexport const AD_PREVIEW_DIR = join(tmpdir(), \"baker-ad-previews\");\n\n/**\n * The same folder as a sentence, for an arg description.\n *\n * `AD_PREVIEW_DIR` itself must never reach one: it is `tmpdir()` RESOLVED, which is\n * `/tmp/baker-ad-previews` on Linux and `/var/folders/<random>/T/baker-ad-previews` on a Mac — so\n * `catalog:export` wrote whichever machine ran it into `cli-catalog/families/ads-meta.json`, and\n * `catalog.test.ts` then failed for everyone else. The catalog is committed, so a description in it\n * has to be the same on every machine.\n */\nexport const AD_PREVIEW_DIR_LABEL = \"your system temp folder, under baker-ad-previews\";\n\nexport async function renderAdPreviews(\n inputs: readonly AdPreviewInput[],\n target: { dir: string; name: string },\n draw: DrawPreview = drawPreviewInChromium,\n): Promise<{ previews: AdPreviewResult[]; hints: string[] }> {\n mkdirSync(target.dir, { recursive: true });\n const previews: AdPreviewResult[] = [];\n const taken = new Map<string, number>();\n for (const input of inputs) {\n const where: AdPreviewWhere = input.surface\n ? { placement: input.placement, surface: input.surface }\n : { placement: input.placement };\n // One file per rendering: a shared name would leave two results pointing at the last picture drawn.\n const base = [target.name, input.placement, input.surface?.toLowerCase()].filter(Boolean).join(\"-\");\n const seen = (taken.get(base) ?? 0) + 1;\n taken.set(base, seen);\n const file = join(target.dir, `${seen > 1 ? `${base}-${seen}` : base}.png`);\n try {\n const { text } = await draw(input.html, file);\n previews.push({ ...where, shownText: shownLines(text), image: file });\n } catch (err) {\n previews.push({ ...where, error: err instanceof Error ? err.message : String(err) });\n }\n }\n return { previews, hints: previewHints(previews) };\n}\n\nfunction shownLines(text: string): string[] {\n return text\n .split(\"\\n\")\n .map((line) => line.replace(/\\s+/g, \" \").trim())\n .filter(Boolean);\n}\n\nfunction previewHints(previews: readonly AdPreviewResult[]): string[] {\n const hints: string[] = [];\n if (previews.some((p) => \"image\" in p)) {\n hints.push(\n \"shownText is what people see on the ad, in order — rendered by the platform itself, so it settles which text is displayed (headline under the image, button, cut-off intro). The API fields only say what is stored. Words drawn into the artwork are not in shownText: Read the image for those, and for cropping or how the ad looks.\",\n );\n }\n if (previews.some((p) => \"error\" in p)) {\n hints.push(\n \"Some previews could not be drawn. Do not describe how those look — say they could not be checked, and carry on with the rest.\",\n );\n }\n return hints;\n}\n\n/**\n * The platforms' iframes have a fixed window (Meta's 335×450) and scroll the rest,\n * which cuts the headline and button off a picture. The frame is grown to its\n * content's height first, so the picture holds the whole ad.\n */\nexport async function drawPreviewInChromium(html: string, file: string): Promise<{ text: string }> {\n const browser = await launchBrowser();\n try {\n const context = await browser.newContext({ viewport: { width: 900, height: 1200 }, deviceScaleFactor: 2 });\n const page = await context.newPage();\n await page.setContent(`<!doctype html><body style=\"margin:0;background:#fff\">${html}</body>`, {\n waitUntil: \"load\",\n timeout: 30_000,\n });\n await page.waitForLoadState(\"networkidle\", { timeout: 15_000 }).catch(() => undefined);\n const iframe = await page.$(\"iframe\");\n if (!iframe) throw new Error(\"the platform returned no preview frame\");\n const frame = await iframe.contentFrame();\n if (frame) {\n const height = await frame.evaluate(() =>\n Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0),\n );\n if (height > 0) {\n await iframe.evaluate((node, h) => {\n node.removeAttribute(\"height\");\n (node as HTMLElement).style.height = `${h}px`;\n }, height);\n await frame.waitForLoadState(\"networkidle\", { timeout: 10_000 }).catch(() => undefined);\n }\n }\n await iframe.screenshot({ path: file });\n // innerText follows the layout: hidden elements drop out, line breaks stay.\n const text = frame ? await frame.evaluate(() => document.body?.innerText ?? \"\") : \"\";\n return { text };\n } finally {\n await browser.close();\n }\n}\n"],"mappings":";;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,cAAc;AACvB,SAAS,YAAY;AA4Bd,IAAM,iBAAiB,KAAK,OAAO,GAAG,mBAAmB;AAWzD,IAAM,uBAAuB;AAEpC,eAAsB,iBACpB,QACA,QACA,OAAoB,uBACuC;AAC3D,YAAU,OAAO,KAAK,EAAE,WAAW,KAAK,CAAC;AACzC,QAAM,WAA8B,CAAC;AACrC,QAAM,QAAQ,oBAAI,IAAoB;AACtC,aAAW,SAAS,QAAQ;AAC1B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
5
|
import {
|
|
6
6
|
formEventKey
|
|
7
7
|
} from "./chunk-KLO3TPTS.js";
|
|
@@ -371,4 +371,4 @@ export {
|
|
|
371
371
|
serverFeedFields,
|
|
372
372
|
keepFeedFields
|
|
373
373
|
};
|
|
374
|
-
//# sourceMappingURL=chunk-
|
|
374
|
+
//# sourceMappingURL=chunk-E5US4SNS.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CONVERSION_COUNT_MODES,
|
|
3
3
|
findNameCollision
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7JM5OH6I.js";
|
|
5
5
|
import {
|
|
6
6
|
CHECKOUT_RECORD_REFUSAL,
|
|
7
7
|
isCheckoutRecordKey,
|
|
@@ -182,4 +182,4 @@ export {
|
|
|
182
182
|
parseConversionsArgs,
|
|
183
183
|
conversionsWrite
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=chunk-
|
|
185
|
+
//# sourceMappingURL=chunk-KFFAH3TX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANALYTICS_BUSY_FIX,
|
|
3
3
|
isAnalyticsBusy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7JM5OH6I.js";
|
|
5
5
|
import {
|
|
6
6
|
ApiError
|
|
7
7
|
} from "./chunk-EHEPW3O2.js";
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
questionnaireErrorEnvelope,
|
|
43
43
|
trackingPlanErrorEnvelope
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-VMZ2XBU7.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
analyticsErrorEnvelope
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VMZ2XBU7.js";
|
|
4
4
|
import {
|
|
5
5
|
PEOPLE_SEARCH_MAX_TERMS,
|
|
6
6
|
parsePeopleQuery,
|
|
7
7
|
peopleLookupRequestSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7JM5OH6I.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonEnvelope
|
|
11
11
|
} from "./chunk-NX4EB2TK.js";
|
|
@@ -187,4 +187,4 @@ export {
|
|
|
187
187
|
lookupReport,
|
|
188
188
|
lookupCommand
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=chunk-
|
|
190
|
+
//# sourceMappingURL=chunk-VT4GYO3E.js.map
|
package/dist/cli.js
CHANGED
|
@@ -625,9 +625,9 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
|
|
|
625
625
|
capabilities: () => import("./capabilities-FJAYWDY6.js").then((m) => m.capabilitiesCommand),
|
|
626
626
|
actions: () => import("./actions-PO35WQVS.js").then((m) => m.actionsCommand),
|
|
627
627
|
"scheduled-agents": () => import("./scheduled-agents-4UNG26CX.js").then((m) => m.scheduledAgentsCommand),
|
|
628
|
-
ads: () => import("./ads-
|
|
628
|
+
ads: () => import("./ads-CEF5MSJ6.js").then((m) => m.adsCommand),
|
|
629
629
|
brand: () => import("./brand-ARJMSWJA.js").then((m) => m.brandCommand),
|
|
630
|
-
analytics: () => import("./analytics-
|
|
630
|
+
analytics: () => import("./analytics-3IS4CCFL.js").then((m) => m.analyticsCommand),
|
|
631
631
|
experiment: () => import("./experiment-KOCG7PPI.js").then((m) => m.experimentCommand),
|
|
632
632
|
ga4: () => import("./ga4-RWTSGUNB.js").then((m) => m.ga4Command),
|
|
633
633
|
gsc: () => import("./gsc-JYP4ZCSH.js").then((m) => m.gscCommand),
|
|
@@ -639,7 +639,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
|
|
|
639
639
|
rules: () => import("./rules-EPNUXMHG.js").then((m) => m.rulesCommand),
|
|
640
640
|
files: () => import("./files-4BWOK6EW.js").then((m) => m.filesCommand),
|
|
641
641
|
flows: () => import("./flows-PP6BRBD7.js").then((m) => m.flowsCommand),
|
|
642
|
-
funnel: () => import("./funnel-
|
|
642
|
+
funnel: () => import("./funnel-G4JVDQUE.js").then((m) => m.funnelCommand),
|
|
643
643
|
images: () => import("./images-R3EK4BDH.js").then((m) => m.imagesCommand),
|
|
644
644
|
studio: () => import("./studio-VU7CEAEU.js").then((m) => m.studioCommand),
|
|
645
645
|
avatars: () => import("./avatars-4OT3XVOD.js").then((m) => m.avatarsCommand),
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
flowEventKeys,
|
|
3
3
|
parseFields,
|
|
4
4
|
renderMarkdown
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E5US4SNS.js";
|
|
6
6
|
import {
|
|
7
7
|
flowDataPath,
|
|
8
8
|
listFlowSlugs
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
FUNNEL_VERTICALS,
|
|
12
12
|
funnelRequestSchema
|
|
13
13
|
} from "./chunk-5YOMORZ2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-7JM5OH6I.js";
|
|
15
15
|
import "./chunk-5TURKO4J.js";
|
|
16
16
|
import {
|
|
17
17
|
repeatedValues
|
|
@@ -699,4 +699,4 @@ function workspaceForms() {
|
|
|
699
699
|
export {
|
|
700
700
|
funnelCommand
|
|
701
701
|
};
|
|
702
|
-
//# sourceMappingURL=funnel-
|
|
702
|
+
//# sourceMappingURL=funnel-G4JVDQUE.js.map
|
|
@@ -3745,7 +3745,7 @@ Full guide: __tooling__/docs/tools/baker/ads-google.md`
|
|
|
3745
3745
|
subCommands: {
|
|
3746
3746
|
accounts: () => import("./accounts-PRKZ3YCO.js").then((m) => m.accountsCommand),
|
|
3747
3747
|
currency: () => import("./currency-NRI2TLP3.js").then((m) => m.currencyCommand),
|
|
3748
|
-
"url-options": () => import("./url-options-
|
|
3748
|
+
"url-options": () => import("./url-options-ETN75DT5.js").then((m) => m.urlOptionsCommand),
|
|
3749
3749
|
changes: () => import("./changes-CNGAKH52.js").then((m) => m.changesCommand),
|
|
3750
3750
|
invoices: () => import("./account-reads-SUWXGTGW.js").then((m) => m.invoicesCommand),
|
|
3751
3751
|
"identity-verification": () => import("./account-reads-SUWXGTGW.js").then((m) => m.identityVerificationCommand),
|
|
@@ -3762,4 +3762,4 @@ Full guide: __tooling__/docs/tools/baker/ads-google.md`
|
|
|
3762
3762
|
export {
|
|
3763
3763
|
googleCommand
|
|
3764
3764
|
};
|
|
3765
|
-
//# sourceMappingURL=google-
|
|
3765
|
+
//# sourceMappingURL=google-ZFRRYSFZ.js.map
|
|
@@ -1294,13 +1294,9 @@ registerSchema({
|
|
|
1294
1294
|
registerSchema({
|
|
1295
1295
|
command: "ads.linkedin.preview",
|
|
1296
1296
|
...live("POST /api/ads/linkedin/preview"),
|
|
1297
|
-
description: "See existing
|
|
1297
|
+
description: "See an existing ad as LinkedIn renders it in the feed, desktop and mobile: shownText (the text people see, in order) plus a picture of each for visual questions. Check it before saying how an ad looks.",
|
|
1298
1298
|
args: {
|
|
1299
|
-
id: {
|
|
1300
|
-
type: "positional",
|
|
1301
|
-
description: "Creative id or urn:li:sponsoredCreative:N \u2014 several, space- or comma-separated",
|
|
1302
|
-
required: true
|
|
1303
|
-
},
|
|
1299
|
+
id: { type: "positional", description: "Creative id or urn:li:sponsoredCreative:N", required: true },
|
|
1304
1300
|
"account-id": { type: "string", description: "Account ID", required: false },
|
|
1305
1301
|
"account-urn": { type: "string", description: "Alias", required: false },
|
|
1306
1302
|
placement: { type: "string", description: "desktop|mobile|both (default both)", required: false },
|
|
@@ -1489,7 +1485,7 @@ Full guide: __tooling__/docs/tools/baker/ads-linkedin.md`
|
|
|
1489
1485
|
"campaign-groups": () => import("./campaign-groups-VBOFSUJS.js").then((m) => m.campaignGroupsCommand),
|
|
1490
1486
|
campaigns: () => import("./campaigns-YFB3PCLE.js").then((m) => m.campaignsCommand),
|
|
1491
1487
|
creatives: () => import("./creatives-D5WLUJWC.js").then((m) => m.creativesCommand),
|
|
1492
|
-
preview: () => import("./preview-
|
|
1488
|
+
preview: () => import("./preview-HD3QAR53.js").then((m) => m.previewCommand),
|
|
1493
1489
|
audiences: () => import("./write-commands-X72A5F7K.js").then((m) => m.audiencesCommand),
|
|
1494
1490
|
"lead-forms": () => import("./write-commands-X72A5F7K.js").then((m) => m.leadFormsCommand),
|
|
1495
1491
|
experiments: () => import("./experiments-VYYS5Y7W.js").then((m) => m.experimentsCommand),
|
|
@@ -1514,4 +1510,4 @@ Full guide: __tooling__/docs/tools/baker/ads-linkedin.md`
|
|
|
1514
1510
|
export {
|
|
1515
1511
|
linkedinCommand
|
|
1516
1512
|
};
|
|
1517
|
-
//# sourceMappingURL=linkedin-
|
|
1513
|
+
//# sourceMappingURL=linkedin-EBOTX37R.js.map
|