HTML::Adsense is a Perl module that can create adsense widgets easily.
SYNOPSIS
This module wraps Google Adsense ad creation in OO perl code.
use HTML::Adsense;
my $myad = HTML::Adsense->new(
'client' => 'pub-AAAAAAAAAAAAAAAA',
); # OR
$myad->client('pub-AAAAAAAAAAAAAAAAAAAA');
print $myadd->render();
METHODS
new
Creates the HTML::Adsense object.
render
Returns a the adsense code.
set_defaults
Sets several defaults, used in object creation.
set_format
Sets the height, width, type and format variables based on a format name and a list of preset values.
Product's homepage
Requirements:
· Perl