Amp html 需要amp ad自定义用法解释和示例代码

Amp html 需要amp ad自定义用法解释和示例代码,amp-html,amp-ad,Amp Html,Amp Ad,我打算与我的特殊客户一起创建我的定制广告服务器。我在读书,读书,读书。。。不了解amp.dev网站上的此文档--> 我的网站完全有效, 我的adsite完全amp4ads且有效 内容: <!DOCTYPE html> <html ⚡ lang="tr"> <head>... BLA BLABLA other contents.. </head> <body> <amp-ad-custom width=&quo

我打算与我的特殊客户一起创建我的定制广告服务器。我在读书,读书,读书。。。不了解amp.dev网站上的此文档-->

我的网站完全有效, 我的adsite完全amp4ads且有效

内容:

<!DOCTYPE html>
<html ⚡ lang="tr">
<head>... 
BLA BLABLA other contents..
</head>
<body>
<amp-ad-custom width="320" height="250" src="https://ads.site/ex-ads.html"></amp-ad-custom>
</body>
</html>
我尝试了不同的方法。在所有尝试之后,amp ad自定义标记的位置为空。页面上没有显示任何内容。错误控制台中只有1个错误

无效的恢复模式。。。。。。。。。。。。。。。。错误:js:208


我在互联网上找不到更多关于组件的信息和示例。是否可以编写带有示例链接和文件内容的示例?

也希望看到一些
<? header("Access-Control-Allow-Origin: https://example.site");
header("Access-Control-Allow-Credentials: true");
header("AMP-Ad-Template-Extension: amp-mustache");
header("Amp-Ad-Response-Type: template");?>
<!DOCTYPE html>
<html ⚡4ads>
<head>... 
BLA BLABLA other contents..
</head>
<body>
<amp-img src="https://ads.site/image/pizza.png" width="300" height="250" layout="fixed" alt="pizza"></amp-img>
</body>
</html>
{
  templateUrl: "https://adexample.com/amp_template_1.html",
  data: {
    clickUrl: "https://buy.com/buy-1",
    buttonText: "Buy now"
  },
  analytics: {
    type: "googleanalytics",
    config: {
      ...
    }
  }
}