API Error. The user does not represent a authorized developer RRS feed

  • Question

  • Hi

    Having a bit of trouble with adding negative keywords.

    This call works:

    _service.GetCampaignsByAccountId(Nothing, MF.AuthenticationToken, Account.Id, Nothing, MF.DeveloperToken, Nothing, Nothing, Account.Id, Campaigns)

    This one gets the unauthorized error:

    _service.SetNegativeKeywordsToCampaigns(Nothing, MF.AuthenticationToken, Nothing, Nothing, MF.DeveloperToken, Nothing, Nothing, Account.Id, NegativeKeywords)

    NegativeKeywords looks fine to me with correct CampaignId's, just 1 negative keyword supplied (an array of 1 element) in 2 campaigns.

    I am logging in as the user of the account not an agency, the developer account is the same as the account logged in. 

    Any help on this would be appreciated.



    • Edited by NigeD Saturday, February 8, 2014 6:06 PM
    Saturday, February 8, 2014 5:46 PM


All replies

  • Please be sure to provide the account identifier in both the header (CustomerAccountId) and body (AccountId). If you are still blocked I suggest that you escalate to support with your SOAP request and response.

    I hope this helps!

    Saturday, February 8, 2014 7:36 PM
  • Can't see the wood for the trees!. Blatantly obvious when I look at my own question. The first call has Account.Id in twice, the second was missing one  (CustomerAccountId)


    Saturday, February 8, 2014 7:58 PM