Skip to main content

cdp_driver/methods/
ads.rs

1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! A domain for ad-related metrics and data.
5//!
6//! Method names for the `Ads` domain, for use with
7//! [`CdpClient::call`](crate::CdpClient::call).
8//!
9//! This domain is experimental and may change without notice.
10
11/// Retrieves ad metrics for the current page.
12///
13/// Returns: `metrics`
14pub const GET_AD_METRICS: &str = "Ads.getAdMetrics";
15
16/// Retrieves ad scripts for the current page. To minimize payload size, this
17/// only returns the newly tracked ad scripts since the last call to
18/// getAdScripts (i.e., the delta).
19///
20/// Returns: `newScripts`
21pub const GET_AD_SCRIPTS: &str = "Ads.getAdScripts";