Submit a Ticket My Tickets
Welcome
Login  Sign up

ADD Creative API Version 1

ADD Creative API

Updated on 2014-05-02
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP

 

Summary:

Returns the Creative ID

Resource/WSDL Page:

http://your-domain-here/api/1/add.asmx?op=Creative

Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing or NOT expired)

Example Values: Fo35NRAqvFLXoZxqB4aVMhh

offer_id
Required
Type: INT
Length (Max/Min): NA

Offer ID

Example Values: 123456 

creative_name
Required
Type: STRING
Length (Max/Min): NA

Empty or NULL sets to NULL

Example Values: CreativeName

creative_type_id
Required
Type: INT
Length (Max/Min): NA

Creative Type ID ["1" = Link, "2" = Email, "3" = Image, "4" = Flash

Example Values: 2

creative_status_id
Required
Type: INT
Length (Max/Min): NA

Creative Status ID ["1" = Active, "2" = Inactive, "3" = Hidden]

Example Values: 1

offer_link
Required
Type: STRING
Length (Max/Min): NA

Offer Landing Page

Example Values: www.offerlink.com

notes
Required
Type: STRING
Length (Max/Min): NA

Freeform Notes

Example Values: These are example notes

 **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

GET

https://demo-new.cakemarketing.com/api/1/add.asmx/Creative?api_key=3YmDJeT3VHTFhDqAjr2OlQ&offer_id=100&creative_name=New+Creative&creative_type_id=1&creative_status_id=1&offer_link=http://getCAKE.com&notes=Here+is+where+I+put+my+invaluable+notes.

 

Sample XML Response:


<int>1133435</int>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.