Introduction

    The gDE system offers a set of functions evoked by the HTTPS protocol. The functions are available in
    the form of .php scripts placed on the gDE server. The composition of activation such a function is as follows: 
     <gDE server>/<name of function>.php?<parameters> 
    e.g.
     https://gdeapi.gemius.com/GetCampaignInfo.php?campaignID=123456789&sessionID=xxx 

    Some of the functions require using HTTP POST. In those cases a function can be invoked as follows:

    <gDE server>/<name of function>.php
    with request body of
    parameters

    Please note that HTTP POST method is recommended for all commands.


    The size of letters matters in function names but it is not important in parameter names.

    The server's output is in XML format

    The first operation should be opening the session (downloading the session ID) and the last one - closing the session. The parameter sessionID should be sent at every operation apart from OpenSession. There is no possibility to cancel an operation and if any operation returns an error, all the earlier operations are still valid.

    The example of a session in the API interface:

    	OpenSession.php
    	<OpenSession>
    		<status>OK</status>
    		<sessionID>1234567890abcdef</sessionID>
    	</OpenSession>
    
    	GetPlacementsList.php?sessionID=1234567890abcdef&campaignID=115
    	<GetPlacementsList>
    		<status>OK</status>
    		<placements>
    			<placement>
    				<placementID>1234</placementID>
    				<parentID>1233</parentID>
    				<isFolder>N</isFolder>
    				<name>master</name>
    				<placementPath>../node3/master</placementPath>
    				<placementFullPath>/node1/node2/node3/master</placementFullPath>
    				<ordersCount>12</ordersCount>
    				<isGdePlus>Y</isGdePlus>
    				<tag1ID>23</tag1ID>
    				<tag2ID>34</tag2ID>
    				<label1>some label</label1>
    				<label2>some other label</label2>
    			</placement>
    			<placement>
    				<placementID>1235</placementID>
    				<parentID>1233</parentID>
    				<isFolder>N</isFolder>
    				<name>master2</name>
    				<placementPath>../node3/master2</placementPath>
    				<placementFullPath>/node1/node2/node3/master2</placementFullPath>
    				<ordersCount>12</ordersCount>
    				<isGdePlus>Y</isGdePlus>
    				<tag1ID>23</tag1ID>
    				<tag2ID>34</tag2ID>
    				<label1>some label</label1>
    				<label2>some other label</label2>
    			</placement>
    		</placements>
    	</GetPlacementsList>
    
    	CloseSession.php?sessionID=1234567890abcdef
    	<CloseSession>
    		<status>OK</status>
    	</CloseSession>
    
    	GetCreativesList.php?sessionID=1234567890abcdef&campaignID=1234
    	<GetCreativesList>
    		<status>NoSession</status>
    		<errorDescription></errorDescription>
    	</GetCreativesList>