SlideShare a Scribd company logo
Whirl Data
Media Buying Optimization
Using Linear Regression & PHP
Date: 30 June, 2016
By: Manivannan, Data Engineer
Whirl Data
Content
1. Objective
2. Algorithm
3. Implementation
4. Findings
2
Whirl Data
Objective
Case description:
I have a dataset that consists of campaign data from google analytics, cost and
revenue data. I would like to develop a model to optimize for efficient media
buying by optimizing the data from this dataset. The data is from native ad
networks (outbrain/mgid/taboola)
3
Whirl Data
Algorithm
For this case, we suggest Linear Regression for predicting the optimum
cost/revenue model.
4
Whirl Data
Implementation
We’ve created PHP web application to Extract the data from CSV file and apply
linear regression to solve the problem.
1. Load the data from CSV
2. Find the Correlation Coefficient of COST & CLICKS
3. Find the Correlation Coefficient of REVENUE & CLICKS
4. Predict the optimum cost for the given clicks
5. Predict the optimum revenue for the given clicks
5
Whirl Data
Find the Linear Regression of two fields(eg:Clicks and Cost)
Get the Coefficients of cost and clicks
Find the predict value of this Cost
For ex:
The optimum cost for 12 click is: 0.579792099792104
Optimum Cost for the Clicks
6
Whirl Data
Optimum Revenue for the Clicks
Find the Linear Regression of two fields(eg:Clicks and Revenue)
Get the Coefficients of Click and Revenue
Find the predict value of this Revenue
For ex:
The optimum Revenue for 12 click is:0.08521982711456341
7
Whirl Data
(Cost,Revenue and Click)
First find Linear Regression of Cost and Click
Second find the Linear Regression of Revenue and Click
Get the coefficient from first and second result
For ex:
The optimum Click for 0.3865 Cost is:7.9994
The optimum Click for 0.0284 Revenue is:3.999
8
Whirl Data
Findings
Linear regression models
9
Whirl Data
Application Screenshots
10
Whirl Data
Thank you
11

More Related Content

Similar to Media buying optimization

Simply Data driven behavioural algorithms
Simply Data driven behavioural algorithmsSimply Data driven behavioural algorithms
Simply Data driven behavioural algorithms
Nana Bianca
 
Content Marketing Analytics - What you should really be doing... and probably...
Content Marketing Analytics - What you should really be doing... and probably...Content Marketing Analytics - What you should really be doing... and probably...
Content Marketing Analytics - What you should really be doing... and probably...
DigitalMarketingShow
 
Content marketing analytics: what you should really be doing
Content marketing analytics: what you should really be doingContent marketing analytics: what you should really be doing
Content marketing analytics: what you should really be doing
Daniel Smulevich
 
What's New in Predictive Analytics IBM SPSS
What's New in Predictive Analytics IBM SPSSWhat's New in Predictive Analytics IBM SPSS
What's New in Predictive Analytics IBM SPSS
Virginia Fernandez
 
What's New in Predictive Analytics IBM SPSS - Apr 2016
What's New in Predictive Analytics IBM SPSS - Apr 2016What's New in Predictive Analytics IBM SPSS - Apr 2016
What's New in Predictive Analytics IBM SPSS - Apr 2016
Edgar Alejandro Villegas
 
Fuel for the cognitive age: What's new in IBM predictive analytics
Fuel for the cognitive age: What's new in IBM predictive analytics Fuel for the cognitive age: What's new in IBM predictive analytics
Fuel for the cognitive age: What's new in IBM predictive analytics
IBM SPSS Software
 
Content marketing analytics: how to make your data work harder for your business
Content marketing analytics: how to make your data work harder for your businessContent marketing analytics: how to make your data work harder for your business
Content marketing analytics: how to make your data work harder for your business
Daniel Smulevich
 
Predictive Marketing Analytics
Predictive Marketing AnalyticsPredictive Marketing Analytics
Predictive Marketing Analytics
Lori Fisher
 
Tracking the source of your conversions for Digital Fundraising campaign
Tracking the source of your conversions for Digital Fundraising campaignTracking the source of your conversions for Digital Fundraising campaign
Tracking the source of your conversions for Digital Fundraising campaign
Shanelle Clapham Digital Fundraising
 
Cross Channel Attribution Modeling In Action
Cross Channel Attribution Modeling In ActionCross Channel Attribution Modeling In Action
Cross Channel Attribution Modeling In Action
iCrossing GmbH
 
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
Adometry by Google
 
Study programmatic and data in Spain Datmean
Study programmatic and data in Spain DatmeanStudy programmatic and data in Spain Datmean
Study programmatic and data in Spain Datmean
Datmean
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptxHow to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
RobertBrown631492
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptxHow to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
RobertBrown631492
 
Artificial Intelligence in Action
Artificial Intelligence in ActionArtificial Intelligence in Action
Artificial Intelligence in Action
Benjamin Ejzenberg
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdfHow to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
RobertBrown631492
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdfHow to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
RobertBrown631492
 
SMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search CampaignsSMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search Campaigns
Christopher Gutknecht
 
