Development Newsletters

Release: 18-03-2024

Backwards-incompatible changes related to the responsive_gao.lib.js library

From April 3rd, the responsive_gao.lib.js library will not be supported. This change is due to the creation of a new version of the Responsive Billboard template. Until then, all creatives using the Responsive Billboard template must be updated to the newest version. Failure to update these creatives by this time will result in their inability to be displayed.

AdOcean macros changes

We introduce changes to AdOcean macros related to expands. From April 3rd the following two macros will be deprecated and removed:

  • <%%EXPANSIONHIT%%>
  • <%%EXPANSIONHITURL%%>

Please note that starting from the mentioned date, if those macros are used, they will expand to an empty string. 

Instead, we add these four new macros:

  • <%%EXPAND_HIT%%> and <%%VIDEO_EXPAND_HIT%%> - similar to <%%EXPANSIONHIT%%>, those macros are being replaced by JavaScript code for counting expansions. The difference is that the <%%EXPAND_HIT%%> is used to generate the code for counting JavaScript expansions (display creatives) and <%%VIDEO_EXPAND_HIT%%> for counting XML expansions (video creatives).
  • <%%EXPAND_HITURL%%> and <%%VIDEO_EXPAND_HITURL%%> - similar to <%%EXPANSIONHIT%%>, those macros are being replaced by URL address for counting expansions. The difference is that the <%%EXPAND_HITURL%%> is used to generate the URL for counting JavaScript expansions (display creatives) and <%%VIDEO_EXPAND_HITURL%%> for counting XML expansions (video creatives).

New macros have been implemented and they are ready to use. Using <%%EXPANSIONHIT%%> and <%%EXPANSIONHITURL%%> is no longer recommended. They have been also updated with new macros in each creative template

Updated templates in terms of Digital Services Act

The following templates have been updated to accommodate the changes related to the Digital Services Act:

  • Rollband
  • Background image
  • Cube 3D
  • Simple
  • Responsive billboard

Please note, that in the Simple template, automatic support only applies to the image version. When using HTML or JavaScript, it's necessary to specify a container where the DSA information will be displayed. It has to be done like this:

<script>
window.gao.simple_appendDSAInfo("<%%UNIQUE%%>", container);
</script>

Where container is a node of the DOM tree acquired, for example, by calling the function document.getElementById.

Additionally, it's worth mentioning that these templates are now ready for immediate use.

DSA global creative templates macros responsive billboard simple