|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.GoogleBarAdsOptions
public class GoogleBarAdsOptions
Wrapper for GGoogleBarAdsOptions, passed as an argument to constructing the map in order to show ads from the GoogleBar.
| Nested Class Summary | |
|---|---|
static class |
GoogleBarAdsOptions.AdSafeOption
Constants to be used to set the AdSafe option. |
| Constructor Summary | |
|---|---|
protected |
GoogleBarAdsOptions()
|
| Method Summary | |
|---|---|
static GoogleBarAdsOptions |
newInstance()
Returns a new instance of GoogleBarAdsOptions. |
GoogleBarAdsOptions |
setAdSafe(GoogleBarAdsOptions.AdSafeOption adsafe)
Specifies the ad "safety" level to use for advertising results on your GGoogleBar. |
GoogleBarAdsOptions |
setAdSafe(java.lang.String adsafe)
Specifies the ad "safety" level to use for advertising results on your GGoogleBar. |
GoogleBarAdsOptions |
setChannel(java.lang.String channel)
Specifies the channel number of your Google AdSense for Search account, if you've previously set up such a channel. |
GoogleBarAdsOptions |
setClient(java.lang.String client)
Specifies the Client ID of your Google AdSense for Search account. |
GoogleBarAdsOptions |
setLanguage(java.lang.String language)
Specifies the language in which to serve advertising results. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected GoogleBarAdsOptions()
| Method Detail |
|---|
public static GoogleBarAdsOptions newInstance()
public final GoogleBarAdsOptions setAdSafe(GoogleBarAdsOptions.AdSafeOption adsafe)
adsafe - one of the MapUIOptions.AdSafeOptions constant values. Any
other values are ignored.public final GoogleBarAdsOptions setAdSafe(java.lang.String adsafe)
adsafe - one of the AdSafe constant values ("none", "low", "medium",
"high".) Any other values are ignored.public final GoogleBarAdsOptions setChannel(java.lang.String channel)
channel - the adsense channel name.public final GoogleBarAdsOptions setClient(java.lang.String client)
client - the client id for your AdSense account.public final GoogleBarAdsOptions setLanguage(java.lang.String language)
language - BCP 47 lanugage code specifying the language for which to
serve advertising results.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||