Difference between revisions of "Ads.new"
From GiderosMobile
(wip) |
|||
| Line 9: | Line 9: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | + | Possible values for ad frameworks: | |
| + | *'''"adcolony"''' ''Stable'' | ||
| + | *'''"admob"''' ''Stable'' | ||
| + | *'''"amazon"''' ''Beta'' | ||
| + | *'''"applovin"''' ''Alpha'' | ||
| + | *'''"chartboost"''' ''Stable'' | ||
| + | *'''"heyzap"''' ''Beta'' | ||
| + | *'''"iad"''' ''Stable'' | ||
| + | *'''"inmobi"''' ''Stable'' | ||
| + | *'''"millenial"''' ''Stable'' | ||
| + | *'''"mopub"''' ''Beta'' | ||
| + | *'''"revmob"''' ''Beta'' | ||
| + | *'''"samsung"''' ''Beta'' | ||
| + | *'''"tapfortap"''' ''Beta'' | ||
| + | *'''"tapjoy"''' ''Stable'' | ||
| + | *'''"vungle"''' ''Stable'' | ||
| + | |||
| + | '''I only tested Google Admob''' | ||
| + | |||
| + | '''Some ad frameworks may not even exist anymore!''' | ||
=== Parameters === | === Parameters === | ||
'''adframework''': (string) name of the ad framework<br/> | '''adframework''': (string) name of the ad framework<br/> | ||
| + | |||
| + | === Example === | ||
| + | <syntaxhighlight lang="lua"> | ||
| + | admob = Ads.new("admob") | ||
| + | </syntaxhighlight> | ||
{{Ads}} | {{Ads}} | ||
Revision as of 18:20, 15 February 2025
Available since: Gideros 2014.01
Class: Ads
Description
Initializes a new ad framework.
Ads.new(adframework)
Possible values for ad frameworks:
- "adcolony" Stable
- "admob" Stable
- "amazon" Beta
- "applovin" Alpha
- "chartboost" Stable
- "heyzap" Beta
- "iad" Stable
- "inmobi" Stable
- "millenial" Stable
- "mopub" Beta
- "revmob" Beta
- "samsung" Beta
- "tapfortap" Beta
- "tapjoy" Stable
- "vungle" Stable
I only tested Google Admob
Some ad frameworks may not even exist anymore!
Parameters
adframework: (string) name of the ad framework
Example
admob = Ads.new("admob")