Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
google
maps
adsense
AdUnit
Class AdUnit
MVC
Hierarchy
MVCObject
AdUnit
Index
Constructor methods
constructor
Methods
addListener
bindTo
changed
get
getChannelNumber
getContainer
getFormat
getMap
getPosition
getPublisherId
notify
set
setChannelNumber
setFormat
setMap
setPosition
setValues
unbind
unbindAll
Constructor methods
constructor
(
container
:
Element
, opts
:
AdUnitOptions
)
:
AdUnit
Parameters
container:
Element
opts:
AdUnitOptions
Returns
AdUnit
Methods
public
addListener
(
eventName
:
string
, handler
:
(...args: any[]) => void
)
:
MapsEventListener
Parameters
eventName:
string
handler:
(...args: any[]) => void
Returns
MapsEventListener
public
bindTo
(
key
:
string
, target
:
MVCObject
, targetKey
?:
string
, noNotify
?:
boolean
)
Parameters
key:
string
target:
MVCObject
targetKey?:
string
optional
noNotify?:
boolean
optional
public
changed
(
key
:
string
)
Parameters
key:
string
public
get
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
getChannelNumber
(
)
:
string
Returns
string
public
getContainer
(
)
:
Element
Returns
Element
public
getFormat
(
)
:
AdFormat
Returns
AdFormat
public
getMap
(
)
:
Map
Returns
Map
public
getPosition
(
)
:
ControlPosition
Returns
ControlPosition
public
getPublisherId
(
)
:
string
Returns
string
public
notify
(
key
:
string
)
Parameters
key:
string
public
set
(
key
:
string
, value
:
any
)
Parameters
key:
string
value:
any
public
setChannelNumber
(
channelNumber
:
string
)
Parameters
channelNumber:
string
public
setFormat
(
format
:
AdFormat
)
Parameters
format:
AdFormat
public
setMap
(
map
:
Map
)
Parameters
map:
Map
public
setPosition
(
position
:
ControlPosition
)
Parameters
position:
ControlPosition
public
setValues
(
values
:
any
)
Parameters
values:
any
public
unbind
(
key
:
string
)
Parameters
key:
string
public
unbindAll
(
)
Globals
google
google.maps
google.maps.adsense
google.maps.drawing
google.maps.geometry
google.maps.infobubble
google.maps.panoramio
google.maps.places
google.maps.visualization
google.maps.weather
AdFormat
AdUnitOptions
AdUnit
constructor
addListener
bindTo
changed
get
getChannelNumber
getContainer
getFormat
getMap
getPosition
getPublisherId
notify
set
setChannelNumber
setFormat
setMap
setPosition
setValues
unbind
unbindAll