How to know the phase of ads in Huawei Ad Kit

We are trying to integrate Huawei Ad Kit into our app. We’re using the solar2d plugin for that. We are following the doc on GitHub. We tried printing out key/value pair of events of the as a listener but there is no key for checking in what phase any kind of as-is in(adClosed, adReady to name a few). There are only name, provider, type, message event fields. Can anyone please help us in understanding how to know the phase an ad is in?

I wasn’t aware that there is a Huawei plugin. I’m guessing it must be by some 3rd party developer?

If you’ve tried printing out the key/value pairs for the events, then I don’t know if there’s anything else to do apart from contacting the author of the plugin.

Source code is available for this plugin. According to code it produces the event when ad is loaded. It also has .load("Rewarded") which would afterwards send the event. Event is a little confusing, since it doesn’t use customary phases, but rather custom messages (event.message).

1 Like