Module adcp.types.generated_poc.signals.get_signals_response
Classes
class GetSignalsResponse (**data: Any)-
Expand source code
class GetSignalsResponse(AdCPBaseModel): model_config = ConfigDict( extra='forbid', ) context: context_1.ContextObject | None = None errors: Annotated[ list[error.Error] | None, Field( description='Task-specific errors and warnings (e.g., signal discovery or pricing issues)' ), ] = None ext: ext_1.ExtensionObject | None = None signals: Annotated[list[Signal], Field(description='Array of matching signals')]Base model for AdCP types with spec-compliant serialization.
AdCP JSON schemas use additionalProperties: false and do not allow null for optional fields. Therefore, optional fields must be omitted entirely when not present (not sent as null).
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- AdCPBaseModel
- pydantic.main.BaseModel
Class variables
var context : ContextObject | Nonevar errors : list[Error] | Nonevar ext : ExtensionObject | Nonevar model_configvar signals : list[Signal]
Inherited members
class Pricing (**data: Any)-
Expand source code
class Pricing(AdCPBaseModel): model_config = ConfigDict( extra='forbid', ) cpm: Annotated[float, Field(description='Cost per thousand impressions', ge=0.0)] currency: Annotated[str, Field(description='Currency code', pattern='^[A-Z]{3}$')]Base model for AdCP types with spec-compliant serialization.
AdCP JSON schemas use additionalProperties: false and do not allow null for optional fields. Therefore, optional fields must be omitted entirely when not present (not sent as null).
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- AdCPBaseModel
- pydantic.main.BaseModel
Class variables
var cpm : floatvar currency : strvar model_config
Inherited members
class Signal (**data: Any)-
Expand source code
class Signal(AdCPBaseModel): model_config = ConfigDict( extra='forbid', ) coverage_percentage: Annotated[ float, Field(description='Percentage of audience coverage', ge=0.0, le=100.0) ] data_provider: Annotated[str, Field(description='Name of the data provider')] deployments: Annotated[ list[deployment.Deployment], Field(description='Array of deployment targets') ] description: Annotated[str, Field(description='Detailed signal description')] name: Annotated[str, Field(description='Human-readable signal name')] pricing: Annotated[Pricing, Field(description='Pricing information')] signal_agent_segment_id: Annotated[str, Field(description='Unique identifier for the signal')] signal_type: Annotated[ signal_catalog_type.SignalCatalogType, Field(description='Type of signal') ]Base model for AdCP types with spec-compliant serialization.
AdCP JSON schemas use additionalProperties: false and do not allow null for optional fields. Therefore, optional fields must be omitted entirely when not present (not sent as null).
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Ancestors
- AdCPBaseModel
- pydantic.main.BaseModel
Class variables
var coverage_percentage : floatvar data_provider : strvar deployments : list[Deployment]var description : strvar model_configvar name : strvar pricing : Pricingvar signal_agent_segment_id : strvar signal_type : SignalCatalogType
Inherited members