1. Add permission control of ad.
2. Add error handler on ad interfaces.