pub struct AddTargetedPublishersRequest {
pub publisher_ids: Option<Vec<String>>,
pub targeting_mode: Option<String>,
}
Expand description
A request to start targeting the provided publishers in a specific pretargeting configuration. The pretargeting configuration itself specifies how these publishers are targeted in PretargetingConfig.publisherTargeting.
§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§
§publisher_ids: Option<Vec<String>>
A list of publisher IDs to target in the pretargeting configuration. These values will be added to the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.
targeting_mode: Option<String>
Required. The targeting mode that should be applied to the list of publisher IDs. If are existing publisher IDs, must be equal to the existing PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error will be returned.
Trait Implementations§
source§impl Clone for AddTargetedPublishersRequest
impl Clone for AddTargetedPublishersRequest
source§fn clone(&self) -> AddTargetedPublishersRequest
fn clone(&self) -> AddTargetedPublishersRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more