Hello!
Why this code:
$service = $user->GetService('ServicedAccountService', 'v201109');
$selector = new ServicedAccountSelector('xxx-xxx-xxxx');
$res = $service->get($selector);
var_dump($res);
works completely?

And this code:
$service = $user->GetService('BudgetOrderService', 'v201109');
$selector->fields = array('id');
try{
    $res = $service->get($selector);
    var_dump($res);
}
catch(Exception $e){
    echo $e->getMessage();
}
throw exception: NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API
???

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to