|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.adsense.AdUnitOptions
public class AdUnitOptions
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
AdUnitOptions()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static AdUnitOptions |
create()
|
void |
setChannelNumber(java.lang.String channelNumber)
The AdSense For Content channel number for tracking the performance of this AdUnit
. |
void |
setFormat(AdFormat format)
the Format of the AdUnit
. |
void |
setMap(GoogleMap map)
The map associated with this AdUnit
. |
void |
setPosition(ControlPosition position)
The position of the AdUnit
. |
void |
setPublisherId(java.lang.String publisherId)
Your AdSense for Content publisher ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AdUnitOptions()
Method Detail |
---|
public static final AdUnitOptions create()
public final void setChannelNumber(java.lang.String channelNumber)
AdUnit
. It must be stored as a string as it will typically be a large UINT64. (Optional)
public final void setFormat(AdFormat format)
AdUnit
. See https://google.com/adsense/adformats.
(Optional)
public final void setMap(GoogleMap map)
AdUnit
. Ads will be targeted to the location the map's viewport. (Required)
public final void setPosition(ControlPosition position)
AdUnit
. If specified, the
AdUnit
will be displayed at this position. Otherwise, it will not be added
to the map. (Optional)
public final void setPublisherId(java.lang.String publisherId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |