Hi,
  We just pushed out a fix for this bug.  Please create a new sandbox 
account<https://developers.google.com/adwords/api/docs/sandbox#getting-started> 
and 
try again.

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 11:44:51 AM UTC-4, Kevin Winter wrote:
>
> Hi all,
>   We apologize for this inconvenience.  We're working on implementing and 
> testing a fix that we hope to roll out in the coming week or two.
>
> - Kevin Winter
> AdWords API Team
>
> On Saturday, August 11, 2012 6:09:26 AM UTC-4, James Scott wrote:
>>
>>
>>
>> On Wednesday, July 25, 2012 10:56:51 PM UTC+2, Sander wrote:
>>>
>>> Hello Kevin,
>>>
>>> I took my problem out of the running topic on 
>>> https://groups.google.com/forum/?fromgroups#!topic/adwords-api/RuzzccFvpE8 
>>> to 
>>> avoid confusion and because that discussion is flagged as answered.
>>>
>>>
>>> I just made a brand new account, but have the same result with zeros :
>>>
>>> My code:
>>>
>>> $user = new AdWordsUser(null, $username, $password, $developerToken);
>>> $user->SetDefaultServer("https://adwords-sandbox.google.com/";); 
>>> $user->SetClientId(null);
>>>
>>> $campaignService = $user->GetService('CampaignService', 'v201109_1');
>>>  // Create selector.
>>> $selector = new Selector();
>>> $selector->fields = array('Id', 'Name');
>>> $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>>>  // Create paging controls.
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>  do {
>>> // Make the get request.
>>> $page = $campaignService->get($selector);
>>>  // Display results.
>>> if (isset($page->entries)) {
>>> foreach ($page->entries as $campaign) {
>>> printf("Campaign with name '%s' and id '%s' was found.\n",
>>> $campaign->name, $campaign->id);
>>> }
>>> } else {
>>> print "No campaigns were found.\n";
>>> }
>>>  // Advance the paging index.
>>> $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>>> } while ($page->totalNumEntries > $selector->paging->startIndex);
>>>
>>>
>>>      $campaignService = $user->GetService('CampaignService', 'v201109');
>>>    $customerSyncService = $user->GetService('CustomerSyncService', 
>>> 'v201109');
>>>   
>>>    $accountService = $user->GetService("ServicedAccountService", 
>>> 'v201109');
>>> $selector = new ServicedAccountSelector();
>>> $page = $accountService->get($selector);
>>>   
>>> echo "<PRE>";
>>> print_r($page);
>>>  foreach ($page->accounts as $account) {
>>> print "Customer ID: {$account->customerId}\n";
>>> }
>>>
>>> Resulting in:
>>>
>>> No campaigns were found.
>>>
>>> ServicedAccountGraph Object
>>> (
>>>     [accounts] => Array
>>>         (
>>>             [0] => Account Object
>>>                 (
>>>                     [customerId] => 0
>>>                     [login] => [email protected]
>>>                     [companyName] => 
>>>                     [canManageClients] => 
>>>                     [currencyCode] => 
>>>                     [dateTimeZone] => 
>>>                 )
>>>
>>>             [1] => Account Object
>>>                 (
>>>                     [customerId] => 0
>>>                     [login] => [email protected]
>>>
>>>                     [companyName] => 
>>>                     [canManageClients] => 
>>>                     [currencyCode] => 
>>>                     [dateTimeZone] => 
>>>                 )
>>>
>>>
>>> Am I in the wrong ?
>>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to