|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.ads.mediation.admob.AdMobAdapterExtras
public class AdMobAdapterExtras
AdMob Adapter Extra Parameters.
Constructor Summary | |
---|---|
AdMobAdapterExtras()
|
|
AdMobAdapterExtras(AdMobAdapterExtras original)
Copy constructor. |
Method Summary | |
---|---|
AdMobAdapterExtras |
addExtra(String key,
Object value)
Adds an extra ad request parameter. |
AdMobAdapterExtras |
clearExtras()
Clears the extra ad request parameters. |
Map<String,Object> |
getExtras()
Gets the extra ad request parameters. |
boolean |
getPlusOneOptOut()
Gets the publisher +1 opt out bit. |
boolean |
getUseExactAdSize()
Gets the exact AdSize bit. |
AdMobAdapterExtras |
setExtras(Map<String,Object> extras)
Sets the extra ad request parameters. |
AdMobAdapterExtras |
setPlusOneOptOut(boolean plusOneOptOut)
Sets the publisher +1 opt out bit. |
AdMobAdapterExtras |
setUseExactAdSize(boolean useExactAdSize)
Sets the exact AdSize bit. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdMobAdapterExtras()
public AdMobAdapterExtras(AdMobAdapterExtras original)
original
- Original AdMobAdapterExtras
instance to copyMethod Detail |
---|
public AdMobAdapterExtras setPlusOneOptOut(boolean plusOneOptOut)
plusOneOptOut
- true
if the publisher desires to opt out of
showing the +1 widget on ads in their application.public boolean getPlusOneOptOut()
public AdMobAdapterExtras setUseExactAdSize(boolean useExactAdSize)
useExactAdSize
- true
if the publisher desires to use a
precisely specified AdSize, false
to use the best-fit size.public boolean getUseExactAdSize()
public Map<String,Object> getExtras()
addExtra(String, Object)
public AdMobAdapterExtras setExtras(Map<String,Object> extras)
extras
- the new map of values to send with the ad request.addExtra(String, Object)
public AdMobAdapterExtras clearExtras()
addExtra(String, Object)
public AdMobAdapterExtras addExtra(String key, Object value)
key
- the key of the extra to add.value
- the value of the extra to add.setExtras(Map)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |