Yahoo! Search Marketing

VaultService

VaultService provides operations for managing credit cards and other sensitive information and for enrolling new customers with Yahoo! Search Marketing. Before using it, please make sure you understand how to send a request to the VaultService.

Operations

addCreditCard

Add your credit card and billing information.

Capability required: Selfcare
License command group: Vault
Supported accounts: Web, Mobile

Parameters

Parameter Data Type Description
billingUserInfo BillingUser Your billing profile.
billingAddress Address Your billing address.
cc CreditCardInfo Your credit card information.

Response

long - The unique identifier for this payment method.

addNewCustomer

Enroll a new customer (company) with Yahoo! Search Marketing. This operation creates a web account for the customer.

The ContentMatch, AdvancedMatch, SponsoredSearch fields are, by default, set to true. For MX, SG, and IN markets, by default, AdvancedMatch is set to false. For AT, CH, DE, DK, ES, FI, FR, IT, NL, NO, SE, and UK markets, by default, ContentMatch is set to false. To change the default values, use the updateAccount operation in AccountService.

If the operation is successful, the system will send the new user an email with instructions on how to login and set his (or her) password.

When you receive the EWS response, be sure to check the signupStatus element in the MasterAccount data object to determine if further action is required by the customer. If the signup status is CustomerCreationIncomplete the following fields might not have been set: websiteURL, siteUserName, sitePassword. Use the updateAccount operation in AccountService to set the values for these fields.

Note: This operation is only available to Yahoo! Search Marketing resellers.

Capability required: MasterAccountWrite
License command group: CustomerManagement
Supported accounts: Web, Mobile

Parameters

Parameter Data Type Description
company Company The new company.
masterAccount MasterAccount The new master account.
account Account The new account.
username string The user associated with the new master account. By default, this user is assigned the role of master account administrator.
userInfo User The user profile information.
address Address The user address information.
billingUserInfo BillingUser The billing profile of the user (specified by username), which may or may not be the same as the userInfo information.
billingAddress Address The billing address of the user (specified by username), which may or may not be the same as the address information.
cc CreditCardInfo The credit card billing information for the user (specified by username). For more information about payment plans and payment methods for your particular market, see Payment Plans and Payment Methods.
depositAmount double The initial amount deposited into the new account and which is charged to the credit card (specified by cc).
promoCode string The promotional code. The promotional code may be used to provision a license for the new account. To create an account without a promo code, pass in the null string.

Response

AccountAggregate - The new master account (including the master account ID needed for authentication) and the spend accounts under it.

addNewMobileCustomer

Enroll a new customer (company) with Yahoo! Search Marketing. This operation creates a Mobile Sponsored Search account for the customer.

If the operation is successful, the system will send the new user an email with instructions on how to login and set his or her password.

When you receive the EWS response, be sure to check the signupStatus element in the MasterAccount data object to determine if further action is required by the customer. If the signup status is CustomerCreationIncomplete the following fields might not have been set: websiteURL, siteUserName, sitePassword. Use the updateAccount operation in AccountService to set the values for these fields.

Note:
This operation is only available to Yahoo! Search Marketing resellers.
ContentMatch and AdvancedMatch is not supported for mobile accounts.

Added in: Version 5.2.0
Capability required: MasterAccountWrite
License command group: CustomerManagement
Supported accounts: Web, Mobile

Parameters

Parameter Data Type Description
company Company The new company.
masterAccount MasterAccount The new master account.
account Account The new account.
username string The user associated with the new master account. By default, this user is assigned the role of master account administrator.
userInfo User The user profile information.
address Address The user address information.
billingUserInfo BillingUser The billing profile of the user (specified by username), which may or may not be the same as the userInfo information.
billingAddress Address The billing address of the user (specified by username), which may or may not be the same as the address information.
cc CreditCardInfo The credit card billing information for the user (specified by username). For more information about payment plans and payment methods for your particular market, see Payment Plans and Payment Methods.
depositAmount double The initial amount deposited into the new account and which is charged to the credit card (specified by cc).
promoCode string The promotional code. The promotional code may be used to provision a license for the new account. To create an account without a promo code, pass in the null string.

Response

AccountAggregate - The new master account (including the master account ID needed for authentication) and the spend accounts under it.

getPaymentMethods

Return your payment methods.

Capability required: Selfcare
License command group: Vault
Supported accounts: Web, Mobile

Parameters

none

Response

PaymentMethodInfo[] - A list of your payment methods.

updateCreditCard

Update your billing or credit card information.

Capability required: Selfcare
License command group: Vault
Supported accounts: Web, Mobile

Parameters

Parameter Data Type Description
paymentMethodID long The unique identifier for this payment method. Retrieve this ID using getPaymentMethods.
billingUserInfo BillingUser Your billing profile. (For this parameter, you may pass in the null string.)
billingAddress Address Your billing address. (For this parameter, you may pass in the null string.)
cc CreditCardInfo Your credit card information. Note that the cardNumber and cardType elements of CreditCardInfo cannot be updated; to add a new credit card, use addCreditCard operation. (For this parameter, you may pass in the null string.)
updateAll boolean If true, the system performs a full update. All elements are updated. If you pass in the null value or omit an element, the current value is cleared.
If false, the system performs a partial update. Only those elements you specify are updated. If you pass in the null value or omit an element, the current value is not changed.

Response

long - The new unique identifier for this payment method.

Related Data Objects

Related Links

YSM Yahoo! Group Discussions

View All

YSM Blog Posts

Enjoy the Silence (While You Can)
Tue, 24 Nov 2009 19:15:31 +0000

Breaking News from Yahoo! News
Fri, 20 Nov 2009 00:47:21 +0000

You’re Invited…
Tue, 17 Nov 2009 20:03:16 +0000

Anti-Phishing Reminders
Mon, 16 Nov 2009 20:56:48 +0000

One Shining Moment
Thu, 12 Nov 2009 18:28:28 +0000

View All