This module provides a Pane for use in your panels when developing your website.
Both Google and IAB provide "placeholder" creatives in the standard sizes defined by the IAB (Internet Advertising Bureau). This module simply exposes a pane which hotlinks to an image provided by Google or IAB.
API
There is an API to this module if you would like to include your own ads for the pane. The module looks for hook_panels_iab_sizes
. This gets implemented either as seen in the module itself (see panels_iab_panels_iab_sizes
) or like this:
function example_panels_iab_sizes($data) {
return array(
'provider_a' => array(
'title' => t('Provider A Name'),
'groups' => array(
'group_a' => array(
'title' => t('Group Name'),
'base url' => 'https://www.example.com/images/',
'items' => array(
'leaderboard.gif' => array(
'width' => 728,
'height' => 90,
'title' => t('Leaderboard'),
),
'banner.gif' => array(
'width' => 468,
'height' => 60,
'title' => t('Banner'),
),
),
),
),
),
);
}