Version

1.68.2.1 (checked in on 2008/07/24 at 09:15:07 by jcnventura)

Description

Displays Google AdSense ads on Drupal pages

This is the core module of the AdSense package, with the Drupal hooks and other administrative functions.

Constants

Namesort iconDescription
ADSENSE_MAX_CHANNELS
ADSENSE_TYPE_AD
ADSENSE_TYPE_LINK
ADSENSE_TYPE_SEARCH

Functions

Namesort iconDescription
adsense_ad_formatsThis is the array that holds all ad formats. All it has is a multi-dimensional array containing the dimensions as a key, then the description and suffix of Google's javascript ad code. Currently, we do not support duplicate dimensions in ad...
adsense_display
adsense_filterImplementation of hook_filter().
adsense_filter_tipsImplementation of hook_filter_tips().
adsense_get_client_id
adsense_helpImplementation of hook_help().
adsense_menuImplementation of hook_menu().
adsense_nodeapiImplementation of hook_nodeapi().
adsense_permImplementation of hook_perm().
adsense_requirementsImplementation of hook_requirements().
_adsense_can_insert_anotherDetermine if AdSense has reached limit on this page. As per Google's policies, a page can have up to 3 ad units and 3 link units.
_adsense_check_if_enabled
_adsense_format_placeholder
_adsense_page_matchDetermine if AdSense has permission to be used on the current page.
_adsense_process_tags