public class AdUnitOptions extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
AdUnitOptions()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
String |
getChannelNumber()
The AdSense For Content channel number for tracking the performance of
this AdUnit.
|
AdFormat |
getFormat()
The Format of the AdUnit.
|
MapWidget |
getMap()
The map associated with this AdUnit.
|
ControlPosition |
getPosition()
The position of the AdUnit.
|
String |
getPublisherId()
Your AdSense for Content publisher ID.
|
static AdUnitOptions |
newInstance()
creates options for adunit
|
void |
setChannelNumber(String channelNumber)
set The AdSense For Content channel number for tracking the performance
of this AdUnit.
|
void |
setFormat(AdFormat format)
the Format of the AdUnit.
|
void |
setMap(MapWidget mapWidget)
The map associated with this AdUnit.
|
void |
setPosition(ControlPosition position)
The position of the AdUnit.
|
void |
setPublisherId(String publisherId)
Your AdSense for Content publisher ID.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final AdUnitOptions newInstance()
public final String getChannelNumber()
public final AdFormat getFormat()
public final MapWidget getMap()
public final ControlPosition getPosition()
public final String getPublisherId()
public final void setChannelNumber(String channelNumber)
channelNumber
- public final void setFormat(AdFormat format)
format
- public final void setMap(MapWidget mapWidget)
mapWidget
- public final void setPosition(ControlPosition position)
position
- public final void setPublisherId(String publisherId)
publisherId
- Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.