I'm trying to get started using the Bing Ads Java SDK to manage the accounts we own using an automated process, but an having trouble with authing; the code examples provided here don't seem to fit that use case, in that they assume interaction with a user who will actively grant permission.
We already have OAuth credentials that other processes (in Ruby) use, and I'm hoping to use those for our Java (technically Kotlin) processes, but it's not clear which Authentication type to include in the AuthorizationData.
Currently, while experimenting, I've been using the OAuthDesktopMobileImplicitGrant, which allows me to instantiate a CustomerManagementService and make a successful GetCurrentUserRequest.
However, while I can instantiate a CampaignManagementService, I haven't been able to make a successful GetCampaignsByAccountIdRequest, even though I'm providing the same AccountId present in the AuthorizationData. Inspecting the SOAP response shows the error "An internal error has occurred.", though I'm guessing it's a problem with my implementation, and not something internal to your system.
Could you provide guidance? Am I using the correct Authentication type for my use case?