Updates particular 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 |
region_id required | integer Region ID. Unique region identifier within the project. Example: 42 |
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 updated.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Region not found. Make sure the id
is correct.
{- "name": {
- "en-US": "Asia",
- "de-DE": "Asien"
}, - "countries": [
- "JP",
- "CN",
- "VN"
]
}
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}