Testing

Advisible provides test ads that can be used to verify a native ad integration and ensure that ads are being requested and displayed properly. Test ads are global creatives that can be accessed using the preview functionality.

Query parameter

The structure of the adk_preview query parameter for test ads is:

global:code[-language]@adapterId[:sourceId][!maxItems]

code - tells the system which test ad to load. Available codes are:

language (optional) - tells the system which language to use for the test ad. The following languages are supported:

adapterId - specifies the adapter to use for rendering the test ads. Available internal adapters are:

sourceId - (optional) specifies the placement source of the test ad. If not provided, the default source for the adapter will be used.

maxItems - (optional) limits the number of items returned in placements that support multiple items, such as group containers. If not specified, all available items will be returned. Prefix the number with ! to set a soft limit that respects the source setting, or !! to set a hard limit that forces the number of delivered items to the limit.

Examples

Content Display test ads:

global:generate@com.advisible.content-display

English version:

global:generate-en@com.advisible.content-display

If the placement is configured to allow video, you can test them by replacing generate with video, for example:

global:video@com.advisible.content-display