I got the following error when trying to get a list of campaigns from
a client account:
Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode:
 faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @

Here is the code:
  public static void main(String[] args) throws Exception {
    String email = args[0];
    String password = args[1];
    String clientId = "client_1+" + email;
    String userAgent = "dev-sandbox";
    String developerToken = email + "++USD";
    String applicationToken = null;
    boolean useSandbox = true;

    AdWordsUser user = new AdWordsUser(email, password, clientId,
userAgent, developerToken, applicationToken, useSandbox);

    CampaignServiceInterface campaignService = user.getService
(AdWordsService.V200906.CAMPAIGN_SERVICE);
    CampaignSelector campaignSelector = new CampaignSelector();
    campaignService.get(campaignSelector);
}

--~--~---------~--~----~------------~-------~--~----~
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