Accept ad offer OAuth Scope: posts:write
Accept ad offer OAuth Scope: posts:write
<Note title="Currently in beta" icon="b">
This feature is currently in beta and the API is subject to change.<br/>
</Note>
Draft and accept an ad offer, then insert the resulting advertisement opportunity into a post.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
publicationId
The prefixed ID of the publication object
Request
This endpoint expects an object.
offer_id
The ID of the ad offer to accept.
advertisement_id
The ID of the advertisement creative to use.
post_id
The ID of the post where the advertisement should be inserted.
Response
Created
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error