You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
3.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayMarketingCdpAdvertiseQueryResponse.
/// </summary>
public class AlipayMarketingCdpAdvertiseQueryResponse : AopResponse
{
/// <summary>
/// 用户点击广告后跳转URL地址, 协议必须为HTTPS。广告类型为PIC时需要设置该值。对于类型为URL不生效
/// </summary>
[XmlElement("action_url")]
public string ActionUrl { get; set; }
/// <summary>
/// 广告位标识码目前广告位只支持在支付宝钱包中显示口碑app暂不支持。传值CDP_OPEN_MERCHANT
/// </summary>
[XmlElement("ad_code")]
public string AdCode { get; set; }
/// <summary>
/// 该规则用于商家设置对用户是否展示广告的校验条件,目前支持设置商家店铺规则。按业务要求应用对应规则即可
/// </summary>
[XmlElement("ad_rules")]
public string AdRules { get; set; }
/// <summary>
/// 广告消失机制CLOSE_AFTER_CLICK总共点击一定次数消失
/// </summary>
[XmlElement("behavior")]
public string Behavior { get; set; }
/// <summary>
/// 广告扩展字段
/// </summary>
[XmlElement("biz_ext_info")]
public string BizExtInfo { get; set; }
/// <summary>
/// 广告内容。如果广告类型是HTML5则传入H5链接地址建议为https协议。最大尺寸不得超过1242px242px小屏幕将按分辨率宽度同比例放大缩小如果类型是图片则传入图片ID标识如何获取图片ID参考图片上传接口alipay.offline.material.image.upload。图片尺寸为1242px290px。图片大小不能超过50kb。
/// </summary>
[XmlElement("content")]
public string Content { get; set; }
/// <summary>
/// 广告内容类型目前包括HTML5和图片分别传入URL和PIC
/// </summary>
[XmlElement("content_type")]
public string ContentType { get; set; }
/// <summary>
/// 投放广告结束时间使用标准时间格式yyyy-MM-dd HH:mm:ss如果不设置默认投放时间一个月
/// </summary>
[XmlElement("end_time")]
public string EndTime { get; set; }
/// <summary>
/// 当广告类型是H5时必须传入内容高度。对于广告位CDP_OPEN_MERCHANT的内容高度不能高于钱包要求的展位高度242px。当广告类型是图片时不需要传入内容高度(height)系统会检查用户上传的图片尺寸是否符合要求对于广告位CDP_OPEN_MERCHANT的图片尺寸要求宽1242px, 高290px,大小50kb实际上传图片与图片标准宽高必须一致图片大小不能超过50kb。
/// </summary>
[XmlElement("height")]
public string Height { get; set; }
/// <summary>
/// 投放广告开始时间使用标准时间格式yyyy-MM-dd HH:mm:ss如果不设置默认投放时间一个月
/// </summary>
[XmlElement("start_time")]
public string StartTime { get; set; }
/// <summary>
/// 在线ONLINE , 下线OFFLINE
/// </summary>
[XmlElement("status")]
public string Status { get; set; }
}
}