Creates region.
You can use a region for managing your regional restrictions.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
countries required | Array of strings List of countries to be added in a region.
|
required | object Default: {"en-US":"Asia","de-DE":"Asien"} Name of region. Should contain key/value pairs where key is a locale with the "^[a-z]{2}-[A-Z]{2}$" format, the value is string. |
Region was successfully created.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
{- "name": {
- "en-US": "Asia",
- "de-DE": "Asien"
}, - "countries": [
- "JP",
- "CN",
- "VN"
]
}
{- "id": 42
}