Struct gapi_grpc::google::ads::googleads::v6::common::PolicyValidationParameter[][src]

pub struct PolicyValidationParameter {
    pub ignorable_policy_topics: Vec<String>,
    pub exempt_policy_violation_keys: Vec<PolicyViolationKey>,
}

Parameter for controlling how policy exemption is done. Ignorable policy topics are only usable with expanded text ads and responsive search ads. All other ad types must use policy violation keys.

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, please 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

impl Clone for PolicyValidationParameter[src]

impl Debug for PolicyValidationParameter[src]

impl Default for PolicyValidationParameter[src]

impl Message for PolicyValidationParameter[src]

impl PartialEq<PolicyValidationParameter> for PolicyValidationParameter[src]

impl StructuralPartialEq for PolicyValidationParameter[src]

Auto Trait Implementations

impl RefUnwindSafe for PolicyValidationParameter

impl Send for PolicyValidationParameter

impl Sync for PolicyValidationParameter

impl Unpin for PolicyValidationParameter

impl UnwindSafe for PolicyValidationParameter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]