pub struct SiteSettings {
pub disable_brand_safe_ads: Option<bool>,
pub creative_settings: Option<CreativeSettings>,
pub active_view_opt_out: Option<bool>,
pub lookback_configuration: Option<LookbackConfiguration>,
pub disable_new_cookie: Option<bool>,
pub video_active_view_opt_out: Option<bool>,
pub tag_setting: Option<TagSetting>,
}Expand description
Site Settings
This type is not used in any activity, and only used as part of another schema.
Fields§
§disable_brand_safe_ads: Option<bool>Whether brand safe ads are disabled for this site.
creative_settings: Option<CreativeSettings>Site-wide creative settings.
active_view_opt_out: Option<bool>Whether active view creatives are disabled for this site.
lookback_configuration: Option<LookbackConfiguration>Lookback window settings for this site.
Whether new cookies are disabled for this site.
video_active_view_opt_out: Option<bool>Whether Verification and ActiveView are disabled for in-stream video creatives on this site. The same setting videoActiveViewOptOut exists on the directory site level – the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
tag_setting: Option<TagSetting>Configuration settings for dynamic and image floodlight tags.
Trait Implementations§
Source§impl Clone for SiteSettings
impl Clone for SiteSettings
Source§fn clone(&self) -> SiteSettings
fn clone(&self) -> SiteSettings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SiteSettings
impl Debug for SiteSettings
Source§impl Default for SiteSettings
impl Default for SiteSettings
Source§fn default() -> SiteSettings
fn default() -> SiteSettings
Source§impl<'de> Deserialize<'de> for SiteSettings
impl<'de> Deserialize<'de> for SiteSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for SiteSettings
Auto Trait Implementations§
impl Freeze for SiteSettings
impl RefUnwindSafe for SiteSettings
impl Send for SiteSettings
impl Sync for SiteSettings
impl Unpin for SiteSettings
impl UnsafeUnpin for SiteSettings
impl UnwindSafe for SiteSettings
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more