当前位置:网站首页>【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-09 04:48:00 【Huawei developers BBS】
1. Problem description
Use the test advertisement id to test, the advertisement can be displayed normally, when using the official advertisement id, turn on the VPN, and switch the application market country and regionIn the UK, 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:
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 our application according to the descriptionWhether it is satisfied, we can check the following link for the description document of the error code in the Android-Java&Kotlin part of the advertisement:
There are specific instructions in 2 and 3 in the document, we will check according to our actual situation.
The second case:
Since this application is tested by overseas applications in China, we also have to consider whether the scene 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 region.In the case of using WIFI, it is recommended not to insert the SIM card, otherwise you should make sure that the SIM card is the SIM card of the corresponding region;
2. Change the country and device language in the mobile phone application market to the corresponding region as much as possible;
3.The location of the mobile phone region should be changed to the corresponding region, and the 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 system time of the mobile phone is set to the 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/?ha_source=zzh
边栏推荐
- Understanding ML Cross Validation Fast
- 杰理之电话打入,远端听不到声音【篇】
- 【HMS Core】【FAQ】【AR Engine】AR Engine常见问题合集
- 整数倍数数列
- `英语` 2022/8/8
- 【暑期每日一题】洛谷 P5724 【深基4.习5】求极差 / 最大跨度值
- BaseDexClassLoader的正确使用方式
- 容易混淆的指针知识点
- Alibaba Cloud Tianchi Contest Question (Machine Learning) - Repeat Purchase Prediction of Tmall Users (Complete Code)
- Golang入门教程
猜你喜欢
mysql内容不存在的报错
P1163 银行贷款
MySQL: Intent Shared Locks and Intentional Exclusive Locks | Deadlocks | Lock Optimization
供应商对接Chewy的EDI需求
全栈代码测试覆盖率及用例发现系统的建设和实践
关于sys.path.append(‘..‘)失效
2022年低压电工练习题及模拟考试
2022 High-altitude installation, maintenance, and demolition exam practice questions and mock exams
人类微生物组和缺失遗传力--读论文
自动化测试-图片中添加文字注释,添加到allure测试报告中
随机推荐
MySQL: Intent Shared Locks and Intentional Exclusive Locks | Deadlocks | Lock Optimization
LeetCode - remove consecutive nodes with a sum of zero from a linked list
2022年起重机司机(限桥式起重机)考试题库及模拟考试
【Harmony OS】【ARK UI】Date 基本操作
学习笔记--文件夹处理--代码学习
杰理之手机OTG问题【篇】
杰理之ANC OFF语音没有作用【篇】
2022年8月深圳产品经理认证招生简章(NPDP)
杰理之智能充电仓低电发码关机 触摸不开机【篇】
MySQL: redo log log - notes for personal use
杰理之SD卡切回蓝牙没有作用【篇】
BaseDexClassLoader的正确使用方式
LN论文、五种归一化原理和实现
uboot中board_init bi_arch_number在哪
【HMS core】【ML kit】机器学习服务常见问题FAQ
I.MX6U-ALPHA开发板(高精度定时器)
【luogu U142356】勇者的后缀(SA)(主席树)(二分)
2022 Security Officer-B Certificate Exam Practice Questions and Online Mock Exam
2022 High-altitude installation, maintenance, and demolition exam practice questions and mock exams
Golang入门教程