언어 설정

Menu
Sites
Language
how to put ads in tizen app
is there any way to put ads in apps and earn from my free apps?

Responses

15 댓글
AVSukhov

Hello,

Try to contact with Samsung Support about AdHub support:

http://www.samsungdforum.com/SamsungDForum/NewsView?newsID=59

Marco Buettner

In web application you can use all AdServices like Google Ad, Samsung AdHub... You have to add the specific code of the service into your html file and on the specific position where the add should shown.

The services requires are internet connection. You havent forget to setup the access tab and to add "internet" privileg on the privilegs tab on the config.xml 

Praveen Pandey

is there any option to put add in native UI also?

AVSukhov

Hello,

I think you can use Samsung AdHub service in native app too.

Also, You can use In-app Purchase to sell the digital content.

Alex Dem

Hi,
just fyi: https://developer.tizen.org/forums/general-support/ads-apps
But as I know there is no Samsung AdHub SDK for Tizen still.
Alexey.

Gaurav Gupta

@Marco: thanks for your input, can you provide some example how can we set google ads in our apps?

 

I tried but not getting how can I implement this. I am new on this, kindly help me.. thanks..!!

daniel kim

Hi,

I think you can refer to below document about in-app purchase.

       https://developer.tizen.org/sites/default/files/page/iap_programming_guide_appcontrol_150223.pdf

Regards

Gaurav Gupta

Hi Daniel,

thanks for sharing in-app purchase guide, but I am not looking for this. I wnat to publish free app, so for free Apps i want to add some ads mechanism so that i can some revenue from the clicks or display of ads. I know google adsense is one of the Ads mechanism, and earlier Samsung used to have adhub, but it seems adhub is not closed. So can we include Google's adsense code in our apps? and if so how? 

Thanks.

AVSukhov

Hello,

More info with samples you can find here:

https://developers.google.com/adsense/host/libraries

https://developers.google.com/maps/documentation/javascript/advertising

http://www.labnol.org/internet/google-adsense-responsive-design/25252/

Gaurav Gupta

hello AVSukhov,

thanks for info. I tried putting code as mentioned in one of the above site as below, but it doesn't seem to work.

Actually as you know adsense is for websites, while admob is solution for mobile apps. in Admob I can see sdk option for android ios and windows only, not for tizen. So thsi means it doesn't have any sdk fro tizen and is not supporting tizen apps.

 

Has anyone implemented ads for any apps? if so how? What is the solution which is being used.

 

  1. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  2. <ins class="adsbygoogle"
  3. style="display:block"
  4. data-ad-client="ca-pub-12345"
  5. data-ad-slot="xxxxx"
  6. data-ad-format="rectangle"></ins>
  7. <script>
  8. (adsbygoogle = window.adsbygoogle || []).push({});
  9. </script>

 

Marco Buettner

did you add

<access origin="http://pagead2.googlesyndication.com" subdomains="true"></access>
<access origin="https://pagead2.googlesyndication.com" subdomains="true"></access>

to the config.xml?

Palitsyna

Hello,

as Marco Buetner said, you should add access line into your config.xml file. And also you should add Internet privilege.

<access origin="http://pagead2.googlesyndication.com" subdomains="true"></access>
<access origin="https://pagead2.googlesyndication.com" subdomains="true"></access>
<tizen:privilege name="http://tizen.org/privilege/internet"/>

 

Gaurav Gupta

Hi Palitsyna,

I tried adding priviledge and access in my config.xml, still no luck.. I see blank space, whiel in backup ads option i hav efilled a color instead of blank in my adsense account. 

While I do preview in tizen SDK for my index.html file it shows that color but not in app.

below is the code im adding in my app.

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:inline-block;width:250px;height:250px"
     data-ad-client="ca-pub-***"
     data-ad-slot="***"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

 

Kwon Kwon

Hi,Gaurav did you manage to implement ads inside your app

John Ixion

The InMobi Tizen Ad SDK allows you to monetize your Tizen application with a wide range of advertisement formats. From banner ads to full-screen interstitial ads, you can deliver ads from the InMobi network for a better user experience.

 

https://developer.tizen.org/development/tizen-studio/extension-sdk