WSDL Page:  http://<your_domain_here>/api/1/addedit.asmx?op=Creative

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

creative_id / ID = Creative ID  ["0" Create new creative /  "ID" Update creative]

offer_id / ID = Offer ID

creative_name / STRING = The name to assign to the creative

third_party_name / STRING = Third party name to the creative

creative_type_id / ID  = Creative type ID ["1" Link, "2" Email,"3" Image, "4" Flash]

creative_status_id / ID = Creative status  ID ["1" Active, "2" Inactive,"3" Hidden]

width / INT = Creative width dimensions

height / INT = Creative height dimensions

offer_link / STRING = Offer link 

allow_link_override / BOOL = Allow link override? ["TRUE", "FALSE"]

notes / STRING = Freeform Notes

 

Parameter Types:

api_key - ID

creative_id - ID

offer_id - ID

creative_name - ID

third_party_name - ASSIGNABLE

creative_type_id - ID

creative_status_id - ID

width - ASSIGNABLE

height - ASSIGNABLE

offer_link - ASSIGNABLE

allow_link_override - BOOL

notes - ASSIGNABLE

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/Creative?api_key=dNJFmId9rI&creative_id=0&offer_id=100&creative_name=Added+via+API&third_party_name=N%2Fa&creative_type_id=2&creative_status_id=1&width=480&height=1060&offer_link=http%3A%2F%2Fbradsexample.com&allow_link_override=FALSE&notes=Noteshere

 

Sample XML Response:

<creative_addedit_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">
<success>true</success>
<message>Creative 1135048 Created</message>
<creative_id>1135048</creative_id>
</creative_addedit_response>