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

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

advertiser_id/ STRING = Advertiser ID [Existing ID = Edit Advertiser / "0" = Create Advertiser ]

advertiser_name / STRING =Advertiser Name

third_party_name/ STRING  = Third Party Name

account_status_id/ INT (unsignedByte) = Account Status ID {See get.asmx > AccountStatuses}

online_signup/ BOOL = Was this an online signup? ["TRUE", "FALSE"]

signup_ip_address / STRING = IP Address this signup originated from

website / STRING = Website

billing_cycle_id / INT (unsignedByte) = Billing Cycle ID {See get.asmx > BillingCycles}

account_manager_id / INT (unsignedByte) = Contact ID from system

address_street / STRING = Street Address

address_street2 / STRING = Second Street Address

address_city / STRING = City of Address

address_state / STRING = State of Address

address_zip_code / STRING = Zipcode of Address

address_country / STRING = Country of Address

notes / STRING = Notes

tags STRING = Tag you wish to append ["Comma","Separated","Values","Supported"]

 

 

Parameter Types:

api_key - ID

advertiser_id - ID

advertiser_name - ID / Assignable

third_party_name - Assignable

account_status_id- ID

online_signup - Assignable

signup_ip_address - Assignable

website - Assignable

billing_cycle_id - ID

account_manager_id - ID

address_street - Assignable

address_street2 - Assignable

address_city - Assignable

address_state - Assignable

address_zip_code - Assignable

address_country - Assignable

notes - Assignable

tags - Assignable

 

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/Advertiser?api_key=dNJFmId9rI&advertiser_id=0&advertiser_name=Brads%20Example%20Advertiser&third_party_name=Integrate%20an%20external%20system&account_status_id=1&online_signup=FALSE&signup_ip_address=&website=http://google.com&billing_cycle_id=3&account_manager_id=3186&address_street=123%20main%20street&address_street2=&address_city=Fullerton&address_state=CA&address_zip_code=92831&address_country=US&notes=Open%20Text%20&tags=API%20IMported%20Advertiser,value2,%20value3,value4,etc

 

Sample XML Response:

<advertiser_addedit_response>
<success>true</success>
<message>Advertiser 900124 Created</message>
<advertiser_id>900124</advertiser_id>
</advertiser_addedit_response>