GetKeywordIdeas service long-running requests / degrated API performance

BM1715 0 Reputation points
2024-07-29T14:23:16.23+00:00

Hello,

For a couple of months, we have been using the Bing (Microsoft) Ads API GetKeywordIdeas service operation to retrieve historical statistics for a specified set of keywords. These statistics are displayed within an internal tool.

Since last month we started using the GetKeywordIdeas service operation more intensively, making around 2k daily requests to store the statistics and use them for analysis. Since the beginning of our more extensive usage, we have encountered some requests that we were not able to complete within 5 minutes. This problem got worse since last Friday (26th of July), resulting in 70% of the requests taking more than 5 minutes (not completed before the 5-minute time-out has reached).

Today we performed a lot of tests and noticed that a connection was successfully established within less than 0.2 seconds. The access token and request parameters are validated and an error response is provided within not more than a second. But when authentication is successful and the request is valid, the connection stays open for a very long time and rarely finishes.

It also doesn't make sense that this would be rate-limiting behavior, as in that scenario one would not expect connections to stay open, but rather to be terminated with an appropriate response.

The requests we made contain:

  • Search parameters: a maximum of 200 keywords (queries) and a language (e.g. English), location (e.g. United States, ID 190), network (OwnedAndOperatedAndSyndicatedSearch) & device (e.g. Computers).
  • Idea attributes: Keyword, MonthlySearchCounts, SuggestedBid, Competition.
  • Expand ideas: false

We are using the Bing Ads API ad insight service version 13 and PHP BingAds SDK (microsoft/bingads) version 13.0.19. The extensive tests are performed using the SDK version 13.0.19 & 13.0.21, and cURL.

Any ideas what might cause this? Or how it might be remedied?

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.
424 questions
Microsoft Advertising
Microsoft Advertising
A platform for Microsoft's advertising efforts designed to manage all advertising and reporting for partner advertisers. Previously known as Bing Ads and adCenter.
80 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.