@wrangled/cli 0.3.159 → 0.3.160
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/main.js +5 -4
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1681,10 +1681,10 @@ const commands = {
|
|
|
1681
1681
|
},
|
|
1682
1682
|
},
|
|
1683
1683
|
winners: {
|
|
1684
|
-
usage: "winners [--week <YYYY-MM-DD> | --days <n> | --from <YYYY-MM-DD> --to <YYYY-MM-DD>] [--top <n>] [--ad-format image|video|carousel] [--offer <offer key>] (which Facebook ads and landing pages won and flopped, judged on each client's goal; see winners goals)",
|
|
1684
|
+
usage: "winners [--week <YYYY-MM-DD> | --days <n> | --from <YYYY-MM-DD> --to <YYYY-MM-DD>] [--top <n>] [--ad-format image|video|carousel] [--offer <offer key or name>] (which Facebook ads and landing pages won and flopped, judged on each client's goal; see winners goals)",
|
|
1685
1685
|
async run(args, options) {
|
|
1686
1686
|
if (args.length > 0)
|
|
1687
|
-
throw new CliError("Usage: winners [--week <date> | --days <n> | --from <date> --to <date>] [--top <n>] [--ad-format image|video|carousel] [--offer <offer key>]", exitCodes.usage);
|
|
1687
|
+
throw new CliError("Usage: winners [--week <date> | --days <n> | --from <date> --to <date>] [--top <n>] [--ad-format image|video|carousel] [--offer <offer key or name>]", exitCodes.usage);
|
|
1688
1688
|
const query = new URLSearchParams();
|
|
1689
1689
|
for (const [name, value] of Object.entries({ ...winnersPeriod(options), top: options.top, format: options.entryTags.format, offer: options.offer }))
|
|
1690
1690
|
if (value !== undefined)
|
|
@@ -5234,8 +5234,9 @@ Options:
|
|
|
5234
5234
|
your own ads tagged the same way with their results; with knowledge tag, the tags to put on an entry;
|
|
5235
5235
|
with winners, --ad-format ranks only ads whose format tag is that one (run ads tag-formats first);
|
|
5236
5236
|
with meta ad create, the new ad's angle, hook kind and format, which its name is written from
|
|
5237
|
-
--offer <key> with winners, rank ads on first-touch sales of this offer in the funnel map only
|
|
5238
|
-
still count every sale); with profile messaging, that offer's outcome map,
|
|
5237
|
+
--offer <key> with winners, rank ads on first-touch sales of this offer in the funnel map only, by its key or
|
|
5238
|
+
name (landing pages still count every sale); with profile messaging, that offer's outcome map,
|
|
5239
|
+
segments and personas
|
|
5239
5240
|
--concept <key> meta ad create: the new ad's concept, a key on the client's concept list
|
|
5240
5241
|
--style <style> meta ad create: the new ad's style, if it has one
|
|
5241
5242
|
--confidence high|medium|low with knowledge tag, how sure you are of the tags
|