Display Ads is a popular format of the Kadam ad network. It simultaneously supports two display types — native and media (banner) — which achieves maximum revenue from placement. The algorithm automatically selects the appropriate format for each visitor of your site.
Creating a block
Go to the block management section of your site (Sites → Site name) and click the + button. Enter a name and select the Display Ads block format.
In the second step, you can choose the sizes of the graphic banners that will take part in the auction, and create your own native templates.
Using the native template builder, you can create your own design without any knowledge of HTML markup, so that it fits harmoniously into the look of your site.
In the third step, get the block's JavaScript code and place it on your site in the desired location.
After the ad block is placed on your site, it becomes active within a few minutes.
Description of the JavaScript code parameters
Parameter name | Data type | Description | Notes | Required |
id | string | Ad block ID in the format of 6 random Latin letters + id | For example, VDOuge331256 | Required |
type | bn | Ad block type | For a banner and Display Ads it must be | Required |
domain | string | Kadam domain for requests |
| Required |
page | string | Fixing the page URL ( | Needed for sites whose domain changes often, or if a site has many mirrors | Optional |
next | integer | Time in minutes that must pass between visits by the same user before an ad is shown to them again | If the parameter is not specified, the ad will be shown to the user on every visit | Optional |
refresh | boolean | Whether to refresh banners after the user switched to another tab or minimized the browser and then returned to the page | Defaults to | Optional |
fallback | Function(string) => void | A function that is called if the server failed to serve an ad | The function receives a string explaining the reason for the failure (e.g., 204 or 500) | Optional |




