\PING\
August 19, 2021 ยท View on GitHub
A fake ad type that is only used for local development.
Example
<amp-ad
width="300"
height="250"
type="_ping_"
data-url="https://lh3.googleusercontent.com/pSECrJ82R7-AqeBCOEPGPM9iG9OEIQ_QXcbubWIOdkY=w400-h300-no-n"
data-valid="true"
data-enable-io="true"
>
</amp-ad>
Configuration
For details on the configuration semantics, please contact the ad network or refer to their documentation.
Required parameters
data-url: Image ad with the image.
Optional parameters
data-valid: Set to false to return a no fill ad.data-ad-height: Ad image size.data-ad-width: Ad image width.data-enable-io: Enable logging IntersectionObserver entry.
User Consent Integration
When user consent is required. _Ping_ ad approaches user consent in the following ways:
CONSENT_POLICY_STATE.SUFFICIENT: Serve a personalized ad to the user.CONSENT_POLICY_STATE.INSUFFICIENT: Serve a non-personalized ad to the user.CONSENT_POLICY_STATE.UNKNOWN_NOT_REQUIRED: Serve a personalized ad to the user.CONSENT_POLICY_STATE.UNKNOWN: Will not serve an ad to the user.