Hi Pete,
yes, quite sure about it... testGetAccountHierarchy() works fine,
testGetDefinedReports() throws the exception.
Markus
protected function setUp() {
parent::setUp ();
$this->user = new AdWordsUser('D:/work/adwords/auth.ini', NULL, NULL, NULL,
NULL, NULL, NULL, 'D:/work/adwords/settings.ini');
}
public function testGetAccountHierarchy() {
$servicedAccountService = $this->user->GetService('ServicedAccountService',
'v201109');
$selector = new ServicedAccountSelector();
$selector->enablePaging = FALSE;
$graph = $servicedAccountService->get($selector);
$this->assertTrue($graph instanceof ServicedAccountGraph);
}
public function testGetDefinedReports() {
// $this->user->SetClientId(xxxx);
$reportDefinitionService =
$this->user->GetService('ReportDefinitionService', 'v201109');
$selector = new ReportDefinitionSelector();
$page = $reportDefinitionService->get($selector);
}
On Monday, April 16, 2012 3:21:20 PM UTC+2, Pete Lavetsky (AdWords API
Guru) wrote:
>
> Markus,
>
> Are you sure you're using the same credentials as the other successful
> calls? You're also hitting the right end point?
>
> Pete
>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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