Struct gapi_grpc::google::ads::googleads::v4::resources::campaign::ShoppingSetting[][src]

pub struct ShoppingSetting {
    pub merchant_id: Option<i64>,
    pub sales_country: Option<String>,
    pub campaign_priority: Option<i32>,
    pub enable_local: Option<bool>,
}

The setting for Shopping campaigns. Defines the universe of products that can be advertised by the campaign, and how this campaign interacts with other Shopping campaigns.

Fields

merchant_id: Option<i64>

Immutable. ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.

sales_country: Option<String>

Immutable. Sales country of products to include in the campaign. This field is required for Shopping campaigns. This field is immutable. This field is optional for non-Shopping campaigns, but it must be equal to ‘ZZ’ if set.

campaign_priority: Option<i32>

Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. This field is required for Shopping campaigns, with values between 0 and 2, inclusive. This field is optional for Smart Shopping campaigns, but must be equal to 3 if set.

enable_local: Option<bool>

Whether to include local products.

Trait Implementations

impl Clone for ShoppingSetting[src]

impl Debug for ShoppingSetting[src]

impl Default for ShoppingSetting[src]

impl Message for ShoppingSetting[src]

impl PartialEq<ShoppingSetting> for ShoppingSetting[src]

impl StructuralPartialEq for ShoppingSetting[src]

Auto Trait Implementations

impl RefUnwindSafe for ShoppingSetting

impl Send for ShoppingSetting

impl Sync for ShoppingSetting

impl Unpin for ShoppingSetting

impl UnwindSafe for ShoppingSetting

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]