Title: Getting Amazon Script add to work
Last modified: June 2, 2020

---

# Getting Amazon Script add to work

 *  Resolved [bhanby](https://wordpress.org/support/users/bhanby/)
 * (@bhanby)
 * [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/)
 * I can not figure out how to get amazon script ad to show at the bottom of an 
   article
 *     ```
       <script type="text/javascript">
       amzn_assoc_placement = "adunit0";
       amzn_assoc_ad_mode = "search";
       amzn_assoc_ad_type = "smart";
       amzn_assoc_marketplace = "amazon";
       amzn_assoc_region = "US";
       amzn_assoc_title = "Shop Related Products";
       amzn_assoc_default_search_phrase = "RV Slide out";
       amzn_assoc_default_category = "All";
       amzn_assoc_rows = "4";
       amzn_assoc_design = "text_links";
       </script>
       <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>
       ```
   
 * a picture ad works fine
    -  This topic was modified 6 years ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for code formatting

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

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/#post-12924767)
 * Hi bhanby,
 * thanks for reaching out.
 * If the image ad works then the issue is probably with the Amazon ad. I have seen
   a similar case yesterday where Amazon started to work suddenly. If you share 
   a link to a page with the ad injected I can check out the code to see if it is
   really there.
 * Best regards,
    Thomas
 *  Thread Starter [bhanby](https://wordpress.org/support/users/bhanby/)
 * (@bhanby)
 * [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/#post-12928358)
 * I not sure if it matters but I am using the plugin Advance Ads
 * [http://www.rvorbust.com/how-do-rv-slide-outs-work/](http://www.rvorbust.com/how-do-rv-slide-outs-work/)
 *  Thread Starter [bhanby](https://wordpress.org/support/users/bhanby/)
 * (@bhanby)
 * [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/#post-12928367)
 * the ad should be showing at the end of the content
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/#post-12930251)
 * Hi [@bhanby](https://wordpress.org/support/users/bhanby/),
 * thanks for the link.
 * You are using some kind of script optimization that breaks the Amazon ad code.
   The issue is also reported and explained in this [thread on stackoverflow](https://stackoverflow.com/questions/54375449/amazon-affiliate-search-ad-script-uncaught-typeerror-cannot-read-property-get).
 * Are you using cloudflare? Then you would need to disable it for this particular
   ad.
 * Let me know if that worked.
 * Thanks,
    Thomas

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

The topic ‘Getting Amazon Script add to work’ is closed to new replies.

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

## Tags

 * [Amazon Ads](https://wordpress.org/support/topic-tag/amazon-ads/)

 * 4 replies
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/getting-amazon-script-add-to-work/#post-12930251)
 * Status: resolved