You can add AMP ads code to your amp html file. Then it will work.
Thanks reply for Steven but It is an example. All plugins generate the same error. For example If I want to update cache plugin then It generates the cache plugin name. So It is not about plugins, It is about core files of wordpress I guess.