Media Optimization Model
Media Optimization ModelMedia Optimization Model
Media Optimization Model
Daniel McKean
 

Similar to Media buying optimization (20)

Daniel smulevich content analytics
Daniel smulevich   content analyticsDaniel smulevich   content analytics
Daniel smulevich content analytics
 
Simply Data driven behavioural algorithms
Simply Data driven behavioural algorithmsSimply Data driven behavioural algorithms
Simply Data driven behavioural algorithms
 
Content Marketing Analytics - What you should really be doing... and probably...
Content Marketing Analytics - What you should really be doing... and probably...Content Marketing Analytics - What you should really be doing... and probably...
Content Marketing Analytics - What you should really be doing... and probably...
 
Content marketing analytics: what you should really be doing
Content marketing analytics: what you should really be doingContent marketing analytics: what you should really be doing
Content marketing analytics: what you should really be doing
 
What's New in Predictive Analytics IBM SPSS
What's New in Predictive Analytics IBM SPSSWhat's New in Predictive Analytics IBM SPSS
What's New in Predictive Analytics IBM SPSS
 
What's New in Predictive Analytics IBM SPSS - Apr 2016
What's New in Predictive Analytics IBM SPSS - Apr 2016What's New in Predictive Analytics IBM SPSS - Apr 2016
What's New in Predictive Analytics IBM SPSS - Apr 2016
 
Fuel for the cognitive age: What's new in IBM predictive analytics
Fuel for the cognitive age: What's new in IBM predictive analytics Fuel for the cognitive age: What's new in IBM predictive analytics
Fuel for the cognitive age: What's new in IBM predictive analytics
 
Content marketing analytics: how to make your data work harder for your business
Content marketing analytics: how to make your data work harder for your businessContent marketing analytics: how to make your data work harder for your business
Content marketing analytics: how to make your data work harder for your business
 
Predictive Marketing Analytics
Predictive Marketing AnalyticsPredictive Marketing Analytics
Predictive Marketing Analytics
 
Tracking the source of your conversions for Digital Fundraising campaign
Tracking the source of your conversions for Digital Fundraising campaignTracking the source of your conversions for Digital Fundraising campaign
Tracking the source of your conversions for Digital Fundraising campaign
 
Cross Channel Attribution Modeling In Action
Cross Channel Attribution Modeling In ActionCross Channel Attribution Modeling In Action
Cross Channel Attribution Modeling In Action
 
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
Bridge the Marketing Divide: Combining Cross-Channel Attribution with Data On...
 
Study programmatic and data in Spain Datmean
Study programmatic and data in Spain DatmeanStudy programmatic and data in Spain Datmean
Study programmatic and data in Spain Datmean
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptxHow to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pptx
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptxHow to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pptx
 
Artificial Intelligence in Action
Artificial Intelligence in ActionArtificial Intelligence in Action
Artificial Intelligence in Action
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdfHow to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide (1).pdf
 
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdfHow to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
How to Scrape Amazon Product Data using Python – A Comprehensive Guide.pdf
 
SMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search CampaignsSMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search Campaigns
 
Media Optimization Model
Media Optimization ModelMedia Optimization Model
Media Optimization Model
 

Recently uploaded

一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 

Recently uploaded (20)

一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 

Media buying optimization

  • 1. Whirl Data Media Buying Optimization Using Linear Regression & PHP Date: 30 June, 2016 By: Manivannan, Data Engineer
  • 2. Whirl Data Content 1. Objective 2. Algorithm 3. Implementation 4. Findings 2
  • 3. Whirl Data Objective Case description: I have a dataset that consists of campaign data from google analytics, cost and revenue data. I would like to develop a model to optimize for efficient media buying by optimizing the data from this dataset. The data is from native ad networks (outbrain/mgid/taboola) 3
  • 4. Whirl Data Algorithm For this case, we suggest Linear Regression for predicting the optimum cost/revenue model. 4
  • 5. Whirl Data Implementation We’ve created PHP web application to Extract the data from CSV file and apply linear regression to solve the problem. 1. Load the data from CSV 2. Find the Correlation Coefficient of COST & CLICKS 3. Find the Correlation Coefficient of REVENUE & CLICKS 4. Predict the optimum cost for the given clicks 5. Predict the optimum revenue for the given clicks 5
  • 6. Whirl Data Find the Linear Regression of two fields(eg:Clicks and Cost) Get the Coefficients of cost and clicks Find the predict value of this Cost For ex: The optimum cost for 12 click is: 0.579792099792104 Optimum Cost for the Clicks 6
  • 7. Whirl Data Optimum Revenue for the Clicks Find the Linear Regression of two fields(eg:Clicks and Revenue) Get the Coefficients of Click and Revenue Find the predict value of this Revenue For ex: The optimum Revenue for 12 click is:0.08521982711456341 7
  • 8. Whirl Data (Cost,Revenue and Click) First find Linear Regression of Cost and Click Second find the Linear Regression of Revenue and Click Get the coefficient from first and second result For ex: The optimum Click for 0.3865 Cost is:7.9994 The optimum Click for 0.0284 Revenue is:3.999 8