Introduction
The Sklik API provides a simple and flexible interface for developers to manage Sklik accounts. It currently offers two separate APIs. API Drak is based on the XML-RPC protocol or JSON format. It lets you create and manage campaigns, groups, keywords, ads, and their statistics. Then there is API Fénix. It is REST API and it adds features not available using API Drak, such as Shopping Ads management. Its documentation is available at api.sklik.cz/fenix.
Versions
Use the endpoints listed below to interact with API Drak:
- https://api.sklik.cz/drak/RPC2 – always points to the newest stable version of API Drak XML-RPC
- https://api.sklik.cz/drak/json – always points to the newest stable version of API Drak JSON
- https://api.sklik.cz/drak/RPC2/v5 – version 5 of API Drak XML-RPC (actual newest stable version)
- https://api.sklik.cz/drak/json/v5 – version 5 of API Drak JSON (actual newest stable version)
- https://api.sklik.cz/jsonApi/drak – old endpoint url to API Drak JSON (deprecated)
API Changelog
The API Changelog is a chronological record of notable updates to API Drak. Review the latest entry before implementing or upgrading your integration to keep it running smoothly.
API Drak Changelog
JSON API
Json-api is simple http/json interface. This interface allows using JSON over HTTP as a communication protocol with our API(instead of XMLRPC or FASTRPC). Returns http response with results in json.
Using Json api is simple, only thing you must know is that method is in url and parameters for this method are in json (see examples).
Note: Json does not support some types used in XML-RPC/FAST-RPC protocol. These types are datetime and binary. Our Json-api accepts datetime in string ISO(YYYY-MM-DDThh:mm:ss, YYYY-MM-DD hh:hh:ss+TT:tt) format or in format YYYY-MM-DD (Y=year, M=month, D=day, h=hour, m=minute, s=second, T=time zone hour, t=time zone minute). Binary format must be convertible base64.
Examples
Examples of API Drak use are available on GitHub.