@zinn-digital/sdk 0.1.1678 → 0.1.1679
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.
|
@@ -17227,7 +17227,7 @@ export interface paths {
|
|
|
17227
17227
|
put?: never;
|
|
17228
17228
|
/**
|
|
17229
17229
|
* Connect ChatGPT Ads with an Advertiser API key (za-318).
|
|
17230
|
-
* @description Gated on `ads.manage`. ChatGPT Ads (OpenAI) has no OAuth app open to us (OpenAI publishes no client registration for its `AdsOAuth` scheme; it is the API-partner path), so the customer pastes an Advertiser API key made at https://ads.openai.com/settings. One key reaches ONE ad account. The key is read against OpenAI's `GET /v1/ad_account` at once and kept in Vault as the grant (never in the database, never echoed); the answer is the grant id the ordinary account picker reads (`listAdsConnectChatGPTAccounts`). A value that cannot be a key is a `422` `netBadKey` before any call. A key OpenAI refuses still answers a grant whose picker carries the §2.57 `failure` (a rejected key links the keys page). Not gated on "Coming soon" (that gates the dashboard's offer). ChatGPT Ads writes (an ad group paused, a campaign's daily spend limit)
|
|
17230
|
+
* @description Gated on `ads.manage`. ChatGPT Ads (OpenAI) has no OAuth app open to us (OpenAI publishes no client registration for its `AdsOAuth` scheme; it is the API-partner path), so the customer pastes an Advertiser API key made at https://ads.openai.com/settings. One key reaches ONE ad account. The key is read against OpenAI's `GET /v1/ad_account` at once and kept in Vault as the grant (never in the database, never echoed); the answer is the grant id the ordinary account picker reads (`listAdsConnectChatGPTAccounts`). A value that cannot be a key is a `422` `netBadKey` before any call. A key OpenAI refuses still answers a grant whose picker carries the §2.57 `failure` (a rejected key links the keys page). Not gated on "Coming soon" (that gates the dashboard's offer). ChatGPT Ads writes (an ad group paused or resumed, a campaign's daily spend limit) are ON for a customer's own connection (owner 2026-11-09): an approved change goes through the approve-first queue, ceilings and Undo. The emergency switch `ZINN_ADS_CHATGPT_WRITES` set to anything but `on` (or unset) refuses every write `chatgptWritesOff`, and a house connection (the platform org or a staff org) is always refused the same way; nothing reaches OpenAI when refused.
|
|
17231
17231
|
*/
|
|
17232
17232
|
post: operations["connectAdsChatGPTKey"];
|
|
17233
17233
|
delete?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1679",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|