US Brand Signal Policy Simulator
Pricing
Pay per event
US Brand Signal Policy Simulator
Compare deterministic threshold policies across buyer-supplied opaque signal scores without selecting a winner or verifying external data.
US Brand Signal Policy Simulator
Pricing
Pay per event
Compare deterministic threshold policies across buyer-supplied opaque signal scores without selecting a winner or verifying external data.
You can access the US Brand Signal Policy Simulator programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "schemaVersion": "1.0",10 "rows": [11 {12 "signalId": "signal-001",13 "normalizedScore": 96,14 },15 {16 "signalId": "signal-002",17 "normalizedScore": 82,18 },19 {20 "signalId": "signal-003",21 "normalizedScore": 61,22 },23 {24 "signalId": "signal-004",25 "normalizedScore": 39,26 },27 ],28 "policies": [29 {30 "policyId": "balanced",31 "reviewThreshold": 50,32 "acceptThreshold": 80,33 "thresholdOrder": "review_lt_accept",34 },35 {36 "policyId": "strict",37 "reviewThreshold": 70,38 "acceptThreshold": 90,39 "thresholdOrder": "review_lt_accept",40 },41 {42 "policyId": "broad",43 "reviewThreshold": 30,44 "acceptThreshold": 70,45 "thresholdOrder": "review_lt_accept",46 },47 ],48}49
50# Run the Actor and wait for it to finish51run = client.actor("zinin/us-brand-signal-policy-simulator").call(run_input=run_input)52
53# Fetch and print Actor results from the run's dataset (if there are any)54print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])55for item in client.dataset(run["defaultDatasetId"]).iterate_items():56 print(item)57
58# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startThe Apify API client for Python is the official library that allows you to use US Brand Signal Policy Simulator API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
$pip install apify-clientOther API clients include: