NAME

Microsoft::AdCenter::V8::CustomerBillingService - Service client for Microsoft AdCenter Customer Billing Service.

SYNOPSIS

use Microsoft::AdCenter::V8::CustomerBillingService;

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

my $response = $service_client->AddInsertionOrder(
    InsertionOrder => ...
);

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/Billing/v8/CustomerBillingService.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

AddInsertionOrder

Parameters:
InsertionOrder (InsertionOrder)
Returns:
AddInsertionOrderResponse

GetAccountMonthlySpend

Parameters:
AccountId (long)
MonthYear (dateTime)
Returns:
GetAccountMonthlySpendResponse

GetDisplayInvoices

Parameters:
InvoiceIds (ArrayOflong)
Type (DataType)
Returns:
GetDisplayInvoicesResponse

GetInsertionOrdersByAccount

Parameters:
AccountId (long)
InsertionOrderIds (ArrayOflong)
Returns:
GetInsertionOrdersByAccountResponse

GetInvoices

Parameters:
InvoiceIds (ArrayOflong)
Type (DataType)
Returns:
GetInvoicesResponse

GetInvoicesInfo

Parameters:
AccountIds (ArrayOflong)
StartDate (dateTime)
EndDate (dateTime)
Returns:
GetInvoicesInfoResponse

GetKOHIOInvoices

Parameters:
InvoiceIds (ArrayOfstring)
Returns:
GetKOHIOInvoicesResponse

UpdateInsertionOrder

Parameters:
InsertionOrder (InsertionOrder)
Returns:
UpdateInsertionOrderResponse