SlideShare a Scribd company logo
An AdWords Ad
Performance Analysis by R
Final project submission
By Simon Chen
Background and goal
 AdWords, Google’s online advertising
program.
 Try to get basic AdWords Data by API and
analyze an ad campaign with R.
Definition
 Customer account
 MCC(My Client Center) account
 Clicks
 Conversions
Data Preparation
 A MCC’s data of customers by AdWords API
 https://developers.google.com/adwords/api/docs/reference/v20
1406/ManagedCustomerService
Data Preparation
 MCC’s daily data of all ad campaigns last
month(2014/10) by AdWords API
 https://developers.google.com/adwords/api/docs/appendix/repo
rts#campaign
 MCC’s daily data separated by countries last
month(2014/10) by AdWords API
 https://developers.google.com/adwords/api/d
ocs/appendix/reports#geo
Data Preparation
 Defined three MySQL
tables to save the data
above.
create table CUSTOMER(
id bigint not null auto_increment,
name varchar(255),
primary key (id)
) ENGINE=InnoDB;
Data Preparation
create table DAILY_DATA(
idbigint not null auto_increment,
customer bigint not null,
campaign_name varchar(255),
data_date datetime not null,
impressionsbigint,
clicksbigint,
ctr double precision,
conversionsbigint,
conv_rate double precision,
cost double precision,
primarykey(id)
) ENGINE=InnoDB;
create table DAILY_GEO_DATA(
id bigint not null auto_increment,
customer bigint not null,
campaign_name varchar(255),
country varchar(255),
data_date datetime not null,
impressionsbigint,
clicksbigint,
ctr double precision,
conversionsbigint,
conv_rate double precision,
cost double precision,
primary key (id)
) ENGINE=InnoDB;
Scenario 1
 I want to know the daily clicks of an ad
campaign last month(2014/10).
Scenario 2
 I want to know conversions of every day
of Weeks.
Scenario 3
 I want to know clicks from every country.
Scenario 4
 I want to compare two similar ad
campaigns.
Scenario 5
 I want to compare ad campaigns with the
mean.
Conclusion
 Virtualizing our AdWords performance data
with R will help us understand the
operation of ad campaigns more easily.
Ad

More Related Content

Viewers also liked (16)

Using R with Hadoop
Using R with HadoopUsing R with Hadoop
Using R with Hadoop
Revolution Analytics
 
Tapping the Data Deluge with R
Tapping the Data Deluge with RTapping the Data Deluge with R
Tapping the Data Deluge with R
Jeffrey Breen
 
Marketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success RatesMarketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success Rates
Revolution Analytics
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerce
InfoFarm
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analytics
Greg Bray
 
Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)
fridolin.wild
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
Anvil Media, Inc.
 
R by example: mining Twitter for consumer attitudes towards airlines
R by example: mining Twitter for consumer attitudes towards airlinesR by example: mining Twitter for consumer attitudes towards airlines
R by example: mining Twitter for consumer attitudes towards airlines
Jeffrey Breen
 
written analysis on coca cola advertisment
written analysis on coca cola advertismentwritten analysis on coca cola advertisment
written analysis on coca cola advertisment
Natasha
 
Marketing data analytics
Marketing data analyticsMarketing data analytics
Marketing data analytics
Canvass All-in-one Marketing Software
 
An introduction to Google Analytics
An introduction to Google AnalyticsAn introduction to Google Analytics
An introduction to Google Analytics
Joris Roebben
 
Google Analytics Data Mining with R
Google Analytics Data Mining with RGoogle Analytics Data Mining with R
Google Analytics Data Mining with R
Tatvic Analytics
 
Introduction to Marketing Analytics
Introduction to Marketing AnalyticsIntroduction to Marketing Analytics
Introduction to Marketing Analytics
Michael Levin
 
Marketing Analytics 101: How to Measure the Effectiveness of Your Website
Marketing Analytics 101: How to Measure the Effectiveness of Your WebsiteMarketing Analytics 101: How to Measure the Effectiveness of Your Website
Marketing Analytics 101: How to Measure the Effectiveness of Your Website
HubSpot
 
Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation
Katelyn Duckworth
 
Text Mining with R -- an Analysis of Twitter Data
Text Mining with R -- an Analysis of Twitter DataText Mining with R -- an Analysis of Twitter Data
Text Mining with R -- an Analysis of Twitter Data
Yanchang Zhao
 
Tapping the Data Deluge with R
Tapping the Data Deluge with RTapping the Data Deluge with R
Tapping the Data Deluge with R
Jeffrey Breen
 
Marketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success RatesMarketing Analytics with R Lifting Campaign Success Rates
Marketing Analytics with R Lifting Campaign Success Rates
Revolution Analytics
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerce
InfoFarm
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analytics
Greg Bray
 
Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)
fridolin.wild
 
