//game.js 中
var customAd= wx.createCustomAd({
adIntervals: 30,
adUnitId: 'adunit-dfe6cb4beb06a5a4',
style: {
fixed: false,
left: 0,
top: 0,
},
});
customAd.show();
//game.json
{"deviceOrientation":"landscape","networkTimeout":{"request":5000,"connectSocket":5000,"uploadFile":5000,"downloadFile":5000},"subpackages":[]}
//横屏表现
竖屏表现