Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Recommended approach for setting up similar questions?

Discussion in 'GameTune' started by inxidious, Feb 12, 2020.

  1. inxidious

    inxidious

    Joined:
    Nov 8, 2013
    Posts:
    22
    I'm trying to implement iap offers with gametune.
    After reading the documentations, i think of 2 ways to set the iap offers:

    1. Create only one question for multiple iap offers, in the code, change the alternatives combinations.
    for example:

    Question offer = GameTune.CreateQuestion (
    "iap_offer",
    new Alternative[] { smallOffer, midOffer, largeOffer },
    OfferAnswerHandler
    );

    Question offer2 = GameTune.CreateQuestion (
    "iap_offer",
    new Alternative[] { starterPack, starterPack2, starterPack3 },
    OfferAnswerHandler
    );


    2. Or create a new question for another offer?


    Question offer = GameTune.CreateQuestion (
    "seasonal_promo",
    new Alternative[] { smallOffer, midOffer, largeOffer },
    OfferAnswerHandler
    );

    Question offer2 = GameTune.CreateQuestion (
    "starter_pack_offer",
    new Alternative[] { starterPack, starterPack2, starterPack3 },
    OfferAnswerHandler
    );



    Which one is correct?
     
  2. MacroPinch

    MacroPinch

    Joined:
    Dec 6, 2013
    Posts:
    42
    I had a similar question about difficulty for specific levels, but didn't get an answer from the gametune team. We decided that we should play it safe and create separate questions, because the system might get confused if you supply it with different answers to the same question.
     
  3. inxidious

    inxidious

    Joined:
    Nov 8, 2013
    Posts:
    22
    We ended up creating separate questions too because we can get more detailed performance tracking per iap offer in the dashboard.

    But i'm still wondering if it's okay if all the iap offer questions are sharing the same reward? Because i can't seem to modify the optimization target reward. For example, if i show a player iap_offer1 and the player didn't buy, the i show iap_offer2, and the player did buy the offer, it will then send the reward to both iap_offer1 and iap_offer2? and the system will think what iap_offer1 showed to player is optimal, but it's actually not?
     
  4. MacroPinch

    MacroPinch

    Joined:
    Dec 6, 2013
    Posts:
    42
    You can modify the reward if you create a question with Custom optimization target. Actually, you have way more control this way.