Search Unity

Question How to get unity ads reporting from script

Discussion in 'Unity Ads & User Acquisition' started by DewGamesStudios, Jan 24, 2022.

Thread Status:
Not open for further replies.
  1. DewGamesStudios

    DewGamesStudios

    Joined:
    Dec 16, 2020
    Posts:
    4
    will it be possible or not ???????????????
     
  2. Jason_YLin

    Jason_YLin

    Unity Technologies

    Joined:
    Sep 30, 2021
    Posts:
    15
    Hi there, yes, you can use Monetization Stats API to retrieve monetization data directly in CSV format. The API fetches the same statistics that are available on the developer dashboard, however you can use it to programmatically pull data for your own uses.
    For more information, please refer to the documentation below:
    https://docs.unity.com/ads/MonetizationStatsAPI.htm?Highlight=stats

    Thanks.
     
  3. DewGamesStudios

    DewGamesStudios

    Joined:
    Dec 16, 2020
    Posts:
    4
    but , how can I get ads reporting by C# script directly ??????????
     
  4. Unity_Quinn

    Unity_Quinn

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    102
    Hi @DewGamesStudios,

    Would you mind please providing us with some additional context around what you're trying to accomplish here?

    As Jason mentioned, the Monetization Stats API allows you to pull monetization data programmatically in CSV format. Perhaps this could be combined with a Unity Web Request?
     
  5. DewGamesStudios

    DewGamesStudios

    Joined:
    Dec 16, 2020
    Posts:
    4
Thread Status:
Not open for further replies.