@erdoai/cli 0.119.1 → 0.120.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ function advertiserVerificationAction(container) {
5
5
  const verification = container.advertiser_verification;
6
6
  if (!verification || verification.action_url) return void 0;
7
7
  if (verification.status === "check_in_google_ads") {
8
- return `Google cannot expose advertiser verification for card-billed account ${container.customer_id} through the API. Open Billing \u2192 Advertiser verification in Google Ads to check its status, and complete verification there only if Google shows it is pending.`;
8
+ return `Google cannot expose advertiser verification for card-billed account ${container.customer_id} through the API. Open Admin \u2192 Policy \u2192 Account in Google Ads to check its status, and complete verification there only if Google shows it is pending.`;
9
9
  }
10
10
  if (verification.status === "PENDING_USER_ACTION" || verification.status === "FAILURE") {
11
11
  return `Google shows no business name or logo on ${container.customer_id}'s ads until the advertiser is verified. Get a link with: erdo org managed ads-container ${container.org_slug} --provision --start-verification`;
@@ -7020,6 +7020,7 @@ refreshCmd.command("show <slug>").description(
7020
7020
  }
7021
7021
  const rows = [];
7022
7022
  rows.push(["strategy", res.strategy || "(none recorded)"]);
7023
+ if (res.experiment_run_id) rows.push(["experiment", res.experiment_run_id]);
7023
7024
  rows.push(["writes", describeRefreshWrites(res.strategy, res.refresh_mode, res.key_column, res.live_write_mode)]);
7024
7025
  rows.push(["trigger", describeRefreshTrigger(res)]);
7025
7026
  if (res.schedule) {
@@ -7126,6 +7127,9 @@ refreshCmd.command("set <slug>").description(
7126
7127
  ).option(
7127
7128
  "--parameters <@file>",
7128
7129
  "JSON file: all configuration values for this recipe; omitting clears previous PARAMETERS values"
7130
+ ).option(
7131
+ "--experiment-run-id <uuid>",
7132
+ "bind this measurement refresh to its experiment so it stops when the experiment settles; must match parameters.experiment_run_id when present"
7129
7133
  ).action(
7130
7134
  async (slug, opts) => {
7131
7135
  try {
@@ -7146,6 +7150,7 @@ refreshCmd.command("set <slug>").description(
7146
7150
  return;
7147
7151
  }
7148
7152
  const body = { strategy: opts.strategy };
7153
+ if (opts.experimentRunId !== void 0) body.experiment_run_id = opts.experimentRunId;
7149
7154
  if (opts.mode) body.refresh_mode = opts.mode;
7150
7155
  if (opts.keyColumn) body.key_column = opts.keyColumn;
7151
7156
  if (opts.schedule) body.schedule = opts.schedule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.119.1",
3
+ "version": "0.120.1",
4
4
  "description": "Erdo CLI — drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {