Hello
I’ve place an Amazon ad in the article text here using the Custom HTML block:
I want the ad to be surrounded by text, like the AdSense ad above it. Can you suggest a solution?
Also, is there any way to resize the ad? I have tried altering the dimensions in Amazon’s code but to no effect. Here is Amazon’s code:
<iframe style=”width:120px;height:240px;” marginwidth=”0″ marginheight=”0″ scrolling=”no” frameborder=”0″ src=”//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=GB&source=ac&ref=tf_til&ad_type=product_link&tracking_id=jazzjournal01-21&marketplace=amazon®ion=GB&placement=1540090760&asins=1540090760&linkId=94a2c654e8a2ab5b2b42b1e19806a8eb&show_border=true&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff”>
</iframe>
Thanks
MG
Hello !
You can achieve this if you are using a Cloud library post template and add the ad as you can see in our example here: https://www.youtube.com/watch?v=biTpVVlr8j8
Thank you!
Hi Vlad – thanks, I know all about that, but this is not one ad to appear on all posts, so Single Post Content/Ads doesn’t work for this case.
I want to add individual advertisements in each post for the product that is being reviewed, using the WP composer window.
The Amazon ad appears ok – https://jazzjournal.co.uk/2020/07/14/mike-clark-the-oakland-groove-behind-herbie-chet-and-charlie-brown-2 – but I cannot see how to make text run around it, as if it were an image or Single Post Content ad.
I am trying to achieve this look: https://drive.google.com/file/d/1bWJ1qKeQLI-NPCrmkFgesYv6MxVM8iWs/view?usp=sharing
Is there a way to do that?
Please see the Amazon code in composer here – https://drive.google.com/file/d/1FDIuXRD1IwNsoLMLXoXl03fdYivPWDL2/view?usp=sharing
Thanks
Mark
Another related question – can I get this code to work in the middle of a post using Custom HTML or other WP block?
<div style=”width:320px”><script type=”text/javascript”>amzn_assoc_ad_type =”responsive_search_widget”; amzn_assoc_tracking_id =”jazzjournal01-21″; amzn_assoc_marketplace =”amazon”; amzn_assoc_region =”GB”; amzn_assoc_placement =””; amzn_assoc_search_type = “search_widget”;amzn_assoc_width =”auto”; amzn_assoc_height =”auto”; amzn_assoc_default_search_category =””; amzn_assoc_default_search_key =”Andrew McCormack”;amzn_assoc_theme =”light”; amzn_assoc_bg_color =”FFFFFF”; </script><script src=”//z-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&Marketplace=GB”></script></div>
Thanks
I added the <div> marks. Amazon’s script comes without.
Can someone answer the 2 questions above?
1) Jul 21, 2020 at 1:21 pm
2) Jul 21, 2020 at 4:10 pm
Thanks
Hello !
Inside an article you can use this method: https://www.youtube.com/watch?v=biTpVVlr8j8 This will work if you are using Cloud Library post templates that are fully editable using tagDiv Composer.
If you are not using Cloud library templates you will have to use the options from Theme Panel.
Thank you !
Dear Vlad
You’ve just given me the same answer as you did before, at Jul 21, 2020 at 10:29 am.
Please see my responses from Jul 21, 2020 at 1:21 pm onwards, and let me know if you or anyone else in support can help me.
Thanks
Mark
Hello !
I am sorry for misunderstanding !
Inside a post you should be able to insert your ad code using the HTML element from wordpress: https://www.screencast.com/t/gV6F1Veitk
I hope this was helpful !
Thank you !
Hello Vlad – thanks, I already know that – of course I have been using HTML. Could you please read my two posts above:
1) Jul 20, 2020 at 11:35 am
2) Jul 21, 2020 at 4:10 pm
to see what my questions are?
Thanks
Mark
Hi Mark Gilbert,
If I understand correctly, you want to set the ad inside each article, for this you must to set a custom code in iframe or set the iframe code in a div like this -> https://i.imgur.com/lNAeDUE.png -> https://i.imgur.com/DMvjdWL.png
<div style=" float: left; margin-right: 16px "><iframe style="width: 120px; height: 240px; display: inline-block;" src="//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=GB&source=ac&ref=tf_til&ad_type=product_link&tracking_id=jazzjournal01-21&marketplace=amazon®ion=GB&placement=1540090760&asins=1540090760&linkId=94a2c654e8a2ab5b2b42b1e19806a8eb&show_border=true&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"><br /></iframe></div>
Hope this will help you!
Great! That’s exactly what I want – thanks, Calin!
Can you help with my second question of Jul 21, 2020 at 4:10 pm? See above. I want to get this code from Amazon to work in the same way, floating left or right within the article:
<script type=”text/javascript”>amzn_assoc_ad_type =”responsive_search_widget”; amzn_assoc_tracking_id =”jazzjournal01-21″; amzn_assoc_marketplace =”amazon”; amzn_assoc_region =”GB”; amzn_assoc_placement =””; amzn_assoc_search_type = “search_widget”;amzn_assoc_width =”auto”; amzn_assoc_height =”auto”; amzn_assoc_default_search_category =””; amzn_assoc_default_search_key =”Monika Herzig”;amzn_assoc_theme =”light”; amzn_assoc_bg_color =”FFFFFF”; </script><script src=”//z-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&Marketplace=GB”></script>
I tried this, but nothing shows:
<div style=” float: left; margin-right: 16px “><script type=”text/javascript”>amzn_assoc_ad_type =”responsive_search_widget”; amzn_assoc_tracking_id =”jazzjournal01-21″; amzn_assoc_marketplace =”amazon”; amzn_assoc_region =”GB”; amzn_assoc_placement =””; amzn_assoc_search_type = “search_widget”;amzn_assoc_width =”auto”; amzn_assoc_height =”auto”; amzn_assoc_default_search_category =””; amzn_assoc_default_search_key =”Monika Herzig”;amzn_assoc_theme =”light”; amzn_assoc_bg_color =”FFFFFF”; </script><script src=”//z-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&Marketplace=GB”></script></div>
Thanks!
Hello !
Please try this css code and let us know the result: .tdb_single_content iframe {
float:left;
margin-right: 25px!important;
}
This is how it looks on our side: https://prnt.sc/trs2un
Thank you !