LogoLogo
v2.0
v2.0
  • 📋Getting started
  • 🏈Playground
  • API details
    • â„šī¸Information
    • 📈Statistics
  • ❔FAQ
Powered by GitBook
On this page
  • Overall information
  • GET /details
  • Specific information
  • GET /dates
  • GET /countries
  • GET /formats
  • GET /integration-types
  • GET /device-types
  • GET /asset-types
  • GET /assets

Was this helpful?

Export as PDF
  1. API details

Information

Last updated 6 months ago

Was this helpful?

Overall information

GET /details

Retrieve all details of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/details'
{
    "dates": {
        "from": "2021-01-01",
        "to": "2021-10-10"
    },
    "countries": [
        {
            "key": "FR",
            "label": "France"
        },
        {
            "key": "ES",
            "label": "Spain"
        },
        {
            "key": "IT",
            "label": "Italy"
        },
        {
            "key": "GB",
            "label": "United Kingdom of Great Britain and Northern Ireland"
        },
        {
            "key": "DE",
            "label": "Germany"
        },
        {
            "key": "US",
            "label": "United States of America"
        }
    ],
    "formats": [
        {
            "key": "interstitial",
            "label": "Interstitial"
        },
        {
            "key": "rewarded",
            "label": "Rewarded"
        }
    ],
    "integration_types": [
        {
            "key": "standard_integration",
            "label": "Standard Integration"
        }
    ],
    "device_types": [
        {
          "key": "mobile",
          "label": "Mobile"
        },
        {
          "key": "desktop",
          "label": "Desktop"
        }
    ],
    "asset_types": [
        {
            "key": "ANDROID",
            "label": "Android"
        },
        {
            "key": "IOS",
            "label": "iOS"
        }
    ],
    "assets": [
        {
            "asset_id": "12341234-1234-1234-1234-12341234",
            "asset_key": "OGY-123412341234",
            "app_api_key": 123412,
            "name": "My demo app Android",
            "bundle": "com.demo.app.android",
            "asset_type": {
                "key": "ANDROID",
                "label": "Android"
            },
            "icon_url": "https://play-lh.googleusercontent.com/xyz-4=s180",
            "organization": {
                "id": "45674567-4567-4567-4567-456745674567",
                "name": "My company",
                "status": "ACTIVE"
            },
            "ad_units": [
                {
                    "id": "11111111-1111-1111-1111-111111111111",
                    "name": "Reward 7.5",
                    "format": {
                        "key": "rewarded",
                        "label": "Rewarded"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "22222222-2222-2222-2222-222222222222",
                    "name": "Interstitial 12",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "33333333-3333-3333-3333-333333333333",
                    "name": "Interstitial 8.1",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                }
            ]
        },
        {
            "asset_id": "12351235-1235-1235-1235-12351235",
            "asset_key": "OGY-123512351235",
            "app_api_key": 123512,
            "name": "My demo app IOS",
            "bundle": "com.demo.app.ios",
            "asset_type": {
                "key": "IOS",
                "label": "iOS"
            },
            "icon_url": "https://play-lh.googleusercontent.com/xyt-4=s180",
            "organization": {
                "id": "45674567-4567-4567-4567-456745674567",
                "name": "My company",
                "status": "ACTIVE"
            },
            "ad_units": [
                {
                    "id": "44444444-4444-4444-4444-444444444444",
                    "name": "Reward 7.5",
                    "format": {
                        "key": "rewarded",
                        "label": "Rewarded"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "55555555-5555-5555-5555-555555555555",
                    "name": "Interstitial 12",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "66666666-6666-6666-6666-666666666666",
                    "name": "Interstitial 8.1",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                }
            ]
        }
    ]
}

Specific information

GET /dates

Retrieve the available period for your statistics.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/dates'
{
    "dates": {
        "from": "2021-01-01",
        "to": "2021-10-10"
    }
}

GET /countries

Retrieve the available countries of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/countries' 
{
    "countries": [
        {
            "key": "FR",
            "label": "France"
        },
        {
            "key": "ES",
            "label": "Spain"
        },
        {
            "key": "IT",
            "label": "Italy"
        },
        {
            "key": "GB",
            "label": "United Kingdom of Great Britain and Northern Ireland"
        },
        {
            "key": "DE",
            "label": "Germany"
        },
        {
            "key": "US",
            "label": "United States of America"
        }
    ]
}

GET /formats

Retrieve available formats of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/formats' 
{
    "formats": [
        {
            "key": "interstitial",
            "label": "Interstitial"
        },
        {
            "key": "rewarded",
            "label": "Rewarded"
        }
    ]
}

GET /integration-types

Retrieve available integration types of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/integration-types' 
{
    "integration_types": [
        {
            "key": "standard_integration",
            "label": "Standard Integration"
        }
    ]
}

GET /device-types

Retrieve available integration types of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/device-types' 
{
  "device_types": [
    {
      "key": "mobile",
      "label": "Mobile"
    }
  ],
  "total": 1
}

GET /asset-types

Retrieve available asset types of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/asset-types' 
{
    "asset_types": [
        {
            "key": "ANDROID",
            "label": "Android"
        },
        {
            "key": "IOS",
            "label": "iOS"
        }
    ]
}

GET /assets

Retrieve assets of your organization.

curl -X 'GET' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer TOKEN' \
  'https://exclusive-demand-report-api.ogury.co/assets' 
{
    "assets": [
        {
            "asset_id": "12341234-1234-1234-1234-12341234",
            "asset_key": "OGY-123412341234",
            "app_api_key": 123412,
            "name": "My demo app Android",
            "bundle": "com.demo.app.android",
            "asset_type": {
                "key": "ANDROID",
                "label": "Android"
            },
            "icon_url": "https://play-lh.googleusercontent.com/xyz-4=s180",
            "organization": {
                "id": "45674567-4567-4567-4567-456745674567",
                "name": "My company",
                "status": "ACTIVE"
            },
            "ad_units": [
                {
                    "id": "11111111-1111-1111-1111-111111111111",
                    "name": "Reward 7.5",
                    "format": {
                        "key": "rewarded",
                        "label": "Rewarded"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "22222222-2222-2222-2222-222222222222",
                    "name": "Interstitial 12",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "33333333-3333-3333-3333-333333333333",
                    "name": "Interstitial 8.1",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                }
            ]
        },
        {
            "asset_id": "12351235-1235-1235-1235-12351235",
            "asset_key": "OGY-123512351235",
            "app_api_key": 123512,
            "name": "My demo app IOS",
            "bundle": "com.demo.app.ios",
            "asset_type": {
                "key": "IOS",
                "label": "iOS"
            },
            "icon_url": "https://play-lh.googleusercontent.com/xyt-4=s180",
            "organization": {
                "id": "45674567-4567-4567-4567-456745674567",
                "name": "My company",
                "status": "ACTIVE"
            },
            "ad_units": [
                {
                    "id": "44444444-4444-4444-4444-444444444444",
                    "name": "Reward 7.5",
                    "format": {
                        "key": "rewarded",
                        "label": "Rewarded"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "55555555-5555-5555-5555-555555555555",
                    "name": "Interstitial 12",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                },
                {
                    "id": "66666666-6666-6666-6666-666666666666",
                    "name": "Interstitial 8.1",
                    "format": {
                        "key": "interstitial",
                        "label": "Interstitial"
                    },
                    "integration_type": {
                        "key": "standard_integration",
                        "label": "Standard Integration"
                    },
                    "device_type": {
                        "key": "mobile",
                        "label": "Mobile"
                    }
                }
            ]
        }
    ]
}

â„šī¸
Try it out
Try it out
Try it out
Try it out
Try it out
Try it out
Try it out
Try it out