Title: Custom Code in Webstories
Last modified: June 12, 2023

---

# Custom Code in Webstories

 *  Resolved [vivektiwari28](https://wordpress.org/support/users/vivektiwari28/)
 * (@vivektiwari28)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/custom-code-in-webstories/)
 * Can someone please provide me assistance about how to ad a Custom Code in Webstories.
   I have Received an Amp Ad code from MGID but i dont know how to paste it in my
   google webstories
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-code-in-webstories%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/custom-code-in-webstories/#post-16813473)
 * Hello [@vivektiwari28](https://wordpress.org/support/users/vivektiwari28/), the
   plugin does not support custom code as it could cause AMP validation errors.
 * Currently, there is built in support in Web Stories for Google AdSense and Ad
   Manager only.
 * This can be configured in the **Stories > Settings > Monetization**. All you 
   will need to do is select an ad network, then enter the publisher ID and ad slot
   ID. You don’t have to add any scripts to the page as the plugin does this all
   for you after you fill in these settings.
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-code-in-webstories/#post-16834819)
 * We are going to mark your topic as resolved since we haven’t received any further
   response. Please feel free to open a [new support topic](https://wordpress.org/support/plugin/web-stories/#new-post)
   if you experience any other issues. Thank you!
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-code-in-webstories/#post-16855960)
 * [@vivektiwari28](https://wordpress.org/support/users/vivektiwari28/) Hi there!
   Just wanted to quickly share that you can now start monetizing Web Stories with
   MGID Native Solution in the latest version 1.33.0 of the plugin. Please create
   a new topic if you experience any issues. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom Code in Webstories’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

## Tags

 * [webstories](https://wordpress.org/support/topic-tag/webstories/)

 * 3 replies
 * 2 participants
 * Last reply from: [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/custom-code-in-webstories/#post-16855960)
 * Status: resolved