You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: standardize format field naming for clarity and consistency
Implement consistent naming convention to eliminate confusion between format objects and format IDs:
- "formats" = array of format objects (with full details)
- "format_ids" = array of format ID strings (references)
- "format_types" = array of high-level type strings (video, display, audio)
## Schema Changes
- Product schema: "formats" → "format_ids" (array of format ID strings)
- get_products request: Remove redundant "formats" filter (duplicated format_types)
- create_media_buy request: "formats" → "format_ids" (array of format ID strings)
## Documentation Updates
- Updated all examples and field descriptions
- Fixed parameter tables and API documentation
- Updated validation examples and tests
## Benefits
- Eliminates ambiguity between format objects vs format IDs
- Clear field naming that indicates content type immediately
- Consistent API design across all endpoints
- Better developer experience with self-documenting field names
Fixes confusion where "formats" was used for both format objects and format IDs in different contexts.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
"description": "Target Albertsons shoppers who have purchased pet products in the last 90 days. Reach them across premium display and video inventory.",
0 commit comments