Site logo

Archived topic

Amazon Native Ads Below Primary Navigation

5 replies · Started by johnzoro on April 7, 2022

Viewing posts 1–6 of 6

Hi there,

I want to add a amazon native ad before the main content but after the navigation bar.

I have created a hook element and pasted the code in.

I have made it for the entire site and selected after_primary_menu

I saved it then went to check

The ad doesn't seem to appear?

Hi there,

the hooked work as i can see the HTML/Script in the sites code:

https://www.screencast.com/t/6eLwnlxKidCS

And theres no errors related to amz ads in the console, so it may just be a matter of waiting for amazon to acknowledge the script and to start doing something with it.

As a note: the after_primary_menu hook places it inside the navigation container, if you want it below the navigation the then after_header hook might be more sensible. You will want to put your code inside a container eg.

<div class="ad-container grid-container">
You amz code here
</div>

nice one david. that did it. Cheers

Glad to hear that!

err... don't mean to be a pain, but it's not showing in mobile view? only desktop?

the code is there for all device sizes so, try clearing mobile caches, if it still doesn't appear then it may be down to waiting for Amazon to again detect the scripts across all networks.

This archived topic is closed to new replies.