@koda-sl/baker-cli 0.501.0 → 0.502.0
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 +6 -0
- package/dist/{account-assets-GAKJQB6R.js → account-assets-LSXSW4RQ.js} +6 -6
- package/dist/{account-level-CAVVN4ZN.js → account-level-6T2WAPF3.js} +4 -4
- package/dist/{activities-CTGCJHLC.js → activities-LKLPORDI.js} +2 -2
- package/dist/{ads-HH5YTV4O.js → ads-CE3WX7VO.js} +2 -2
- package/dist/{ads-WU4ITH6J.js → ads-K2TIHZFC.js} +11 -11
- package/dist/{adsets-MMPN2SKX.js → adsets-MTB4LNE3.js} +15 -11
- package/dist/adsets-MTB4LNE3.js.map +1 -0
- package/dist/{asset-writes-IE3HUPWM.js → asset-writes-6QPHEAKF.js} +4 -4
- package/dist/{audience-writes-VXQTCSHH.js → audience-writes-3PSC7LRY.js} +4 -4
- package/dist/{audiences-75WHI3A3.js → audiences-UZ2V66OY.js} +6 -6
- package/dist/{campaigns-WHMJUFYV.js → campaigns-XSAJ3XSB.js} +13 -11
- package/dist/campaigns-XSAJ3XSB.js.map +1 -0
- package/dist/{catalogs-ORSZM5SY.js → catalogs-AIRFPJAJ.js} +3 -3
- package/dist/{chunk-GCLKAQUS.js → chunk-5YFQPJVS.js} +2 -2
- package/dist/{chunk-YIN6QNZD.js → chunk-6R2BU3FJ.js} +2 -2
- package/dist/{chunk-PRVX32SQ.js → chunk-HH7B2L3Z.js} +2 -2
- package/dist/{chunk-C4LZIBNP.js → chunk-KUY26RCF.js} +10 -1
- package/dist/{chunk-C4LZIBNP.js.map → chunk-KUY26RCF.js.map} +1 -1
- package/dist/{chunk-YGCRKABE.js → chunk-SHLA4JF7.js} +2 -2
- package/dist/{chunk-5B2WEPYR.js → chunk-SQCALAI7.js} +6 -3
- package/dist/chunk-SQCALAI7.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{copy-writes-OVCOZODC.js → copy-writes-2XW7VCDE.js} +4 -4
- package/dist/{creatives-RF3AG7HW.js → creatives-DPS46JXU.js} +4 -4
- package/dist/{custom-conversions-QFGIAISN.js → custom-conversions-E5RMKIPB.js} +4 -4
- package/dist/{insights-GISXHHOI.js → insights-7V3HWXS6.js} +2 -2
- package/dist/{instant-experiences-Y53I7FT4.js → instant-experiences-47IACDUJ.js} +3 -3
- package/dist/{leads-GF24GM54.js → leads-OYRLKTS6.js} +3 -3
- package/dist/{media-RTXIJEHY.js → media-2AKV75J4.js} +3 -3
- package/dist/{meta-AHI2HVBM.js → meta-CUWDMZQH.js} +32 -32
- package/dist/{page-photos-UUZRIJ4U.js → page-photos-BY7HNDX2.js} +3 -3
- package/dist/{preview-BM3NBH53.js → preview-SIKDCR27.js} +2 -2
- package/dist/{rule-writes-5FFQKSOE.js → rule-writes-BVHLNJLE.js} +4 -4
- package/dist/{rules-3FKLSJ5R.js → rules-R47FOFVB.js} +7 -7
- package/dist/{studies-ULLCWJSM.js → studies-ZYGAQVMK.js} +5 -5
- package/dist/{study-writes-ZAASDTGZ.js → study-writes-APXFR4OK.js} +3 -3
- package/dist/{targeting-TKV7XGRQ.js → targeting-EMKTVFJ2.js} +3 -3
- package/dist/{write-commands-S7AX24WF.js → write-commands-2L7T43YO.js} +21 -8
- package/dist/write-commands-2L7T43YO.js.map +1 -0
- package/package.json +1 -1
- package/dist/adsets-MMPN2SKX.js.map +0 -1
- package/dist/campaigns-WHMJUFYV.js.map +0 -1
- package/dist/chunk-5B2WEPYR.js.map +0 -1
- package/dist/write-commands-S7AX24WF.js.map +0 -1
- /package/dist/{account-assets-GAKJQB6R.js.map → account-assets-LSXSW4RQ.js.map} +0 -0
- /package/dist/{account-level-CAVVN4ZN.js.map → account-level-6T2WAPF3.js.map} +0 -0
- /package/dist/{activities-CTGCJHLC.js.map → activities-LKLPORDI.js.map} +0 -0
- /package/dist/{ads-HH5YTV4O.js.map → ads-CE3WX7VO.js.map} +0 -0
- /package/dist/{ads-WU4ITH6J.js.map → ads-K2TIHZFC.js.map} +0 -0
- /package/dist/{asset-writes-IE3HUPWM.js.map → asset-writes-6QPHEAKF.js.map} +0 -0
- /package/dist/{audience-writes-VXQTCSHH.js.map → audience-writes-3PSC7LRY.js.map} +0 -0
- /package/dist/{audiences-75WHI3A3.js.map → audiences-UZ2V66OY.js.map} +0 -0
- /package/dist/{catalogs-ORSZM5SY.js.map → catalogs-AIRFPJAJ.js.map} +0 -0
- /package/dist/{chunk-GCLKAQUS.js.map → chunk-5YFQPJVS.js.map} +0 -0
- /package/dist/{chunk-YIN6QNZD.js.map → chunk-6R2BU3FJ.js.map} +0 -0
- /package/dist/{chunk-PRVX32SQ.js.map → chunk-HH7B2L3Z.js.map} +0 -0
- /package/dist/{chunk-YGCRKABE.js.map → chunk-SHLA4JF7.js.map} +0 -0
- /package/dist/{copy-writes-OVCOZODC.js.map → copy-writes-2XW7VCDE.js.map} +0 -0
- /package/dist/{creatives-RF3AG7HW.js.map → creatives-DPS46JXU.js.map} +0 -0
- /package/dist/{custom-conversions-QFGIAISN.js.map → custom-conversions-E5RMKIPB.js.map} +0 -0
- /package/dist/{insights-GISXHHOI.js.map → insights-7V3HWXS6.js.map} +0 -0
- /package/dist/{instant-experiences-Y53I7FT4.js.map → instant-experiences-47IACDUJ.js.map} +0 -0
- /package/dist/{leads-GF24GM54.js.map → leads-OYRLKTS6.js.map} +0 -0
- /package/dist/{media-RTXIJEHY.js.map → media-2AKV75J4.js.map} +0 -0
- /package/dist/{meta-AHI2HVBM.js.map → meta-CUWDMZQH.js.map} +0 -0
- /package/dist/{page-photos-UUZRIJ4U.js.map → page-photos-BY7HNDX2.js.map} +0 -0
- /package/dist/{preview-BM3NBH53.js.map → preview-SIKDCR27.js.map} +0 -0
- /package/dist/{rule-writes-5FFQKSOE.js.map → rule-writes-BVHLNJLE.js.map} +0 -0
- /package/dist/{rules-3FKLSJ5R.js.map → rules-R47FOFVB.js.map} +0 -0
- /package/dist/{studies-ULLCWJSM.js.map → studies-ZYGAQVMK.js.map} +0 -0
- /package/dist/{study-writes-ZAASDTGZ.js.map → study-writes-APXFR4OK.js.map} +0 -0
- /package/dist/{targeting-TKV7XGRQ.js.map → targeting-EMKTVFJ2.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -117,7 +117,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
|
|
|
117
117
|
capabilities: () => import("./capabilities-HMT6ZBPH.js").then((m) => m.capabilitiesCommand),
|
|
118
118
|
actions: () => import("./actions-PF62UVHS.js").then((m) => m.actionsCommand),
|
|
119
119
|
"scheduled-agents": () => import("./scheduled-agents-4WCPCMYC.js").then((m) => m.scheduledAgentsCommand),
|
|
120
|
-
ads: () => import("./ads-
|
|
120
|
+
ads: () => import("./ads-CE3WX7VO.js").then((m) => m.adsCommand),
|
|
121
121
|
brand: () => import("./brand-JJDZKJSM.js").then((m) => m.brandCommand),
|
|
122
122
|
analytics: () => import("./analytics-BBX6CU3S.js").then((m) => m.analyticsCommand),
|
|
123
123
|
experiment: () => import("./experiment-I5CRLOVN.js").then((m) => m.experimentCommand),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
command
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HH7B2L3Z.js";
|
|
4
4
|
import {
|
|
5
5
|
bareAccountId,
|
|
6
6
|
failWriteValidation,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
requireTarget,
|
|
9
9
|
stageOp,
|
|
10
10
|
upper
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
12
|
+
import "./chunk-SQCALAI7.js";
|
|
13
13
|
import "./chunk-GDFJOCDO.js";
|
|
14
14
|
import "./chunk-B2POVFR2.js";
|
|
15
15
|
import "./chunk-ERSX3MKH.js";
|
|
@@ -165,4 +165,4 @@ export {
|
|
|
165
165
|
campaignsCopyCommand,
|
|
166
166
|
copyPayloadFromFlags
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=copy-writes-
|
|
168
|
+
//# sourceMappingURL=copy-writes-2XW7VCDE.js.map
|
|
@@ -72,9 +72,9 @@ Examples:
|
|
|
72
72
|
},
|
|
73
73
|
subCommands: {
|
|
74
74
|
list: listCommand,
|
|
75
|
-
create: () => import("./write-commands-
|
|
76
|
-
update: () => import("./write-commands-
|
|
77
|
-
delete: () => import("./asset-writes-
|
|
75
|
+
create: () => import("./write-commands-2L7T43YO.js").then((m) => m.adCreativesCreateCommand),
|
|
76
|
+
update: () => import("./write-commands-2L7T43YO.js").then((m) => m.adCreativesUpdateCommand),
|
|
77
|
+
delete: () => import("./asset-writes-6QPHEAKF.js").then((m) => m.creativesDeleteCommand)
|
|
78
78
|
},
|
|
79
79
|
// `args` stays even though the parent has no `run`: citty scans rawArgs for the
|
|
80
80
|
// subcommand name using THIS command's arg defs, so without them `--account-id act_1`
|
|
@@ -86,4 +86,4 @@ Examples:
|
|
|
86
86
|
export {
|
|
87
87
|
creativesCommand
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=creatives-
|
|
89
|
+
//# sourceMappingURL=creatives-DPS46JXU.js.map
|
|
@@ -110,9 +110,9 @@ Examples:
|
|
|
110
110
|
},
|
|
111
111
|
subCommands: {
|
|
112
112
|
list: listCommand,
|
|
113
|
-
create: () => import("./write-commands-
|
|
114
|
-
update: () => import("./asset-writes-
|
|
115
|
-
delete: () => import("./asset-writes-
|
|
113
|
+
create: () => import("./write-commands-2L7T43YO.js").then((m) => m.customConversionsCreateCommand),
|
|
114
|
+
update: () => import("./asset-writes-6QPHEAKF.js").then((m) => m.customConversionsUpdateCommand),
|
|
115
|
+
delete: () => import("./asset-writes-6QPHEAKF.js").then((m) => m.customConversionsDeleteCommand)
|
|
116
116
|
},
|
|
117
117
|
// `args` stays even though the parent has no `run`: citty scans rawArgs for
|
|
118
118
|
// the subcommand name using THIS command's arg defs. `default` (not `run`)
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
customConversionHints,
|
|
126
126
|
customConversionsCommand
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=custom-conversions-
|
|
128
|
+
//# sourceMappingURL=custom-conversions-E5RMKIPB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
placementFormatNote,
|
|
3
3
|
previewFormatForPosition
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SQCALAI7.js";
|
|
5
5
|
import "./chunk-GDFJOCDO.js";
|
|
6
6
|
import {
|
|
7
7
|
csvOrJson,
|
|
@@ -434,4 +434,4 @@ export {
|
|
|
434
434
|
insightsCommand,
|
|
435
435
|
wantsAsync
|
|
436
436
|
};
|
|
437
|
-
//# sourceMappingURL=insights-
|
|
437
|
+
//# sourceMappingURL=insights-7V3HWXS6.js.map
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
mergePayload,
|
|
6
6
|
requireTarget,
|
|
7
7
|
stageOp
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
9
|
+
import "./chunk-SQCALAI7.js";
|
|
10
10
|
import "./chunk-GDFJOCDO.js";
|
|
11
11
|
import {
|
|
12
12
|
csvOrJson,
|
|
@@ -255,4 +255,4 @@ export {
|
|
|
255
255
|
instantExperiencesCreateCommand,
|
|
256
256
|
instantExperiencesUpdateCommand
|
|
257
257
|
};
|
|
258
|
-
//# sourceMappingURL=instant-experiences-
|
|
258
|
+
//# sourceMappingURL=instant-experiences-47IACDUJ.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
requireTarget,
|
|
7
7
|
stageOp,
|
|
8
8
|
upper
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
10
10
|
import {
|
|
11
11
|
isMetaLeadAdsRefusal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SQCALAI7.js";
|
|
13
13
|
import "./chunk-GDFJOCDO.js";
|
|
14
14
|
import {
|
|
15
15
|
csvOrJson,
|
|
@@ -535,4 +535,4 @@ export {
|
|
|
535
535
|
leadPageHints,
|
|
536
536
|
leadsCommand
|
|
537
537
|
};
|
|
538
|
-
//# sourceMappingURL=leads-
|
|
538
|
+
//# sourceMappingURL=leads-OYRLKTS6.js.map
|
|
@@ -8,11 +8,11 @@ var metaMediaCommand = defineCommand({
|
|
|
8
8
|
description: "Stage Baker library media uploads to Meta so creatives can reference them (upload), or take an image out of the account's image library (delete --image-hash). Upload publishes an ad-image hash or video id a creative binds via --image-ref/--video-ref."
|
|
9
9
|
},
|
|
10
10
|
subCommands: {
|
|
11
|
-
upload: () => import("./write-commands-
|
|
12
|
-
delete: () => import("./asset-writes-
|
|
11
|
+
upload: () => import("./write-commands-2L7T43YO.js").then((m) => m.mediaUploadCommand),
|
|
12
|
+
delete: () => import("./asset-writes-6QPHEAKF.js").then((m) => m.mediaDeleteCommand)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
16
16
|
metaMediaCommand
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=media-
|
|
18
|
+
//# sourceMappingURL=media-2AKV75J4.js.map
|
|
@@ -81,42 +81,42 @@ Full guide: __tooling__/docs/tools/baker/ads-meta.md`
|
|
|
81
81
|
account: () => import("./account-ZY655BIU.js").then((m) => m.accountCommand),
|
|
82
82
|
businesses: () => import("./businesses-MGP2YCEU.js").then((m) => m.businessesCommand),
|
|
83
83
|
pages: () => import("./pages-J6AF5NDU.js").then((m) => m.pagesCommand),
|
|
84
|
-
"lead-forms": () => import("./leads-
|
|
85
|
-
"instant-experiences": () => import("./instant-experiences-
|
|
86
|
-
leads: () => import("./leads-
|
|
87
|
-
campaigns: () => import("./campaigns-
|
|
88
|
-
adsets: () => import("./adsets-
|
|
89
|
-
ads: () => import("./ads-
|
|
90
|
-
creatives: () => import("./creatives-
|
|
91
|
-
audiences: () => import("./audiences-
|
|
92
|
-
"custom-conversions": () => import("./custom-conversions-
|
|
84
|
+
"lead-forms": () => import("./leads-OYRLKTS6.js").then((m) => m.leadFormsCommand),
|
|
85
|
+
"instant-experiences": () => import("./instant-experiences-47IACDUJ.js").then((m) => m.instantExperiencesCommand),
|
|
86
|
+
leads: () => import("./leads-OYRLKTS6.js").then((m) => m.leadsCommand),
|
|
87
|
+
campaigns: () => import("./campaigns-XSAJ3XSB.js").then((m) => m.campaignsCommand),
|
|
88
|
+
adsets: () => import("./adsets-MTB4LNE3.js").then((m) => m.adsetsCommand),
|
|
89
|
+
ads: () => import("./ads-K2TIHZFC.js").then((m) => m.adsListCommand),
|
|
90
|
+
creatives: () => import("./creatives-DPS46JXU.js").then((m) => m.creativesCommand),
|
|
91
|
+
audiences: () => import("./audiences-UZ2V66OY.js").then((m) => m.audiencesCommand),
|
|
92
|
+
"custom-conversions": () => import("./custom-conversions-E5RMKIPB.js").then((m) => m.customConversionsCommand),
|
|
93
93
|
pixels: () => import("./pixels-ZZTB6NWF.js").then((m) => m.pixelsCommand),
|
|
94
|
-
activities: () => import("./activities-
|
|
95
|
-
insights: () => import("./insights-
|
|
96
|
-
preview: () => import("./preview-
|
|
97
|
-
targeting: () => import("./targeting-
|
|
98
|
-
"instagram-accounts": () => import("./account-assets-
|
|
99
|
-
apps: () => import("./account-assets-
|
|
100
|
-
"dsa-recommendations": () => import("./account-assets-
|
|
101
|
-
images: () => import("./account-assets-
|
|
102
|
-
labels: () => import("./account-assets-
|
|
103
|
-
studies: () => import("./studies-
|
|
104
|
-
catalogs: () => import("./catalogs-
|
|
105
|
-
"page-photos": () => import("./page-photos-
|
|
106
|
-
"page-posts": () => import("./account-level-
|
|
107
|
-
"instagram-media": () => import("./account-level-
|
|
108
|
-
comments: () => import("./account-level-
|
|
109
|
-
"account-settings": () => import("./account-level-
|
|
110
|
-
"account-details": () => import("./account-level-
|
|
111
|
-
"block-lists": () => import("./account-level-
|
|
112
|
-
"reach-frequency": () => import("./account-level-
|
|
113
|
-
"high-demand-periods": () => import("./account-assets-
|
|
114
|
-
rules: () => import("./rules-
|
|
115
|
-
media: () => import("./media-
|
|
94
|
+
activities: () => import("./activities-LKLPORDI.js").then((m) => m.activitiesCommand),
|
|
95
|
+
insights: () => import("./insights-7V3HWXS6.js").then((m) => m.insightsCommand),
|
|
96
|
+
preview: () => import("./preview-SIKDCR27.js").then((m) => m.previewCommand),
|
|
97
|
+
targeting: () => import("./targeting-EMKTVFJ2.js").then((m) => m.targetingCommand),
|
|
98
|
+
"instagram-accounts": () => import("./account-assets-LSXSW4RQ.js").then((m) => m.instagramAccountsCommand),
|
|
99
|
+
apps: () => import("./account-assets-LSXSW4RQ.js").then((m) => m.appsCommand),
|
|
100
|
+
"dsa-recommendations": () => import("./account-assets-LSXSW4RQ.js").then((m) => m.dsaRecommendationsCommand),
|
|
101
|
+
images: () => import("./account-assets-LSXSW4RQ.js").then((m) => m.imagesCommand),
|
|
102
|
+
labels: () => import("./account-assets-LSXSW4RQ.js").then((m) => m.labelsCommand),
|
|
103
|
+
studies: () => import("./studies-ZYGAQVMK.js").then((m) => m.studiesCommand),
|
|
104
|
+
catalogs: () => import("./catalogs-AIRFPJAJ.js").then((m) => m.catalogsCommand),
|
|
105
|
+
"page-photos": () => import("./page-photos-BY7HNDX2.js").then((m) => m.pagePhotosCommand),
|
|
106
|
+
"page-posts": () => import("./account-level-6T2WAPF3.js").then((m) => m.pagePostsCommand),
|
|
107
|
+
"instagram-media": () => import("./account-level-6T2WAPF3.js").then((m) => m.instagramMediaCommand),
|
|
108
|
+
comments: () => import("./account-level-6T2WAPF3.js").then((m) => m.commentsCommand),
|
|
109
|
+
"account-settings": () => import("./account-level-6T2WAPF3.js").then((m) => m.accountSettingsCommand),
|
|
110
|
+
"account-details": () => import("./account-level-6T2WAPF3.js").then((m) => m.accountDetailsCommand),
|
|
111
|
+
"block-lists": () => import("./account-level-6T2WAPF3.js").then((m) => m.blockListsCommand),
|
|
112
|
+
"reach-frequency": () => import("./account-level-6T2WAPF3.js").then((m) => m.reachFrequencyCommand),
|
|
113
|
+
"high-demand-periods": () => import("./account-assets-LSXSW4RQ.js").then((m) => m.highDemandPeriodsCommand),
|
|
114
|
+
rules: () => import("./rules-R47FOFVB.js").then((m) => m.rulesCommand),
|
|
115
|
+
media: () => import("./media-2AKV75J4.js").then((m) => m.metaMediaCommand),
|
|
116
116
|
draft: () => import("./draft-RIR2V6A2.js").then((m) => m.metaDraftCommand)
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
export {
|
|
120
120
|
metaCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=meta-
|
|
122
|
+
//# sourceMappingURL=meta-CUWDMZQH.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
failWriteValidation,
|
|
4
4
|
requireTarget,
|
|
5
5
|
stageOp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
7
|
+
import "./chunk-SQCALAI7.js";
|
|
8
8
|
import "./chunk-GDFJOCDO.js";
|
|
9
9
|
import "./chunk-B2POVFR2.js";
|
|
10
10
|
import "./chunk-ERSX3MKH.js";
|
|
@@ -113,4 +113,4 @@ var pagePhotosCommand = defineCommand({
|
|
|
113
113
|
export {
|
|
114
114
|
pagePhotosCommand
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=page-photos-
|
|
116
|
+
//# sourceMappingURL=page-photos-BY7HNDX2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
INSTAGRAM_PREVIEW_FORMATS,
|
|
4
4
|
PLATFORM_SCOPED_POSITIONS,
|
|
5
5
|
previewFormatForPosition
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SQCALAI7.js";
|
|
7
7
|
import "./chunk-GDFJOCDO.js";
|
|
8
8
|
import {
|
|
9
9
|
handleMetaError
|
|
@@ -213,4 +213,4 @@ Examples:
|
|
|
213
213
|
export {
|
|
214
214
|
previewCommand
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=preview-
|
|
216
|
+
//# sourceMappingURL=preview-SIKDCR27.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decimalMarkShown
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SHLA4JF7.js";
|
|
4
4
|
import {
|
|
5
5
|
bareAccountId,
|
|
6
6
|
failWriteValidation,
|
|
7
7
|
requireTarget,
|
|
8
8
|
stageOp
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
10
|
+
import "./chunk-SQCALAI7.js";
|
|
11
11
|
import "./chunk-GDFJOCDO.js";
|
|
12
12
|
import "./chunk-B2POVFR2.js";
|
|
13
13
|
import {
|
|
@@ -520,4 +520,4 @@ export {
|
|
|
520
520
|
rulesRunCommand,
|
|
521
521
|
rulesUpdateCommand
|
|
522
522
|
};
|
|
523
|
-
//# sourceMappingURL=rule-writes-
|
|
523
|
+
//# sourceMappingURL=rule-writes-BVHLNJLE.js.map
|
|
@@ -194,12 +194,12 @@ Examples:
|
|
|
194
194
|
list: listCommand,
|
|
195
195
|
history: historyCommand,
|
|
196
196
|
preview: previewCommand,
|
|
197
|
-
create: () => import("./rule-writes-
|
|
198
|
-
update: () => import("./rule-writes-
|
|
199
|
-
enable: () => import("./rule-writes-
|
|
200
|
-
disable: () => import("./rule-writes-
|
|
201
|
-
delete: () => import("./rule-writes-
|
|
202
|
-
run: () => import("./rule-writes-
|
|
197
|
+
create: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesCreateCommand),
|
|
198
|
+
update: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesUpdateCommand),
|
|
199
|
+
enable: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesEnableCommand),
|
|
200
|
+
disable: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesDisableCommand),
|
|
201
|
+
delete: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesDeleteCommand),
|
|
202
|
+
run: () => import("./rule-writes-BVHLNJLE.js").then((m) => m.rulesRunCommand)
|
|
203
203
|
},
|
|
204
204
|
args: {
|
|
205
205
|
"account-id": { type: "string", description: "Meta ad account ID" },
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
ruleListHints,
|
|
215
215
|
rulesCommand
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=rules-
|
|
217
|
+
//# sourceMappingURL=rules-R47FOFVB.js.map
|
|
@@ -232,10 +232,10 @@ Examples:
|
|
|
232
232
|
},
|
|
233
233
|
subCommands: {
|
|
234
234
|
list: listCommand,
|
|
235
|
-
create: () => import("./study-writes-
|
|
236
|
-
update: () => import("./study-writes-
|
|
237
|
-
end: () => import("./study-writes-
|
|
238
|
-
delete: () => import("./study-writes-
|
|
235
|
+
create: () => import("./study-writes-APXFR4OK.js").then((m) => m.studiesCreateCommand),
|
|
236
|
+
update: () => import("./study-writes-APXFR4OK.js").then((m) => m.studiesUpdateCommand),
|
|
237
|
+
end: () => import("./study-writes-APXFR4OK.js").then((m) => m.studiesEndCommand),
|
|
238
|
+
delete: () => import("./study-writes-APXFR4OK.js").then((m) => m.studiesDeleteCommand)
|
|
239
239
|
},
|
|
240
240
|
args: listArgs,
|
|
241
241
|
default: "list"
|
|
@@ -247,4 +247,4 @@ export {
|
|
|
247
247
|
studyHints,
|
|
248
248
|
studyState
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=studies-
|
|
250
|
+
//# sourceMappingURL=studies-ZYGAQVMK.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
loadJsonFileArg,
|
|
5
5
|
requireTarget,
|
|
6
6
|
stageOp
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
8
|
+
import "./chunk-SQCALAI7.js";
|
|
9
9
|
import "./chunk-GDFJOCDO.js";
|
|
10
10
|
import "./chunk-B2POVFR2.js";
|
|
11
11
|
import {
|
|
@@ -465,4 +465,4 @@ export {
|
|
|
465
465
|
studiesUpdateCommand,
|
|
466
466
|
studyFlagsFromArgs
|
|
467
467
|
};
|
|
468
|
-
//# sourceMappingURL=study-writes-
|
|
468
|
+
//# sourceMappingURL=study-writes-APXFR4OK.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadJsonFileArg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
4
4
|
import {
|
|
5
5
|
metaTargetingSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SQCALAI7.js";
|
|
7
7
|
import "./chunk-GDFJOCDO.js";
|
|
8
8
|
import {
|
|
9
9
|
csvOrJson,
|
|
@@ -757,4 +757,4 @@ Start here before writing interests, behaviors, places or languages into an ad s
|
|
|
757
757
|
export {
|
|
758
758
|
targetingCommand
|
|
759
759
|
};
|
|
760
|
-
//# sourceMappingURL=targeting-
|
|
760
|
+
//# sourceMappingURL=targeting-EMKTVFJ2.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
budgetBoostsFromFlags,
|
|
8
8
|
clearArg,
|
|
9
9
|
clearFromFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5YFQPJVS.js";
|
|
11
11
|
import {
|
|
12
12
|
bareAccountId,
|
|
13
13
|
failWriteValidation,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
stageOp,
|
|
24
24
|
stageStatusChange,
|
|
25
25
|
upper
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6R2BU3FJ.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCustomConversionRule
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SQCALAI7.js";
|
|
30
30
|
import {
|
|
31
31
|
VISUAL_ENHANCEMENT_FEATURES
|
|
32
32
|
} from "./chunk-GDFJOCDO.js";
|
|
@@ -195,6 +195,15 @@ Black Friday boost: baker ads meta campaigns create --name "BF" --objective OUTC
|
|
|
195
195
|
await stageOp({ kind: "campaign.create", accountId, payload });
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
|
+
var confirmBudgetIncreaseArg = {
|
|
199
|
+
"confirm-budget-increase": {
|
|
200
|
+
type: "boolean",
|
|
201
|
+
description: "Stage a budget more than 3x what it is now. Only after checking the amount with the person: budget flags are in the account currency, not cents (--daily-budget 100 = 100 EUR)"
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
function confirmBudgetIncrease(args) {
|
|
205
|
+
return args["confirm-budget-increase"] === true ? { confirmBudgetIncrease: true } : {};
|
|
206
|
+
}
|
|
198
207
|
var campaignsUpdateCommand = defineCommand({
|
|
199
208
|
meta: {
|
|
200
209
|
name: "update",
|
|
@@ -211,6 +220,7 @@ A boost is ADDED to the ones the campaign has (Meta keeps them, even overlapping
|
|
|
211
220
|
...campaignBudgetArgs,
|
|
212
221
|
clear: { type: "string", description: "boosts \u2014 take away every budget boost the campaign has now" },
|
|
213
222
|
...boostEditArgs,
|
|
223
|
+
...confirmBudgetIncreaseArg,
|
|
214
224
|
file: { type: "string", description: "JSON file with fields to change" }
|
|
215
225
|
},
|
|
216
226
|
run: async ({ args, rawArgs }) => {
|
|
@@ -233,7 +243,8 @@ A boost is ADDED to the ones the campaign has (Meta keeps them, even overlapping
|
|
|
233
243
|
kind: "campaign.update",
|
|
234
244
|
accountId,
|
|
235
245
|
target: requireTarget(args, "campaign"),
|
|
236
|
-
payload
|
|
246
|
+
payload,
|
|
247
|
+
...confirmBudgetIncrease(args)
|
|
237
248
|
});
|
|
238
249
|
}
|
|
239
250
|
});
|
|
@@ -459,7 +470,7 @@ Example: baker ads meta adsets create --campaign 6123 --name "Reach ES" --optimi
|
|
|
459
470
|
const file = loadJsonFileArg(args.file);
|
|
460
471
|
const payload = mergePayload(file, adSetPayloadFromFlags(args, rawArgs, file));
|
|
461
472
|
if (args["saved-audience"]) {
|
|
462
|
-
const { savedAudienceTargeting, targetingFromSavedAudience } = await import("./audience-writes-
|
|
473
|
+
const { savedAudienceTargeting, targetingFromSavedAudience } = await import("./audience-writes-3PSC7LRY.js");
|
|
463
474
|
const saved = await savedAudienceTargeting(accountId, String(args["saved-audience"]));
|
|
464
475
|
const merged = targetingFromSavedAudience(saved, payload.targeting);
|
|
465
476
|
if ("refusal" in merged) failWriteValidation(merged.refusal);
|
|
@@ -485,7 +496,8 @@ Example: baker ads meta adsets update 6123 --daily-budget 80`
|
|
|
485
496
|
description: "Add a budget boost to this ad set (its own daily budget is raised for a high-demand period), repeatable: START..END=+AMOUNT or START..END=+PERCENT% (max 800%), at least 3 hours, on quarter hours. Sent to Meta's boost list for the ad set, so the budget need not be restated. Example: --budget-boost 2027-11-27T00:00Z..2027-11-28T00:00Z=+50%"
|
|
486
497
|
},
|
|
487
498
|
...boostEditArgs,
|
|
488
|
-
...clearArg
|
|
499
|
+
...clearArg,
|
|
500
|
+
...confirmBudgetIncreaseArg
|
|
489
501
|
},
|
|
490
502
|
run: async ({ args, rawArgs }) => {
|
|
491
503
|
const accountId = bareAccountId(args);
|
|
@@ -505,7 +517,8 @@ Example: baker ads meta adsets update 6123 --daily-budget 80`
|
|
|
505
517
|
kind: "adSet.update",
|
|
506
518
|
accountId,
|
|
507
519
|
target: requireTarget(args, "ad set"),
|
|
508
|
-
payload: merged
|
|
520
|
+
payload: merged,
|
|
521
|
+
...confirmBudgetIncrease(args)
|
|
509
522
|
});
|
|
510
523
|
}
|
|
511
524
|
});
|
|
@@ -1167,4 +1180,4 @@ export {
|
|
|
1167
1180
|
retagSetPairs,
|
|
1168
1181
|
targetingFromFlags
|
|
1169
1182
|
};
|
|
1170
|
-
//# sourceMappingURL=write-commands-
|
|
1183
|
+
//# sourceMappingURL=write-commands-2L7T43YO.js.map
|