code: function (applicationId, deviceDetails, environment) {
      if(!applicationId) {
          logger.wtf('No applicationID specified');
      }
      
      this.applicationId = applicationId;
      this.deviceDetails = deviceDetails;
      this.environment = environment;
      this._currentAds = [];
      this._loadingAds = [];
      this._adsWithoutImages = [];
  }
docs: Creates a new instance of the adManager
  @param applicationId - The ID of the application to receive ads for
  @param deviceDetails - Details about the current users' device
  @param environment - Environment specific functions.
  @constructor