Partner Report API

Adgebra Report API integration guideline

The Adgebra Report API integration guidelines will be able to fetch numbers from adgebra reports in real-time by sending the required parameters in an API call. In response, adgebra will send data as per the below-mentioned format.

API Format

1

Request Format

https://adgebra.co.in/pssreport/GetPSSReportWS?p1=[PartnerID]&p2=[Date]&p3=[SiteName]&p4=[Uniwque-Pin]&p7=[Geo]&p8=[Currency]

Request Parameters

p1=Partner Id of which the reports need to be fetched ex:'432'.

p2: This Parameter is the date of the report that needs to be fetched. The Date format for this field is "DD-MMM-YYYY" Ex: 01-Nov-2023

p3: This parameter represents the site name. The default is 'all'. If you need data on any particular site you can enter the site name in p3 parameter.

p4: This Parameter is the unique pin associated with the partner. Here you need to contact your partner manager to get the unique pin. Ex : z8Sgxc82Mnxrb9me

p7: This Parameter is the Geo field. The default is 'All'. Hence your report will be shown for all geos. Removing this parameter will run your reports by site instead of geo.

p8: This parameter is the currency format that you wish to fetch in the report. The default is 'USD'. You cannot change it to any other currency at this time.

Request Example:

https://adgebra.co.in/pssreport/GetPSSReportWS?p1=490&p2=02-Nov-2023&p3=all&p4=z8Sgxc82Mnxrb9r3&p7=all&p8=usd

2

Response Format

{
  "Site_Device": [
    {
      "Geo": "[Country]",
      "CTR": "[Count]",
      "Rev": "[Count]",
      "Impression": "[Count]",
      "Clicks": "[Count]"
    }
  ],

Response Example:

{
  prfd-sarkaryojana.in_Mobile": [
    {
      "Geo": "Bahrain",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "9",
      "Clicks": "0"
    },
    {
      "Geo": "India",
      "CTR": "0.21",
      "Rev": "2.65",
      "Impression": "176608",
      "Clicks": "364"
    },
    {
      "Geo": "Kuwait",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "109",
      "Clicks": "0"
    },
    {
      "Geo": "Oman",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "19",
      "Clicks": "0"
    },
    {
      "Geo": "United Arab Emirates",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "142",
      "Clicks": "0"
    },
    {
      "Geo": "Qatar",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "44",
      "Clicks": "0"
    }
  ],
  "prfd-biharhelp.in_Mobile": [
    {
      "Geo": "Pakistan",
      "CTR": "0.00",
      "Rev": "0.00",
      "Impression": "1",
      "Clicks": "0"
    },
    {
      "Geo": "India",
      "CTR": "0.13",
      "Rev": "4.91",
      "Impression": "496712",
      "Clicks": "643"
    },
}

Note:

  • At any point in time, if the response is blank or invalid, then it should be handled at the client's end. At times when planned/unplanned adgebra maintenance activity may be scheduled.

  • If any reponse is blank, please check the values entered in the parameters. The response will also be blank in case there is no data.

Last updated

Was this helpful?