Skip to main content

decentriq_platform.media.audience

Classes

ActivationType

ActivationType(
value,
names=None,
*,
module=None,
qualname=None,
type=None,
start=1,
)

An enumeration.

Ancestors (in MRO)

  • builtins.str
  • enum.Enum

Audience

Audience(
audience_type: str,
activation_type: decentriq_platform.media.audience.ActivationType,
is_published: bool,
reach: Optional[int] = None,
exclude_seed_audience: bool = False,
)

Audience(audience_type: str, activation_type: decentriq_platform.media.audience.ActivationType, is_published: bool, reach: Optional[int] = None, exclude_seed_audience: bool = False)

Static methods

from_activated_audience

def from_activated_audience(
audience: Dict[str, Any],
)> typing_extensions.Self

as_dict

def as_dict(
self,
)> Dict[str, Any]