Set the banner mode
set_banner_modeSets which privacy regulation one of your CookiePal domains’ banner follows: gdpr, ccpa or both, where both applies GDPR everywhere and CCPA to US visitors at the edge. It changes nothing else about the banner, and then queues a rebuild so the change goes live; if the domain has reached its page-view limit the rebuild is skipped, and the result says so.
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": {
"bannerMode": "<bannerMode>"
},
"name": "set_banner_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | No | Which domain to change. Omit it for the account’s default domain. | |
| bannerMode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| rebuild | Yes | ||
| domainId | Yes | ||
| bannerMode | Yes | ||
| bannerEnabled | Yes | ||
| previousBannerMode | Yes |