com.google.maps.gwt.client.adsense
Class AdUnitOptions

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.adsense.AdUnitOptions

public class AdUnitOptions
extends JavaScriptObject

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

AdUnitOptions

protected AdUnitOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final AdUnitOptions create()

setChannelNumber

public final void setChannelNumber(java.lang.String channelNumber)
The AdSense For Content channel number for tracking the performance of this AdUnit . It must be stored as a string as it will typically be a large UINT64. (Optional)


setFormat

public final void setFormat(AdFormat format)
the Format of the AdUnit . See https://google.com/adsense/adformats. (Optional)


setMap

public final void setMap(GoogleMap map)
The map associated with this AdUnit . Ads will be targeted to the location the map's viewport. (Required)


setPosition

public final void setPosition(ControlPosition position)
The position of the AdUnit . If specified, the AdUnit will be displayed at this position. Otherwise, it will not be added to the map. (Optional)


setPublisherId

public final void setPublisherId(java.lang.String publisherId)
Your AdSense for Content publisher ID. Required and must be set at the time of initialization. (Required)