Outbrain is one of several companies in the “content recommendation” advertising space. They place several stories on the page as links to further reading.
Here are the steps to add OutBrain Ad in AMP :
Step 1: You can download ADSforWP Plugin it’s a free plugin you can download from WordPress.
Step 2: After installing this plugin Ads option will be displayed on the WordPress dashboard ->Ads Option -> create new Ads -> Select the Custom code Option -> Custom code -> Paste the following format code
This is example code of the Outbrain Ad:
<amp-embed width="100" height="100"
type="outbrain"
layout="responsive"
data-widgetIds="AMP_1,AMP_2">
</amp-embed>
For more info of Outbrain Ad Click Here.

Step 3: Click on “Publish” button your Auto Ads will be displayed on AMP pages.
Note: Widget Id/s will be provided to you by your Outbrain Account Manager.
The output of Outbrain Ad in AMP

That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.
The data-widgetID desapear after save. How can I solve this?
Hi Iron Mascarenhas,
Will you please contact our technical team from here- https://ampforwp.com/support/ and they will help you to fix the issue.