That's not the problem :( I am still getting the same error. Here is the code.
<?php
error_reporting(E_STRICT | E_ALL);
// Add the library to the include path. This is not neccessary if you've already
// done so in your php.ini file.
$path = dirname(__FILE__) . '/../../../src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
$password = "***";
$currencyCode = "TRY";
$developerToken = "$username++$currencyCode";
$user = new AdWordsUser(null, $username, $password, $developerToken);
$user->LogAll();
$user->SetClientId(null);
try {
$campaignService = $user->GetService("CampaignService", 'v201109');
$page = $campaignService->get(new Selector());
} catch (Exception $e) {}
$accountService = $user->GetService("ServicedAccountService", 'v201109');
$selector = new ServicedAccountSelector();
$page = $accountService->get($selector);
foreach ($page->accounts as $account) {
print "Customer ID: {$account->customerId}\n";
}
$accountService = $user->GetService("ServicedAccountService", 'v201109');
$selector = new ServicedAccountSelector();
$page = $accountService->get($selector);
$customerId = $page->accounts[0]->customerId;
$user->SetClientId($customerId);
$campaignService = $user->GetService("CampaignService", 'v201109');
$campaign = new Campaign();
$campaign->name = "Test Sandbox Account";
$campaign->status = "ACTIVE";
$campaign->biddingStrategy = new ManualCPC();
$budget = new Budget();
$budget->period = 'DAILY';
$budget->amount = new Money((float) 10000000);
$budget->deliveryMethod = 'STANDARD';
$campaign->budget = $budget;
$networkSetting = new NetworkSetting();
$networkSetting->targetGoogleSearch = TRUE;
$campaign->networkSetting = $networkSetting;
$operation = new CampaignOperation();
$operation->operand = $campaign;
$operation->operator = 'ADD';
$operations = array($operation);
$result = $campaignService->mutate($operations);
print_r($result);
?>