pub struct Producer {
pub id: Option<String>,
pub name: Option<String>,
pub cat: Option<Vec<ContentCategory>>,
pub domain: Option<String>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.17 Object: Producer
This object defines the producer of the content in which the ad will be shown. This is particularly useful when the content is syndicated and may be distributed through different publishers and thus when the producer and publisher are not necessarily the same entity.
Fields§
§id: Option<String>
string Content producer or originator ID. Useful if content is syndicated and may be posted on a site using embed tags.
name: Option<String>
string Content producer or originator name (e.g., “Warner Bros”).
cat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the content producer. Refer to List 5.1.
domain: Option<String>
string Highest level domain of the content producer (e.g., “producer.com”).
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Producer
impl<'de> Deserialize<'de> for Producer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more