Read timed out Errors

Raneen Bsais 1 Reputation point
2022-03-16T10:44:19.503+00:00

Hi,
we using this API to get the currencyCode.
https://bingads.microsoft.com/Customer/v13/Entities}AdvertiserAccount

we need to get data for this report:AudiencePerformance
we can't get the currency code in this performance.

we tried to get the currency code from this API: https://bingads.microsoft.com/Customer/v13/Entities}AdvertiserAccount
using this code:
ServiceClient<ICustomerManagementService> service = getCustomerManagementService();
GetAccountRequest request = new GetAccountRequest();

        request.setAccountId(accountId);

        response = service.getService().getAccount(request);

we get this error: java.net.SocketTimeoutException: Read timed out

please how you can help me to resolve this error or if we can get the currency with another api??

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
391 questions
0 comments No comments
{count} votes