Difference between revisions of "Ads:setPosition"
From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight") |
|||
Line 8: | Line 8: | ||
Ads:setPosition(x,y) | Ads:setPosition(x,y) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | *'''AdColony''': does nothing | ||
+ | *'''Admob''': banners only | ||
+ | *'''Amazon''': banners only | ||
+ | *'''AppLovin''': banners only | ||
+ | *'''Chartboost''': does nothing | ||
+ | *'''HeyZap''': does nothing | ||
+ | *'''iAds''': banners only | ||
+ | *'''InMobi''': banners only | ||
+ | *'''Millenial''': banners only | ||
+ | *'''MoPub''': banners sizes are reported only after ad is received | ||
+ | *'''Revmob''': banners may report height as 0 | ||
+ | *'''Samsung AdHub''': banners only | ||
+ | *'''TapForTap''': banners only | ||
+ | *'''TapJoy''': banners only | ||
+ | *'''Vungle''': does nothing | ||
=== Parameters === | === Parameters === |
Revision as of 20:55, 15 February 2025
Available since: Gideros 2014.01
Class: Ads
Description
Sets position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
Ads:setPosition(x,y)
- AdColony: does nothing
- Admob: banners only
- Amazon: banners only
- AppLovin: banners only
- Chartboost: does nothing
- HeyZap: does nothing
- iAds: banners only
- InMobi: banners only
- Millenial: banners only
- MoPub: banners sizes are reported only after ad is received
- Revmob: banners may report height as 0
- Samsung AdHub: banners only
- TapForTap: banners only
- TapJoy: banners only
- Vungle: does nothing
Parameters
x: (number) x position to set
y: (number) y position to set