ramspeed Posted May 13, 2016 Share Posted May 13, 2016 Hey I dunno if anyone can help me, but I followed along with this tutorial to add CPMStar ads to the start of my game: http://www.emanueleferonato.com/2016/03/10/how-to-publish-your-html5-game-on-facebook-using-facebook-login-share-and-cpmstar-ads/ I signed up for an account with CPMStar and set up my game and they give me this spot id#: 14520QB5D9BE5C which looks to be used with Flash. My game is HTML5... All the examples I can find online use a "pid" which doesn't remotely resemble the code I was given: <script language="Javascript"> var cpmstar_rnd=Math.round(Math.random()*999999); var cpmstar_pid=10016; document.writeln("<SCR"+"IPT language='Javascript' src='//server.cpmstar.com/view.aspx?poolid="+cpmstar_pid+"&script=1&rnd="+cpmstar_rnd+"'></SCR"+"IPT>"); </script> Can anyone offer advice? Thanks Quote Link to comment Share on other sites More sharing options...
istvan89 Posted May 13, 2016 Share Posted May 13, 2016 You need to register as a CPMStar publisher, as I remember you can do that under Account Settings. Then you'll have access to many different Ad codes for different ad formats (720x90, 300x250 etc.). Quote Link to comment Share on other sites More sharing options...
ramspeed Posted May 13, 2016 Author Share Posted May 13, 2016 Brilliant - thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.