Connect Quantcast to Python
Bring your Quantcast campaign spend, reach, viewability and results data into Python with Windsor.ai.
Pick the Quantcast fields you need, such as Campaign Name, Budget Delivered and Results, and Windsor.ai loads them without a CSV export.
Forget CSVs. Stop copy/paste. Connect in minutes.
Get your Quantcast data into Python
Quantcast is connected once in Windsor.ai, and these are the use cases the fields support:
Compare campaigns
Budget Delivered, Results and Revenue per Campaign Name show which campaigns return the most for their spend.
Check viewability
Viewability, Viewable Impressions and Measured Impressions per Creative Name show which creatives were seen.
Compare channels
Budget Delivered, Completed Views and Results per Channel show how display, video and audio ads perform side by side.
Using Windsor.ai to connect data from Quantcast to Python
Windsor.ai connects your Quantcast fields once, and your scripts call the Windsor.ai API URL.
The code example in step 4 shows the request and the columns it returns.
How to connect Quantcast to Python with Windsor.ai
Explore a step-by-step guide to integrate your Quantcast data into Python with the Windsor.ai connector.
Connect a data source
In your Windsor.ai dashboard, connect Quantcast: enter your Quantcast account ID, API key and API secret. Select the account(s) you want to pull data from and click Next.
Set Python as a data destination
Scroll down and choose Python from the data destination list. Copy the API Key URL provided in the instructions below.
Integrate the API Key URL into your Python code to stream data
Use Python’s requests library to call the API Key URL and load the rows into pandas. This example totals the last 30 days by campaign:
import requests
import pandas as pd
url = "https://connectors.windsor.ai/quantcast"
params = {
"api_key": "YOUR_API_KEY",
"date_preset": "last_30d",
"fields": "date,campaign_name,impressions,budget_delivered,results",
}
rows = requests.get(url, params=params, timeout=60).json()["data"]
df = pd.DataFrame(rows)
print(df.groupby("campaign_name")[["impressions", "budget_delivered", "results"]].sum())
The DataFrame has one column per field: date, campaign_name, impressions, budget_delivered and results. Add creative_name, viewable_impressions and measured_impressions to the fields to compare how viewable each creative was.
FAQs
What Quantcast data can I load into Python?
Windsor.ai gives access to 47 Quantcast fields: 16 metrics, such as Impressions and Budget Delivered, and 31 dimensions, such as Campaign Name and Date. These are the groups; the Quantcast field reference lists all of them:
- Delivery and spend: Impressions, Budget Delivered, Clicks (General IVT), Clicks (Advanced IVT), Currency.
- Reach and viewability: Device Reach, Household Reach, Measured Impressions, Viewable Impressions, Viewability.
- Video and audio: Completed Views, Completed Views (Audible And Visible), Completed Listens.
- Results and revenue: Results, Click Results, View Results, Revenue.
- Campaign structure: Campaign Name, Campaign ID, Ad Set Name, Ad Set ID, Creative Name, Creative ID, Channel.
- Device: Device Type, Operating System.
- Date and account: Date, Week, Month, Year, Account Name.
How does Windsor.ai load Quantcast data into Python?
Windsor.ai gives you an API URL for your selected Quantcast fields. Call it from Python with requests or a similar library and load the response into pandas or your own code.
Can I combine Quantcast data with other sources in my scripts?
Yes. Windsor.ai supports 350+ data sources, so Quantcast data can sit next to other connected sources in the same scripts. For example, put Quantcast Budget Delivered and Results by Date next to Google Ads Cost and Conversions for the same days, to compare what each platform spent and the results it reports.
Do I need to code to connect Quantcast to Python?
Yes, a few lines. Connecting Quantcast and choosing fields happens in the Windsor.ai dashboard with no code. Loading the data into Python takes one request, as in the example in step 4.
How much does it cost to integrate Quantcast with Python using Windsor.ai?
The free forever plan covers 1 data source, so connecting Quantcast on its own costs nothing and needs no credit card. Combining Quantcast with other sources needs a paid plan: $19/month for 3 sources or $99/month for 7. See the pricing page.
Do you have helpful links to get started with Quantcast and Python?
Yes. The Quantcast field reference lists every field with its description, and the Python integration documentation covers the setup step by step.
The Quantcast connector page lists every destination for this data, and the list of Windsor.ai connectors for Python shows the other sources you can add.
To compare Quantcast with other ad platforms, read the guide on using Windsor.ai for paid media.
Tired of manual Quantcast data exports? Try Windsor.ai today and connect Quantcast once

