[−][src]Struct beeswax::resource::advertiser::CreateAdvertiser
Fields
advertiser_name: String
Unique name for the advertiser, must be unique per account.
attributes: Option<JsonValue>
Creative attributes in JSON
<module_name> object
The overall statement can include any number of modules, but each
module may only appear once. Example of a module is advertiser
array of mixed types
Key must belong to the module selected, the value must be a
list of one or more values corresponding to the key. Values may be integers or strings
depending on the key.
conversion_method_id: ConversionMethod
The conversion attribution to use for Events owned by this Advertiser. Must be a valid attribution method as found in the conversion_atrtibution_methods view. At this time only method 1 (last click) is supported. Once a conversion method is chosen, it cannot be changed.
default_click_url: Option<String>
Click URL to use by default for objects created under this advertiser
default_continent: Option<Continent>
Continent in which this Advertiser's Campaigns should be eligible to serve. Can be changed at the Campaign level.
default_currency: Option<Currency>
Currency to use as default for all Campaigns under this Advertiser
default_creative_thumbnail_url: Option<String>
URL of a thumbnail image to use when a Creative does not have one. This is useful since some exchanges may not allow a Creative to run without a thumbnail.
default_campaign_preset_id: Option<u64>
The preset to use by default for all campaigns created under this advertiser. Note, presets can only be created in the UI.
default_line_item_preset_id: Option<u64>
The preset to use by default for all line items created under this advertiser. Note, presets can only be created in the UI.
alternative_id: Option<String>
An alternative id to associate, if desired
notes: Option<String>
Any notes desired, less than 255 chars
active: bool
Is the advertier active
Implementations
impl CreateAdvertiser
[src]
pub fn builder(
) -> CreateAdvertiserBuilder<((), (), (), (), (), (), (), (), (), (), (), ())>
[src]
) -> CreateAdvertiserBuilder<((), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building CreateAdvertiser
.
On the builder, call .advertiser_name(...)
, .attributes(...)
(optional), .conversion_method_id(...)
(optional), .default_click_url(...)
(optional), .default_continent(...)
(optional), .default_currency(...)
(optional), .default_creative_thumbnail_url(...)
(optional), .default_campaign_preset_id(...)
(optional), .default_line_item_preset_id(...)
(optional), .alternative_id(...)
(optional), .notes(...)
(optional), .active(...)
(optional) to set the values of the fields (they accept Into
values).
Finally, call .build()
to create the instance of CreateAdvertiser
.
Trait Implementations
impl Clone for CreateAdvertiser
[src]
fn clone(&self) -> CreateAdvertiser
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Create<Advertiser> for CreateAdvertiser
[src]
fn into_resource(self, advertiser_id: u64) -> Advertiser
[src]
impl Debug for CreateAdvertiser
[src]
impl Default for CreateAdvertiser
[src]
fn default() -> CreateAdvertiser
[src]
impl<'de> Deserialize<'de> for CreateAdvertiser
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CreateAdvertiser
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateAdvertiser
impl Send for CreateAdvertiser
impl Sync for CreateAdvertiser
impl Unpin for CreateAdvertiser
impl UnwindSafe for CreateAdvertiser
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,