|
NAMEHTML::Adsense - Create adsense widgets easilySYNOPSISThis module wraps Google Adsense ad creation in OO perl code.use HTML::Adsense; my $myad = HTML::Adsense->new( 'client' => 'pub-4763368282156432', ); # OR $myad->client('pub-4763368282156432'); print $myadd->render(); METHODSnewCreates the HTML::Adsense object.renderReturns a the adsense code.set_defaultsSets several defaults, used in object creation.set_formatSets the height, width, type and format variables based on a format name and a list of preset values.ACCESSOR METHODS
SUPPORTED AD FORMATSThis module has several height/width/type formats to select from. See the adsense formats page for more information on available adsense formats.https://www.google.com/adsense/adformats This doesn't prevent you from using your own formats and colors. See the accessor methods for more information.
AUTHORNick Gerakines, "<nick at gerakines.net>"CAVEATS[A] There is a default client ID set. You Must either pass the client ID when creating the object or set it via an accessor or you will NOT get paid.[B] The current list of supported ad preset formats is very limited. BUGSPlease report any bugs or feature requests to "bug-html-adsense at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Adsense>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORTYou can find documentation for this module with the perldoc command.perldoc HTML::Adsense You can also look for information at:
COPYRIGHT & LICENSECopyright 2006 Nick Gerakines, all rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |