Use to configure Custom Search Ad (CSA) ad requests. A dynamic height search banner can contain multiple ads and the height is set dynamically based on the ad contents. Please cross-reference the property sections and properties with the official reference document.
Nested Class Summary
class | DynamicHeightSearchAdRequest.Builder | Builds a
DynamicHeightSearchAdRequest . |
Public Method Summary
<T extends CustomEvent> Bundle |
getCustomEventExtrasBundle(Class<T>
adapterClass)
Returns extra parameters to pass to a specific custom event adapter.
|
<T extends MediationAdapter> Bundle |
getNetworkExtrasBundle(Class<T>
adapterClass)
Returns extra parameters to pass to a specific ad network adapter.
|
String |
getQuery()
Returns the query of the search ad request.
|
boolean |
Inherited Method Summary
Public Methods
public Bundle getCustomEventExtrasBundle (Class<T> adapterClass)
Returns extra parameters to pass to a specific custom event adapter. Returns
null
if no custom event extras of the provided type were set.
public Bundle getNetworkExtrasBundle (Class<T> adapterClass)
Returns extra parameters to pass to a specific ad network adapter. Returns
null
if no network extras of the provided type were set.
public String getQuery ()
Returns the query of the search ad request.
public boolean isTestDevice (Context context)
Returns true
if this device will receive test ads.