当前位置:网站首页>【HMS core】【Ads Kit】Huawei Advertising——Overseas applications are tested in China. Official advertisements cannot be displayed
【HMS core】【Ads Kit】Huawei Advertising——Overseas applications are tested in China. Official advertisements cannot be displayed
2022-08-03 04:40:00 【Huawei developers BBS】
1. Description of the problem
Use the test advertising id to test, the advertisement can be displayed normally. When using the official advertising id, the VPN is turned on, the country of the application market is switched to the United Kingdom, and the time point on the mobile phone is also switched to the corresponding country, and then the advertisement cannot be displayed normally. The error codes reported from the log are 3 and 2. The log is shown in the following figure:
2. Solutions
In order to solve this problem, we need to start from the following aspects, and implement corresponding solutions for each situation to investigate:
The first case:
You can see that there are clear error codes 2 and 3 in the log, so what we need to do is to find the description of the error code, and check whether our application is satisfied according to the description. The description of the error code in the advertisement Android-Java&Kotlin partDocumentation, we can view the following links:
There are specific instructions in 2 and 3 in the document, and we check according to our actual situation.
Second case:
Because this application is tested by overseas applications in China, we also have to consider whether the scenario meets the relevant conditions that overseas applications need to meet when they are tested in China. The specific conditions are as follows:
For overseas applications to be tested in China, the following conditions must be met:
1. The test machine should be an overseas device, and the network environment should be the network in the corresponding overseas area. In the case of using WIFI, it is recommended not to insert a SIM card, otherwiseMake sure that the SIM card is the SIM card of the corresponding region;
2. Change the country and device language in the mobile application market to the corresponding region as much as possible;
3. Change the location of the mobile phone to the corresponding region. Change method:
Settings -> System and Updates -> Language and Input Method -> Language and Region -> Region
Settings -> System & updates -> Language & input -> Language and region -> Region
4. The phone'sThe system time is set to standard time.
Description:
Overseas devices, overseas networks, and mobile phone regions must be guaranteed to be overseas. Some advertisements will match the device language, so it is best to change the language of the corresponding region. The SIM card and application market country areInterference factors, the SIM card will affect which server address to send the request to.
OK, we can check carefully according to the above two situations!
For more technical articles, please visit: https://developer.huawei.com/consumer/cn/forum/topic/0202817233486630009?fid=18?ha_source=zzh |
边栏推荐
猜你喜欢
Oracle EMCC可以独立安装吗?还是必须安装到数据库服务器上?
常见荧光染料修饰多种基团及其激发和发射波长数据一览数据
Online password generator tool recommendation
"Obs" start pushing flow failure: the Output. The StartStreamFailed call process
探索性测试的概念及方法
Kotlin-Flow common encapsulation class: the use of StateFlow
普乐蛙VR台风体验馆厂家VR防震减灾模拟VR沉浸式体验设备
三丁基-巯基膦烷「tBuBrettPhos Pd(allyl)」OTf),1798782-17-8
社交电商如何做粉丝运营?云平台怎么选择商业模式?
【HMS core】【Ads Kit】华为广告——海外应用在国内测试正式广告无法展示
随机推荐
建立树形结构
工程制图点的投影练习
rosbag工具plotjuggler无法打开rosbag的问题
数据库基本概述与SQL概述
StarRocks July Community Update
10.预测房价:回归问题
获取Ip工具类
Bubble sort in c language structure
我将GuiLite移植到了STM32F4开发板上
mysql bool盲注
【Harmony OS】【ARK UI】ETS 上下文基本操作
【软件工程之美 - 专栏笔记】35 | 版本发布:软件上线只是新的开始
js garbage collection mechanism
【Harmony OS】【FAQ】鸿蒙问题合集1
How many moments have you experienced the collapse of electronic engineers?
多肽介导PEG磷脂——靶向功能材料之DSPE-PEG-RGD/TAT/NGR/APRPG
Interface testing framework of actual combat (2) | interface request assertion
2022 the first of the new league henan (4) : zhengzhou university of light industry G - maze
IO进程线程->线程->day5
接口测试框架实战(四)| 搞定 Schema 断言