SocialMedia-Campaign-Analysis

Social Media Ad Campaign

This project analyzes a real-world social media ad campaign dataset to uncover marketing insights. It covers data cleaning, KPI calculation, and visualization of campaign performance. Key metrics like CTR, CPA, CPC, and CPM are computed and explained. Visualizations are created using Power BI to support data-driven marketing decisions.

Campaign Overview 1 Campaign Overview 2

About the Dataset:

Link- https://www.kaggle.com/datasets/loveall/clicks-conversion-tracking

The data set is retrieved from the Kaggle data set Sales Conversion Optimization by GOKAGGLERS, where it describes the marketing and conversion information of an anonymous organisation’s social media ad campaign.

Overall, the data has 1143 entries and 11 columns. A brief description for each column can be given as follows:

  1. ad_id: a unique ID for each ad.
  2. xyzcampaignid: an ID associated with each ad campaign of XYZ company.
  3. fbcampaignid: an ID associated with how Facebook tracks each campaign.
  4. age: age of the person to whom the ad is shown.
  5. gender: gender of the person to whom the add is shown
  6. interest: a code specifying the category to which the person’s interest belongs (interests are as mentioned in the person’s Facebook public profile).
  7. Impressions: the number of times the ad was shown.
  8. Clicks: number of clicks on for that ad.
  9. Spent: Amount paid by company xyz to Facebook, to show that ad.
  10. Total conversion: Total number of people who enquired about the product after seeing the ad.
  11. Approved conversion: Total number of people who bought the product after seeing the ad.

Data Cleaning & Analysis - Microsoft Excel

Data Visualization - Microsoft PowerBI

Methodology:

After observation, it was found that there were no null or invalid type values present in the data. However, it was easy to notice that some entries (204 entries) were having error as Column “Clicks” had value 0 but Column “Total_Conversion” had non-zero values. This is illogical because an ad cannot still gain postive conversions (customers) while no one clicks on it. So, after removing those data, Our dataset consist a total of 939 entries.

Feature Engineering

Using the features given in the data set, we can also perform feature engineering to generate some KPIs that are important for later analysis: