예제 #1
0
        public Result5 UpDateCampaignRequest(CampaignUpdateItem[] CampaignUpdateItem, ApiConnect.ApiConnect apiConnect)
        {
            string[] Headers = new string[] { };
            paramsRequest.Campaigns = CampaignUpdateItem;
            Result5 a = apiConnect.GetResult5(paramsRequest, "campaigns", "update", ref Headers);

            return(a);
        }
예제 #2
0
파일: GetBids.cs 프로젝트: n0namer/API_YD
 public Model.Bids[] GetBids(ParamsRequest paramsRequest, ApiConnect.ApiConnect apiConnect)
 {
     return(apiConnect.GetResult5(paramsRequest, "bids", "get", ref Headers).Bids);
 }
예제 #3
0
 public Model.AdGroup[] GetAdGroups(ParamsRequest paramsRequest, ApiConnect.ApiConnect apiConnect)
 {
     return(apiConnect.GetResult5(paramsRequest, "adgroups", "get", ref Headers).AdGroups);
 }
예제 #4
0
 /// <summary>
 /// Получить от API ставки
 /// </summary>
 /// <param name="paramsRequest">фильтр запроса</param>
 /// <param name="apiConnect">Данные ползователя для запроса</param>
 /// <returns>Ставик Bids </returns>
 public Model.KeywordBid[] GetKeywordBids(ParamsRequest paramsRequest, ApiConnect.ApiConnect apiConnect)
 {
     return(apiConnect.GetResult5(paramsRequest, "keywordbids", "get", ref Headers).KeywordBids);
 }
예제 #5
0
 public Model.Campaign[] GetCampaigns(ParamsRequest paramsRequest, ApiConnect.ApiConnect apiConnect)
 {
     return(apiConnect.GetResult5(paramsRequest, "campaigns", "get", ref Headers).Campaigns);
 }
예제 #6
0
 public Model.Client[] GetClients(ParamsRequest paramsRequest, ApiConnect.ApiConnect apiConnect)
 {
     return(apiConnect.GetResult5(paramsRequest, "clients", "get", ref Headers).Clients);
 }