pub struct ServingRestriction {
pub contexts: Option<Vec<ServingContext>>,
pub disapproval: Option<Disapproval>,
pub disapproval_reasons: Option<Vec<Disapproval>>,
pub status: Option<String>,
}
Expand description
Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS versus HTTP request, or the type of auction).
This type is not used in any activity, and only used as part of another schema.
Fields§
§contexts: Option<Vec<ServingContext>>
The contexts for the restriction.
disapproval: Option<Disapproval>
Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
disapproval_reasons: Option<Vec<Disapproval>>
Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; use disapproval field instead.
status: Option<String>
The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Trait Implementations§
source§impl Clone for ServingRestriction
impl Clone for ServingRestriction
source§fn clone(&self) -> ServingRestriction
fn clone(&self) -> ServingRestriction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more