Title: Automatic insertion in REST API
Last modified: July 13, 2022

---

# Automatic insertion in REST API

 *  Resolved [jonmhutch](https://wordpress.org/support/users/jonmhutch/)
 * (@jonmhutch)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/automatic-insertion-in-rest-api/)
 * I’m seeing ad blocks added by shortcode within the post (/wp-json/wp/v2/posts)
   REST API response but am not seeing automatic insertion ad blocks within the 
   REST API response. Is there a combination of settings I can set to enable automatic
   insertion ad blocks to appear in the REST API response or is this not possible?
   
   Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/automatic-insertion-in-rest-api/#post-15823610)
 * The plugin relies on WP hooks.
    For post/page content processing the theme must
   call `the_content` hook: [https://adinserter.pro/faq/how-ad-inserter-works#automatic-insertion](https://adinserter.pro/faq/how-ad-inserter-works#automatic-insertion)

Viewing 1 replies (of 1 total)

The topic ‘Automatic insertion in REST API’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/automatic-insertion-in-rest-api/#post-15823610)
 * Status: resolved