Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Respected Ning Creators Team.

I received an email from The Google AdSense Team.  

""" Please review your ad codes once again as it contains character data (CDATA).
As stated in our program policies, publishers are not allowed to alter the AdSense code for any reason.
Once the ad code has been generated in your AdSense account pages, you must paste it into your site's source code exactly as it appears.
Kindly be advised that changes in your rejected-ads data take 3 days to be updated on your dashboard.
We would suggest that you take notes of the current data and compare it with the new data 4 days after refreshing your code. """""""
After this I go to my adsense account and copied the code of header banner and it is as following 
<script type="text/javascript"><!--
google_ad_client = "ca-pub- my adsense id";
/* Header */
google_ad_slot = "9364114897";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
</script>

When I paste it text box of  below header and save the ads start displaying but when I edit this text box and see header code again it shows like this red highlighted CDATA automatically added in this code. 

<script type="text/javascript">// <![CDATA[

google_ad_client = "ca-pub- my adsense id";

/* Header */

google_ad_slot = "9364114897";

google_ad_width = 728;

google_ad_height = 90;

// ]]></script>

<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">// <![CDATA[

 

// ]]></script>

Now Kindly guide me how can I remove character data (CDATA) which is automatically being add in google adsense ads codes.

Waiting for you kindly reply

Thanks and Regards

Irfan Khan

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

  • Irfan Did you file a ticket on this?  I would (and place the ticket # here in your discussion)

  • Yes Kos.... I submitted a ticket and its number is 168830

    • Great.  Being a weekend it'll take a few days for them to get back to you but that's odd.  I'm sure they'll get it cleared up or advise how to proceed.

      • Thanks Kos...

        Waiting for reply, 

        I searched here and found many discussion, I am not 1st facing this problem, many others also faced it , but no proper solution 

  • This garbage will only show up when you re-edit your code. Actualy it will be apended to any js code you ad to your text box. Sometimes it can halt to run some js code, but not adense.

    If you need to edit that box you should just delete the code that not original or paste the original code again.

    Anyway that will not compromise your exibition of ads nor have any damage to your adsense.

    • Dear Radialistas Brasileiros. I tried it , but it doesn't remove. When I edit and remove and then save , it automatically again .  

  • NC for Hire

    Hi Irfan,

    The CDATA wrapper is added by the editor and is there to prevent older browsers from mistakenly interpreting the stuff inside the <script> tags as html.

    This is weird. Ning has to do something for this...

    • Thanks  Bernard Lama   .

      I think you also faced it , I saw a discussion in which you were talking about it, But What is the solution? any one know?  Ning Official Member?  How to stop adding of CDATA in any java scripting code. like google adsense ads.

      • NC for Hire

        Ohh yes Irfan...this is something we can't control...I actually using my adsense code via custom code to prevent CDATA...

        • via custom code? but how?  kindly share procedure

This reply was deleted.

Latest Activity

Fabricio Giugni replied to Fabricio Giugni's discussion
Ning Or Gamification website? Felling hopelees,
"Hi, Alex_Ning_Support,

It just the way it is. 
Obviously you are not aware of the problem. The sha…"
20 minutes ago
Alex_Ning_Support replied to Aubrey Williams's discussion
SSL Solution
"Hi Gerry,Unfortunately, for Ning 2.0 networks we don't provide SSL certificate yet. If you see agai…"
2 hours ago
Ning via Facebook

More interesting topics, lists and recommendations! Any ideas about new articles in the Ning…

Gerry Emery replied to Aubrey Williams's discussion
SSL Solution
"Oddly enough, last week several times on my Ning, it showed it was on a Secure Server, with https:/…"
8 hours ago
Alex_Ning_Support replied to Fabricio Giugni's discussion
Ning Or Gamification website? Felling hopelees,
"Hi Fabricio,I've noticed that you already have the Facebook app which works for Sign Up/Sign In. I…"
20 hours ago
Aaron Chacker and Kiruba joined Ning Creators Social Network
20 hours ago
Ning via Facebook

Social networking can really help you relax and feel optimistic! Learn useful tips from the…

Kyryl_Ning_Support replied to Aubrey Williams's discussion
SSL Solution
"Hi, Marco! 
We'll email you about your network as well. Please stay in touch via email corresponden…"
yesterday
More…

Meanwhile, you can check our social media channels