前提・実現したいこと
ampの広告タグをJavaScriptで動的に実行したい場合の適切な方法が知りたいです。
createElementにて試してみましたが上手くできませんでした。
該当のソースコード
<amp-ad type="adsense" data-ad-client="ca-pub-1234" data-ad-slot="123456789" width="300" height="200"> </amp-ad>
あなたの回答
tips
プレビュー
投稿2021/03/15 00:40
ampの広告タグをJavaScriptで動的に実行したい場合の適切な方法が知りたいです。
createElementにて試してみましたが上手くできませんでした。
<amp-ad type="adsense" data-ad-client="ca-pub-1234" data-ad-slot="123456789" width="300" height="200"> </amp-ad>
あなたの回答
tips
プレビュー