This API allows Creative entities to be allocated and an ID number assigned. Uploading of Creative media must be performed via the in-interface uploader; CAKE recommends using this API for Link Creatives ONLY.
WSDL Page: http://<your_domain_here>/api/1/add.asmx?op=Creative
Parameter Summary:
api_key / STRING = Admin API Key
offer_id / INT = Offer ID
creative_name / STRING = Creative Name
creative_type_id / STRING = Creative Type ID ["1" = Link, "2" = Email, "3" = Image, "4" = Flash]
creative_status_id / STRING = Creative Status ID ["1" = Active, "2" = Inactive, "3" = Hidden]
offer_link / STRING = Offer Landing Page
notes / STRING = Freeform Notes
Parameter Types:
api_key - ID
offer_id - ID
creative_name - ASSIGNABLE
creative_type_id - ASSIGNABLE
creative_status_id - ASSIGNABLE
offer_link - ASSIGNABLE
notes - ASSIGNABLE
Sample GET Call:
http://demo.cakemarketing.com/api/1/add.asmx/Creative?api_key=dNJFmId9rI&offer_id=100&creative_name=New+Creative&creative_type_id=1&creative_status_id=1&offer_link=http://getCAKE.com¬es=Here+is+where+I+put+my+invaluable+notes.
Sample XML Response:
<int>1133435</int>