pub struct SerpApiGoogleAdsSearchTaskPostRequest {Show 15 fields
pub advertiser_ids: Option<Vec<String>>,
pub target: Option<String>,
pub priority: Option<i32>,
pub depth: Option<i32>,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub location_coordinate: Option<String>,
pub platform: Option<String>,
pub format: Option<String>,
pub date_from: Option<String>,
pub date_to: Option<String>,
pub tag: Option<String>,
pub postback_url: Option<String>,
pub postback_data: Option<String>,
pub pingback_url: Option<String>,
}Expand description
Request body for Google Ads Search task_post.
You must set either advertiser_ids or target.
See https://docs.dataforseo.com/v3/serp/google/ads_search/task_post/.
Fields§
§advertiser_ids: Option<Vec<String>>Advertiser ids.
target: Option<String>Target.
priority: Option<i32>Task execution priority: 1 (normal) or 2 (high).
depth: Option<i32>Depth.
location_name: Option<String>Full location name (e.g. “London,England,United Kingdom”).
location_code: Option<i32>DataForSEO location code the search was run for.
location_coordinate: Option<String>GPS coordinates the search was run for (“lat,lng,zoom”).
platform: Option<String>Platform.
format: Option<String>Ad creative format.
date_from: Option<String>Date from.
date_to: Option<String>Date to.
tag: Option<String>User-defined identifier echoed back on the result.
postback_url: Option<String>URL of the postback.
postback_data: Option<String>Postback data.
pingback_url: Option<String>URL of the pingback.
Implementations§
Source§impl SerpApiGoogleAdsSearchTaskPostRequest
impl SerpApiGoogleAdsSearchTaskPostRequest
Sourcepub fn from_advertiser_ids(advertiser_ids: Vec<String>) -> Self
pub fn from_advertiser_ids(advertiser_ids: Vec<String>) -> Self
Creates a request scoped to a set of advertiser ids (from Ads Advertisers).
Sourcepub fn from_target<T: Into<String>>(target: T) -> Self
pub fn from_target<T: Into<String>>(target: T) -> Self
Creates a request scoped to an advertiser’s target domain.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SerpApiGoogleAdsSearchTaskPostRequest
impl<'de> Deserialize<'de> for SerpApiGoogleAdsSearchTaskPostRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SerpApiGoogleAdsSearchTaskPostRequest
impl RefUnwindSafe for SerpApiGoogleAdsSearchTaskPostRequest
impl Send for SerpApiGoogleAdsSearchTaskPostRequest
impl Sync for SerpApiGoogleAdsSearchTaskPostRequest
impl Unpin for SerpApiGoogleAdsSearchTaskPostRequest
impl UnsafeUnpin for SerpApiGoogleAdsSearchTaskPostRequest
impl UnwindSafe for SerpApiGoogleAdsSearchTaskPostRequest
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
Mutably borrows from an owned value. Read more