Connect Hawk DSP to Python
Bring your Hawk DSP data into Python with Windsor.ai, so your scripts read live programmatic campaign data.
Pick the Hawk DSP fields you need, and Windsor.ai keeps them flowing without a CSV export in between.
Forget CSVs. Stop copy/paste. Connect in minutes. No code required.
Get your Hawk DSP data into Python
Hawk DSP is connected once in Windsor.ai, and these are the use cases the fields support:
Track cost per campaign
Spend, CPM and CPC by Campaign show what each Hawk order costs per thousand impressions and per click.
Check video completion
Video Starts, Video Midpoint and Video Completes with VCR show where viewers stop watching.
Measure store visits
Store Visits by Campaign next to Spend shows which orders brought people into stores.
Using Windsor.ai to connect data from Hawk DSP to Python
Windsor.ai moves your Hawk DSP fields into Python on a connection you set up once, so the scripts stay on live records rather than a CSV someone exported last week.
Pick the fields you need and Windsor.ai handles the rest.
How to connect Hawk DSP to Python with Windsor.ai
Explore a step-by-step guide to integrate your Hawk DSP data into Python with the Windsor.ai connector.
Connect a data source
In your Windsor.ai dashboard, connect Hawk DSP: enter your Hawk organization ID and API key. 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 or a similar library to retrieve data from Windsor.ai by making an API call with your obtained API Key URL.
FAQs
What Hawk DSP data can I load into Python?
Windsor.ai gives access to 41 Hawk DSP fields. These are the groups; the Hawk DSP field reference lists all of them:
- Delivery and cost: Impressions, Clicks, CTR, Spend, Spend (Local Currency), CPM, CPC, Currency.
- Video: Video Starts, Video First Quartile, Video Midpoint, Video Third Quartile, Video Completes, VCR.
- Outcomes: Conversions, Store Visits.
- Campaign structure: Advertiser ID, Media Plan ID, Campaign, Campaign ID.
- Time: Date, Week, Month, Year.
How does Windsor.ai load Hawk DSP data into Python?
Windsor.ai gives you an API URL for your selected Hawk DSP fields. Call it from Python with requests or a similar library and load the response into pandas or your own code.
Can I combine Hawk DSP data with other sources in my scripts?
Yes. Windsor.ai supports 350+ data sources, so Hawk DSP data can sit next to other connected sources in the same scripts. For example, put Hawk DSP Spend and Impressions by Campaign and GA4 Sessions by Session source / medium in one table.
Do I need to code to connect Hawk DSP to Python?
No. You connect Hawk DSP in the Windsor.ai dashboard, pick the fields you want, and Windsor.ai handles the transfer.
How much does it cost to integrate Hawk DSP with Python using Windsor.ai?
The free forever plan covers 1 data source, so connecting Hawk DSP on its own costs nothing and needs no credit card. Combining Hawk DSP 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 Hawk DSP and Python?
Yes. These are the resources to start with for the Hawk DSP to Python integration:
Tired of manual Hawk DSP data exports? Try Windsor.ai today to work on live data

