Breaking for commercials: Characterizing Mobile Advertising

30
Breaking for Commercials: Characterizing Mobile Advertising Narseo Vallina-Rodriguez†, Jay Shah†, Alessandro Finamore‡ Yan Grunenberger⋄, Hamed Haddadi§, Dina Papagiannaki⋄ Jon Crowcroft† University of Cambridge† Politecnico di Torino‡ Telefonica Research⋄ Queen Mary University of London§ IMC 2012, Boston, MA

description

Breaking for Commercials. Mobile ads characterization ACM IMC'12 Boston

Transcript of Breaking for commercials: Characterizing Mobile Advertising

Page 1: Breaking for commercials: Characterizing Mobile Advertising

Breaking for Commercials:Characterizing Mobile AdvertisingNarseo Vallina-Rodriguez†, Jay Shah†, Alessandro Finamore‡

Yan Grunenberger⋄, Hamed Haddadi§, Dina Papagiannaki⋄

Jon Crowcroft†

University of Cambridge† Politecnico di Torino‡Telefonica Research⋄Queen Mary University of London§

IMC 2012, Boston, MA

Page 2: Breaking for commercials: Characterizing Mobile Advertising

2

The web is becoming mobile

* Downloads. As of January, 2012

+25 billion

+10 billion

2

Page 3: Breaking for commercials: Characterizing Mobile Advertising

3

The role of mobile ads

73% of Android Apps are free [Leontiadis,HotMobile’12]

Mobile advertising is an important source of income for mobile developers

Page 4: Breaking for commercials: Characterizing Mobile Advertising

4

Mobile User

Usage stats

Mediation Services

Mobile Ad EcosystemApp developer

(publisher)

£

Page 5: Breaking for commercials: Characterizing Mobile Advertising

5

Traffic Flow: AdMob

DNS Server

media.admob.com googleads.g.doubleclick.netpagead2.googlesyndication.com

IDLE

FACH

DCH

EN

ER

GY

DNS LookupGET: http://media.admob.com/sdk-core-v40.jsGET: http://googleads.g.doubleclick.net/mads/gma?...GET: http://pagead2.googlesyndication.com/pagead/images/…

2 seconds

6 seconds

Page 6: Breaking for commercials: Characterizing Mobile Advertising

6

Research Question

How does mobile advertisement delivery impact on the cellular network and the

battery life of the user?

Page 7: Breaking for commercials: Characterizing Mobile Advertising

7

Paper contributions

1st characterization and evaluation of mobile ad trafficNO WEB ADS!

Ad traffic is wasteful in terms of energy and spectrum Only network activity for many apps Strong component of users’ daily traffic Static objects, frequently re-downloaded and distributed

over CDNs Do not tuned with the peculiarities of cellular networks

Design of spectrum and energy-efficient ad delivery mechanism

Page 8: Breaking for commercials: Characterizing Mobile Advertising

8

Methodology

Page 9: Breaking for commercials: Characterizing Mobile Advertising

9

Identifying Ad Traffic

Traces from app execution (tcpdump)

+ Controlled understanding of cause-effect relationships

- Limited to ad networks used by developers

Ad Networks documentation+ Detailed

- Not always available

Inspecting traffic traces from cellular providers+ Identify strategies from different players

+ Large scale impact

- Noisy

Page 10: Breaking for commercials: Characterizing Mobile Advertising

10

Rule set

Set of 122 rules identifying: Type of service (ad network, mediation service and

analytics) Type of action (request ad, configuration script, report click,

…) …Domain Object Path Type of

ServiceAction

media.admob.com adk-core-v40.js Ad Network Configuration script

*.g.doubleclick.net mads/gma Ad Network Get Ad

*.googlesyndication.com pagead/ Ad Network Get static content

*.g.doubleclick.net aclk Ad Network Report click

Full rule set: http://www.retitlc.polito.it/finamore/mobileAdRegexDictionary.xlsx

Page 11: Breaking for commercials: Characterizing Mobile Advertising

11

+3 million mobile subscribers

Full day traces on a major European carrier

1.7 billion TCP connections (including HTTP headers) 22TB of volume downloaded

Mobile traffic dataset

Page 12: Breaking for commercials: Characterizing Mobile Advertising

