There is a lack of information on the docs, so here is a question regarding Appodeal usage.
What should be the flow logic for in-game checking whether some variable is true, to show the user an Appodeal ad that checks for this var in a segment?
I know that there are segment rules and placements from Appodeal Dashboard. I also know that you have custom vars in appodeal.init() and placement usage in appodeal.show() but can’t figure out how to use them.
Take for example this scenario: I want to have two segments in Appodeal: One with videos (networks) for older people and one with videos for younger ones. I gather this age info inside my game. I want to build a flow login inside my game that checks player age and asks from Appodeal the appropriate ad. How I do this with Corona API and Appodeal segments or placements ?
From what I see the custom vars are only used inside appodeal.init(). But I know the age info and the appropriate segment/placement only after initiating appodeal, and when I call show() there is no custom var to use inside there. And how do I know that the specific ad for a segment rules set is indeed loaded?
Could you please give us an example with rough code ?
Thanks in advance!