-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Summary
Add methods to the Python client for looking up brands and properties from the AdCP registry, including bulk operations for operational workflows.
New Methods
Brand Lookups
lookup_brand(domain: str)— resolve a single domain to its canonical brand identity viaGET /api/brands/resolvelookup_brands(domains: list[str])— bulk resolve viaPOST /api/brands/resolve/bulk, returnsdict[str, ResolvedBrand | None]
Property Lookups
lookup_property(domain: str)— resolve a publisher domain to its property info viaGET /api/properties/resolvelookup_properties(domains: list[str])— bulk resolve viaPOST /api/properties/resolve/bulk, returnsdict[str, PropertyInfo | None]
API Endpoints
The server-side bulk endpoints are implemented in adcontextprotocol/adcp#1035:
POST /api/brands/resolve/bulk— accepts{ "domains": [...] }(max 100), returns{ "results": { domain: brand | null } }POST /api/properties/resolve/bulk— same pattern for properties
Use Case
Operational workflows need to resolve many domains efficiently — e.g., "I have 500 domains from a campaign report, which brands/properties do they map to?" The bulk methods avoid N+1 HTTP calls.
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels