add_country_region_settings
Configure country/region-specific settings for a website in Bing Webmaster Tools, enabling targeted content delivery and compliance with regional requirements.
Instructions
Add country/region settings for a specific site.
Args: site_url: The URL of the site settings: The country/region settings to add
Raises: BingWebmasterError: If settings cannot be added
Input Schema
Name | Required | Description | Default |
---|---|---|---|
self | Yes | ||
settings | Yes | ||
site_url | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"CountryRegionSettings": {
"properties": {
"Date": {
"format": "date-time",
"title": "Date",
"type": "string"
},
"TwoLetterIsoCountryCode": {
"maxLength": 2,
"minLength": 2,
"title": "Twoletterisocountrycode",
"type": "string"
},
"Type": {
"$ref": "#/$defs/CountryRegionSettingsType"
},
"Url": {
"title": "Url",
"type": "string"
},
"__type": {
"default": "CountryRegionSettings:#Microsoft.Bing.Webmaster.Api",
"title": "Type",
"type": "string"
}
},
"required": [
"Date",
"TwoLetterIsoCountryCode",
"Type",
"Url"
],
"title": "CountryRegionSettings",
"type": "object"
},
"CountryRegionSettingsType": {
"enum": [
0,
1,
2,
3
],
"title": "CountryRegionSettingsType",
"type": "integer"
}
},
"properties": {
"self": {
"title": "self",
"type": "string"
},
"settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"$ref": "#/$defs/CountryRegionSettings"
}
],
"title": "Settings"
},
"site_url": {
"title": "Site Url",
"type": "string"
}
},
"required": [
"self",
"site_url",
"settings"
],
"title": "add_country_region_settingsArguments",
"type": "object"
}