pdd/requests/
pdd_ad_api_unit_creative_query_flow_rate.rs

1use crate::Request;
2
3use serde::{Deserialize, Serialize};
4
5
6/// 查询智能创意流量分配比例,万分比
7#[derive(Serialize, Deserialize, Debug, Default)]
8pub struct PddAdApiUnitCreativeQueryFlowRate {
9    
10    /// 广告单元Id
11    #[serde(rename = "adId")]
12    pub ad_id: Option<i64>,
13    
14}
15
16
17/// 查询智能创意流量分配比例,万分比
18impl Request for PddAdApiUnitCreativeQueryFlowRate {
19    fn get_type() -> String {
20        "pdd.ad.api.unit.creative.query.flow.rate".to_string()
21    }
22
23    fn get_response_name() -> String {
24        "response".to_string()
25    }
26}