R by example: mining Twitter for consumer attitudes towards airlines
R by example: mining Twitter for consumer attitudes towards airlinesR by example: mining Twitter for consumer attitudes towards airlines
R by example: mining Twitter for consumer attitudes towards airlines
Jeffrey Breen
 
written analysis on coca cola advertisment
written analysis on coca cola advertismentwritten analysis on coca cola advertisment
written analysis on coca cola advertisment
Natasha
 
An introduction to Google Analytics
An introduction to Google AnalyticsAn introduction to Google Analytics
An introduction to Google Analytics
Joris Roebben
 
Google Analytics Data Mining with R
Google Analytics Data Mining with RGoogle Analytics Data Mining with R
Google Analytics Data Mining with R
Tatvic Analytics
 
Introduction to Marketing Analytics
Introduction to Marketing AnalyticsIntroduction to Marketing Analytics
Introduction to Marketing Analytics
Michael Levin
 
Marketing Analytics 101: How to Measure the Effectiveness of Your Website
Marketing Analytics 101: How to Measure the Effectiveness of Your WebsiteMarketing Analytics 101: How to Measure the Effectiveness of Your Website
Marketing Analytics 101: How to Measure the Effectiveness of Your Website
HubSpot
 
Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation
Katelyn Duckworth
 
Text Mining with R -- an Analysis of Twitter Data
Text Mining with R -- an Analysis of Twitter DataText Mining with R -- an Analysis of Twitter Data
Text Mining with R -- an Analysis of Twitter Data
Yanchang Zhao
 

Similar to An ad words ad performance analysis by r (20)

Shape.io - PPC Budget Management Suite
Shape.io - PPC Budget Management SuiteShape.io - PPC Budget Management Suite
Shape.io - PPC Budget Management Suite
Shape Integrated Software
 
Apigee Demo: API Platform Overview
Apigee Demo: API Platform OverviewApigee Demo: API Platform Overview
Apigee Demo: API Platform Overview
Apigee | Google Cloud
 
Google Analytics as Database of Record
Google Analytics as Database of RecordGoogle Analytics as Database of Record
Google Analytics as Database of Record
Davy Tollenaere
 
MarketView Marketing Database Platform | Data Services, Inc.
MarketView Marketing Database Platform | Data Services, Inc.MarketView Marketing Database Platform | Data Services, Inc.
MarketView Marketing Database Platform | Data Services, Inc.
Data Services, Inc.
 
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Kinshuk Mishra
 
Building Intelligent Apps with MongoDB and Google Cloud - Jane Fine
Building Intelligent Apps with MongoDB and Google Cloud - Jane FineBuilding Intelligent Apps with MongoDB and Google Cloud - Jane Fine
Building Intelligent Apps with MongoDB and Google Cloud - Jane Fine
MongoDB
 
Api (1)
Api (1)Api (1)
Api (1)
Arif zerman
 
Burt Presentation
Burt PresentationBurt Presentation
Burt Presentation
Webtisan Studio
 
Bruce B. Barker Portfolio
Bruce B. Barker PortfolioBruce B. Barker Portfolio
Bruce B. Barker Portfolio
BruceBBarker
 
Andrey Sukhovoy. Customer Success Data-driven Power
Andrey Sukhovoy. Customer Success Data-driven PowerAndrey Sukhovoy. Customer Success Data-driven Power
Andrey Sukhovoy. Customer Success Data-driven Power
Octopus Events
 
Portfolio
PortfolioPortfolio
Portfolio
nasraja
 
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
Marcel Prothmann
 
Building Intelligent Apps with MongoDB & Google Cloud
Building Intelligent Apps with MongoDB & Google CloudBuilding Intelligent Apps with MongoDB & Google Cloud
Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
EW-Shopp: Supporting Event and Weather-based Data Analytics and Marketing alo...
EW-Shopp: Supporting Event and Weather-basedData Analytics and Marketing alo...EW-Shopp: Supporting Event and Weather-basedData Analytics and Marketing alo...
EW-Shopp: Supporting Event and Weather-based Data Analytics and Marketing alo...
Università degli Studi di Milano-Bicocca
 
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Amelia Swank
 
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google CloudMongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
How Campaign Tracking Really Works
How Campaign Tracking Really WorksHow Campaign Tracking Really Works
How Campaign Tracking Really Works
Edgewater
 
Google Adwords API
Google Adwords APIGoogle Adwords API
Google Adwords API
Mrkt360 Inc.
 
2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald
Guava UK
 
Star Knowledge BI Solutions & Services
Star Knowledge BI Solutions & ServicesStar Knowledge BI Solutions & Services
Star Knowledge BI Solutions & Services
The Knowledge Compass, Inc.
 
