Skip to main content

decentriq_platform.ab_media.advertiser_computations

Classes

EstimateAudienceSizeForAdvertiserComputation

EstimateAudienceSizeForAdvertiserComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

EstimateAudienceSizeForAdvertiserLalComputation

EstimateAudienceSizeForAdvertiserLalComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
lal_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudienceUserListForAdvertiserComputation

GetAudienceUserListForAdvertiserComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> List[str]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudienceUserListForAdvertiserLalComputation

GetAudienceUserListForAdvertiserLalComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
lal_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> List[str]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudiencesForAdvertiserComputation

GetAudiencesForAdvertiserComputation(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudiencesValidationReport

GetAudiencesValidationReport(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation

run_and_get_results

def run_and_get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> dict[str, typing.Any]

GetDataAttributesComputation

GetDataAttributesComputation(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetLookalikeAudienceStatisticsComputation

GetLookalikeAudienceStatisticsComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

PublishAudiencesDataset

PublishAudiencesDataset(
dcr_id: str,
dataset_id: str,
key: Key,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

PublishAudiencesJson

PublishAudiencesJson(
dcr_id: str,
manifest_hash: str,
encryption_key_hex: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Publish the audiences.json dataset.

RetrievePublishedDatasetsComputation

RetrievePublishedDatasetsComputation(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run_and_get_results

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

Retrieve all datasets published to the DCR.

RunCreateAudienceUserList

RunCreateAudienceUserList(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.