For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update the advertising settings for a site

Updates the advertising configuration for a site, including the review status and topic category used to select relevant ads. This controls GitBook's monetization feature for sites opted into the ads program.

Available in MCP
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
siteIdstringRequired

The unique id of the site

Body
statusstring · enumOptionalPossible values:
topicstring · enumOptional

Topic of the content

Possible values:
Responses
204

OK

No content

post/orgs/{organizationId}/sites/{siteId}/ads
204

OK

No content

Last updated

Was this helpful?

Powered by GitBook