public void UpdateTextCreative()
        {
            TextAdCreative creative = TextAdCreative.Create(15073UL, 16244UL, 29834UL, 100UL, new AdAction(0U));

            creative.Name             = "12update";
            creative.Action.Id        = 2;
            creative.Status           = AdStatus.Launching;
            creative.Size.ImageSizeId = 30;
            creative.LogoImageUrl     = "http://172.16.18.6/conversion/15135/c7751dd234cd4414b8e9dc704c4e2cc7.png";
            creative.Title            = "12";
            creative.Desc1            = "12";
            creative.Desc2            = "12";
            creative.DisplayUrl       = "www.baidu.com.cn";
            creative.DestinationUrl   = "www.google.com.cn";

            _adTextCreativeData = ConverterFactory.GetAdTextCreativeConverter().ConvertToNetworkObject(creative);

            UpdateAdTextCreativeByIdProcessor processor   = new UpdateAdTextCreativeByIdProcessor();
            FakedBusinessTransaction          transaction = new FakedBusinessTransaction();

            transaction.Request = new UpdateAdTextCreativeByIdRequestMessage {
                UserId = 9083, AccountId = 6179, Data = _adTextCreativeData
            };
            processor.Process(transaction);

            UpdateAdTextCreativeByIdResponseMessage rspMsg = (UpdateAdTextCreativeByIdResponseMessage)transaction.Response;
        }
        public void CreateNewTextCreative()
        {
            TextAdCreative creative = TextAdCreative.Create(14788UL, 16165UL, 0UL, 100UL, new AdAction(3U));

            creative.Name             = "12";
            creative.Action.Id        = 2;
            creative.Status           = AdStatus.Launching;
            creative.Size.ImageSizeId = 30;
            creative.LogoImageUrl     = "http://172.16.18.6/conversion/15135/c7751dd234cd4414b8e9dc704c4e2cc7.png";
            creative.Title            = "12";
            creative.Desc1            = "12";
            creative.Desc2            = "12";
            creative.DisplayUrl       = "www.baidu.com";
            creative.DestinationUrl   = "www.google.com";
            creative.CustomElement.AddElementItem(1, "123");
            creative.CustomElement.AddElementItem(5, "123");
            creative.CustomElement.AddElementItem(8, "123");

            _adTextCreativeData = ConverterFactory.GetAdTextCreativeConverter().ConvertToNetworkObject(creative);

            CreateNewAdTextCreativeProcessor processor   = new CreateNewAdTextCreativeProcessor();
            FakedBusinessTransaction         transaction = new FakedBusinessTransaction();

            transaction.Request = new CreateNewAdTextCreativeRequestMessage {
                UserId = 9062, AccountId = 5715, Data = _adTextCreativeData
            };
            processor.Process(transaction);

            CreateNewAdTextCreativeResponseMessage rspMsg = (CreateNewAdTextCreativeResponseMessage)transaction.Response;
        }