API Reference

Meta Ads / API Reference

meta_ads_set_page_publish_status

Meta Ads tool. Publish or unpublish a Facebook Page (make it visible or hidden to the public). Requires Page admin access. Args: page_id: Facebook Page ID (required). is_published: True to publish/make visible, False to unpublish/hide. (required). page_access_token: Page access token with admin rights (required).

This is a write tool: it sets page publish status in your Meta Ads account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Set page publish status in my Meta Ads account for [page id], [is published], [page access token].

It takes 3 required and 0 optional parameters.

Parameters

ParameterTypeRequiredDescription
page_idstringYesPage Id
is_publishedbooleanYesIs Published
page_access_tokenstringYesPage Access Token

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads