public IAsyncResult BeginCreateAdspace(CreateAdspaceRequest CreateAdspaceRequest, AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateAdspace", new object[1]
       {
     (object) CreateAdspaceRequest
       }, callback, asyncState);
 }
 public adspaceItem CreateAdspace(sessionType session, adspaceItem adspace)
 {
     CreateAdspaceRequest CreateAdspaceRequest = new CreateAdspaceRequest();
       DateTime utcNow = DateTime.UtcNow;
       CreateAdspaceRequest.nonce = Signature.GetNonce();
       CreateAdspaceRequest.connectId = session.connectId;
       CreateAdspaceRequest.signature = Signature.SoapSignature(utcNow, session.secretKey, "publisherservice", "createadspace", CreateAdspaceRequest.nonce);
       CreateAdspaceRequest.timestamp = Signature.GetZDateTime(utcNow);
       CreateAdspaceRequest.adspaceItem = adspace;
       CreateAdspaceResponse adspace1 = this.publisherService.CreateAdspace(CreateAdspaceRequest);
       if (adspace1 == null)
     return (adspaceItem) null;
       else
     return adspace1.adspaceItem;
 }