// Create customer.
    $customer = new ManagedCustomer();
    $customer->name = 'Account #' . uniqid();
    $customer->currencyCode = 'EUR';
    $customer->dateTimeZone = 'Europe/London';
    // Create operation.
    $operation = new ManagedCustomerOperation();
    $operation->operator = 'ADD';
    $operation->operand = $customer;
    $operations = array($operation);
    // Make the mutate request.
    $result = $managedCustomerService->mutate($operations);
    // Display result.
    $customer = $result->value[0];
    printf("Account with customer ID '%s' was created.\n", $customer->customerId);
}
// Don't run the example if the file is being included.
if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
    return;
}
try {
    // Get AdWordsUser from credentials in "../auth.ini"
    // relative to the AdWordsUser.php file's directory.
    $user = new AdWordsUser();
    // Log every SOAP XML request and response.
    $user->LogAll();
    // Run the example.
    CreateAccountExample($user);
} catch (Exception $e) {
    printf("An error has occurred: %s\n", $e->getMessage());
}
 /**
  * Tests CreateAccountExample.
  */
 public function testCreateAccountExample()
 {
     CreateAccountExample($this->mccUser);
 }