当前位置:网站首页>【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 |
边栏推荐
- Windows 安装PostgreSQL
- 常见荧光染料修饰多种基团及其激发和发射波长数据一览数据
- 8.电影评论分类:二分类问题
- GIS数据漫谈(六)— 投影坐标系统
- 测试人员的价值体现在哪里
- The flink sql task is changed, and after adding several fields to the sql, an error occurs when restoring from the previously saved savepoint.
- 工程制图第九章作业
- Oracle EMCC可以独立安装吗?还是必须安装到数据库服务器上?
- 接口管理工具YApi怎么用?颜值高、易管理、超好用
- js的垃圾回收机制
猜你喜欢
随机推荐
2022河南萌新联赛第(四)场:郑州轻工业大学 G - 迷宫
Shell条件语句判断
unity2D横板游戏教程6-敌人AI以及受击动画
工程水文学知识点
计组错题集
13.机器学习基础:数据预处理与特征工程
3.张量运算
建立树形结构
How many moments have you experienced the collapse of electronic engineers?
7.Keras开发简介
测试人员的价值体现在哪里
【软件工程之美 - 专栏笔记】35 | 版本发布:软件上线只是新的开始
数字孪生园区场景中的坐标知识
Shenzhen Offline Registration|StarRocks on AWS: How to conduct rapid and unified analysis of real-time data warehouses
IO进程线程->线程->day5
Problems that need to be solved for interrupting the system
js中的闭包
测开:项目管理模块-项目curd开发
9.新闻分类:多分类问题
数据库基本概述与SQL概述