add linear attribution for ads
code cleaning
Merge pull request #1 from hden/ads_campaign

Ads campaign