Custom Report

HTTP Method End Point Description
GET /network/customReport Display the customized report

Request Parameters

Key Value Description Required Default
group[] Any key of groupingMap Group the data by these values No ["adid"]
pid[] Affiliate ID Display the report only for the selected affiliates No All affiliates of the network
adid[] Campaign ID Display the report only for the selected campaigns No All Campaigns of publisher
start date in Y-m-d get record with date greater than this No Today
end date in Y-m-d get record with date less than this No Today

Response body

curl -X GET -H "X-Api-Key: {key}" -H "Cache-Control: no-cache" -H "Postman-Token: 6eb90347-b96b-207a-3e7b-8f69d2224215" "https://api.vnative.com/network/customReport"
{
    "success": true,
    "data": {
        "affs": [
            {
                "_id": "string",
                "username": "#publisherDemo",
                "org_id": "string",
                "name": "Publisher Demo"
            },
            {
                "_id": "string",
                "username": "test pub",
                "org_id": "string",
                "name": "test pub"
            },
            {
                "_id": "string",
                "username": "lirigzon",
                "org_id": "string",
                "name": "lirigzon"
            },
            {
                "_id": "string",
                "username": "Faizan Ayubi",
                "org_id": "string",
                "name": "Faizan Ayubi"
            },
            {
                "_id": "string",
                "username": "Awesome User",
                "org_id": "string",
                "name": "Awesome User"
            },
            {
                "_id": "string",
                "username": "#Testing_demo_account",
                "org_id": "string",
                "name": "Testing Demo Account"
            },
            {
                "_id": "string",
                "username": "gpanosPUB",
                "org_id": "string",
                "name": "gpanosPUB"
            },
            {
                "_id": "string",
                "username": "Rajni kanth",
                "org_id": "string",
                "name": "Rajni kanth"
            },
            {
                "_id": "string",
                "username": "Ali Raza",
                "org_id": "string",
                "name": "Ali Raza"
            },
            {
                "_id": "string",
                "username": "Ref Affiliate - Added by Hemant",
                "org_id": "string",
                "name": "Ref Affiliate"
            },
            {
                "_id": "string",
                "username": "shreyansh",
                "org_id": "string",
                "name": "shreyansh"
            },
            {
                "_id": "string",
                "username": "best",
                "org_id": "string",
                "name": "best"
            },
            {
                "_id": "string",
                "username": "ABC",
                "org_id": "string",
                "name": "ABC"
            }
        ],
        "ads": [],
        "records": [
            {
                "clicks": 2,
                "impressions": 4,
                "payout": 0.2,
                "revenue": 0.3,
                "Campaign": "Demo Gif setting "
            },
            {
                "impressions": 1,
                "payout": 0,
                "revenue": 0,
                "Campaign": "vNative Publisher - Android Apps on Google Play"
            },
            {
                "impressions": 4,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Redmi Note 4 Store Online - Buy Redmi Note 4 Products Online at Best Price in India | Flipkart.com"
            },
            {
                "impressions": 6,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Zbardhet skema/ Si i grabiste milionat e bankave grupi i "
            },
            {
                "impressions": 5,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Scientists Claim It Is Possible To Live Forever. | Threezly"
            },
            {
                "impressions": 5,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Let's Barter - Android Apps on Google Play (CPA)"
            },
            {
                "impressions": 4,
                "payout": 0,
                "revenue": 0,
                "Campaign": "DailyObjects The Ocean Tote Bag | Skoov"
            },
            {
                "impressions": 5,
                "payout": 0,
                "revenue": 0,
                "Campaign": "SwiftIntern - Android Apps on Google Play"
            },
            {
                "impressions": 3,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Traffic Arbitrage – Plan Your Tours"
            },
            {
                "impressions": 5,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Performance Marketing Software"
            },
            {
                "impressions": 5,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Traffic Arbitrage Book"
            },
            {
                "impressions": 3,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Tracking Image – Plan Your Tours"
            },
            {
                "impressions": 4,
                "payout": 0,
                "revenue": 0,
                "Campaign": "UEFA Champions League Top Goal Scorers of All-Times – blogslog"
            },
            {
                "impressions": 3,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Let's Barter - Android Apps on Google Play (CPI)"
            },
            {
                "impressions": 3,
                "payout": 0,
                "revenue": 0,
                "Campaign": "Air India's Ranking In The World's Worst Airlines Is Pretty Accurate"
            }
        ],
        "groupingMap": {
            "adid": "Campaign",
            "pid": "Publisher",
            "device": "Device",
            "goalId": "Goal",
            "urlId": "Additional URL",
            "os": "Operating System",
            "country": "Country",
            "browser": "Browser"
        },
        "total": {
            "clicks": 2,
            "impressions": 60,
            "payout": 0.2,
            "revenue": 0.3
        },
        "query": {
            "start": "2017-04-01",
            "end": "2017-04-05",
            "group": [
                "adid"
            ]
        }
    }
}

results matching ""

    No results matching ""