Meta-Ads

Meta Ads Performance Analytics

banner banner

Meta Ads are digital advertisements placed across Facebook, Instagram, Messenger, and the Audience Network, allowing businesses to target users based on demographics, interests, and behavior. Formerly known as Facebook Ads, this system uses data-driven, highly customizable ad formats like videos, images, and carousels to increase brand awareness, website traffic, and sales.

Project Overview

Data Sources

The dataset used in this project is a simulated digital advertising dataset designed to represent advertising campaigns running on social media platforms such as Facebook and Instagram. The data contains information about ad campaigns, individual ads, user demographics, and user interactions with advertisements. The dataset is organized into four CSV files that represent different entities within a marketing campaign ecosystem. These files were imported into SQl, Excel,Power BI and used for data cleaning, SQL analysis, and visualization.

1. ad_events.csv

This file contains user interaction data with advertisements. Each record represents an event triggered by a user when interacting with an ad.

2. campaigns.csv

This dataset contains campaign-level information describing the marketing campaigns under which ads are grouped.

3. ads.csv

This file provides detailed information about individual advertisements.

4. users.csv

This dataset contains demographic and interest information about users who interacted with the ads.

Data Cleaning and Processing

Before performing SQL analysis, the raw data was cleaned and prepared using Microsoft Excel Power Query to ensure accuracy, consistency, and usability for further analysis.

1. ad_events.csv

Raw Data

banner

Cleaned Data

banner

2. ad.csv

Raw Data

banner

Cleaned Data

banner

3. campaign.csv

Raw Data

banner

Cleaned Data

banner

4. users.csv

Raw Data

banner

Cleaned Data

banner

Database Schema

After data cleaning, the datasets were imported into a SQLite database for relational analysis. The database consists of four tables representing different components of a digital advertising system.

These tables are connected through unique identifiers:

SQL Analysis

SQL was used to perform detailed marketing analytics on the cleaned dataset.

1. Event Funnel & Engagement Depth Analysis

(How users interact with ads across funnel stages)

a. Overall Funnel Distribution

banner
banner

b. Unique Users per Funnel Stage

banner

c. User Drop-Off Analysis (Engagement Depth)

banner
banner
banner

d. Conversion Depth per Ad

banner

Overall Insight

Most users interact with ads at the impression and click stages, but only a small fraction progress to conversion. This indicates significant funnel drop-offs, suggesting that while awareness generation is strong, conversion efficiency can be improved through better targeting, creative optimization, or landing page experience.

2. Campaign-Level Performance & Budget Efficiency

a. Events per Campaign

banner banner

b. Users Reached per Campaign

banner

c. Budget Normalization (Events per Budget Unit)

banner

banner

Overall Insight

Campaign-level comparison of total events and allocated budget reveals variations in engagement efficiency. Some campaigns generate high interaction volumes despite moderate budgets, while others show limited engagement relative to their spending, indicating potential optimization opportunities.

3. Platform Performance (Facebook vs Instagram)

a. Event Volume by Platform

banner

b. Conversion Rate by Platform

banner

c. Platform and Time Interaction

banner

Overall Insight

Platform performance analysis shows that Facebook and Instagram differ not only in engagement volume but also in conversion effectiveness and time-based user behavior. While one platform may drive higher interaction volume, the other may deliver stronger conversion rates, highlighting the need for platform-specific targeting and scheduling strategies.

4. Audience & Demographic Performance Analysis

a. Engagement by Age Group

banner

b. Conversion by Gender

banner

c. Country-Level Engagement

banner

d. Age and Gender Cross-Analysis

banner
banner

Overall Insight

Audience and demographic analysis reveals that engagement and conversion behavior varies across age groups, genders, and geographic regions. Cross-segmentation further highlights specific demographic clusters with higher responsiveness, indicating opportunities for more targeted and efficient advertising strategies.

5. Ad Targeting Alignment Analysis

a. Target Interest vs Actual Engagement Volume

banner
banner

b. Mismatch Detection Between Target Interest and User Interest

banner

Overall Insight

Ad targeting alignment analysis reveals that while certain interest-based segments perform well, several ads engage users outside their intended interest categories. This mismatch indicates opportunities to refine targeting strategies and improve relevance, thereby reducing inefficient ad spend.

6. Time-Based & Behavioral Patterns

a. Day-of-Week Engagement

banner

b. Time-of-Day Engagement Analysis

banner

c. Conversion Timing Analysis

banner

Overall Insight

Time-based behavioral analysis indicates that both engagement and conversion activity vary significantly across days of the week and times of day. Identifying peak responsiveness periods enables more efficient ad scheduling and improved campaign performance.

Interactive Visualizations & Dashboard


Key Insights

1. Platform Performance Differences The analysis showed noticeable differences in engagement levels across advertising platforms. Certain platforms generated higher interaction volumes, indicating that platform selection plays an important role in campaign reach and engagement.

2. Campaign-Level Performance Variation Not all campaigns performed equally. Some campaigns generated significantly higher user interactions and engagement events, while others produced comparatively lower engagement despite running during similar time periods. This suggests that campaign strategy, targeting, or creative content may strongly influence performance.

3. Audience Demographics Influence Engagement User demographic analysis indicated that engagement patterns varied across different age groups and gender segments. Certain audience segments interacted with advertisements more frequently, highlighting the importance of precise audience targeting in digital marketing campaigns.

4. Targeting Effectiveness and Audience Alignment By comparing ad targeting parameters with actual user demographics and interests, the analysis revealed cases where ads were reaching audiences outside their intended targeting criteria. This indicates opportunities to improve targeting strategies to ensure ads reach the most relevant audience groups.

5. Time-Based Interaction Patterns User engagement showed variations across different days of the week and time periods. Certain time slots recorded higher interaction levels, suggesting that campaign scheduling can influence engagement outcomes.

6. Identification of Underperforming Ads Some advertisements generated high exposure but relatively low engagement events. These ads may require creative adjustments, improved targeting, or budget reallocation to improve overall campaign effectiveness.

7. Opportunities for Campaign Optimization Combining SQL-based analysis with Power BI visualizations allowed identification of trends in user behavior, campaign performance, and audience interaction. These insights can help marketers optimize ad targeting, allocate budgets more effectively, and focus on audience segments that generate higher engagement.

Overall, the project demonstrates how combining structured SQL analysis with interactive data visualization can provide meaningful insights for improving digital marketing strategies and campaign decision-making.

Github