I’ve just gone into the sample code, and I can see that the listener is now the second argument to amazonads.init(), after the table of parameters, e.g:
amazonAds.init({licenseKey = "XXXXX-XXXXX-XXXXX-XXXXX", testMode = true}, amazonAdListener)
whereas in the documentation it’s still listed as one of the parameters that go into the table itself:
amazonAds.init({licenseKey = "XXXXX-XXXXX-XXXXX-XXXXX", testMode = true, listener=amazonAdListener})
I’m just about to test it out now, and I’ll let people know if it works or not. If it does, then you need to update the documentation again.