This project provides a comprehensive analysis of programmatic advertising data and the impact of the 2022 World Cup on advertising metrics. The work is divided into three main tasks: analyzing ad impressions and conversions, generating insights from the World Cup 2022 data, and preparing a presentation to summarize the findings.
- Introduction
- Data Description
- Task 1: Programmatic Advertising Analysis
- Task 2: World Cup 2022 Analysis
- Task 3: Presentation
- Usage
- Conclusion
The goal of this project is to leverage data analysis to provide insights into programmatic advertising and understand the impact of major sporting events, specifically the World Cup 2022, on advertising metrics. The analysis aims to help stakeholders make informed decisions to optimize ad spend and improve conversion rates.
The project uses three primary datasets with the following schemas:
-
impressions
impression_id
: stringurl_address
: stringuser_id
: stringrequest_country
: stringtracking_type
: string (fingerprinted or cookie-based)dynamic_display
: booleandynamic_display_variables
: stringrequest_browser_name
: stringtimestamp
: date
-
clicks
impression_id
: intuser_id
: inttimestamp
: string
-
conversions
conversion_id
: stringuser_id
: stringdval
: integer (deposit value)curr
: string (currency)timestamp
: date
-
CTR Calculation for Austria:
- Calculate the Click-Through Rate (CTR) for impressions served in Austria.
- Formula:
CTR (%) = (Number of Clicks / Number of Impressions) * 100
-
Impressions for Converted Users:
- For each user who converted, calculate the number of impressions served.
- Capture the timestamps of the first and last impressions for each converted user.
-
Additional Insights:
- Identify patterns or trends that might be of interest to stakeholders.
- Consider factors like browser usage, dynamic display impact, and tracking types.
-
Largest Reduction in CPA:
- Identify countries with the largest reduction in Cost Per Acquisition (CPA) during the World Cup compared to other periods.
- Metrics analyzed include CPC (Cost Per Click), CPV (Cost Per View), CTR (Click Through Rate), ROAS (Return on Ad Spend), and ROI (Return on Investment).
-
Client Insights:
- Generate insights to encourage clients to invest more in advertising during major sporting events.
- Highlight the potential increase in conversions and reduction in costs during these periods.
-
Adapting Analysis for Euro 2024:
- Discuss how the analysis could be adapted for Euro 2024.
- Identify relevant metrics and insights specific to this event.
Prepare a presentation summarizing the findings from Tasks 1 and 2. The presentation should be structured to highlight key insights and actionable recommendations. Aim for a 10-minute duration, covering the following points:
- Overview of data and methodology
- Key findings from programmatic advertising analysis
- Insights from World Cup 2022 data
- Recommendations for future advertising strategies
- Adaptation plan for Euro 2024 analysis
To run the analysis and generate the plots, follow these steps:
-
Create and Activate Virtual Environment:
# Create a virtual environment (optional name 'venv') python -m venv venv # Activate the virtual environment # On Windows venv\Scripts\activate # On macOS and Linux source venv/bin/activate pip install -r requirements.txt