add_page_preview_block
Block specific URLs from appearing in page previews by providing the site URL, target URL, and a reason code to manage visibility in Bing Webmaster Tools.
Instructions
Add a page preview block.
Args: site_url: The URL of the site url: The URL to block from page preview reason: The reason for blocking the page preview
Raises: BingWebmasterError: If preview block cannot be added
Input Schema
Name | Required | Description | Default |
---|---|---|---|
reason | Yes | ||
self | Yes | ||
site_url | Yes | ||
url | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"BlockReason": {
"enum": [
1,
2,
3,
4
],
"title": "BlockReason",
"type": "integer"
}
},
"properties": {
"reason": {
"$ref": "#/$defs/BlockReason"
},
"self": {
"title": "self",
"type": "string"
},
"site_url": {
"title": "Site Url",
"type": "string"
},
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"self",
"site_url",
"url",
"reason"
],
"title": "add_page_preview_blockArguments",
"type": "object"
}