Skip to content

Make brand_manifest optional for backwards compatibility - #103

Merged
bokelley merged 1 commit into
mainfrom
bokelley/brand-manifest-optional
Oct 13, 2025
Merged

bokelley merged 1 commit into
mainfrom
bokelley/brand-manifest-optional

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Update get_products and create_media_buy schemas to accept either promoted_offering OR brand_manifest
  • Mark promoted_offering as deprecated in favor of brand_manifest
  • Ensures backwards compatibility with existing integrations

Changes

  • get_products: Added optional brand_manifest field, requires one of promoted_offering or brand_manifest via oneOf
  • create_media_buy: Made brand_manifest optional, requires one of promoted_offering or brand_manifest via oneOf

Test plan

  • Schema validation tests pass
  • Example validation tests pass
  • TypeScript type checking passes

🤖 Generated with Claude Code

Update get_products and create_media_buy schemas to accept either
promoted_offering OR brand_manifest, ensuring backwards compatibility
with existing integrations while encouraging migration to the new
brand manifest approach.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant