Skip to content
Fetches revenue from multiple sources on the Internet and formats them in a standard way.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

My Revenue

Every ad network has a different authentication type and response format. This project is an attempt to create a standard output for use by anyone who earns income through ad revenue. Future plans include integration into the Play Store and iTunes for app sales revenue.


mopubRequest := mopub.ReportRequester {
        APIKey:     "my-api-key",
    	ReportKey:  "report-key",
    	StartDate:  "2018-09-20",
    	EndDate:    "2018-09-20",

// do any necessary steps to prepare for calling the reporting API

// Fetch revenue
revenue, err := mopubRequest.Fetch()

Since this library attempts to standardize responses, it can only return a small subset of commonly available data. Any network-specific information can still be accessed, but the standard report is limited.

You can’t perform that action at this time.