Toggle one ad on or off
Changed onSets one ad's status to ACTIVE or PAUSED while leaving the campaign's creative set, targeting, and other ads unchanged. Returns 400 FAILED_PRECONDITION for REMOVED ads and for campaigns that have ended or been cancelled.
patch/ads-management/v1/campaigns/{campaignId}/ads/{adId}
Request
- Base URLhttps://apis.roblox.com
- Auth
- API key in cookie .ROBLOSECURITY
- or API key in header x-api-key
- or OAuth 2Authorization codehttps://apis.roblox.com/oauth/v1/authorizeToken URLhttps://apis.roblox.com/oauth/v1/tokenScopesad.campaign:write
Path parameters
campaignIdstring required
Campaign ID
adIdstring required
Ad ID
Request body
Response
OK
Changes
- info
endpoint added
- info