SlideShare a Scribd company logo
1 of 13
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.

More Related Content

Viewers also liked

Web data from R
Web data from RWeb data from R
Web data from Rschamber
 
Tapping the Data Deluge with R
Tapping the Data Deluge with RTapping the Data Deluge with R
Tapping the Data Deluge with RJeffrey 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 RatesRevolution Analytics
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerceInfoFarm
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analyticsGreg 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 airlinesJeffrey Breen
 
written analysis on coca cola advertisment
written analysis on coca cola advertismentwritten analysis on coca cola advertisment
written analysis on coca cola advertismentNatasha
 
An introduction to Google Analytics
An introduction to Google AnalyticsAn introduction to Google Analytics
An introduction to Google AnalyticsJoris Roebben
 
Google Analytics Data Mining with R
Google Analytics Data Mining with RGoogle Analytics Data Mining with R
Google Analytics Data Mining with RTatvic Analytics
 
Introduction to Marketing Analytics
Introduction to Marketing AnalyticsIntroduction to Marketing Analytics
Introduction to Marketing AnalyticsMichael 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 WebsiteHubSpot
 
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 DataYanchang Zhao
 

Viewers also liked (17)

Web data from R
Web data from RWeb data from R
Web data from R
 
Using R with Hadoop
Using R with HadoopUsing R with Hadoop
Using R with Hadoop
 
Tapping the Data Deluge with R
Tapping the Data Deluge with RTapping the Data Deluge with R
Tapping the Data Deluge with R
 
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
 
Data Science for e-commerce
Data Science for e-commerceData Science for e-commerce
Data Science for e-commerce
 
Data mining with Google analytics
Data mining with Google analyticsData mining with Google analytics
Data mining with Google analytics
 
Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)Natural Language Processing in R (rNLP)
Natural Language Processing in R (rNLP)
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
 
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
 
written analysis on coca cola advertisment
written analysis on coca cola advertismentwritten analysis on coca cola advertisment
written analysis on coca cola advertisment
 
Marketing data analytics
Marketing data analyticsMarketing data analytics
Marketing data analytics
 
An introduction to Google Analytics
An introduction to Google AnalyticsAn introduction to Google Analytics
An introduction to Google Analytics
 
Google Analytics Data Mining with R
Google Analytics Data Mining with RGoogle Analytics Data Mining with R
Google Analytics Data Mining with R
 
Introduction to Marketing Analytics
Introduction to Marketing AnalyticsIntroduction to Marketing Analytics
Introduction to Marketing Analytics
 
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
 
Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation Google Analytics / Adwords Digital Marketing Presentation
Google Analytics / Adwords Digital Marketing Presentation
 
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
 

Similar to An ad words ad performance analysis by r

Google Analytics as Database of Record
Google Analytics as Database of RecordGoogle Analytics as Database of Record
Google Analytics as Database of RecordDavy 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 FineMongoDB
 
Bruce B. Barker Portfolio
Bruce B. Barker PortfolioBruce B. Barker Portfolio
Bruce B. Barker PortfolioBruceBBarker
 
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 PowerOctopus Events
 
Portfolio
PortfolioPortfolio
Portfolionasraja
 
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 2017Marcel 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 CloudMongoDB
 
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
 
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 CloudMongoDB
 
How Campaign Tracking Really Works
How Campaign Tracking Really WorksHow Campaign Tracking Really Works
How Campaign Tracking Really WorksEdgewater
 
Google Adwords API
Google Adwords APIGoogle Adwords API
Google Adwords APIMrkt360 Inc.
 
2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer EwaldGuava UK
 
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Christopher Gutknecht
 

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
 
Apigee Demo: API Platform Overview
Apigee Demo: API Platform OverviewApigee Demo: API Platform Overview
Apigee Demo: API Platform Overview
 
Google Analytics as Database of Record
Google Analytics as Database of RecordGoogle Analytics as Database of Record
Google Analytics as Database of Record
 
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.
 
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)
 
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
 
Api (1)
Api (1)Api (1)
Api (1)
 
Burt Presentation
Burt PresentationBurt Presentation
Burt Presentation
 
Bruce B. Barker Portfolio
Bruce B. Barker PortfolioBruce B. Barker Portfolio
Bruce B. Barker Portfolio
 
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
 
Portfolio
PortfolioPortfolio
Portfolio
 
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
 
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
 
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...
 
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
 
How Campaign Tracking Really Works
How Campaign Tracking Really WorksHow Campaign Tracking Really Works
How Campaign Tracking Really Works
 
Google Adwords API
Google Adwords APIGoogle Adwords API
Google Adwords API
 
2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald2009 GAAC Summit Kristoffer Ewald
2009 GAAC Summit Kristoffer Ewald
 
Star Knowledge BI Solutions & Services
Star Knowledge BI Solutions & ServicesStar Knowledge BI Solutions & Services
Star Knowledge BI Solutions & Services
 
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
 

Recently uploaded

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

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.