Submit a Ticket My Tickets
Welcome
Login  Sign up

[ADDEDIT] CreativeFiles (V1) Admin

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 / INT = Creative ID  ["0" Create new creative /  "ID" Update creative]

creative_file_id / INT= Creative File ID {See export.asmx > Creatives}

creative_file_import_url / STRING = The web address where the files are hosted

is_preview_file / BOOL = Is this file going to be used for the preview?

replace_all_files / BOOL = Do you want these files to replace exising creatives?

 

Parameter Types:

api_key - ID

creative_id - ID

creative_file_id - ID

creative_file_import_url - ASSIGNABLE

is_preview_file - BOOL

replace_all_files - BOOL

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/CreativeFiles?api_key=dNJFmId9rI&creative_id=1135048&creative_file_id=0&creative_file_import_url=https://www.dropbox.com/s/j4h7sxyfcmbakb7/Pensive%20Parakeet.jpg&is_preview_file=True&replace_all_files=TRUE

 

Sample XML Response:

<creativefiles_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 Files 8861 Created
</message>
<creative_files>
<creative_file>
<creative_file_id>
8861
</creative_file_id>
<creative_file_name>
Pensive Parakeet.jpg
</creative_file_name>
<updated>
false
</updated>
</creative_file>
</creative_files>

</creativefiles_addedit_response>

Did you find it helpful? Yes No

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