Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
How to run Amazon Native Shopping Ads on react app?

I have a script and div tag from amazon to put ads on my site but when I put them in my app the ads do not show up.

The code from amazon looks like this:

<div id="amzn-assoc-ad-xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></div>
<script async src="//z-na.amazon-adsystem.com/widgets/onejs? 
MarketPlace=US&adInstanceId=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></script>

I have tried adding the

<script async src="//z-na.amazon-adsystem.com/widgets/onejs? 
MarketPlace=US&adInstanceId=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></script>

to the index.html file as well as something like this

useEffect(() => {
 const script = document.createElement("script");

 script.src = "//z-na.amazon-adsystem.com/widgets/onejs? 
 MarketPlace=US&adInstanceId=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
 script.async = true;

 document.body.appendChild(script);
}, []);

The <div tag is in the return of my functional component, but no ads show up. Any help is very appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I got a response from Amazon.

The Native Shopping Ads (NSA) BETA was paused on March 15 2021, hence your ad code for NSA will no longer render ads from Amazon on your website. This will affect Associates located in the UK, CA, and other EU countries. This also includes NSA ads created under the US Associates Program for people in any other country.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!