How to know an ad is loading?

135 views
Skip to first unread message

andrea...@gmail.com

unread,
Nov 12, 2023, 7:38:55 AM11/12/23
to Google Mobile Ads SDK Developers
Is there a way to know if an ads is currently loading before the ads loading completion?

Mobile Ads SDK Forum Advisor

unread,
Nov 14, 2023, 1:23:57 AM11/14/23
to andrea...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Upon reviewing your concern, I understand that you need to know about the ads loading status in your application. Please refer to the Load an ad document for more details about it. You can handle the status of the ads by using Ad events.

Please reach out to us, if you need any further assistance.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qBswC:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team

 

andrea...@gmail.com

unread,
Nov 14, 2023, 8:32:14 AM11/14/23
to Google Mobile Ads SDK Developers
I have checked the documentation but there isn't mentioning anything about the ad loading status before onAdLoaded in order to know if there is an ad that is currently in download although still not completed to trigger the  onAdLoaded callback.

Mobile Ads SDK Forum Advisor

unread,
Nov 14, 2023, 12:03:39 PM11/14/23
to andrea...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for getting back to us.

We regret the inconvenience caused. I understand that your query is related to Ad loading callback. 

I would recommend to use the below callbacks for identifying the Ad loaded status and there is no specific callback for Ad loading status. 

 @Override

    public void onAdLoaded() {

      // Code to be executed when an ad finishes loading.

    }

@Override

    public void onAdFailedToLoad(LoadAdError adError) {

      // Code to be executed when an ad request fails.

andrea...@gmail.com

unread,
Nov 14, 2023, 3:42:46 PM11/14/23
to Google Mobile Ads SDK Developers
Is this some automated AI reply? If you are an human read again my previous message, if this is some automated reply, forward the message to some human. 

Mobile Ads SDK Forum Advisor

unread,
Nov 15, 2023, 7:31:15 AM11/15/23
to andrea...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for getting back to us.

Upon reviewing your concern, I understand that you are having some concerns on Ad callbacks. Below is the list of callbacks available for handling the Ads.

onAdClicked(), onAdClosed(), onAdFailedToLoad(), onAdImpression(), onAdLoaded(), onAdOpened(). 

I confirm that there is no specific method available for getting the status for Ad loading.

Reply all
Reply to author
Forward
0 new messages