pub struct AddTargetedSitesRequest {
pub sites: Option<Vec<String>>,
pub targeting_mode: Option<String>,
}
Expand description
A request to start targeting the provided sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§sites: Option<Vec<String>>
A list of site URLs to target in the pretargeting configuration. These values will be added to the list of targeted URLs in PretargetingConfig.webTargeting.values.
targeting_mode: Option<String>
Required. The targeting mode that should be applied to the list of site URLs. If there are existing targeted sites, must be equal to the existing PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will be returned.
Trait Implementations§
source§impl Clone for AddTargetedSitesRequest
impl Clone for AddTargetedSitesRequest
source§fn clone(&self) -> AddTargetedSitesRequest
fn clone(&self) -> AddTargetedSitesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more