Merged
Conversation
Defines the API surface for account management and agent identification: - Add Account and Agent core schema objects - Add list_accounts task for discovering available accounts - Add account_id as optional field to get_products and create_media_buy - Include account attribution in media_buy responses - Document routing logic and error handling - Support billing proxy model (e.g., "Coke c/o Publicis") Resolves #868: clarifies who is buying (agent), on whose behalf (brand), and who gets billed (account). Enables three billing models: direct advertiser, advertiser via agency proxy, or agency as principal. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Clean up documentation to use consistent terminology: - Principal → Agent (authenticated caller) + Account (billing entity) - Update authentication.mdx to reference accounts-and-agents - Rename "Principals & Security" to "Accounts & Security" - Update glossary with Account/Agent definitions, deprecate Principal - Update navigation and cross-references - Replace "Principal" participant in diagrams with "Buyer" Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Rename principals-and-security.mdx to accounts-and-security.mdx - Fix "Agency as principal" example description to "Agency as direct buyer" - Remove agent field from response examples (not in schema) - Add schema links to authentication.mdx - Improve Principal deprecation note in glossary - Update all navigation references to renamed file - Add changeset Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The dist/docs/2.5.3/ is a versioned snapshot and should retain its original filenames. Only current docs (3.0-beta, latest) use the new accounts-and-security naming. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Links in dist/docs/2.5.3/ were using /docs/... paths which resolve to current docs (where principals-and-security was renamed). Updated to use /dist/docs/2.5.3/... paths to stay within the versioned snapshot. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extends account/agent model to creative management: - sync-creatives-request: account_id for creative ownership - sync-creatives-response: account attribution in results - list-creatives-response: account per creative - creative-filters: account_ids filter for multi-account querying Addresses Yahoo feedback on creative ownership management. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
BaiyuScope3
reviewed
Jan 30, 2026
BaiyuScope3
approved these changes
Jan 30, 2026
- Remove agent.json: Agent identity comes from auth token, not a schema field. The schema was created but never referenced in the protocol. - Register account.json in index.json per review feedback - Update changeset and authentication docs to reflect removal Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds protocol-level definitions for account management and agent identification, addressing issue #868.
AccountandAgentcore schema objectslist_accountstask for discovering accessible accountsaccount_idfield in get_products and create_media_buy requestsDesign
Three distinct entities in every billable operation:
Enables three billing scenarios: direct advertiser, advertiser via agency proxy, or agency as principal. Account creation is out of scope (seller-side process); the protocol defines what accounts look like and how to reference them.
Test Plan
🤖 Generated with Claude Code