Bing custom search configuration - programmatic access

Nitin Kumar 6 Reputation points
2021-04-30T04:51:33.307+00:00

Hi,
I am using Azure/bing custom search option for specific domains from https://www.customsearch.ai/. Currently I have to manually edit the domain name list. Is it possible to programmatically edit the instance configurations?
92851-screen-shot-2021-04-29-at-94707-pm.png

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,221 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nitin Kumar 6 Reputation points
    2021-05-10T01:50:16.633+00:00

    @Ramr-msft
    Hi Thanks for the response. But this is the code for search using custom search instance with bing search API.
    Currently, if we have to add or delete a url from the custom search instance, it has to be done manually. We have many custom search instances. To edit we have to do it manually from the web interface.
    My question is about if it is possible to edit custom search instances programmatically without going to the Custom search web interface. For example, for a given custom search instance (by ID hash or by name), we can add or remove urls programmatically, without manually editing from the custom search ui That will save us lot of hassle.
    Thanks a lot.
    Nitin

    1 person found this answer helpful.