CPMstar domain filter

GregAnims

  • Posts: 305
Hey,

I'm in desperate need of a bit of code, which can filter CPMstar ads per domain, in Stencyl 2.4

I didn't realize CPMstar/stencyl didn't have this feature built in, and now i might lose a chunk of a game sponsorship which has taken a long time to get!

Anyone who could help me on this, it would be much appreciated. thankyou :)

rob1221

  • *
  • Posts: 9471
Would your sponsor accept CPMStar ads after the Stencyl preloader, or does it have to be preloader ads?  I'm asking that because you can't change any code related to the preloader in 2.2.

GregAnims

  • Posts: 305
Would your sponsor accept CPMStar ads after the Stencyl preloader, or does it have to be preloader ads?  I'm asking that because you can't change any code related to the preloader in 2.2.

Oh damn.. i guess it could be done at an 'engine based' level, like modify the actual engine script though right?

How would i go about doing it post preloader?

rob1221

  • *
  • Posts: 9471
Modifying the engine would work, but that would require you to have the 2.2 engine source.

I'll look into how to call CPMStar with code.

rob1221

  • *
  • Posts: 9471
Cole made a CPMStar behavior, so I modified that to include domain filtering.  That behavior is attached along with the AdLoader class that CPMStar provides.