by the way in your new plugin i found only 2 expresions.
BrandingImage and BrandingLink but as they are no action i cannot asign anything to them .. or how could I?
besides, how can i set where i want it?
These expressions return the image url and link address after you have used the "Get logo"-action.
You can load the image to a sprite with the "Load image from URL"-action. Put the BrandingImage expression there. Because of the Same-origin policy this will not actually work before the game is on Spilgames' server.
And use the BrandingLink expression to link to the address on click/touch (needs the browser object).
Ok i managed to get working perfectly fine the part In-Game Ads
as i am testing it in the "Game API Test Tool"
the other 2 API Loaded and Branding is not working.
I set the Api the main menu... just 1 time for sure (i have something that shows me)..
also the getlogo but, is not showing in there....so, is not working or the tester does not work?
Yes, I have been discussing this with Raganork before per email. It seems the test tool isn't recognizing the API being loaded. But of course it is loaded, otherwise the ad request wouldn't work. Try removing the "Load API"-action and request an ad - it won't work.
Raganork has been suggesting that API loaded lights up green if you include the script like described in the documentation from their url. Since you cannot define remote dependencies in plugins this uses a local copy of the script.
However skyhunter93 also used a local script and his implementation got still accepted. You can of course try to remove the script tag adding spilgames.js in the index.html file and add the script from the documentation instead.