pub struct ShoppingSetting {
pub merchant_id: i64,
pub feed_label: String,
pub campaign_priority: i32,
pub enable_local: bool,
pub use_vehicle_inventory: bool,
pub advertising_partner_ids: Vec<i64>,
pub disable_product_feed: bool,
}
Expand description
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: i64
ID of the Merchant Center account. This field is required for create operations. This field is immutable for Shopping campaigns.
feed_label: String
Feed label of products to include in the campaign. Only one of feed_label or sales_country can be set. If used instead of sales_country, the feed_label field accepts country codes in the same format for example: ‘XX’. Otherwise can be any string used for feed label in Google Merchant Center.
campaign_priority: 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: bool
Whether to include local products.
use_vehicle_inventory: bool
Immutable. Whether to target Vehicle Listing inventory. This field is
supported only in Smart Shopping Campaigns. For setting Vehicle Listing
inventory in Performance Max campaigns, use listing_type
instead.
advertising_partner_ids: Vec<i64>
Immutable. The ads account IDs of advertising partners cooperating within the campaign.
disable_product_feed: bool
Disable the optional product feed. This field is currently supported only for Demand Gen campaigns. See https://support.google.com/google-ads/answer/13721750 to learn more about this feature.
Trait Implementations§
Source§impl Clone for ShoppingSetting
impl Clone for ShoppingSetting
Source§fn clone(&self) -> ShoppingSetting
fn clone(&self) -> ShoppingSetting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ShoppingSetting
impl Debug for ShoppingSetting
Source§impl Default for ShoppingSetting
impl Default for ShoppingSetting
Source§impl Message for ShoppingSetting
impl Message for ShoppingSetting
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for ShoppingSetting
impl PartialEq for ShoppingSetting
impl StructuralPartialEq for ShoppingSetting
Auto Trait Implementations§
impl Freeze for ShoppingSetting
impl RefUnwindSafe for ShoppingSetting
impl Send for ShoppingSetting
impl Sync for ShoppingSetting
impl Unpin for ShoppingSetting
impl UnwindSafe for ShoppingSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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