Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Dart for PublishersDart for Publishers
Previous
 
Next
New Post
7/2/2010 5:33 PM
 
I am using Dart for Publishers which feature Google AdSense when my own ads aren't running. The poroblem is that Dart generates its own code, and I've had to frame the ads which is causing errors in HTML validation. Does anyone have a suggestion for getting rid of these errors?
 
New Post
7/3/2010 1:38 AM
 
What kind of code does DFP provide? HTML code with a FORM tag that must be included on the page? What Validation errors are you getting?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/4/2010 11:29 AM
 
OK well first let me apologize for being such a noob: the error message pertained to no info in the header of the framed ads.  Even so, there has to be a better way to incorporate the all-powerful DART or other ad planning software.

Dart (now part of Google) provides the following script for the header:

<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'>
</script>
<script type='text/javascript'>
GS_googleAddAdSenseService("ca-pub-9670124664483769");
GS_googleEnableAllServices();
</script>
<script type='text/javascript'>
GA_googleAddSlot("ca-pub-9670124664483769", "Career160x600");
</script>
<script type='text/javascript'>
GA_googleFetchAds();
</script>


And this goes in the body:
<!-- ca-pub-9670124664483769/Career160x600 -->
<script type='text/javascript'>
GA_googleFillSlot("Career160x600");
</script>

I tried it using the Text/HTML module in DNN 4.9.5 but couldn't get it to work.
 
New Post
7/4/2010 6:35 PM
 
make sure using the plain text editor when adding scripts to HTML module

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/1/2012 2:03 PM
 
Thank you! That is extremely helpful! I am still having problems with DNN stripping portions of the DFP header script from the page header section in Page Settings. I've tried both the synchronyous and asynchornous versions. Below are the scripts. What should I do?

Synchronous Version






ASYNCHRONOUS VERSION



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Dart for PublishersDart for Publishers


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out