Menu

Banner ad exception

1. Advertisement loading exception

1.1 Ads are not filled or loaded incorrectly

Please refer to Instructions for ads not being filled

1.2 Advertising no callback problem

1.2.1 Confirm whether the monitoring object is configured

  • Developers are asked to check whether the monitoring object has been set up for the advertising object in the code, including each new The advertising object that comes out;
  • The advertising object or listening object must be declared as a global variable. If they are both local variables, it will result in no result callback during loading.

1.2.2 Check whether the integration is correct

  • Recheck the integration Document: SDK access configuration, and confirm whether all files in the downloaded SDK compressed package have been introduced into the project. You can call the integration detection API to check the integration of the advertising platform
  • Check each advertising platform one by one. Determine whether it is a problem with a certain advertising platform or all advertising platforms:
  • 1. When there is no callback on an advertising platform:

(1) If there is only Callback for loading results, when there is no subsequent callback such as display

(2) Developers are asked to check whether the load is called in the callback of close in the code. Some advertising platforms do not support calling it in the callback before close. load will cause the problem of no callback, typically Sigmob.

(3) Developers are asked to check the third-party advertising platform error code & FAQ document. If no solution is found in the document, developers are asked to use the TopOn Demo test ID provided in our document in their own projects. Test the ad slot id

(4) If only one callback is missing, please use another test machine to test to see if the same situation exists

  • All When there is no callback:

(1) If it is a Banner advertisement, please check whether the Banner view has been added to Windows before calling the load method;

(2) Please recheck the previous steps and check whether the integration of this advertising platform is normal

1.2.3 Banner advertising There is no callback when clicked

  • Banner ad: Check if something blocks the Banner’s View

2. Banner display problem

2.1 Banner display size problem

Banner ad display content is too large or too small, part of the ad content is cut off, etc. These are generally caused by problems with the width and height settings in the code

1 . Developers are asked to check according to the documentation whether the width and height are correctly passed before loading the ad. The width and height must be greater than 0, and whether the width and height passed before loading are consistent with those during display (Banner banner size description)

2. Developers are asked to use Android Studio's Layout Inspector (Tools -> Layout Inspector) to check the current layout, check the advertising View and the parent View The width and height. If a value of 0 appears, please recheck the previous step

Previous
Native advertising exception
Next
Abnormal opening screen advertisement
Last modified: 2025-05-30Powered by