decentriq_platform.media.remarketing_audience_builder
Classes
RemarketingAudienceBuilder
RemarketingAudienceBuilder(
*,
name: str,
source_audience_type: str,
)
Builder for constructing remarketing audience definitions.
Initialise the remarketing audience builder.
Parameters:
name
: Name of the remarketing audience.source_audience_type
: The audience type of the seed audience that the remarketing audience will be built from.
build
def build(
self,
) ‑> decentriq_platform.media.remarketing_audience_builder.RemarketingAudienceDefinition
Build the remarketing audience definition.
Returns:
- The remarketing audience definition
with_share_with_participants
def with_share_with_participants(
self,
participants: List[Participant],
) ‑> typing_extensions.Self
Make the remarketing audience available to the given participants.
Parameters:
participants
: The participants to share the remarketing audience with
Returns:
- The updated remarketing audience builder
RemarketingAudienceDefinition
RemarketingAudienceDefinition(
*,
name: str,
source_audience_type: str,
shared_with: List[Participant],
)
Class representing the definition of a remarketing audience.
Initialize a remarketing audience definition.
Parameters:
name
: Name of the remarketing audiencesource_audience_type
: The audience type of the seed audience to build fromshared_with
: List of participant groups to share with