pub struct AdvertiserGeneralConfig {
pub currency_code: Option<String>,
pub domain_url: Option<String>,
pub time_zone: Option<String>,
}
Expand description
General settings of an advertiser.
This type is not used in any activity, and only used as part of another schema.
Fields§
§currency_code: Option<String>
Required. Immutable. Advertiser’s currency in ISO 4217 format. Accepted codes and the currencies they represent are: Currency Code : Currency Name * ARS
: Argentine Peso * AUD
: Australian Dollar * BRL
: Brazilian Real * CAD
: Canadian Dollar * CHF
: Swiss Franc * CLP
: Chilean Peso * CNY
: Chinese Yuan * COP
: Colombian Peso * CZK
: Czech Koruna * DKK
: Danish Krone * EGP
: Egyption Pound * EUR
: Euro * GBP
: British Pound * HKD
: Hong Kong Dollar * HUF
: Hungarian Forint * IDR
: Indonesian Rupiah * ILS
: Israeli Shekel * INR
: Indian Rupee * JPY
: Japanese Yen * KRW
: South Korean Won * MXN
: Mexican Pesos * MYR
: Malaysian Ringgit * NGN
: Nigerian Naira * NOK
: Norwegian Krone * NZD
: New Zealand Dollar * PEN
: Peruvian Nuevo Sol * PLN
: Polish Zloty * RON
: New Romanian Leu * RUB
: Russian Ruble * SEK
: Swedish Krona * TRY
: Turkish Lira * TWD
: New Taiwan Dollar * USD
: US Dollar * ZAR
: South African Rand
domain_url: Option<String>
Required. The domain URL of the advertiser’s primary website. The system will send this information to publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path or query string, beginning with http:
or https:
. For example, http://www.example.com
time_zone: Option<String>
Output only. The standard TZ database name of the advertiser’s time zone. For example, America/New_York
. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For CM360 hybrid advertisers, the time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time zone is the same as that of the parent partner.
Trait Implementations§
Source§impl Clone for AdvertiserGeneralConfig
impl Clone for AdvertiserGeneralConfig
Source§fn clone(&self) -> AdvertiserGeneralConfig
fn clone(&self) -> AdvertiserGeneralConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdvertiserGeneralConfig
impl Debug for AdvertiserGeneralConfig
Source§impl Default for AdvertiserGeneralConfig
impl Default for AdvertiserGeneralConfig
Source§fn default() -> AdvertiserGeneralConfig
fn default() -> AdvertiserGeneralConfig
Source§impl<'de> Deserialize<'de> for AdvertiserGeneralConfig
impl<'de> Deserialize<'de> for AdvertiserGeneralConfig
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>,
Source§impl Serialize for AdvertiserGeneralConfig
impl Serialize for AdvertiserGeneralConfig
impl Part for AdvertiserGeneralConfig
Auto Trait Implementations§
impl Freeze for AdvertiserGeneralConfig
impl RefUnwindSafe for AdvertiserGeneralConfig
impl Send for AdvertiserGeneralConfig
impl Sync for AdvertiserGeneralConfig
impl Unpin for AdvertiserGeneralConfig
impl UnwindSafe for AdvertiserGeneralConfig
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> 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