Create ReTag tags

Parameters

HTTP method

Access rights

URL

Parameters

Note

POST manage_webmaster_retag https://api.admitad.com/retag/create/ Request parameters list.
  • * Returns the result in the JSON format.

Request parameters list.

Name

Type

Required

Settings restrictions

Allowed values

website integer   The list of publisher’s ad spaces
level integer   Available program levels
active integer    

0 - inactive, 1 - active

script string  

“Body” of the tag

comment string    

Comment to the tag

Example of use

Example of a request with utility ``curl``:

curl -L -H 'Authorization: Bearer access_token' -X POST https://api.admitad.com/retag/create/ -d 'website=22&level=78&active=1&comment=test&script=test'

Example of the response from the API server in the JSON format:

{
    "active": true,
    "comment": "test",
    "id": 17,
    "level": {
        "campaign": {
            "id": 6,
            "name": "AdvCamp 1"
        },
        "id": 78,
        "name": "Level 1. Main page"
    },
    "script": "test",
    "status": 2,
    "website": {
        "id": 22,
        "name": "site1_of_webmaster1"
    }
}

Description of API server response fields