MANNA API Documentation

You are here:
< Back

Here is an example of the MANNA API data structure.

API REQUEST:
POST https://platform.manna.solutions/api/v1/organizations/[ORGANIZATION ID]/reports/query
Request headers:
    - ApiKey: [API KEY]
    - Content-Type: application/json
Request body:
{
    "dateRange"    : "[DATE RANGE; YYYY-MM-DD..YYYY-MM-DD e.g. 2020-06-02..2020-06-04 or YYYY-MM-DD e.g. 2020-06-02]",
    "dimensions": [
        "date_name",
        "day_of_week",
        "week_name",
        "hour_name",
        "month_name",
        "year_name",
        "ad_account_name",
        "campaign_name",
        "adset_name",
        "ad_name"
    ],
    "metrics": [
        "spend",
        "impressions",
        "click_count"
    ],
    "source": {
        "datasets": [
            "/ad_network/manna/group/[GROUP ID]",
            "/ad_network/manna/group/[GROUP ID]"
        ]
    }
}

Response

    Body:
        {
          "columnHeader": {
            "dimensionHeaders": [
              {
                "name": "day_name"
              },
              {
                "name": "ad_account_name"
              },
              {
                "name": "campaign_name"
              },
              {
                "name": "adset_name"
              },
              {
                "name": "ad_name"
              }
            ],
            "metricHeaders": [
              {
                "name": "spend"
              },
              {
                "name": "impressions"
              },
              {
                "name": "click_count"
              }
            ]
          },
          "data": {
            "rows": [
              {
                "dimensions": [
                  "2020-06-02",
                  "Ad Account 1",
                  "Campaign C3",
                  "Adset A2",
                  "Ad 123"
                ],
                "metrics": [
                  "73.9",
                  "9908",
                  "14"
                ]
              },
              {
                "dimensions": [
                  "2020-06-04",
                  "Ad Account 2",
                  "Campaign C2",
                  "Adset A1",
                  "Ad 123"
                ],
                "metrics": [
                  "17.69",
                  "2638",
                  "2"
                ]
              }
            ]
          }
        }

All Available column data. Click here