Пример #1
0
        public static void setAdStatus()
        {
            AdServiceClient service = new AdServiceClient();

            AuthHeader authHeader = new AuthHeader();

            HeaderUtil.loadHeader(authHeader);

            StatusType[] status = new StatusType[1];
            status[0]        = new StatusType();
            status[0].adId   = 27108657L;
            status[0].status = 0;

            string    result    = null;
            ResHeader resHeader = service.setAdStatus(authHeader, status, out result);

            Console.WriteLine("AdService.setAdStatus(): ");
            ObjectDumper.WriteResponse(resHeader, result);
        }