Provide zblog template_zblog them_wordpress template download and customization

WeChat applet error: operateWXDataForAd: fail reason and solution

Tianxing Studio 2023-05-14 11:09 course one thousand one hundred and fifty-seven 0 Comments

Today, when adding incentive ads to the "Tianxing applet" plug-in, WeChat development tool directly reported an error "operatieWXDataForAd: fail" after inserting code according to the official document, as shown in the following figure:

 WeChat applet error: operateWXDataForAd: cause and solution of failure Tianxing applet incentive advertising applet operateWXData operateWXDataForAd tutorial page 1

After a search, we learned that this is because the WeChat development tool is not logged in to the tourist mode. Calling the "wx. operatieWXData" api in the tourist mode is limited. This api returns a simulated return of the tool.

So if you come across this Error prompt , usually because there is no login in the tourist mode.

The solution is to log in to WeChat development tool.

Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login