当前位置:网站首页>【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 |
边栏推荐
- StarRocks July Community Update
- 普乐蛙VR台风体验馆厂家VR防震减灾模拟VR沉浸式体验设备
- Interface testing framework combat (3) | JSON request and response assertion
- Technology Sharing | How to do assertion verification for xml format in interface automation testing?
- CobalStrike(CS)基础超级详细版
- 工程制图-齿轮
- redis键值出现 xacxedx00x05tx00&的解决方法
- MySQL 删除表数据,重置自增 id 为 0 的两个方式
- DFS's complement to pruning
- OpenFOAM提取等职面并计算面积
猜你喜欢
随机推荐
2.何为张量
【软件工程之美 - 专栏笔记】35 | 版本发布:软件上线只是新的开始
MySQL 出现 The table is full 的解决方法
荧光标记多肽FITC/AMC/FAM/Rhodamine/TAMRA/Cy3/Cy5/Cy7-Peptide
打破传统电商格局,新型社交电商到底有什么优点?
【Harmony OS】【FAQ】Hongmeng Questions Collection 1
mysql bool blind
记录一些遇见的bug——mapstruct和lombok同时使用时,转换实体类时数据丢失问题
mysql bool盲注
接口测试框架实战(二)| 接口请求断言
Super handy drawing tool is recommended
移动流量的爆发式增长,社交电商如何选择商业模式
接口管理工具YApi怎么用?颜值高、易管理、超好用
2022河南萌新联赛第(四)场:郑州轻工业大学 E - 睡大觉
数字孪生园区场景中的坐标知识
Bubble sort in c language structure
工程制图点的投影练习
接口测试框架实战(四)| 搞定 Schema 断言
6.神经网络剖析
OpenFOAM extracts equivalency and calculates area