Google Analytics as Database of Record
Google Analytics as Database of RecordGoogle Analytics as Database of Record
Google Analytics as Database of Record
Davy Tollenaere
 
MarketView Marketing Database Platform | Data Services, Inc.
MarketView Marketing Database Platform | Data Services, Inc.MarketView Marketing Database Platform | Data Services, Inc.
MarketView Marketing Database Platform | Data Services, Inc.
Data Services, Inc.
 
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Evolution of Spotify's ad architecture (Qcon 2016 Shanghai)
Kinshuk Mishra
 
Building Intelligent Apps with MongoDB and Google Cloud - Jane Fine
Building Intelligent Apps with MongoDB and Google Cloud - Jane FineBuilding Intelligent Apps with MongoDB and Google Cloud - Jane Fine
Building Intelligent Apps with MongoDB and Google Cloud - Jane Fine
MongoDB
 
Bruce B. Barker Portfolio
Bruce B. Barker PortfolioBruce B. Barker Portfolio
Bruce B. Barker Portfolio
BruceBBarker
 
Andrey Sukhovoy. Customer Success Data-driven Power
Andrey Sukhovoy. Customer Success Data-driven PowerAndrey Sukhovoy. Customer Success Data-driven Power
Andrey Sukhovoy. Customer Success Data-driven Power
Octopus Events
 
Portfolio
PortfolioPortfolio
Portfolio
nasraja
 
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
OMLIVE 2017 - ADWORDS TOOLS & SCRIPTS for PPC-NERDS 2017
Marcel Prothmann
 
Building Intelligent Apps with MongoDB & Google Cloud
Building Intelligent Apps with MongoDB & Google CloudBuilding Intelligent Apps with MongoDB & Google Cloud
Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
EW-Shopp: Supporting Event and Weather-based Data Analytics and Marketing alo...
EW-Shopp: Supporting Event and Weather-basedData Analytics and Marketing alo...EW-Shopp: Supporting Event and Weather-basedData Analytics and Marketing alo...
EW-Shopp: Supporting Event and Weather-based Data Analytics and Marketing alo...
Università degli Studi di Milano-Bicocca
 
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Achieving 30% Faster Food Deliveries for a Restaurant Chain with Data Visuali...
Amelia Swank
 
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google CloudMongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB.local Austin 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
How Campaign Tracking Really Works
How Campaign Tracking Really WorksHow Campaign Tracking Really Works
How Campaign Tracking Really Works
Edgewater
 
Google Adwords API
Google Adwords APIGoogle Adwords API
Google Adwords API
Mrkt360 Inc.
 
2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald
Guava UK
 
Ad

Recently uploaded (20)

Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Ad

An ad words ad performance analysis by r

  • 1. An AdWords Ad Performance Analysis by R Final project submission By Simon Chen
  • 2. Background and goal  AdWords, Google’s online advertising program.  Try to get basic AdWords Data by API and analyze an ad campaign with R.
  • 3. Definition  Customer account  MCC(My Client Center) account  Clicks  Conversions
  • 4. Data Preparation  A MCC’s data of customers by AdWords API  https://developers.google.com/adwords/api/docs/reference/v20 1406/ManagedCustomerService
  • 5. Data Preparation  MCC’s daily data of all ad campaigns last month(2014/10) by AdWords API  https://developers.google.com/adwords/api/docs/appendix/repo rts#campaign  MCC’s daily data separated by countries last month(2014/10) by AdWords API  https://developers.google.com/adwords/api/d ocs/appendix/reports#geo
  • 6. Data Preparation  Defined three MySQL tables to save the data above. create table CUSTOMER( id bigint not null auto_increment, name varchar(255), primary key (id) ) ENGINE=InnoDB;
  • 7. Data Preparation create table DAILY_DATA( idbigint not null auto_increment, customer bigint not null, campaign_name varchar(255), data_date datetime not null, impressionsbigint, clicksbigint, ctr double precision, conversionsbigint, conv_rate double precision, cost double precision, primarykey(id) ) ENGINE=InnoDB; create table DAILY_GEO_DATA( id bigint not null auto_increment, customer bigint not null, campaign_name varchar(255), country varchar(255), data_date datetime not null, impressionsbigint, clicksbigint, ctr double precision, conversionsbigint, conv_rate double precision, cost double precision, primary key (id) ) ENGINE=InnoDB;
  • 8. Scenario 1  I want to know the daily clicks of an ad campaign last month(2014/10).
  • 9. Scenario 2  I want to know conversions of every day of Weeks.
  • 10. Scenario 3  I want to know clicks from every country.
  • 11. Scenario 4  I want to compare two similar ad campaigns.
  • 12. Scenario 5  I want to compare ad campaigns with the mean.
  • 13. Conclusion  Virtualizing our AdWords performance data with R will help us understand the operation of ad campaigns more easily.