Repository navigation
Enhance AdCP schemas with comprehensive targeting and format types - #40
Merged
Merged
Conversation
Schema Updates: - Make po_number optional in CreateMediaBuyRequest for practical business needs - Expand format types to include 'native' and 'dooh' formats already used in docs - Add comprehensive targeting dimensions: * Enhanced geo targeting: metro areas, postal codes, lat/long radius * Device/platform targeting: device types, OS, browsers * All with proper enum constraints and validation Documentation Updates: - Update create_media_buy.md to reflect po_number as optional - Add new targeting overlay parameters with descriptions - Maintain backwards compatibility Aligns JSON schemas with documented capabilities and reference implementation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
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
Schema Changes
CreateMediaBuyRequest
Format Types
Targeting Enhancements
Documentation Updates
Test Results
✅ All schema validation tests pass
✅ All example validation tests pass
✅ TypeScript compilation successful
Impact
These changes align the JSON schemas with documented capabilities and practical implementation needs, providing advertisers with comprehensive targeting options while maintaining backwards compatibility.
🤖 Generated with Claude Code