How to put adsense in the middle of Blogger with amp auto ads

Amp Pages became popular and crawl faster in search engine ad faster in index. In about seconds can views in mobile phones cause in amp pages you can't use java script in html doc and must follow amp pages rules as same as adsense ads can be view faster. But no solution for now how to put adsense in the middle of blogger amp pages.
How to put adsense in the middle of Blogger with amp auto ads
Solutions you can use auto ads amp to make that, auto ads use random ads between blogger blogpost in paragraph tags and in homepages configurated in json in amp-auto-ads.js. You can place below code before head tag
</head>
<script async custom-element="amp-auto-ads" src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"></script>
And put below code after <body> (the first child after <body> tag)
<amp-auto-ads
    type="adsense"
    data-ad-client="ca-pub-id">
</amp-auto-ads>
Change id with your code ca-pub-id on your adsense account.