Skip to main content

GoogleAdContentDTO

Struct GoogleAdContentDTO 

Source
pub struct GoogleAdContentDTO {
Show 23 fields pub id: Option<String>, pub name: Option<String>, pub media_type: Option<String>, pub headlines: Vec<String>, pub long_headlines: Vec<String>, pub descriptions: Vec<String>, pub final_url: Option<String>, pub path1: Option<String>, pub path2: Option<String>, pub is_deleted: Option<bool>, pub ad_error: Option<String>, pub publishing_status: Option<String>, pub ad_id: Option<String>, pub ad_campaign_id: Option<String>, pub ad_group_id: Option<String>, pub google_ad_id: Option<String>, pub media: Vec<GoogleMediaDTO>, pub call_to_action_label: Option<String>, pub business_name: Option<String>, pub youtube_video_links: Vec<GoogleYouTubeVideoLinkDTO>, pub carousel_cards: Vec<GoogleCarouselCardDTO>, pub placements: Vec<String>, pub custom_channels: Option<bool>,
}
Available on crate feature ad-manager only.
Expand description

GoogleAdContentDTO from the GoHighLevel OpenAPI spec.

Fields§

§id: Option<String>

Ad identifier

§name: Option<String>

Ad name

§media_type: Option<String>

Media type Allowed values: IMAGE, VIDEO, CAROUSEL.

§headlines: Vec<String>

Ad headlines

§long_headlines: Vec<String>

Long headlines

§descriptions: Vec<String>

Ad descriptions

§final_url: Option<String>

Final URL

§path1: Option<String>

Display path 1

§path2: Option<String>

Display path 2

§is_deleted: Option<bool>

Whether the ad is soft-deleted

§ad_error: Option<String>

Ad-level error message from Google

§publishing_status: Option<String>

Ad publishing status Allowed values: DRAFT, SCHEDULED, PUBLISHED, PUBLISHING, FAILED, IN_REVIEW, PAUSED, ARCHIVED, WITH_ISSUES, REJECTED.

§ad_id: Option<String>

Internal ad identifier

§ad_campaign_id: Option<String>

Ad campaign identifier

§ad_group_id: Option<String>

Ad group identifier

§google_ad_id: Option<String>

Google Ads ad resource ID

§media: Vec<GoogleMediaDTO>

Ad media items

§call_to_action_label: Option<String>

Call to action label Allowed values: AUTOMATED, LEARN_MORE, GET_QUOTE, APPLY_NOW, SIGN_UP, CONTACT_US, SUBSCRIBE, DOWNLOAD, BOOK_NOW, SHOP_NOW, BUY_NOW, DONATE_NOW.

§business_name: Option<String>

Business name

§youtube_video_links: Vec<GoogleYouTubeVideoLinkDTO>

YouTube video links

§carousel_cards: Vec<GoogleCarouselCardDTO>

Carousel cards

§placements: Vec<String>

Channel placements Allowed values: GMAIL, YOUTUBE_IN_STREAM, YOUTUBE_SHORTS, YOUTUBE_IN_FEED, DISCOVER, DISPLAY.

§custom_channels: Option<bool>

Custom channels flag

Trait Implementations§

Source§

impl Clone for GoogleAdContentDTO

Source§

fn clone(&self) -> GoogleAdContentDTO

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GoogleAdContentDTO

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GoogleAdContentDTO

Source§

fn default() -> GoogleAdContentDTO

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GoogleAdContentDTO

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GoogleAdContentDTO

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.