1、获取广告代码
打开小程序后台——流量主——广告管理
![](https://img.kancloud.cn/6c/a8/6ca8fe9e70bb1e069ddb08150ccf4a19_905x527.png)
2、点击新建广告
![](https://img.kancloud.cn/07/91/0791a114717ac9e0bf81555a37cb7a94_384x153.png)
分别添加Banner广告、激励式广告、插屏广告、视频广告、并复制广告ID
3、并复制广告ID
![](https://img.kancloud.cn/69/94/6994b12472d575daa3bbe19a1f7ce016_795x310.png)
分别填入乐玩抽奖后台,流量主广告
![](https://img.kancloud.cn/a9/a0/a9a0157b4f6b6fc5a86dfca9f5d19f3d_848x660.png)
4、添加信息流广告,在小程序后台,新建原生模板广告
![](https://img.kancloud.cn/e7/a3/e7a33b6cb41601e3084e4d8aeb856479_697x425.png)
![](https://img.kancloud.cn/77/af/77af147ee450d7625d67d036e010f50c_1256x559.png)
5、添加垂直多格子广告
![](https://img.kancloud.cn/31/6f/316f5c4e10d5464dfda469d02de8d44e_1249x736.png)
6、添加矩阵格子广告
![](https://img.kancloud.cn/a6/3e/a63e53d555553a4da722f1398c61d358_1246x714.png)
添加完成后,分别将广告代码填入乐玩抽奖后台流量主广告
![](https://img.kancloud.cn/99/46/994676db38b040c162af2a72e7c01ca9_871x448.png)
![](https://img.kancloud.cn/85/1b/851b9b7a0fc3364ac4e39d9aec0f2f0d_697x619.png)