ad - The instance of the Ad that the ad loaded in.
adProperties - Detailed properties about the ad that loaded.
public void onAdFailedToLoad(Ad ad,
Called whenever the retrieval of an ad fails. An ad can fail for a number of reasons, which
can be grouped into two categories: transient and non-transient errors. When an error is transient,
you should make another call to load the ad based on a standard retry algorithm or when
conditions change, e.g. when a network becomes available. When the failure is non-transient, you should
log the error and investigate why your app is unable to successfully retrieve an ad.
Called after a user clicks on the close button on an expanded ad. This method
is called immediately after collapsing the ad. Use this event to optimize user experience
when resuming your applications activity.