NAME

Microsoft::AdCenter::V8::CustomerManagementService - Service client for Microsoft AdCenter Customer Management Service.

SYNOPSIS

use Microsoft::AdCenter::V8::CustomerManagementService;

my $service_client = Microsoft::AdCenter::V8::CustomerManagementService->new
    ->ApplicationToken("application token")
    ->DeveloperToken("developer token")
    ->Password("password")
    ->UserName("user name");

my $response = $service_client->AddAccount(
    Account => ...
);

See http://msdn.microsoft.com/en-us/library/ee730327.aspx for detailed documentation for this service.

METHODS

EndPoint

Changes the end point for this service client.

Default value: https://sharedservices.adcenterapi.microsoft.com/Api/CustomerManagement/v8/CustomerManagementService.svc

ApplicationToken

Gets/sets ApplicationToken (string) in the request header

DeveloperToken

Gets/sets DeveloperToken (string) in the request header

Password

Gets/sets Password (string) in the request header

UserName

Gets/sets UserName (string) in the request header

TrackingId

Gets TrackingId (string) in the response header

AddAccount

Parameters:
Account (Account)
Returns:
AddAccountResponse

AddUser

Parameters:
User (User)
Role (UserRole)
AccountIds (ArrayOflong)
Returns:
AddUserResponse

DeleteAccount

Parameters:
AccountId (long)
TimeStamp (base64Binary)
Returns:
DeleteAccountResponse

DeleteCustomer

Parameters:
CustomerId (long)
TimeStamp (base64Binary)
Returns:
DeleteCustomerResponse

DeleteUser

Parameters:
UserId (long)
TimeStamp (base64Binary)
Returns:
DeleteUserResponse

FindAccounts

Parameters:
CustomerId (long)
AccountFilter (string)
TopN (int)
ApplicationScope (ApplicationType)
Returns:
FindAccountsResponse

FindAccountsOrCustomersInfo

Parameters:
Filter (string)
TopN (int)
ApplicationScope (ApplicationType)
Returns:
FindAccountsOrCustomersInfoResponse

GetAccessibleCustomer

Parameters:
CustomerId (long)
Returns:
GetAccessibleCustomerResponse

GetAccount

Parameters:
AccountId (long)
Returns:
GetAccountResponse

GetAccountsInfo

Parameters:
CustomerId (long)
OnlyParentAccounts (boolean)
Returns:
GetAccountsInfoResponse

GetCurrentUser

Parameters:
Returns:
GetCurrentUserResponse

GetCustomer

Parameters:
CustomerId (long)
Returns:
GetCustomerResponse

GetCustomerPilotFeature

Parameters:
CustomerId (long)
Returns:
GetCustomerPilotFeatureResponse

GetCustomersInfo

Parameters:
CustomerNameFilter (string)
TopN (int)
ApplicationScope (ApplicationType)
Returns:
GetCustomersInfoResponse

GetPilotFeaturesCountries

Parameters:
Returns:
GetPilotFeaturesCountriesResponse

GetUser

Parameters:
UserId (long)
Returns:
GetUserResponse

GetUsersInfo

Parameters:
CustomerId (long)
StatusFilter (UserLifeCycleStatus)
Returns:
GetUsersInfoResponse

SignupCustomer

Parameters:
Customer (Customer)
User (User)
Account (Account)
ParentCustomerId (long)
ApplicationScope (ApplicationType)
Returns:
SignupCustomerResponse

UpdateAccount

Parameters:
Account (Account)
Returns:
UpdateAccountResponse

UpdateCustomer

Parameters:
Customer (Customer)
Returns:
UpdateCustomerResponse

UpdateUser

Parameters:
User (User)
Returns:
UpdateUserResponse

UpdateUserRoles

Parameters:
CustomerId (long)
UserId (long)
NewRoleId (int)
NewAccountIds (ArrayOflong)
NewCustomerIds (ArrayOflong)
DeleteRoleId (int)
DeleteAccountIds (ArrayOflong)
DeleteCustomerIds (ArrayOflong)
Returns:
UpdateUserRolesResponse