Page 1 of 1

Adding Adsense Ads to Tiggzi Webapp.

Posted: Tue Dec 18, 2012 9:38 pm
by egonzalez

I am attempting to incorporate Adsense Ads into my webapp. I am following a tutorial.

http://therockncoder.blogspot.com/201...

The first step talks about adding Javascript to the header of each page that is going to have an ad. I don't know how access the "header" specifically within Tiggzi.

I realize that I can export the app and access the raw HTML page (header) this way but I am using Tiggzi hosting at the moment so exporting the project is something I can't do without the ability to import it again.

Thanks
Eric


Adding Adsense Ads to Tiggzi Webapp.

Posted: Wed Dec 19, 2012 12:00 am
by maxkatz

Try adding the JavaScript file this way: http://docs.tiggzi.com/documentation/...


Adding Adsense Ads to Tiggzi Webapp.

Posted: Wed Dec 19, 2012 4:19 am
by egonzalez

I created a JavaScript File with the following:
code<script type="text&#47;javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxxxxxxx&quot
&#47;* SkoolZen Footer *&#47;
google_ad_slot = "xxxxxxxxxx&quot
google_ad_width = 320;
google_ad_height = 50;
&#47;&#47;-->
<&#47;script>/code

I then added a panel component (HTML) to the page and added the following code:

code<&#47;script>
<script type="text&#47;javascript" src="http:&#47;&#47;pagead2&#46;googlesyndication&#46;com&#47;pagead&#47;show_ads&#46;js">
<&#47;script>/code

I am not able to get anything to show.
Any ideas?


Adding Adsense Ads to Tiggzi Webapp.

Posted: Wed Dec 19, 2012 7:54 am
by Maryna Brodina

Hello! Please delete tags from your JS asset

google_ad_client = "ca-pub-xxxxxxxxxxxxxxxx";
/* SkoolZen Footer */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 320;
google_ad_height = 50;


Adding Adsense Ads to Tiggzi Webapp.

Posted: Wed Dec 19, 2012 3:05 pm
by egonzalez

It works!
Thanks so much!