NAME

Microsoft::AdCenter::V8::OptimizerService - Service client for Microsoft AdCenter Optimizer Service.

SYNOPSIS

use Microsoft::AdCenter::V8::OptimizerService;

my $service_client = Microsoft::AdCenter::V8::OptimizerService->new
    ->ApplicationToken("application token")
    ->CustomerAccountId("customer account id")
    ->CustomerId("customer id")
    ->DeveloperToken("developer token")
    ->Password("password")
    ->UserName("user name");

my $response = $service_client->ApplyBudgetOpportunities(
    AccountId => ...
    OpportunityKeys => ...
);

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://adcenterapi.microsoft.com/Api/Advertiser/V8/Optimizer/OptimizerService.svc

ApplicationToken

Gets/sets ApplicationToken (string) in the request header

CustomerAccountId

Gets/sets CustomerAccountId (string) in the request header

CustomerId

Gets/sets CustomerId (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

ApplyBudgetOpportunities

Parameters:
AccountId (long)
OpportunityKeys (ArrayOfstring)
Returns:
ApplyBudgetOpportunitiesResponse

ApplyOpportunities

Parameters:
AccountId (long)
OpportunityKeys (ArrayOfstring)
Returns:
ApplyOpportunitiesResponse

GetBidOpportunities

Parameters:
AccountId (long)
AdGroupId (long)
CampaignId (long)
Returns:
GetBidOpportunitiesResponse

GetBudgetOpportunities

Parameters:
AccountId (long)
Returns:
GetBudgetOpportunitiesResponse