An ad words ad performance analysis by r

13
An AdWords Ad Performance Analysis by R Final project submission By Simon Chen

description

Open Date final project submission

Transcript of An ad words ad performance analysis by r

Page 1: An ad words ad performance analysis by r

An AdWords Ad

Performance Analysis by R

Final project submission

By Simon Chen

Page 2: An ad words ad performance analysis by r

Background and goal

AdWords, Google’s online advertising program.

Try to get basic AdWords Data by API and analyze an ad campaign with R.

Page 3: An ad words ad performance analysis by r

Definition

Customer account

MCC(My Client Center) account

Clicks

Conversions

Page 4: An ad words ad performance analysis by r

Data Preparation A MCC’s data of customers by AdWords API

https://developers.google.com/adwords/api/docs/reference/v201406/ManagedCustomerService

Page 5: An ad words ad performance analysis by r

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/docs/appendix/reports#geo

Page 6: An ad words ad performance analysis by r

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;

Page 7: An ad words ad performance analysis by r

Data Preparationcreate table DAILY_DATA(

id bigint not null auto_increment,

customer bigint not null,

campaign_name varchar(255),

data_date datetime not null,

impressions bigint,

clicks bigint,

ctr double precision,

conversions bigint,

conv_rate double precision,

cost double precision,

primary key (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,

impressions bigint,

clicks bigint,

ctr double precision,

conversions bigint,

conv_rate double precision,

cost double precision,

primary key (id)

) ENGINE=InnoDB;

Page 8: An ad words ad performance analysis by r

Scenario 1

I want to know the daily clicks of an ad campaign last month(2014/10).

Page 9: An ad words ad performance analysis by r

Scenario 2

I want to know conversions of every day of Weeks.

Page 10: An ad words ad performance analysis by r

Scenario 3

I want to know clicks from every country.

Page 11: An ad words ad performance analysis by r

Scenario 4

I want to compare two similar ad campaigns.

Page 12: An ad words ad performance analysis by r

Scenario 5 I want to compare ad campaigns with the

mean.

Page 13: An ad words ad performance analysis by r

Conclusion

Virtualizing our AdWords performance data with R will help us understand the operation of ad campaigns more easily.