github 地址:github.com/googleads/googleads-mobile-android-examples
fork it.
- senrsl@senrsl-T540p:~/test/ads$ git clone https://github.com/senRsl/googleads-mobile-android-examples.git
- senrsl@senrsl-T540p:~/test/ads$ tree -L 3
- .
- └── googleads-mobile-android-examples
- ├── admob
- │ ├── BannerExample1
- │ ├── InAppPurchaseExample
- │ ├── InterstitialExample
- │ ├── NativeExample
- │ ├── NativeExpressExample
- │ └── RewardedVideoExample
- ├── advanced
- │ ├── APIDemo
- │ └── NativeListViewExample
- ├── doubleclick
- │ ├── BannerExample
- │ ├── InterstitialExample
- │ └── NativeExample
- ├── LICENSE
- └── README.md
- 15 directories, 2 files
- senrsl@senrsl-T540p:~/test/ads$
现在看来,google adsense for android在收购了doubleclick又收购了admob之后,目录变成了三个
1,admob
这个是后收购的,之前用的就是这个,google把这个收购之后我的这个也没了。。。。
①InterstitialExample
开1
倒计时3秒,然后显示一个全屏广告
点retry按钮,显示

②InAppPurchaseExample
开2
俩按钮,load ad 跟 show ad
点load ad,然后,就没然后了
③NativeExample
开3
layout里放了个framelayout,代码里把ads加载进来
有图

④NativeExpressExample
开4
在下面
有图

⑤RewardedVideoExample
开5
看起来是个看10秒视频的广告
但是没加载上
⑥BannerExample1
开6
在下面有一个320x50的广告
有图

2,advanced
包含上面那个跟下面那个
①APIDemo
开2-1 看起来是个接口的示例。。。 里面有各种格式 但有个毛用

②NativeListViewExample
开2-2 这是啥玩意,卖房子的吗。。。。 图片什么的都在res下,这是想表达什么。。。。

图2

3,doubleclick
早期网页广告都是这个
①BannerExample
开3-1 换了个源而已

②InterstitialExample
开3-2 同照片

③NativeExample
开3-3 虽说一样,单这个广告倒有点意思图

哎,好无聊啊。。。。。
2016年08月02日16:01:37
--
senRsl
2016年08月02日15:04:50
2016年08月02日15:04:50
没有评论 :
发表评论