# ScriptDoc Reference

## Properties

### static Object Mapifies.CreateAdsManager.defaults.defaults

Default options for CreateAdsManager

## Functions

### Mapifies.CreateAdsManager(jQuery element, Object options, Function callback) : static Function

Create an adsense ads manager for the map. The Adsense manager will parse your page and show adverts on the map that relate to this. Requires your adsense publisher id and channel

jQuery | element | The jQuery object containing the map element.
Object | options | An object of options
Function | callback | The callback function that returns the result

### Mapifies.CreateAdsManager.defaults(String publisherId, Number maxAdsOnMap, Number channel, Number minZoomLevel) : static Object

Default options for CreateAdsManager

String | publisherId | Your Adsense publisher ID
Number | maxAdsOnMap | The maximum number of ads to show on the map at one time
Number | channel | The AdSense channel this belongs to
Number | minZoomLevel | The minimum zoom level to begin showing ads at