WSDL Page: http://<your_domain_here>/api/1/addedit.asmx?op=Campaign
Parameter Summary:
api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}
campaign_id / INT = Campaign ID [Existing ID = Edit Campaign / "0" = Create Campaign] {See export.asmx > Campaigns}
affiliate_id / INT = Affiliate ID {See export.asmx > Affiliate}
offer_id / INT = Offer ID {See export.asmx > Offers}
offer_contract_id / INT = Offer Contract ID {See export.asmx > Offers}
media_type_id / INT (unsignedByte) = Media Type ID {See get.asmx > GetMediaTypes}
third_party_name / STRING = Third Party Name
account_status_id / INT (unsignedByte) = Campaign Status ID {See get.asmx > AccountStatuses}
currency_id / INT (unsignedByte) = Currency ID {See get.asmx > Currencies}
payout / DECIMAL = Price Paid Per Conversion
paid_redirects / BOOL = Paid Redirect? ["TRUE", "FALSE"]
clear_session_on_conversion / BOOL = Clear Session on Conversion? ["TRUE", "FALSE"]
postback_url / STRING = Campaign Postback URL
postback_delay_ms / INT = Postback Delay (ms)
pixel_html / STRING = Campaign Pixel HTML
test_link / STRING = Campaign Test Link
Parameter Types:
api_key - ID
campaign_id - ID
affiliate_id - ID
offer_id - ID
offer_contract_id - ID
media_type_id - ASSIGNABLE
third_party_name - ASSIGNABLE
account_status_id - ASSIGNABLE
currency_id - ASSIGNABLE
payout - ASSIGNABLE
paid_redirects - ASSIGNABLE
clear_session_on_conversion - ASSIGNABLE
postback_url - ASSIGNABLE
postback_delay_ms - ASSIGNABLE
pixel_html - ASSIGNABLE
test_link - ASSIGNABLE
Sample GET Call:
Sample XML Response:
<campaign_addedit_response>
<success>true</success>
<message>Campaign Updated</message>
<success_info>
<campaign_id>3571</campaign_id>
<affiliate_id>-1</affiliate_id>
<offer_id>1000042</offer_id>
<offer_contract_id>647</offer_contract_id>
<media_type_id>15</media_type_id>
<original>true</original>
</success_info>
</campaign_addedit_response>