question

xgajdosm3Gajdo-9246 avatar image
0 Votes"
xgajdosm3Gajdo-9246 asked YutongTie-MSFT commented

Custom Search API - metadata description

Hey guys,

I have a question if is available to enable/add for Custom Search API response metadata description of the page. I can find the snippet of the page but I have to pull metadata-description also. I also can see "name" parameter that is pulled as Metadata title of the page.

Thanks in advance.

azure-bing-custom
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered YutongTie-MSFT commented

Hello,

It seems like "searchTags" contains all of the information you want. Could you please take a look and check? Thanks.

https://docs.microsoft.com/en-us/rest/api/cognitiveservices-bingsearch/bing-custom-search-api-v7-reference#webpage

A list of search tags that the webpage owner specified on the webpage. The API returns only indexed search tags.

The name field of the MetaTag object contains the indexed search tag. Search tags begin with search.* (for example, search.assetId). The content field contains the tag's value.

Regards,
Yutong

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I saw that parameter, but not such as searchTags is pulling within API. I have specified meta-tags in every header of the page. Could you provide more information, what exactly needs to be specified to properly use this parameter^^ ?

Thanks!

0 Votes 0 ·

Hi,

Thanks for your response. "SearchTag" is a part of WebPage - https://docs.microsoft.com/en-us/bing/search-apis/bing-web-search/search-responses#webpages-answer

https://docs.microsoft.com/en-us/rest/api/cognitiveservices-bingsearch/bing-custom-search-api-v7-reference#webpage

Hope this is helpful. Are you asking about the search query?

Regards,
Yutong

0 Votes 0 ·

Yes, I'm asking for Custom Search API. I know these things, but problem is that after asking API response there is no "SearchTag" in there at all within response.

0 Votes 0 ·
Show more comments