TRACK DecryptAffiliateLink API Version 1
Updated on 2014-04-11
Current Version: Version 1
Deprecated Version:
Requests Allowed: GET&SOAP
Summary:
Returns the information that was encrypted in the supplied link.
Resource/WSDL Page:
http://<your_domain_here>/api/1/track.asmx?op=DecryptAffiliateLink
Parameters
api_key | This api_key will provide you with the ability to export Campaigns for your instance. You can obtain this api_key from within CAKE >> Setup >> Permissions in the API Key list. |
unique_link Required Type: INT | Encrypted CAKE Unique Link |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
Sample XML Response:
<?xml version="1.0" encoding="utf-8"?>
<decrypt_affiliate_link_response xmlns="http://cakemarketing.com/api/1/">
<affiliate>
<affiliate_id xmlns="API:id_name_store">int</affiliate_id>
<affiliate_name xmlns="API:id_name_store">string</affiliate_name>
</affiliate>
<advertiser>
<advertiser_id xmlns="API:id_name_store">int</advertiser_id>
<advertiser_name xmlns="API:id_name_store">string</advertiser_name>
</advertiser>
<offer>
<offer_id xmlns="API:id_name_store">int</offer_id>
<offer_name xmlns="API:id_name_store">string</offer_name>
</offer>
<campaign>
<campaign_id xmlns="API:id_name_store">int</campaign_id>
<campaign_name xmlns="API:id_name_store">string</campaign_name>
</campaign>
<parent_offer>
<offer_id xmlns="API:id_name_store">int</offer_id>
<offer_name xmlns="API:id_name_store">string</offer_name>
</parent_offer>
<child_offer>
<offer_id xmlns="API:id_name_store">int</offer_id>
<offer_name xmlns="API:id_name_store">string</offer_name>
</child_offer>
<creative>
<creative_id xmlns="API:id_name_store">int</creative_id>
<creative_name xmlns="API:id_name_store">string</creative_name>
</creative>
</decrypt_affiliate_link_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API Key does not exist or is expired. |
Invalid URL | The value of unique_link cannot be decrypted |