@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 +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
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
|
|
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 =
|
|
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}
|
|
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
|
}
|