ADDEDIT Offer API Version 5

ADDEDIT Offer API Version 5

Summary:

Creates new offers or edits existing offers.

Resource/WSDL Page:

http://<your_domain_here>/api/5/addedit.asmx?op=Offer

Parameters

api_keyRequiredType: STRINGLength (Max/Min): 50

This api_key will provide you with the ability to export Campaigns for your instance. You can obtain this api_key from within CAKE >> Setup >> Permissions in the API Key list. Must be a valid API key (existing and not expired)

Example Value: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

offer_idRequiredType: INTEGERLength (Max/Min): N/A

0 creates a new offer. Values greater than 1 edits the offer.

Example Values: 0 or 123

advertiser_idRequiredType: INTEGERLength (Max/Min): N/A

If passing anything <= 0 the result will include all advertisers. If the advertiser ID does not exist, it will return an empty array instead of an error. You can obtain the advertiser ID from within your CAKE instance under the Advertiser tab >> ID

Example Values: 1234

vertical_idRequiredType: SHORTLength (Max/Min): N/A

Vertical associated with the offer. 0 to skip on edit

Example Values: 12

offer_nameRequiredType: STRINGLength (Max/Min): 200

Name of the offer. Required on creation, NULL or empty on edit skips

Example Values: Offer_Name

third_party_nameRequiredType: STRINGLength (Max/Min): 200

Alternate name of the offer. NULL or empty skips on creation, NULL sets it as NULL on edit, empty skips on edit

Example Values: Alt_Offer_Name

hiddenRequiredType: ENUMLength (Max/Min): N/A

Set offer hidden status to on, off or no_change. Cannot use no_change on creation.