Struct google_api_proto::google::ads::googleads::v16::common::PolicyValidationParameter
source · pub struct PolicyValidationParameter {
pub ignorable_policy_topics: Vec<String>,
pub exempt_policy_violation_keys: Vec<PolicyViolationKey>,
}
Expand description
Parameter for controlling how policy exemption is done.
Fields§
§ignorable_policy_topics: Vec<String>
The list of policy topics that should not cause a PolicyFindingError to be reported. This field is currently only compatible with Enhanced Text Ad. It corresponds to the PolicyTopicEntry.topic field.
Resources violating these policies will be saved, but will not be eligible to serve. They may begin serving at a later time due to a change in policies, re-review of the resource, or a change in advertiser certificates.
exempt_policy_violation_keys: Vec<PolicyViolationKey>
The list of policy violation keys that should not cause a PolicyViolationError to be reported. Not all policy violations are exemptable, refer to the is_exemptible field in the returned PolicyViolationError.
Resources violating these polices will be saved, but will not be eligible to serve. They may begin serving at a later time due to a change in policies, re-review of the resource, or a change in advertiser certificates.
Trait Implementations§
source§impl Clone for PolicyValidationParameter
impl Clone for PolicyValidationParameter
source§fn clone(&self) -> PolicyValidationParameter
fn clone(&self) -> PolicyValidationParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PolicyValidationParameter
impl Debug for PolicyValidationParameter
source§impl Default for PolicyValidationParameter
impl Default for PolicyValidationParameter
source§impl Message for PolicyValidationParameter
impl Message for PolicyValidationParameter
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PolicyValidationParameter
impl PartialEq for PolicyValidationParameter
source§fn eq(&self, other: &PolicyValidationParameter) -> bool
fn eq(&self, other: &PolicyValidationParameter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyValidationParameter
Auto Trait Implementations§
impl Freeze for PolicyValidationParameter
impl RefUnwindSafe for PolicyValidationParameter
impl Send for PolicyValidationParameter
impl Sync for PolicyValidationParameter
impl Unpin for PolicyValidationParameter
impl UnwindSafe for PolicyValidationParameter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request