Draft — needs owner and legal review
Meta Marketing API
AdTrimly will ask the provider for the permissions below. Tokens are stored for this workspace. When INTEGRATION_TOKEN_ENCRYPTION_KEY is set, new tokens are encrypted before they are saved. Disconnect removes the saved token and asks the provider to revoke the grant. A failed revoke is reported as not revoked.
ads_read
Read the ad accounts, campaigns, and insights the customer selects so Command Center can show observed spend.
ads_management
Prepare campaign changes. AdTrimly does not send them unless META_WRITE_ENABLED is on and the customer approves the action.
business_management
List the businesses and ad accounts the user can access so they pick one account. AdTrimly does not manage other business assets.
Changing ads also requires META_WRITE_ENABLED and an approval inside AdTrimly. Leaving the flag unset keeps the connection read-only.