Advertising console

You can use the advertising console to view the history of ad loading in Adfox units on a website and identify issues in placements. You can open the console in one of the following ways:

  1. Open the site page with the Adfox ad tag.
  2. In the browser address bar, add the ?yan_console or #yan_console parameter to the page URL.
  3. Press Enter.

The advertising console is available in the desktop and mobile versions of a website.

  1. Managing the console
  2. Event log
  3. Ad unit information

Managing the console

By default, the advertising console opens at the bottom of the screen. To move the console to the top, open the menu in the upper-right corner of the console and select Show panel on top.

The Autoscroll to ad block option is enabled by default: when you view events in an ad unit in the advertising console, the page automatically scrolls to this unit.

The Show console without parameter in url option allows displaying the console even after removing the ?yan_console parameter from the page URL.

Event log

Calling the console opens a list of all placements (on the left) and the event log:

  1. Ad unit number.
  2. Information about the ad unit:
    • Adfox container ID.
    • Ad calling method.
    • Status (latest event in the unit).
  3. Number of the ad unit where the event occurred.
  4. Event:
    • created: Placement created.
    • initialized: Placement initialized.

    • dataLoadingBS: Information received from the server.
    • depsLoading: Loading data required for banner rendering.
    • rendering: Banner rendering.
    • ready: Banner display.
  5. Time of the event since the page loading start in minutes:seconds format.
  6. Console menu.
  7. Close the console.

Ad unit information

To view detailed information about loading ads in a specific unit, click on the unit in the list. A window with the unit data opens on the right, in place of the event log.

  1. Close the unit information window and return to all events in the event log.
  2. Adfox container ID.
  3. Copy the unit response information in JSON format (for example, to send it to the Adfox support service).
  4. Highlight the location of the ad unit on the page.
  5. Number of ad requests and banners loaded.
  6. Ad unit event log.
The window contains the following information:
  • Information about calling ads:
    • type: Placement type.
    • methodCall: Method of calling ads.
    • adaptiveStates: Website version.
    • tabletWidth: Screen width (for the website's desktop version).
    • phoneWidth: Phone screen width (for the website's mobile version).
  • Adfox ad tag parameters.
  • Request parameters:
    • layoutConfig: Parameters of the container where the Adfox ad tag is placed.
    • dl: Address of the site page that the banner request was sent from.
  • Data from external monetizers (if they're connected to the placement via Header Bidding):
    • Monetizer key (of an external monetizer).
    • campaignId: ID of the campaign in the monetizer interface.
    • placementId: Placement ID in the monetizer interface.
    • responseTime: The time it takes the monetizer to respond (milliseconds).
    • bid: Price per impression offered by the monetizer.
    • error: Error code if an error occurs when sending a request to the monetizer:
      Error code Value
      0 Unknown error.
      1 No bid/response.
      2 Incorrect response.
      3 Timeout.
      4 HTTP error.
      5 Incorrect user data in the configuration script.
      6 Incorrect monetizer settings.
      7 The container ID received from the monetizer differs from the ID specified in the request.
      8 A correct response with no status is received from the monetizer.
      9 The monetizer's response is missing or has an incorrect CodeType
  • Response parameters:
    • Campaign id: ID of the campaign in Adfox. Clicking the link opens the Adfox campaign settings (if the user is registered in Adfox and has access to the campaign).
    • Banner id: ID of the banner in Adfox. Clicking the link opens the banner settings in Adfox (if the user is registered in Adfox and has access to the campaign that the banner belongs to).
    • Banner preview: Banner preview mode. Clicking the link opens the banner in a separate window.
    • Place id: Placement ID. Clicking the link opens the placement page with a list of all banners placed on it (if the user is registered in Adfox and has access to the placement).
    • Block id: ID of the unit in the Yandex Advertising Network interface (if the Yandex Advertising Network monetization is enabled for the Adfox placement).
  • Banner data:
    • format: Banner format.

Contact support