Update the Ads configuration for a site
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
siteIdstringRequired
The unique id of the site
Header parameters
X-GitBook-Partner-KeystringRequired
Body
or
or
Responses
204
OK
No content
patch/ads/sites/{siteId}
PATCH /v1/ads/sites/{siteId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
X-GitBook-Partner-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"status": "live",
"zoneId": "text",
"reportingId": "text"
}204
OK
No content
Last updated
Was this helpful?