当前位置:网站首页>【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 |
边栏推荐
- 传统企业如何转型社交电商,泰山众筹的玩法有哪些?
- 常见亲脂性细胞膜染料DiO, Dil, DiR, Did光谱图和实验操作流程
- 2022/08/02 学习笔记 (day22) 多线程
- How to use the interface management tool YApi?Beautiful, easy to manage, super easy to use
- 【HMS core】【Ads Kit】华为广告——海外应用在国内测试正式广告无法展示
- 7.Keras开发简介
- The flink sql task is changed, and after adding several fields to the sql, an error occurs when restoring from the previously saved savepoint.
- 自组织是管理者和成员的双向奔赴
- 建立树形结构
- 10.预测房价:回归问题
猜你喜欢

超好用的画图工具推荐

修饰生物素DIAZO-生物素-PEG3-DBCO|重氮-生物素-三聚乙二醇-二苯基环辛炔

工程水文学试题库

Record some bugs encountered - when mapstruct and lombok are used at the same time, the problem of data loss when converting entity classes

链动2+1模式简单,奖励结构丰厚,自主裂变?

Harmony OS ets ArkUI 】 【 】 the development basic page layout and data connection

c语言结构体中的冒泡排序

荧光标记多肽FITC/AMC/FAM/Rhodamine/TAMRA/Cy3/Cy5/Cy7-Peptide

【Harmony OS】【ARK UI】Date 基本操作

【Harmony OS】【FAQ】Hongmeng Questions Collection 1
随机推荐
DDL操作数据库、表、列
CyberArk被评为2022年Gartner特权访问管理魔力象限领导者
Jmeter 模拟多用户登录的两种方法
记录一些遇见的bug——mapstruct和lombok同时使用时,转换实体类时数据丢失问题
JS底层手写
Windows 安装PostgreSQL
多肽介导PEG磷脂——靶向功能材料之DSPE-PEG-RGD/TAT/NGR/APRPG
2022/08/02 Study Notes (day22) Multithreading
接口管理工具YApi怎么用?颜值高、易管理、超好用
GIS数据漫谈(五)— 地理坐标系统
2022 Henan Mengxin League Game (4): Zhengzhou University of Light Industry E - Sleep Well
3.张量运算
Test drive: project management module - curd development project
JS bottom handwriting
v-on指令:为元素绑定事件
MOSN 反向通道详解
表的创建、修改与删除
Record some bugs encountered - when mapstruct and lombok are used at the same time, the problem of data loss when converting entity classes
UV 裂解的生物素-PEG2-叠氮|CAS:1192802-98-4生物素接头
链动2+1模式简单,奖励结构丰厚,自主裂变?