CAKE Help & Support

SIGNUP Advertiser API Version 1

Modified on: Mon, 25 Apr, 2016 at 2:09 PM


SIGNUP Advertiser API Version 1

Updated on 2014-06-02
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP

 

Summary:

Returns Message: "Advertiser Added Successfully" 


Resource/WSDL Page:

http://<your_domain_here>/api/1/signup.asmx?op=Advertiser


Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing and not expired)

Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

company_name
Required
Type: STRING
Length (Max/Min): 50

Plain text name of the Advertiser

Example Values:  Corporate Advertiser

address_street
Required
Type: STRING
Length (Max/Min): 60

Plain text address of the Advertiser

Example Values: 1234 Main Street

address_street2
Required
Type: STRING
Length (Max/Min): 60

Potential second address of the Advertiser

Example Values: 8729 Pacific Coast Highway

address_city
Required
Type: STRING
Length (Max/Min): 30

Plain text city of the Advertiser

Example Values: Newport Beach

address_state
Required
Type: STRING
Length (Max/Min): 20

Plain text state of the Advertiser

Example Values: California

address_zip_code
Required
Type: STRING
Length (Max/Min): 10

Plain text zip code of the Advertiser

Example Values: 92660

address_country
Required
Type: STRING
Length (Max/Min): 30

Plain text country of the Advertiser

Example Values: United States

first_name
Required
Type: STRING
Length (Max/Min): 25

Plain text first name of your contact at the Advertiser

Example Values: John

last_name
Required
Type: STRING
Length (Max/Min): 25

Plain text last name of your contact at the Advertiser

Example Values: Doe

email_address
Required
Type: STRING
Length (Max/Min): 60

Email address of your contact at the advertiser

Example Values: john@company.com

password
Required
Type: STRING
Length (Max/Min): 25

The contact's CAKE password

Example Values: Password123

website
Required
Type: STRING
Length (Max/Min): 100

The advertiser's website

Example Values: www.advertiserwebsite.com

notes
Required
Type: STRING
Length (Max/Min): NA

Freeform notes

Example Values: This is an example of freeform notes

contact_title
Required
Type: STRING
Length (Max/Min): 30

The job title of your advertiser contact

Example Values: Director of Affiliate Marketing

contact_phone_work
Required
Type: STRING
Length (Max/Min): 30

Your contact's work phone number

Example Values: 281-330-8004

contact_phone_cell
Required
Type: STRING
Length (Max/Min): 30

Your contact's cell phone number

Example Values: 555-867-0980

contact_phone_fax
Required
Type: STRING
Length (Max/Min): 30

Your contact's fax number

Example Values: 123-456-7890

contact_im_name
Required
Type: STRING
Length (Max/Min): 50

Your contact's im name

Example Values: AffManager123

contact_im_service
Required
Type: INT
Length (Max/Min): 50

Your contact's im service

0=AIM, 1=Google, 2=MSN, 3=Skype, 4=Yahoo, -1 to Skip

Example Values: AOL instant messenger

ip_address
Required
Type: STRING
Length (Max/Min): NA

Advertiser's signup IP address

Example Values: 12.345.876

 **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.cakemarketing.com/api/1/signup.asmx/Advertiser?api_key=dNJFmId9rI&company_name=Advertismo&address_street=2244+West+Coast+Highway&address_street2=STE+250&address_city=Newport+Beach&address_state=CA&address_zip_code=92663&address_country=US&first_name=Andy&last_name=Worford&email_address=andy2@getCAKE.com&password=a069gsSDG9&website=http://getCAKE.com&notes=Here+is+where+I%27m+putting+my+notes&contact_title=Head+of+QA&contact_phone_work=9495482253+x204&contact_phone_cell=9493512600&contact_phone_fax=9495152010&contact_im_name=cake_andy&contact_im_service=1&ip_address=8.8.8.8

 

Sample XML Response:

<string>Advertiser Added Successfully</string>

 

Example Error Messages: 

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

Missing Fields

Returns the name of the fields that are missing input

Fields Exceed Max Input Length

Returns the list of the fields that exceed the maximum characters allowed

Invalid Email Address

Email address is invalid or already exists

Duplicate Advertiser Contact

Advertiser already exists

Company Name Taken

The name for this advertiser is already in use


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Login
New support ticket Check ticket status