AccountService
AccountService provides operations for creating and managing accounts.
An account is a collection of one or more campaigns and is associated with a
master account.
Operations
addAccountCreate a new web account under the master account specified in the SOAP header of the request. Note that you cannot add a web account under a master account that has a mobile account.
Capability required: MasterAccountWrite
Parameters
ResponseAccount - The new account. addMobileAccountCreate a new Mobile Sponsored Search account under the master account specified in the SOAP header of the request. Note that you cannot add a Mobile Sponsored Search account under a master account that has a web account.
Added in: Version 5.2.0
Parameters
ResponseAccount - The new account. addMoneyAdd the indicated amount of money to the balance of the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone deleteBlockedDomainListForAccountDelete the blocked domains for the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone deleteContinentBlockListFromAccountDelete the blocked continents for the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone getAccountReturn the account (specified by accountID).
Capability required: AccountRead
Parameters
ResponseAccount - The requested account. getAccountBalanceReturn the current balance for the account (specified by accountID). Note: If you add money to an account, it may take a few minutes for the system to update the account balance.
Capability required: AccountRead
Parameters
ResponseAccountBalance - The account balance. getAccountsReturn all accounts under the master account specified in the SOAP header of the request.
Capability required: AccountRead
Parametersnone ResponseAccount[] - A list of accounts. getAccountStatusReturn the combined status of the account (specified by accountID).
Capability required: AccountRead
Parameters
ResponseCombinedAccountStatus - The status of the account. getActiveCreditCardReturn the active credit card ID for the account (specified by accountID). If no active credit card is associated with this account, -1 is returned.
Capability required: AccountRead
Parameters
Responselong - The payment method id. getBlockedDomainListForAccountGet the blocked domains for the account (specified by accountID).
Capability required: AccountRead
Parameters
Responsestring[] - The list of blocked domains. getChargeAmountReturn the charge amount for the account (specified by accountID). This amount is automatically added to the account balance when the account balance is depleted.
Capability required: AccountRead
Parameters
Responseint - The charge amount in the currency of the master account. getContinentBlockListForAccountReturn the blocked continents for the account (specified by accountID).
Capability required: AccountRead
Parameters
ResponseContinent[] - A list of block continents for the account. isMobileAccountReturns whether the account is a Mobile Sponsored Search account
Added in: Version 5.2.0
Parameters
Response
boolean - setActiveCreditCardSet the active credit card for the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone setBlockedDomainListForAccountSet the blocked domains for the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone setChargeAmountSet the charge amount for the account (specified by accountID). This amount is automatically added to the account balance when the account balance is depleted.
Capability required: AccountWrite
Parameters
Responsenone setContinentBlockListForAccount
Set the continents to be included in the continent block list for
the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone updateAccountUpdate an account.
Capability required: AccountWrite
Parameters
Responsenone updateStatusForAccountUpdate the status of the account (specified by accountID).
Capability required: AccountWrite
Parameters
Responsenone |