1. Advertisement loading exception
1.1 Advertisement is not filled or loaded with errors
Please refer to Advertisement No Filling Problem
1.2 Advertising no callback problem
1.2.1 Confirm whether the listening object is configured
- Developers are asked to check whether the code has been The advertising object has monitoring set up, including every new advertising object;
- The advertising object or listening object must be declared as a global variable. If they are both local variables, Will result in no result callback when loading
1.2.2 Check Is the integration correct?
- Recheck the integration document: SDK access configuration, and confirm whether all files in the downloaded SDK compressed package are It has 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 to determine whether it is a problem with one advertising platform or all of them. Problems with advertising platforms:
1. When an advertising platform does not have a callback:
(1) If there is only a callback for loading results and no subsequent callbacks such as display
(2) Developers are asked to check whether Load is called in the callback of close. Some advertising platforms do not support calling load in the callback before close, which will cause the problem of no callback. Sigmob is a typical example.
(3) Developers are asked to check the third-party advertising platform error code & FAQ document. If the solution is not found in the document, the developer is asked to In the project, use the advertising slot ID provided by the TopOn Demo test ID in our document to test
(4) If only one callback is missing, please change Test on other test machines to see if the same situation exists
2. Display the problem
2.1 The video screen is black or transparent< /h3>
2.2 When displaying ads, press the home button to go to the background, and then click the application logo to come back. The ads are missing or there is no callback?
- Check the Manifest configuration of the application's startup Activity, launchMode needs to be standard. Add the following code in the onCreate() method that starts the Activity:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.i(TAG, "--onCreate");
if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) != 0) {
Log.i(TAG, "onCreate with flag FLAG_ACTIVITY_BROUGHT_TO_FRONT");
finish();
return;
}
}
Note: Unity developers need to export the gradle project for processing
2.3 When displaying ads, multiple processes of the same application appear in the recent task list. How to deal with it?
- Change < in Application in AndroidManifest strong>android:taskAffinityRemove this configuration
2.4 CallbackError
- Pangolin (Pangle) SDK calls back the onVideoError() method, and the probability of occurrence is low. When When developers encounter this error, they can directly issue rewards in the close callback
2.5 Incomplete display of interstitial ads
- Remove the introduction of AutoSize and AutoLayout frameworks in the project
2.6 Change the display direction (rewarded videos, interstitial ads)
1. Some platforms can change the configuration of advertising sources through the TopOn backend-aggregation management page;
2. Find the Manifest configuration of the advertising activity of the advertising platform and rewrite it according to your needs screenOrientation
2.7 The screen goes black after playing the Mintegral incentive video
dependencies {
api 'com.android.support:design:28.0.0'
}
3. Incentive callback problem
3.1 Using server incentive (S2S callback), the server does not receive the callback?
- Check whether the document is correctly passed in UserID (non-null or non-empty string)
- Kuaishou platform must be passed in at the same time UserID and CustomData, if the Okhttp framework is used in the developer's project, please try to use Okhttp v3.6.0 Version to try
- Developers can first test whether the server incentive function is normal on TopOn Demo
3.2 How to pass in Custom parameters to the incentive callback
Custom parameters need to be passed in before each load of the rewarded video ad. For details, please refer to Rewarded Video Integration Document Or Incentive video automatic loading mode integration document
3.3 Incentive server callback custom parameters do not match
SDK caching mechanism will exist When multiple ads are cached in an ad loading request, the local parameters are bound to the ads filled in during the loading request. Therefore, there may be inconsistencies in the custom parameters received by the server incentive callback. You can combine the callback information ATAdInfo Check whether the showid in and the transid returned by the server callback are consistent, and verify the custom parameters in the callback information and the server callback user_custom_data to ensure that it is a valid advertisement