Owners of Xiaomi smartphones and Poco sub-brands often encounter intrusive banner ads in system applications and games. Many users are looking for ways to turn off this content, but there are situations where reverse action is required. App developers and ad network owners sometimes need to test ad integrations or check the correct display of banners in their projects.
Including advertising impressions at the system level MIUI or HyperOS requires an understanding of how the traffic filtering mechanism works, and by default, the system seeks to block some unwanted content through built-in security mechanisms and DNS-To activate the display of advertising, you need not only to allow data collection, but also to make sure that no external or internal filters interrupt the connection to the ad servers.
This guide describes the technical aspects of setting up network settings and system services. It is important to understand that turning on ads can lead to increased traffic and battery consumption. Below are specific steps to activate advertising modules in various scenarios of use of the device.
Configuring system advertising services MIUI
The first step to activate ad impressions is to check the status of the MIUI Ad Services service, which is responsible for collecting user data and personalizing advertising content. If the service is disabled, many ad networks will not be able to correctly identify the device and show the targeted banner.
To access settings, go to Settings → Passwords & Security → Access to Personal Data. In the list that opens, look for msa (MIUI System Ads). Make sure the switch is in the active position. If it was turned off, the system will require you to wait 10 seconds before re-activating, which is a measure of protection against accidental actions.
Next, check your ad personalization settings. Go to Settings → Passwords and Security → Privacy → Advertising Services. Here you should activate the option “Receive personalized recommendations.” Resetting the ad ID in the same menu can help update your ad network device profile if testing requires a “fresh” ID.
💡
Before changing your privacy settings, it is recommended to back up important data, as some system services may require a device reboot to apply the changes.
Once these options are enabled, the system will begin to more actively request permissions to access geolocation and a list of applications for more accurate targeting. Aggregation applications such as Security or Explorer can also begin to show ad units in the interface if the appropriate settings in their menu allow this.
Network settings and DNS management
One of the most common reasons for the lack of advertising is the use of third-party advertising. DNS-The security mechanism built into Xiaomi and Poco often has activated ad protection, which must be turned off for testing.
Open the Security app and find the Antivirus or Virus Scanner section. In the settings (cog icon) check for "Ad Block" or "Ad Filter." Make sure this feature is deactivated. It's also worth checking the DNS settings in the security app itself if this option is available in your firmware version.
Global settings DNS Settings are available on the menu → Connection and sharing → Private DNS. If any value other than “Auto” or “Disabled” is indicated here (e.g. dns.adguard.com), the ad will not be blocked. To enable the ad, select “Auto” or “Disabled” to allow the device to use standard adverts. DNS-telecoms.
⚠️ Attention: Disconnecting the private DNS And security filters make your device vulnerable to malicious advertising and phishing sites. Use these settings only on test devices or trusted Wi-Fi networks.
If you use third-party traffic management apps like NetGuard or AFWall+, check their rules. Often they block connections to known ad domains by default. Advertising must be allowed to work properly, or firewalls must be temporarily suspended.
Resetting the advertising ID and cache
Sometimes, to start displaying ads, you need to completely reset the accumulated data about previous blockings. Advertising SDKs in applications can cache information that the user has previously abandoned targeted advertising or used blockers.
To perform the reset, go to Settings → Passwords & Security → Privacy → Advertising Services. Click Reset Advertising ID. This action will create a new unique ID for your device that ad networks will perceive as a new user ID.
It is also recommended to clear the cache of system services. Go to Settings → Annexes → All applications. Find in the list "Framework Services" MIUI» (or MIUI Daemon) and "Security." For each of them, select "Clean» → «Clear cache. Don't confuse it with Clear all data, as this can cause you to reset important system settings.
☑️ Checklist of preparation for advertising testing
After performing these actions, it is recommended to completely restart the Poco or Xiaomi smartphone. When you boot the system, network connections are re-initiated, and applications will receive the current parameters for downloading advertising content.
Specificity of settings in games and applications
In gaming applications, advertising is often divided into two types: interstitial and rewarded. The mechanisms for enabling them may differ. Some games use their own SDKs, which ignore the MIUI system settings unless the application itself is authorized.
Check permissions for a particular application. Go to Settings → Apps → All Apps → [Select a game]. Make sure that permissions are issued to access the network, as well as, if possible, to access device IDs. In some cases, limiting background activity may prevent the commercial from preloading.
If you’re a developer and testing your own app, make sure that the code doesn’t have test mode flags that only show test ads or hide them altogether. To check the performance of combat ads on a real device, you need to use production API keys, not the test ones that often go by default in code examples.
| Parameter | Importance for inclusion of advertising | Where to find out. |
|---|---|---|
| MIUI Ad Services | Included. | Passwords and security |
| Private DNS | Auto/Disconnected | Connection and sharing |
| Personalization | Actively. | Advertising services |
| Security locker | Off. | Security Annex |
It is worth noting that in some games, ads may not appear if your Google Play Games or Xiaomi Account is marked as a child. check your family access settings and age restrictions on your profile.
The Impact of Android Versions and MIUI Shells
Different versions of the Android operating system and the MIUI shell (or the new HyperOS) have different levels of privacy protection, starting with Android 12 and up, the system tightens control over applications' access to the advertising ID (GAID).
Newer versions of Xiaomi firmware have introduced a feature called Tracking Protection, which can automatically hide your advertising ID from apps you don’t use often, so to enable ads, you need to find this option in your privacy settings and add the apps you’re testing to the exclusion list or disable protection for them completely.
Hidden Developer Settings
Global ROM users face more aggressive default advertising policies than Chinese ROM users, but global versions may also be more advanced, requiring deeper interference with network settings.
Diagnostics and troubleshooting
If the ads don't appear after you've done all the settings, it may be the network environment that's the problem, and some Internet service providers or corporate Wi-Fi networks use their own gateway-level traffic filtering, in which case switching to mobile Internet (4G/5G) can help diagnose the problem.
It's also worth checking the date and time on the device. Unsynchronized time is a common cause of errors. SSL-Certificates, which is why secure connections to ad servers (which are almost always used) are used. HTTPS) You can't set it. Set the "Use Network Time" option to automatic mode.
⚠️ Note: If the ad appears as pop-ups on the desktop immediately after installing an application, it is a sign of malware, in which case you should immediately remove the newly installed applications and conduct a full system scan.
For deep diagnostics, you can use developer tools such as adb (Android Debug Bridge) to look at network activity logs. the adb logcat | grep -i ad command will allow you to filter out system logs and see if applications are trying to access ad domains and if they are being rejected.
💡
Successful inclusion of advertising depends on a set of settings: system resolutions, network parameters of DNS and the absence of third-party blockers.