WebInsterstial

Interstitial zoneType: WebInterstitial

Interstitial ads do not need to create a container, and ads can be rendered by calling the window.adsTag.renderInterstitial(zoneId, querySelector) method.

Parameter Description:

parameter
type
illustrate
Is it necessary to transmit
default value

zoneId

string

Specify the ad unit group. Use this parameter to distinguish the ad group revenue.

yes

--

querySelector

string

Specifies that the a tag matching the selector uses interspersed ads. When the parameter is empty, all a tags will take effect. It is recommended to use className or attribute as the selector, and make sure there is no event that blocks the href jump.

no

--

Example:

View Demo

window.adsTag.renderInterstitial(zoneId);

Note:

  • After this method is called, it will only take effect on the a tag jump in the page

  • It can only be called once in a single page. Multiple calls are invalid.

Effect:

Last updated