@koda-sl/baker-cli 0.869.0-dev.0631d8a3c → 0.869.0-dev.620009099
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 +1 -3
- package/dist/{account-LHY6YM6L.js → account-5VOZ4R2X.js} +2 -2
- package/dist/{account-assets-L6BX4YUQ.js → account-assets-DOHOKM2L.js} +54 -46
- package/dist/account-assets-DOHOKM2L.js.map +1 -0
- package/dist/{account-level-OX34JQ7C.js → account-level-HLSTNJHR.js} +4 -4
- package/dist/{accounts-LNFU27BU.js → accounts-SNH3LJ2H.js} +2 -2
- package/dist/{activities-LC64DAAK.js → activities-QHDGHXMI.js} +21 -12
- package/dist/activities-QHDGHXMI.js.map +1 -0
- package/dist/{ads-VSU53JN3.js → ads-MYACXO5A.js} +3 -3
- package/dist/{ads-ZR5D7BZT.js → ads-ZDSRE7D6.js} +27 -19
- package/dist/ads-ZDSRE7D6.js.map +1 -0
- package/dist/{adsets-3NIYL2GQ.js → adsets-CZQMTJ2T.js} +48 -30
- package/dist/adsets-CZQMTJ2T.js.map +1 -0
- package/dist/{asset-writes-5ZKZDPQ4.js → asset-writes-TXYCARXJ.js} +4 -4
- package/dist/{audience-writes-NL6NRLLY.js → audience-writes-DJG7XTFA.js} +29 -15
- package/dist/audience-writes-DJG7XTFA.js.map +1 -0
- package/dist/{audiences-DL267GNQ.js → audiences-QHM26I5Y.js} +27 -15
- package/dist/audiences-QHM26I5Y.js.map +1 -0
- package/dist/{businesses-RQ6P4DOS.js → businesses-ALNQZFB4.js} +2 -2
- package/dist/{campaigns-RXDC5FSQ.js → campaigns-55VLNVCE.js} +29 -18
- package/dist/campaigns-55VLNVCE.js.map +1 -0
- package/dist/{catalogs-QAZ7ZZ5R.js → catalogs-B24HAEXZ.js} +3 -3
- package/dist/{chunk-OMJ7DVFJ.js → chunk-2WHALQOJ.js} +2 -2
- package/dist/{chunk-XFTN3ARP.js → chunk-BPIHAIWB.js} +13 -22
- package/dist/chunk-BPIHAIWB.js.map +1 -0
- package/dist/{chunk-EGM42UKF.js → chunk-EJ6B5OS5.js} +2 -2
- package/dist/{chunk-WKRVHRWY.js → chunk-VBIKO56A.js} +14 -3
- package/dist/chunk-VBIKO56A.js.map +1 -0
- package/dist/{chunk-UE5ZFTDL.js → chunk-VUJPKIJN.js} +2 -2
- package/dist/{chunk-DP76WGDV.js → chunk-YF57BX3S.js} +87 -8
- package/dist/chunk-YF57BX3S.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{copy-writes-QYN6PBU2.js → copy-writes-S4X5XUSK.js} +4 -4
- package/dist/{creatives-CPLH3KHQ.js → creatives-BCTG6PV4.js} +32 -19
- package/dist/creatives-BCTG6PV4.js.map +1 -0
- package/dist/{custom-conversions-CTJVAZKC.js → custom-conversions-56VXFOWV.js} +27 -15
- package/dist/custom-conversions-56VXFOWV.js.map +1 -0
- package/dist/{draft-UU3F2VMJ.js → draft-OMGA2NYG.js} +2 -2
- package/dist/{insights-QU5A4XBO.js → insights-3SQWIU4E.js} +2 -2
- package/dist/{instant-experiences-EJWYFWDT.js → instant-experiences-HSRGMQ5T.js} +3 -3
- package/dist/{leads-FEEWX7OO.js → leads-LWWPMZRY.js} +3 -3
- package/dist/{linkedin-RMZMQ2ZA.js → linkedin-EBOTX37R.js} +4 -8
- package/dist/{linkedin-RMZMQ2ZA.js.map → linkedin-EBOTX37R.js.map} +1 -1
- package/dist/{media-PUOLJUN3.js → media-UODVM47L.js} +3 -3
- package/dist/{meta-HOFABFAK.js → meta-4IOVQSFF.js} +40 -40
- package/dist/{page-photos-ZBMJLL5V.js → page-photos-BCEDWPGX.js} +3 -3
- package/dist/{pages-YZC44QR2.js → pages-TZBFJXNR.js} +2 -2
- package/dist/{pixels-EX6FHVHW.js → pixels-2BG3XMZP.js} +25 -12
- package/dist/pixels-2BG3XMZP.js.map +1 -0
- package/dist/preview-HD3QAR53.js +104 -0
- package/dist/preview-HD3QAR53.js.map +1 -0
- package/dist/{preview-XXQ5AHXP.js → preview-WHUVS5JJ.js} +43 -135
- package/dist/preview-WHUVS5JJ.js.map +1 -0
- package/dist/{rule-writes-6XP7G35U.js → rule-writes-Q5NLSBF5.js} +3 -3
- package/dist/{rules-BRULCGRV.js → rules-Z7MMVOZ2.js} +41 -24
- package/dist/rules-Z7MMVOZ2.js.map +1 -0
- package/dist/{shared-64RE42DL.js → shared-AXONQS3M.js} +16 -4
- package/dist/{studies-357M2C2K.js → studies-HUINRZHD.js} +33 -16
- package/dist/studies-HUINRZHD.js.map +1 -0
- package/dist/{study-writes-HXUQRPIK.js → study-writes-SI5QXY7F.js} +3 -3
- package/dist/{targeting-7T7XHBIX.js → targeting-3XK4OLPG.js} +3 -3
- package/dist/{videos-TJG5CA7N.js → videos-C5OCSAIF.js} +2 -2
- package/dist/{write-commands-4KI6T2NF.js → write-commands-T46SVSQ7.js} +7 -7
- package/package.json +1 -1
- package/dist/account-assets-L6BX4YUQ.js.map +0 -1
- package/dist/activities-LC64DAAK.js.map +0 -1
- package/dist/ads-ZR5D7BZT.js.map +0 -1
- package/dist/adsets-3NIYL2GQ.js.map +0 -1
- package/dist/audience-writes-NL6NRLLY.js.map +0 -1
- package/dist/audiences-DL267GNQ.js.map +0 -1
- package/dist/campaigns-RXDC5FSQ.js.map +0 -1
- package/dist/chunk-DP76WGDV.js.map +0 -1
- package/dist/chunk-WKRVHRWY.js.map +0 -1
- package/dist/chunk-XFTN3ARP.js.map +0 -1
- package/dist/creatives-CPLH3KHQ.js.map +0 -1
- package/dist/custom-conversions-CTJVAZKC.js.map +0 -1
- package/dist/pixels-EX6FHVHW.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/rules-BRULCGRV.js.map +0 -1
- package/dist/studies-357M2C2K.js.map +0 -1
- /package/dist/{account-LHY6YM6L.js.map → account-5VOZ4R2X.js.map} +0 -0
- /package/dist/{account-level-OX34JQ7C.js.map → account-level-HLSTNJHR.js.map} +0 -0
- /package/dist/{accounts-LNFU27BU.js.map → accounts-SNH3LJ2H.js.map} +0 -0
- /package/dist/{ads-VSU53JN3.js.map → ads-MYACXO5A.js.map} +0 -0
- /package/dist/{asset-writes-5ZKZDPQ4.js.map → asset-writes-TXYCARXJ.js.map} +0 -0
- /package/dist/{businesses-RQ6P4DOS.js.map → businesses-ALNQZFB4.js.map} +0 -0
- /package/dist/{catalogs-QAZ7ZZ5R.js.map → catalogs-B24HAEXZ.js.map} +0 -0
- /package/dist/{chunk-OMJ7DVFJ.js.map → chunk-2WHALQOJ.js.map} +0 -0
- /package/dist/{chunk-EGM42UKF.js.map → chunk-EJ6B5OS5.js.map} +0 -0
- /package/dist/{chunk-UE5ZFTDL.js.map → chunk-VUJPKIJN.js.map} +0 -0
- /package/dist/{copy-writes-QYN6PBU2.js.map → copy-writes-S4X5XUSK.js.map} +0 -0
- /package/dist/{draft-UU3F2VMJ.js.map → draft-OMGA2NYG.js.map} +0 -0
- /package/dist/{insights-QU5A4XBO.js.map → insights-3SQWIU4E.js.map} +0 -0
- /package/dist/{instant-experiences-EJWYFWDT.js.map → instant-experiences-HSRGMQ5T.js.map} +0 -0
- /package/dist/{leads-FEEWX7OO.js.map → leads-LWWPMZRY.js.map} +0 -0
- /package/dist/{media-PUOLJUN3.js.map → media-UODVM47L.js.map} +0 -0
- /package/dist/{meta-HOFABFAK.js.map → meta-4IOVQSFF.js.map} +0 -0
- /package/dist/{page-photos-ZBMJLL5V.js.map → page-photos-BCEDWPGX.js.map} +0 -0
- /package/dist/{pages-YZC44QR2.js.map → pages-TZBFJXNR.js.map} +0 -0
- /package/dist/{rule-writes-6XP7G35U.js.map → rule-writes-Q5NLSBF5.js.map} +0 -0
- /package/dist/{shared-64RE42DL.js.map → shared-AXONQS3M.js.map} +0 -0
- /package/dist/{study-writes-HXUQRPIK.js.map → study-writes-SI5QXY7F.js.map} +0 -0
- /package/dist/{targeting-7T7XHBIX.js.map → targeting-3XK4OLPG.js.map} +0 -0
- /package/dist/{videos-TJG5CA7N.js.map → videos-C5OCSAIF.js.map} +0 -0
- /package/dist/{write-commands-4KI6T2NF.js.map → write-commands-T46SVSQ7.js.map} +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
LISTING_ACCOUNT_ARG,
|
|
3
|
+
accountsInScope,
|
|
2
4
|
csvOrJson,
|
|
3
5
|
handleMetaError,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
listingLimit,
|
|
7
|
+
readEachAccount,
|
|
8
|
+
withAccountColumn
|
|
9
|
+
} from "./chunk-YF57BX3S.js";
|
|
6
10
|
import "./chunk-QALAJNBG.js";
|
|
7
11
|
import {
|
|
8
12
|
NO_CACHE_ARG
|
|
@@ -56,9 +60,9 @@ function customConversionHints(rows) {
|
|
|
56
60
|
}
|
|
57
61
|
registerSchema({
|
|
58
62
|
command: "ads.meta.custom-conversions",
|
|
59
|
-
description: "List the Custom Conversions defined on a Meta ad account \u2014 the measurement objects a marketer sets up in Events Manager (a pixel event narrowed by a rule, e.g. 'PageView on /thank-you'). Start here whenever the user talks about their own conversions rather than a standard event: an ad set optimizes toward one with `adsets create --custom-conversion-id <id>`.",
|
|
63
|
+
description: "List the Custom Conversions defined on a Meta ad account \u2014 the measurement objects a marketer sets up in Events Manager (a pixel event narrowed by a rule, e.g. 'PageView on /thank-you'). Start here whenever the user talks about their own conversions rather than a standard event: an ad set optimizes toward one with `adsets create --custom-conversion-id <id>`. With no --account-id and several accounts connected, every account is read and each row leads with its account_id.",
|
|
60
64
|
args: {
|
|
61
|
-
"account-id": {
|
|
65
|
+
"account-id": { ...LISTING_ACCOUNT_ARG, required: false },
|
|
62
66
|
full: { type: "boolean", description: "Include the raw rule JSON, retention and creation times", required: false },
|
|
63
67
|
limit: { type: "string", description: "Max rows", required: false },
|
|
64
68
|
"no-cache": { type: "boolean", description: "Bypass the cache", required: false },
|
|
@@ -66,7 +70,7 @@ registerSchema({
|
|
|
66
70
|
}
|
|
67
71
|
});
|
|
68
72
|
var listArgs = {
|
|
69
|
-
"account-id":
|
|
73
|
+
"account-id": LISTING_ACCOUNT_ARG,
|
|
70
74
|
full: { type: "boolean", description: "Include the raw rule JSON, retention and creation times" },
|
|
71
75
|
limit: { type: "string", description: "Max rows" },
|
|
72
76
|
"no-cache": NO_CACHE_ARG,
|
|
@@ -79,19 +83,27 @@ var listCommand = defineCommand({
|
|
|
79
83
|
},
|
|
80
84
|
args: listArgs,
|
|
81
85
|
run: async ({ args }) => {
|
|
82
|
-
const
|
|
86
|
+
const accounts = await accountsInScope(args);
|
|
83
87
|
try {
|
|
84
|
-
const params = {
|
|
88
|
+
const params = {};
|
|
85
89
|
if (args.limit) params.limit = args.limit;
|
|
86
90
|
if (args["no-cache"]) params["skip-cache"] = "true";
|
|
87
|
-
const
|
|
88
|
-
|
|
91
|
+
const read = await readEachAccount(
|
|
92
|
+
accounts,
|
|
93
|
+
(accountId) => apiGet("/api/ads/meta/custom-conversions", { ...params, "account-id": accountId }),
|
|
94
|
+
{ limit: listingLimit(args, 200) }
|
|
95
|
+
);
|
|
96
|
+
const rows = read.rows;
|
|
97
|
+
const data = withAccountColumn(
|
|
98
|
+
args.full ? rows.map((row) => ({ ...row })) : rows.map((row) => ({ ...compactCustomConversion(row) })),
|
|
99
|
+
read.accountOf
|
|
100
|
+
);
|
|
89
101
|
const fmt = csvOrJson(args);
|
|
90
102
|
if (fmt !== "json") {
|
|
91
|
-
writeAdsOutput(data, fmt);
|
|
103
|
+
writeAdsOutput(data, fmt, void 0, read.hints);
|
|
92
104
|
return;
|
|
93
105
|
}
|
|
94
|
-
writeJsonEnvelope({ ok: true, data, hints: customConversionHints(rows) });
|
|
106
|
+
writeJsonEnvelope({ ok: true, data, hints: [...read.hints, ...customConversionHints(rows)] });
|
|
95
107
|
} catch (err) {
|
|
96
108
|
handleMetaError(err);
|
|
97
109
|
}
|
|
@@ -110,9 +122,9 @@ Examples:
|
|
|
110
122
|
},
|
|
111
123
|
subCommands: {
|
|
112
124
|
list: listCommand,
|
|
113
|
-
create: () => import("./write-commands-
|
|
114
|
-
update: () => import("./asset-writes-
|
|
115
|
-
delete: () => import("./asset-writes-
|
|
125
|
+
create: () => import("./write-commands-T46SVSQ7.js").then((m) => m.customConversionsCreateCommand),
|
|
126
|
+
update: () => import("./asset-writes-TXYCARXJ.js").then((m) => m.customConversionsUpdateCommand),
|
|
127
|
+
delete: () => import("./asset-writes-TXYCARXJ.js").then((m) => m.customConversionsDeleteCommand)
|
|
116
128
|
},
|
|
117
129
|
// `args` stays even though the parent has no `run`: citty scans rawArgs for
|
|
118
130
|
// the subcommand name using THIS command's arg defs. `default` (not `run`)
|
|
@@ -125,4 +137,4 @@ export {
|
|
|
125
137
|
customConversionHints,
|
|
126
138
|
customConversionsCommand
|
|
127
139
|
};
|
|
128
|
-
//# sourceMappingURL=custom-conversions-
|
|
140
|
+
//# sourceMappingURL=custom-conversions-56VXFOWV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/ads/meta/custom-conversions.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { NO_CACHE_ARG } from \"../../../cache-flag.ts\";\nimport { apiGet } from \"../../../client.ts\";\nimport { registerSchema } from \"../../../schemas.ts\";\nimport { writeAdsOutput, writeJsonEnvelope } from \"../output.ts\";\nimport {\n accountsInScope,\n csvOrJson,\n handleMetaError,\n LISTING_ACCOUNT_ARG,\n listingLimit,\n readEachAccount,\n withAccountColumn,\n} from \"./shared.ts\";\n\n/** A Custom Conversion as the backend returns it, rule already read back as a phrase. */\nexport interface MetaCustomConversion {\n id: string;\n name?: string;\n description?: string;\n custom_event_type?: string;\n event_source_type?: string;\n pixel?: { id?: string; name?: string };\n rule?: string;\n rule_summary?: string;\n default_conversion_value?: number;\n retention_days?: number;\n is_archived?: boolean;\n is_unavailable?: boolean;\n creation_time?: string;\n first_fired_time?: string;\n last_fired_time?: string;\n}\n\n/** What the caller needs to pick one. The raw rule and the timestamps sit behind --full. */\ninterface CompactCustomConversion {\n id: string;\n name?: string;\n custom_event_type?: string;\n counts?: string;\n pixel_id?: string;\n last_fired_time?: string;\n archived?: true;\n unavailable?: true;\n}\n\nexport function compactCustomConversion(row: MetaCustomConversion): CompactCustomConversion {\n return {\n id: row.id,\n name: row.name,\n custom_event_type: row.custom_event_type,\n counts: row.rule_summary,\n pixel_id: row.pixel?.id,\n last_fired_time: row.last_fired_time,\n ...(row.is_archived ? { archived: true as const } : {}),\n ...(row.is_unavailable ? { unavailable: true as const } : {}),\n };\n}\n\n/**\n * What to say about a listing, once.\n *\n * A conversion that has never fired is the one thing that reads as \"broken\" and\n * usually is not — Meta creates it counting nothing until the rule matches a\n * real event — while pointing an ad set at one is a real decision with a real\n * cost, because Meta cannot optimize toward an event it has never seen. Saying\n * so here is cheaper than the chat where it gets discovered after a week of\n * delivery.\n */\nexport function customConversionHints(rows: MetaCustomConversion[]): string[] {\n if (rows.length === 0) {\n return [\n \"This account has no custom conversions. Optimize toward a standard pixel event instead (`--pixel-id` + `--custom-event-type`), or stage one: `baker ads meta custom-conversions create --name … --pixel-id … --custom-event-type LEAD --url-contains /thank-you`.\",\n ];\n }\n const hints: string[] = [\n \"To optimize an ad set toward one: `baker ads meta adsets create … --optimization-goal OFFSITE_CONVERSIONS --custom-conversion-id <id>`. Baker fills the pixel and the event category from the conversion — do not also pass --pixel-id or --custom-event-type.\",\n ];\n const neverFired = rows.filter((row) => !row.is_archived && !row.last_fired_time);\n if (neverFired.length > 0) {\n hints.push(\n `${neverFired.length === 1 ? \"This conversion has\" : `${neverFired.length} of these have`} never fired (${neverFired\n .map((row) => row.name ?? row.id)\n .join(\n \", \",\n )}). Meta cannot optimize toward an event it has never seen, so an ad set pointed at one delivers without learning — check the rule matches a page the site actually serves before spending on it.`,\n );\n }\n return hints;\n}\n\nregisterSchema({\n command: \"ads.meta.custom-conversions\",\n description:\n \"List the Custom Conversions defined on a Meta ad account — the measurement objects a marketer sets up in Events Manager (a pixel event narrowed by a rule, e.g. 'PageView on /thank-you'). Start here whenever the user talks about their own conversions rather than a standard event: an ad set optimizes toward one with `adsets create --custom-conversion-id <id>`. With no --account-id and several accounts connected, every account is read and each row leads with its account_id.\",\n args: {\n \"account-id\": { ...LISTING_ACCOUNT_ARG, required: false },\n full: { type: \"boolean\", description: \"Include the raw rule JSON, retention and creation times\", required: false },\n limit: { type: \"string\", description: \"Max rows\", required: false },\n \"no-cache\": { type: \"boolean\", description: \"Bypass the cache\", required: false },\n output: { type: \"string\", description: \"json|csv\", required: false, default: \"json\" },\n },\n});\n\nconst listArgs = {\n \"account-id\": LISTING_ACCOUNT_ARG,\n full: { type: \"boolean\", description: \"Include the raw rule JSON, retention and creation times\" },\n limit: { type: \"string\", description: \"Max rows\" },\n \"no-cache\": NO_CACHE_ARG,\n output: { type: \"string\", description: \"Output format: json|csv|jsonl|md\", default: \"json\" },\n} as const;\n\nconst listCommand = defineCommand({\n meta: {\n name: \"list\",\n description:\n \"List custom conversions. Runs by default when no subcommand is given. Example: baker ads meta custom-conversions --account-id act_123\",\n },\n args: listArgs,\n run: async ({ args }) => {\n const accounts = await accountsInScope(args);\n try {\n const params: Record<string, string> = {};\n if (args.limit) params.limit = args.limit as string;\n if (args[\"no-cache\"]) params[\"skip-cache\"] = \"true\";\n const read = await readEachAccount(\n accounts,\n (accountId) =>\n apiGet<MetaCustomConversion[]>(\"/api/ads/meta/custom-conversions\", { ...params, \"account-id\": accountId }),\n { limit: listingLimit(args, 200) },\n );\n const rows = read.rows;\n const data: Array<Record<string, unknown>> = withAccountColumn(\n args.full ? rows.map((row) => ({ ...row })) : rows.map((row) => ({ ...compactCustomConversion(row) })),\n read.accountOf,\n );\n const fmt = csvOrJson(args);\n if (fmt !== \"json\") {\n writeAdsOutput(data, fmt, undefined, read.hints);\n return;\n }\n writeJsonEnvelope({ ok: true, data, hints: [...read.hints, ...customConversionHints(rows)] });\n } catch (err) {\n handleMetaError(err);\n }\n },\n});\n\nexport const customConversionsCommand = defineCommand({\n meta: {\n name: \"custom-conversions\",\n description: `List the Custom Conversions on an ad account, or stage a new one — a pixel event narrowed by a rule, set up in Events Manager.\nUse this whenever the user says \"my conversions\" rather than naming a standard event: the id here is what an ad set optimizes toward.\n\nExamples:\n baker ads meta custom-conversions --account-id act_123\n baker ads meta custom-conversions --account-id act_123 --full # raw rule JSON\n baker ads meta custom-conversions create --name \"Lead formulario\" --pixel-id 9988 --custom-event-type LEAD --url-contains \"/gracias\"`,\n },\n subCommands: {\n list: listCommand,\n create: () => import(\"./write-commands.ts\").then((m) => m.customConversionsCreateCommand),\n update: () => import(\"./asset-writes.ts\").then((m) => m.customConversionsUpdateCommand),\n delete: () => import(\"./asset-writes.ts\").then((m) => m.customConversionsDeleteCommand),\n },\n // `args` stays even though the parent has no `run`: citty scans rawArgs for\n // the subcommand name using THIS command's arg defs. `default` (not `run`)\n // dispatches the bare invocation.\n args: listArgs,\n default: \"list\",\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AA8CvB,SAAS,wBAAwB,KAAoD;AAC1F,SAAO;AAAA,IACL,IAAI,IAAI;AAAA,IACR,MAAM,IAAI;AAAA,IACV,mBAAmB,IAAI;AAAA,IACvB,QAAQ,IAAI;AAAA,IACZ,UAAU,IAAI,OAAO;AAAA,IACrB,iBAAiB,IAAI;AAAA,IACrB,GAAI,IAAI,cAAc,EAAE,UAAU,KAAc,IAAI,CAAC;AAAA,IACrD,GAAI,IAAI,iBAAiB,EAAE,aAAa,KAAc,IAAI,CAAC;AAAA,EAC7D;AACF;AAYO,SAAS,sBAAsB,MAAwC;AAC5E,MAAI,KAAK,WAAW,GAAG;AACrB,WAAO;AAAA,MACL;AAAA,IACF;AAAA,EACF;AACA,QAAM,QAAkB;AAAA,IACtB;AAAA,EACF;AACA,QAAM,aAAa,KAAK,OAAO,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC,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3S.js";
|
|
4
4
|
import {
|
|
5
5
|
draftRefs,
|
|
6
6
|
removeDraftRefs
|
|
@@ -346,4 +346,4 @@ var metaDraftCommand = defineCommand({
|
|
|
346
346
|
export {
|
|
347
347
|
metaDraftCommand
|
|
348
348
|
};
|
|
349
|
-
//# sourceMappingURL=draft-
|
|
349
|
+
//# sourceMappingURL=draft-OMGA2NYG.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getDateRange,
|
|
9
9
|
handleMetaError,
|
|
10
10
|
todayIso
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YF57BX3S.js";
|
|
12
12
|
import {
|
|
13
13
|
campaignsAnswered,
|
|
14
14
|
metaBreakdownSyncedHint,
|
|
@@ -1224,4 +1224,4 @@ export {
|
|
|
1224
1224
|
insightsCommand,
|
|
1225
1225
|
wantsAsync
|
|
1226
1226
|
};
|
|
1227
|
-
//# sourceMappingURL=insights-
|
|
1227
|
+
//# sourceMappingURL=insights-3SQWIU4E.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
mergePayload,
|
|
7
7
|
requireTarget,
|
|
8
8
|
stageOp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2WHALQOJ.js";
|
|
10
10
|
import "./chunk-3R62EYYX.js";
|
|
11
11
|
import "./chunk-GDFJOCDO.js";
|
|
12
12
|
import {
|
|
13
13
|
csvOrJson,
|
|
14
14
|
handleMetaError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YF57BX3S.js";
|
|
16
16
|
import "./chunk-XD7C5OE7.js";
|
|
17
17
|
import "./chunk-UKENQSZ2.js";
|
|
18
18
|
import "./chunk-D5FY4FAK.js";
|
|
@@ -265,4 +265,4 @@ export {
|
|
|
265
265
|
instantExperiencesCreateCommand,
|
|
266
266
|
instantExperiencesUpdateCommand
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=instant-experiences-
|
|
268
|
+
//# sourceMappingURL=instant-experiences-HSRGMQ5T.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
requireTarget,
|
|
9
9
|
stageOp,
|
|
10
10
|
upper
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2WHALQOJ.js";
|
|
12
12
|
import {
|
|
13
13
|
isMetaLeadAdsRefusal
|
|
14
14
|
} from "./chunk-3R62EYYX.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-GDFJOCDO.js";
|
|
|
16
16
|
import {
|
|
17
17
|
csvOrJson,
|
|
18
18
|
handleMetaError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YF57BX3S.js";
|
|
20
20
|
import {
|
|
21
21
|
withWindowSpellings
|
|
22
22
|
} from "./chunk-74QGFUZL.js";
|
|
@@ -572,4 +572,4 @@ export {
|
|
|
572
572
|
leadPageHints,
|
|
573
573
|
leadsCommand
|
|
574
574
|
};
|
|
575
|
-
//# sourceMappingURL=leads-
|
|
575
|
+
//# sourceMappingURL=leads-LWWPMZRY.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
|