I got an account on shopping ads and downloaded the shopping ads module, but the module didn't work. I enabled it and configured it, but nothing happened. So then I added the code they gave me to a block:

<script type="text/javascript"><!--
shoppingads_ad_client = "c1fd55ddeddfbefb8994";
shoppingads_ad_campaign = "default";
shoppingads_ad_width = "250";
shoppingads_ad_height = "250";
shoppingads_ad_kw =  "software, hardware, technology,tech, news, hack, fix,laptops, blog,computer, computers, tech support, PC, Mac, monitors, monitor, website, web design";
shoppingads_color_border =  "FFFFFF";
shoppingads_color_bg =  "FFFFFF";
shoppingads_color_heading =  "00A0E2";
shoppingads_color_text =  "000000";
shoppingads_color_link =  "008000";
shoppingads_attitude = "etched";
shoppingads_options =  "n";
--></script>
<script type="text/javascript" src="http://ads.shoppingads.com/pagead/show_sa_ads.js">
</script>

I added that, but nothing happened. My block title appeared, but no ads at all. I tried to add the code with both partial and full html options.
What's wrong?

Is there an easy way to advertise with drupal without using something like adsense? I also tried the advertisement module but had no success with that either.
Any help would be appreciated.
Thanks.

Comments

ftmthy412’s picture

Sorry for the double post, but I didn't see any edit function.
I just tested the code by itself and it worked just fine, so why can't I get it to work inside a block? I ran a test script in the same block, and that worked... but while this script works great when viewed by itself, it won't work inside the block. Why?