Hi guys,
Has this issue been resolved yet? I'm trying to use the sandbox and i'm getting the same exception on:
ServicedAccountGraph graph = servicedAccountService.get(selector);
But i may be doing something wrong (new to AdWords).
My company has an account we use in Production, but i want to test stuff on the sandbox. My adwords.properties file looks like this:
email=A_VALID_EMAIL_FOR_THE_EXISTING_ACCOUNT
password=A_VALID_PASSWORD
useragent=THE_ONE_WE_USE_FOR_THE_ACCOUNT
developerToken=THE_EMAIL++USD
useSandbox=true
These lines seem to have worked just fine:
AdWordsUser user = new AdWordsUser().generateClientAdWordsUser(null);
ServicedAccountServiceInterface servicedAccountService = user.getService(AdWordsService.V201109.SERVICED_ACCOUNT_SERVICE);
ServicedAccountSelector selector = new ServicedAccountSelector();
selector.setEnablePaging(false);
But than i get an exception when trying to get the graph. Will appreciate any help you can provide,
Nira.