Explain what the banner does for visitors from one country or state
account.explainRegionRead-only. For one of your apps and one place — a country (DE, GB, US) or a subdivision (US-CA, US-TX, CA-QC) — says which region rule the banner applies, whether recognised non-essential scripts wait for the visitor's choice where the region requires consent first, whether the Do Not Sell link and the banner show, and whether a stored per-country setting ("Opt-in", "Opt-out" or "No banner", stored as geoRules; old name countryExceptions) and Default for other places ("Ask first" or "Our default") are really in force (only on the New engine, the Professional plan, with geolocation on and the Manual location method; absent = Manual, and Managed ignores them). On the New engine the banner's own law table decides each law's places and defaults, and Managed also asks first in the places where our research finds the law expects consent first (for example Brazil, Quebec and Nigeria). Answers describe the page once the live or cached configuration has loaded and the visitor's location is known, on any install that loads the New engine script. No per-country setting applies until the visitor's location is known. Every new browser tab starts without the location, returning visitors included, and gets it from a lookup after the page has started. On the New engine with region rules on, a visitor whose location is not known yet is asked first, on either location method; with region rules off, the page's own blocking setting decides (unset holds). Opt-out takes effect only once the configuration has loaded. It copies the banner's own matching logic, reads the app's published configuration and says plainly where the answer depends on how the page is set up, which it cannot see. Call account.listApps first if you do not have the AppID. Per-country settings are set in the dashboard only (Configuration → Laws): these tools do not write them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"AppID": "<AppID>",
"place": "<place>"
},
"name": "account.explainRegion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| AppID | Yes | The app to explain. Get it from account.listApps rather than asking the customer. | |
| place | Yes | Where the visitor is: a two-letter ISO country code (DE, GB, BR, US), optionally with a subdivision: a US state (US-CA, US-TX) or Quebec (CA-QC). Case does not matter. The United Kingdom is GB, not UK. A bare US answers for California and for the rest of the US separately. |