Usually ad blockers work by maintaining a blacklist of known ad server hosts and/or IP addresses, and simply block any requests to these.
With AMP though, any content (even ads) is funneled through a proxy CDN (the AMP cache), so ads are indistinguishable from regular content with this method.