@koda-sl/baker-cli 0.847.0 → 0.849.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 +5 -1
- package/dist/{accounts-S7CRQTBB.js → accounts-PVPBCV3W.js} +3 -3
- package/dist/{ads-2SBIPZJI.js → ads-NXIIU57V.js} +3 -3
- package/dist/{changes-JOJR4K4H.js → changes-SGLPIZL6.js} +3 -3
- package/dist/{chunk-3OZTT3XC.js → chunk-D4GVSSL3.js} +2 -2
- package/dist/{chunk-KR2OWPYB.js → chunk-HGEG5AJW.js} +73 -19
- package/dist/chunk-HGEG5AJW.js.map +1 -0
- package/dist/{chunk-52V3VGQI.js → chunk-MGHAKUDW.js} +38 -5
- package/dist/chunk-MGHAKUDW.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{currency-GMVPN52V.js → currency-L2VCDEKG.js} +3 -3
- package/dist/{google-BFBRJRZP.js → google-RRNBSRIF.js} +22 -13
- package/dist/google-RRNBSRIF.js.map +1 -0
- package/dist/{performance-GIUF4NDE.js → performance-3L7J4KQG.js} +4 -3
- package/dist/performance-3L7J4KQG.js.map +1 -0
- package/dist/{query-6UXOYBET.js → query-ZIV5EBKY.js} +4 -4
- package/dist/{search-terms-ZE364HEC.js → search-terms-32OOCXD7.js} +2 -2
- package/dist/{url-options-E6FNFBE3.js → url-options-HQWSPLSF.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-52V3VGQI.js.map +0 -1
- package/dist/chunk-KR2OWPYB.js.map +0 -1
- package/dist/google-BFBRJRZP.js.map +0 -1
- package/dist/performance-GIUF4NDE.js.map +0 -1
- /package/dist/{accounts-S7CRQTBB.js.map → accounts-PVPBCV3W.js.map} +0 -0
- /package/dist/{ads-2SBIPZJI.js.map → ads-NXIIU57V.js.map} +0 -0
- /package/dist/{changes-JOJR4K4H.js.map → changes-SGLPIZL6.js.map} +0 -0
- /package/dist/{chunk-3OZTT3XC.js.map → chunk-D4GVSSL3.js.map} +0 -0
- /package/dist/{currency-GMVPN52V.js.map → currency-L2VCDEKG.js.map} +0 -0
- /package/dist/{query-6UXOYBET.js.map → query-ZIV5EBKY.js.map} +0 -0
- /package/dist/{search-terms-ZE364HEC.js.map → search-terms-32OOCXD7.js.map} +0 -0
- /package/dist/{url-options-E6FNFBE3.js.map → url-options-HQWSPLSF.js.map} +0 -0
|
@@ -5923,6 +5923,7 @@ function compactPoint(point, groupBy) {
|
|
|
5923
5923
|
return {
|
|
5924
5924
|
bucket: point.bucket,
|
|
5925
5925
|
...groupBy === "platform" || groupBy === "none" ? {} : { group: point.groupKey },
|
|
5926
|
+
...point.groupName ? { name: point.groupName } : {},
|
|
5926
5927
|
...point.platform === "all" ? {} : { platform: point.platform },
|
|
5927
5928
|
currency: point.currency,
|
|
5928
5929
|
spend: roundNumber(metrics.spend),
|
|
@@ -5965,7 +5966,7 @@ function trendHints(data, request = { groupBy: data.groupBy }, args = {}) {
|
|
|
5965
5966
|
);
|
|
5966
5967
|
if (data.points.some((point) => point.groupKey === "__other"))
|
|
5967
5968
|
hints.push(
|
|
5968
|
-
"__other sums every campaign past the top --limit by spend (max 50)
|
|
5969
|
+
"__other sums every campaign past the top --limit by spend (max 50); each other campaign row carries its name."
|
|
5969
5970
|
);
|
|
5970
5971
|
const currencies = new Set(data.points.map((point) => point.currency));
|
|
5971
5972
|
if (currencies.size > 1)
|
|
@@ -6009,7 +6010,7 @@ function daysFrom(from, to) {
|
|
|
6009
6010
|
var trendCommand = report({
|
|
6010
6011
|
name: "trend",
|
|
6011
6012
|
schemaName: "trend",
|
|
6012
|
-
schemaDescription: `The numbers over time, split one way \u2014 what the dashboard's charts draw. One row per bucket (--grain day | week | month | total) and group (--group-by platform | ad_account | campaign | kind | segment | none): spend, impressions, clicks, results, cost per result, CTR, and result value with ROAS where results carry value. mature: false marks a bucket whose last day has not settled yet. --group-by campaign keeps the top --limit campaigns by spend and sums the rest into __other.
|
|
6013
|
+
schemaDescription: `The numbers over time, split one way \u2014 what the dashboard's charts draw. One row per bucket (--grain day | week | month | total) and group (--group-by platform | ad_account | campaign | kind | segment | none): spend, impressions, clicks, results, cost per result, CTR, and result value with ROAS where results carry value. mature: false marks a bucket whose last day has not settled yet. --group-by campaign keeps the top --limit campaigns by spend and sums the rest into __other. With --group-by campaign or ad_account each row's name sits beside its group id. Default the last 30 complete days, by day, per platform. ${STORE_NOTE}`,
|
|
6013
6014
|
help: "Spend and results over time, split one way. Example: baker ads performance trend --days 90 --grain week --group-by campaign",
|
|
6014
6015
|
path: "trend",
|
|
6015
6016
|
args: TREND_ARGS,
|
|
@@ -6290,4 +6291,4 @@ Full guide: __tooling__/docs/tools/baker/ads-performance.md`
|
|
|
6290
6291
|
export {
|
|
6291
6292
|
performanceCommand
|
|
6292
6293
|
};
|
|
6293
|
-
//# sourceMappingURL=performance-
|
|
6294
|
+
//# sourceMappingURL=performance-3L7J4KQG.js.map
|