12

Energy and spectrum overhead

Page 13: Breaking for commercials: Characterizing Mobile Advertising

13

Mobile Apps Nature

Mobile apps are usually offline by nature!!!!!

Top AdMob Android Apps

Rank App Name Category Users (%)

1 Angry Birds Arcade 11.48

2 Advanced Task Killer System Tools 9.77

3 Soccer Scores (FotMob) Sports 3.53

4 Drag Racing Arcade 2.69

5 Bubble Blast Arcade 2.69

Page 14: Breaking for commercials: Characterizing Mobile Advertising

14

Purity

time

Pure activity period

TCP F

low

s

Definition:

Flow A and flow B are part of the same activity period if:

start(flowA) < start (flowB) < end (flowA)

Mixed activity period

81.1%, 68.2% and 69.7% of activity periods are pure for Android, iPhone and iPad respectively

Page 15: Breaking for commercials: Characterizing Mobile Advertising

15

Ad traffic is not tuned with the properties of cellular networks, specially the RNC state machine

Nearly 50% of Adrequests happen within 10 secs.

Session interleave

time

Pure activity period

TCP F

low

s Mixed activity period

interleave

Page 16: Breaking for commercials: Characterizing Mobile Advertising

16

Millennial Media

Inappropriate close of TCP connections adds additional energy and spectrum waste

L4 inefficienciesAdMob

§

Page 17: Breaking for commercials: Characterizing Mobile Advertising

17

Doubling refresh rate adds 40% of energy overheadInappropriate use of TCP connections adds 10%-40% energy overhead

Energy overheadC

urr

en

t (m

A)

0

100

200

300

AirplaneMode

Page 18: Breaking for commercials: Characterizing Mobile Advertising

18

Energy and spectrum-aware ad networks

Page 19: Breaking for commercials: Characterizing Mobile Advertising

19

1. Avoiding redundant transmissions

2. Reducing the number of transitions between the power modes in mobile networks

Actually, …

Ad traffic is mainly composed by static content +40% of volume are images Content distributed over CDNs

How to save energy?

Page 20: Breaking for commercials: Characterizing Mobile Advertising

20

Exploits well-known techniques Connectivity awareness Flow coordination Batching, caching and pre-fetching

Supports all the features of existing ad networks

Our approach: AdCache

Page 21: Breaking for commercials: Characterizing Mobile Advertising

21

Prototype evaluationExisting ad networks

Prototype Evaluation

Up to 50% energy savings!

Cu

rre

nt

(mA

)

0

100

200

300

AirplaneMode

Page 22: Breaking for commercials: Characterizing Mobile Advertising

22

Conclusions

Page 23: Breaking for commercials: Characterizing Mobile Advertising

23

Summary

Mobile app ads are responsible for energy, traffic and spectrum waste Free applications are mainly offline Lack of caching: users can waste hundreds of

MB/day Ad traffic is not tuned with the RNC state machine Inappropriate use of TCP

Simple traffic management techniques can be beneficial

… more interesting results in the paper!

… and lots of things to do! 3GPP != Ethernet

Page 24: Breaking for commercials: Characterizing Mobile Advertising

24

Thank you for your attention!

[email protected]

POLITECNICODI TORINO

Page 25: Breaking for commercials: Characterizing Mobile Advertising

25

Additional Slides

Page 26: Breaking for commercials: Characterizing Mobile Advertising

50% of Android devices, 5% of volume

Ad Traffic Volume

26

Strong component of users’ daily traffic

Static objects, heavily re-downloaded The top 10 objects account for 1% of the total volume

Page 27: Breaking for commercials: Characterizing Mobile Advertising

27

Players sharing the cake

Google services dominate the ad ecosystem but in Analytic Services

Page 28: Breaking for commercials: Characterizing Mobile Advertising

28

Traffic re-downloads

Top 10 objects account for 1% of total volume

Page 29: Breaking for commercials: Characterizing Mobile Advertising

29

Google services dominate the ad ecosystem also in terms of flows and volume

Volume and flows

Page 30: Breaking for commercials: Characterizing Mobile Advertising

30

Multiple organizations serve ad content Usually, ad nets use services from a single

organization Google and Amazon are the preferred services

Ad content distribution