mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 10:38:10 +08:00
feat(wxads): 封装部分微信广告平台接口
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /campaigns/add 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CampaignsAddRequest : WechatAdsRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置推广计划名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("campaign_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("campaign_name")]
|
||||
public string CampaignName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置推广计划类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("campaign_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("campaign_type")]
|
||||
public string CampaignType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置推广标的物类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_type")]
|
||||
public string ProductType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置广告状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("configured_status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("configured_status")]
|
||||
public string? ConfiguredStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置日消耗限额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("daily_budget")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("daily_budget")]
|
||||
public int? DailyBudget { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user