OptionalmaxMaximum messages to keep in history
OptionalpersistWhether to persist conversations
OptionalworkingTimeout for 'working' status (max 120s per PR #78)
OptionaldefaultDefault max clarifications
Creative agent URL
OptionalprotocolProtocol to use (defaults to 'mcp')
OptionalauthAuthentication token if required
OptionaldebugEnable debug logging
OptionaluserCustom user agent string
OptionalheadersAdditional headers to include in requests
OptionalonActivity callback for observability (logging, UI updates, etc)
OptionalhandlersTask completion handlers - called for both sync responses and webhook completions
OptionalwebhookWebhook secret for signature verification (recommended for production)
OptionalwebhookWebhook URL template with macro substitution
Available macros:
OptionalreportingReporting webhook frequency
OptionalvalidateValidate that the seller supports required features before each task call. When true, tasks like syncAudiences will fail fast with FeatureUnsupportedError if the seller hasn't declared audience_targeting support.
OptionalvalidationRuntime schema validation options
OptionalstrictSchemaValidation?: booleanFail tasks when response schema validation fails (default: true)
When true: Invalid responses cause task to fail with error When false: Schema violations are logged but task continues
OptionallogSchemaViolations?: booleanLog all schema validation violations to debug logs (default: true)
OptionalgovernanceGovernance configuration for buyer-side campaign governance
Configuration for CreativeAgentClient