ADDEDIT CampaignCreativeExceptions API Version 1

Updated on 07/18/2017
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP

 

Summary:

This service was created to complete the CAKE API library. This service supports Adding, and Editing Campaign level exceptions. Allowing the users to manage, Creative exceptions by specifying whether the inputs are blocked or allowed.

 

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


Parameters

api_key
Required
Type: STRING
Max Length: 50 Char.
Must be a valid API key (existing and Not expired)
Example Values: Fo35NRAqvFLXoZxqB4aVMhh
campaign_id
Required
Type: INTEGER
Max Length: N/A
Campaign ID will specify whether this is a BLOCK or ALLOW
Example Values: 123
creative_id
Required
Type: INTEGER
Max Length: N/A
CAKE Creative ID displayed on the Admin Portal
Example Values: 456


creative_exception_type
Required
Type: ENUM
Max Length: N/A
Accepts "allow" or "block"
If allow is passed and the Campaign ID is Original, allows are not allowed.
Example Values: allow
creative_modification_type
Required
Type: ENUM
Max Length: N/A
Accepts "add" or "replace" or remove"
Example Values: replace


**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
http://demo-new.cakemarketing.com/api/1/addedit.asmx/CampaignCreativeExceptions?api_key=BETwue0XUuMnZitzyqzddodKbz08h7&campaign_id=49906&creative_id=26730&creative_exception_type=allow&creative_modification_type=replace

 

 

Sample XML Response:


<campaign_creative_exceptions_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 Exceptions Updated for Campaign ID (49906)
</message>
</campaign_creative_exceptions_addedit_response>