Hello, any updates about this issue?
thank you for response best regards On Thursday, July 26, 2012 3:41:56 PM UTC+2, Anash P. Oommen wrote: > > Hi, > > I've reported this issue to the engineering team, I'll update this thread > once I hear from them. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Thursday, 26 July 2012 02:26:51 UTC+5:30, 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
