view.setListener(newAdListener() { @Overridepublicvoidshow() {//Code to be executed when the ad has been showed int Screen } @OverridepublicvoidloadFaild() {//Code to be executed when the ad load faild } @OverridepublicvoidloadSucces() {//Code to be executed when the ad load success } @OverridepublicvoidadClose() {//Code to be executed when the ad close by user } @OverridepublicvoidadClick() {//Code to be executed when user click the ad } @OverridepublicvoidadComplate() {//Code to be executed when the ad is finish } @OverridepublicvoidadSkip() {//Code to be executed when user skip the ad not wait for finish it } @OverridepublicvoidclickUrl(String url) {//Code to be executed when user click the ad and tell the url to uesr } });