@koda-sl/baker-cli 0.421.0-dev.3613db443 → 0.422.0-dev.f9f855bf1

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 CHANGED
@@ -865,7 +865,7 @@ baker ads x targeting-constants --constant tv_shows --locale en-US
865
865
 
866
866
  ### ChatGPT Ads (`baker ads chatgpt`)
867
867
 
868
- Read the company's ChatGPT Ads account (OpenAI's ads inside ChatGPT conversations) and how it performs, and stage changes to it that apply when the chat is published. The company connects one account in the dashboard (Brain → Integrations → ChatGPT Ads) with an API key from its Ads Manager; the key stays in Baker and never reaches the CLI, so there is no account id to pass.
868
+ Read the company's ChatGPT Ads account (OpenAI's ads inside ChatGPT conversations) and how it performs, and stage changes to it that apply when the chat is published. The company connects one account with an API key from its Ads Manager, pasted in the chat's connect card (`request_connection` `{ platform: "chatgpt-ads" }`) or in Brain → Integrations → ChatGPT Ads; the key stays in Baker and never reaches the CLI, so there is no account id to pass.
869
869
 
870
870
  | Subcommand | What it returns |
871
871
  |---|---|
package/dist/cli.js CHANGED
@@ -34612,7 +34612,7 @@ var chatgptAdsConversionReportRequestSchema = z38.object({
34612
34612
  var CHATGPT_ADS_TRUNCATED_HEADER = "X-Baker-Truncated";
34613
34613
 
34614
34614
  // src/commands/ads/chatgpt/shared.ts
34615
- var CONNECT_EXPLANATION = "ChatGPT Ads is connected from the dashboard, with the API key from the company's ChatGPT Ads Manager (Settings \u2192 API keys): Brain \u2192 Integrations \u2192 ChatGPT Ads. Tell the user exactly that, and never ask them to paste the key in this chat \u2014 `request_connection` does not cover ChatGPT Ads. Carry on with the rest of the task and say what stays unavailable until it is connected.";
34615
+ var CONNECT_EXPLANATION = 'Ask for ChatGPT Ads with request_connection `{ platform: "chatgpt-ads" }`: the card asks for the API key from the company\'s ChatGPT Ads Manager (Settings \u2192 API keys), and the user pastes it there \u2014 never ask for it in this chat. If they skip it, carry on with the rest of the task and say what stays unavailable until it is connected.';
34616
34616
  var OPENAI_ADS_DOCS = "https://developers.openai.com/ads";
34617
34617
  var CHATGPT_ADS_REFERENCE = {
34618
34618
  account: `${OPENAI_ADS_DOCS}/api-reference/ad-account.md`,
@@ -34689,7 +34689,7 @@ function chatgptFailure(err, reference = CHATGPT_ADS_REFERENCE.overview) {
34689
34689
  message: err.message,
34690
34690
  fix: {
34691
34691
  action: "authenticate",
34692
- explanation: `${err.message} Tell the user; never ask them to paste the key in this chat.`
34692
+ explanation: `${err.message} Open request_connection \`{ platform: "chatgpt-ads" }\` so they can replace the key in the card; never ask them to paste it in this chat.`
34693
34693
  },
34694
34694
  retryable: false
34695
34695
  }