Bug Fix New Feature Build

Build Ad Shuffle & Positioning

Tom Gobich
4 years ago

Ad Shuffle

A new flag has been added underneath the ad collection field within Build to turn on/off the shuffling of ads. This new flag has been defaulted to on (checked) for all preexisting microsites since this was the default behavior prior to the addition of this flag.

For example, in the above screenshot, the "shuffle ad order" checkbox is unchecked, so the ads will pull and display in the order they're listed within the ad collection.

Ad Positioning

I've also fixed an issue related to ad positioning. We have a script that checks whether or not an advertisement will fit next to a microsite's template. If it doesn't the script will move the ad down to the next template to prevent adding whitespace to the template's content.

Prior to today this script was using the advertisement's native image size instead of the size the image is displayed at when determining if an ad would fit. When the ad's native size was big enough, this was causing the ad to be moved to the next template in some cases where it didn't need to be. This script is now using the image's display dimensions instead of the native dimension's so this should no longer be happening.