Microsoft Developer Network > Forums Home > Windows Live Developer Forums Forums > Microsoft adCenter: Development > [ApiFaultDetail] / (1030) Account Id has to be specified for this operation.
Ask a questionAsk a question
 

Question[ApiFaultDetail] / (1030) Account Id has to be specified for this operation.

  • Thursday, September 10, 2009 1:08 AM_bjenkins Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm using the v6 CampaignManagement API.  I'm trying to get my Campaigns using a GetCampaignsByAccountIdRequest.

    GetCampaignsByAccountIdRequest campRequest = new GetCampaignsByAccountIdRequest();
    campRequest.setAccountId(accountId);
    
    GetCampaignsByAccountIdResponse campResponse = campaignManagement.getCampaignsByAccountId(campRequest);
    Campaign[] exist = campResponse.getCampaigns();

    this results in the ApiFaultDetail exception (1030) Account Id has to be specified for this operation.  I'm using my Customer Account ID as the Account Id.  Also, I don't see this error mentioned on the error codes index:
    http://msdn.microsoft.com/en-us/library/bb671735.aspx

    any idea what might be going wrong?
    thanks,
    Brent

All Replies

  • Friday, September 11, 2009 12:57 AMJeff Dillon - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What AccountID are you using? Feel free to open a support ticket if you would rather not post specific data here. So you obtained your AccountID via a call to GetAccounts? And make sure you are using the pure numeric value, and not the alphanumeric AccountNumber (the one in X1234567 format)

    Jeff Dillon, API Support
  • Wednesday, September 23, 2009 7:33 PM_bjenkins Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    this was just user error.  thanks Jeff.