7 changed files with 231 additions and 143 deletions
@ -0,0 +1,62 @@ |
|||
using BBWY.JDSDK.Response; |
|||
using Jd.Api; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace BBWY.JDSDK.Request |
|||
{ |
|||
public class AdsDspRtbKuaicheAccountCampaignReportRequest : JdRequestBase<AdsDspRtbKuaicheAccountCampaignReportResponse> |
|||
{ |
|||
public int pageSize { get; set; } |
|||
|
|||
public int page { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 当天:0;昨天:1;最近15天:15
|
|||
/// </summary>
|
|||
public int clickOrOrderDay { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 赠品筛选 0 非赠品 1 赠品
|
|||
/// </summary>
|
|||
public int giftFlag { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 空:全部订单 1:成交订单
|
|||
/// </summary>
|
|||
public Nullable<int> orderStatusCategory { get; set; } |
|||
|
|||
public DateTime endDay { get; set; } |
|||
|
|||
public DateTime startDay { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否分日 true: 分日 false:不分日
|
|||
/// </summary>
|
|||
public bool isDaily { get; set; } |
|||
|
|||
public string platform { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 点击口径:0 订单口径:1
|
|||
/// </summary>
|
|||
public int clickOrOrderCaliber { get; set; } |
|||
|
|||
public override string ApiName => "jingdong.ads.dsp.rtb.kuaiche.accountCampaignReport"; |
|||
|
|||
protected override void PrepareParam(IDictionary<string, object> paramters) |
|||
{ |
|||
paramters.Add("pageSize", pageSize); |
|||
paramters.Add("page", page); |
|||
paramters.Add("clickOrOrderDay", clickOrOrderDay); |
|||
paramters.Add("giftFlag", giftFlag); |
|||
paramters.Add("orderStatusCategory", orderStatusCategory); |
|||
paramters.Add("endDay", endDay); |
|||
paramters.Add("startDay", startDay); |
|||
paramters.Add("isDaily", isDaily); |
|||
paramters.Add("platform", platform); |
|||
paramters.Add("clickOrOrderCaliber", clickOrOrderCaliber); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,15 @@ |
|||
using Jd.Api; |
|||
using Newtonsoft.Json; |
|||
using Newtonsoft.Json.Linq; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace BBWY.JDSDK.Response |
|||
{ |
|||
public class AdsDspRtbKuaicheAccountCampaignReportResponse : JdResponse |
|||
{ |
|||
[JsonProperty("returnType")] |
|||
public JObject returnType { get; set; } |
|||
} |
|||
} |
Loading…
Reference in new issue