decentriq_platform.ab_media.lookalike_audience_builder
Classes
LookalikeAudienceBuilder
LookalikeAudienceBuilder(
*,
name: str,
reach: int,
source_audience_name: str,
audiences: List[Union[decentriq_platform.ab_media.audience_definitions.RuleBasedAudienceDefinition, decentriq_platform.ab_media.audience_definitions.LookalikeAudienceDefinition, decentriq_platform.ab_media.audience_definitions.AdvertiserAudienceDefinition]],
)
Builder for constructing lookalike audience definitions.
Initialise the lookalike audience builder.
Parameters:
name
: Name of the lookalike audience.reach
: The desired reach of the lookalike audience expressed as a percentage between 1-30.source_audience_name
: Name of the source audience that the lookalike audience will be built from.audiences
: Definitions of all existing audiences.
build
def build(
self,
) ‑> decentriq_platform.ab_media.audience_definitions.LookalikeAudienceDefinition
Build the lookalike audience definition.
with_exclude_seed_audience
def with_exclude_seed_audience(
self,
) ‑> typing_extensions.Self
Exclude the seed audience from the lookalike audience.
with_make_available_to_publisher
def with_make_available_to_publisher(
self,
) ‑> typing_extensions.Self
Make the lookalike audience available to the publisher.