Last edited: 2025/09/24
Ad holding “holds” an ad on the top of the viewport when the User scrolls down.
Example:
Example of Ad Holding in action
See it on a page: link
You can customize the ad holding behavior to better match the layout and user experience of your website by adjusting the following parameters:
Defines the vertical space (in pixels) between the held ad and the top of the page (i.e., the header).

<aside> <img src="/icons/arrow-right_green.svg" alt="/icons/arrow-right_green.svg" width="40px" />
Good practice: Adjust this value to accommodate the height of your website’s top navigation menu.
</aside>
Specifies the amount of additional space shown below the held ad.
Important: To prevent layout shifts, the additional space is calculated based on the tallest size requested for the Ad Unit. For example, if you set it to 50px and the Ad Unit requests 250x300 and 250x400, the total container size will be 250x450 (400+50).

<aside> <img src="/icons/arrow-right_green.svg" alt="/icons/arrow-right_green.svg" width="40px" />
Good practice: More space below the ad generally improves viewability. However, excessive spacing can negatively affect user experience.
</aside>
Define rules to automatically disable Ad Holding based on specific creative characteristics. You can specify keywords or patterns (e.g., a "forbidden" string) that, when detected in the creative HTML code, will prevent Ad Holding from being applied.
<aside> <img src="/icons/arrow-right_green.svg" alt="/icons/arrow-right_green.svg" width="40px" />
Good practices: Use this option when you need to e.g.:
On this page: