Data returned by query info generation.
| static void |
generate(Context
context, AdFormat
adFormat, AdRequest
adRequest,
QueryInfoGenerationCallback callback)
Generates query info that can be used as input in an ad request.
|
| static void | |
| String |
getQuery()
Gets query info that can be used as input in an ad request.
|
Generates query info that can be used as input in an ad request.
| context | The application context. |
|---|---|
| adFormat | The format of the ad being requested. |
| adRequest | The ad request object that contains targeting information. |
| callback | A
QueryInfoGenerationCallback to receive callbacks. Callbacks are invoked
asynchronously on the UI thread once query info has been successfully generated or
when an error occurs. |
Generates query info that can be used as input in an ad request.
| context | The application context. |
|---|---|
| adFormat | The format of the ad being requested. |
| adRequest | The ad request object that contains targeting information. |
| adUnitId | The ad unit ID. |
| callback | A
QueryInfoGenerationCallback to receive callbacks. Callbacks are invoked
asynchronously on the UI thread once query info has been successfully generated or
when an error occurs. |
Gets query info that can be used as input in an ad request.