Guides
Creatives and review
Upload the image, create the dark post and the creative, or all in one call, follow review and the hold reasons, pause and delete.
A LinkedIn creative points at content: a post (image, article or video) in SPONSORED_UPDATES campaigns, or a text ad in TEXT_AD campaigns. The usual path for Sponsored Content is: upload the image, create a dark post (only shown as an ad) and create the creative pointing at it.
1. Upload the image
curl -s 'https://linkedin-ads.mimicr.dev/rest/images?action=initializeUpload' \
--header 'Authorization: Bearer <token>' --header 'LinkedIn-Version: 202610' --header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'Content-Type: application/json' \
--data '{ "initializeUploadRequest": { "owner": "urn:li:organization:48720492" } }'{ "value": { "uploadUrlExpiresAt": 1793953349339, "uploadUrl": "https://linkedin-ads.mimicr.dev/dms-uploads/D4E10AQ4bfxH50klPhY/uploaded-image/0?ca=vector_ads&cn=uploads&sync=0&v=beta&ut=…", "image": "urn:li:image:D4E10AQ4bfxH50klPhY" } }Send the bytes to uploadUrl, with the same token:
curl --request PUT --upload-file imagem.png \ 'https://linkedin-ads.mimicr.dev/dms-uploads/D4E10AQ4bfxH50klPhY/uploaded-image/0?ca=vector_ads&cn=uploads&sync=0&v=beta&ut=…' \ --header 'Authorization: Bearer <token>' # 201
JPG, PNG or GIF. The image is PROCESSING and becomes AVAILABLE in about 5 seconds (get an image); a file that isn't an image becomes PROCESSING_FAILED. The image owner can be the organization (needs ADMINISTRATOR or a sponsored content poster role), the member or the ad account.
2. Create the dark post
curl -si https://linkedin-ads.mimicr.dev/rest/posts \
--header 'Authorization: Bearer <token>' --header 'LinkedIn-Version: 202610' --header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'Content-Type: application/json' \
--data '{
"author": "urn:li:organization:48720492",
"commentary": "Gás com entrega em 24 h para a sua empresa",
"visibility": "PUBLIC",
"distribution": { "feedDistribution": "NONE", "targetEntities": [], "thirdPartyDistributionChannels": [] },
"adContext": { "dscAdAccount": "urn:li:sponsoredAccount:521119150", "dscStatus": "ACTIVE" },
"content": { "media": { "id": "urn:li:image:D4E10AQ4bfxH50klPhY", "title": "Orçamento grátis" } },
"lifecycleState": "PUBLISHED",
"isReshareDisabledByAuthor": false
}'
# 201, x-restli-id: urn:li:ugcPost:7000000002514225466feedDistribution: NONE with adContext.dscAdAccount makes a dark post (urn:li:ugcPost:); other posts get urn:li:share:. Content is media (an image, or a video created with the media.seed_video action, since the video API is 501) or article (source, title). Scope w_organization_social and an organization role. For website objectives, the post needs a landing page (contentLandingPage or the article source), otherwise the creative answers CREATIVE_CONTENT_NOT_ASSOCIATED_WITH_LANDING_PAGE_URL.
3. Create the creative
curl -si https://linkedin-ads.mimicr.dev/rest/adAccounts/521119150/creatives \
--header 'Authorization: Bearer <token>' --header 'LinkedIn-Version: 202610' --header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'Content-Type: application/json' \
--data '{
"campaign": "urn:li:sponsoredCampaign:347365458",
"content": { "reference": "urn:li:ugcPost:7000000002514225466" },
"intendedStatus": "ACTIVE",
"leadgenCallToAction": { "destination": "urn:li:leadGenForm:6700000002689218625", "label": "SIGN_UP" },
"name": "Orçamento grátis"
}'
# 201, x-restli-id: urn:li:sponsoredCreative:166531097- The post must be
PUBLIC, can't be a reshare and must belong to the account's organization or be a dark post of this account (DIRECT_SPONSORED_CONTENT_MISMATCH). - Image or article fit the
STANDARD_UPDATEformat; video fitsSINGLE_VIDEO(REFERENCE_MEDIA_CATEGORY_AND_CAMPAIGN_FORMAT_MISMATCH). LEAD_GENERATIONcampaigns needleadgenCallToActionwith a form of the account: without it, 400 "Call to Action destination is required but missing for Lead Gen Creative".- Needs
CREATIVE_MANAGERor higher.
To make the post and the creative in one call, use createInline: the body is {"creative": {…, "inlineContent": {"post": {…}}}} and the response is 201 with the whole creative.
Text ads
In TEXT_AD campaigns, the content is content.textAd:
{ "campaign": "urn:li:sponsoredCampaign:347373377", "intendedStatus": "ACTIVE", "content": { "textAd": { "headline": "Gás para empresas", "description": "Entrega em 24 h em toda a Grande SP", "landingPage": "https://example.com.br/b2b" } } }headline up to 25 characters, description up to 75 (FIELD_VALUE_TOO_LONG), landingPage http(s) up to 500 (INVALID_HREF). A reference here answers REFERENCE_NOT_ALLOWED_FOR_TEXT_AD_CREATIVE, and a textAd outside TEXT_AD, INVALID_PARENT_CAMPAIGN_TYPE. The legacy /rest/creatives path is accepted too.
Review
| Moment | review.status | servingHoldReasons |
|---|---|---|
intendedStatus DRAFT | No review | STOPPED |
First move to ACTIVE or PAUSED | PENDING | UNDER_REVIEW |
| 10 sandbox minutes later (default) | APPROVED | None, if everything else is live |
Text with [revisao-manual] | NEEDS_REVIEW | UNDER_REVIEW, until a decision |
Text with [reprovar] or the creative.reject action | REJECTED, with rejectionReasons: ["MISLEADING_CLAIMS"] | REJECTED |
| Test account | REJECTED, with ["TEST_ADS"] | REJECTED |
A rejected creative stays rejected: create a new one (on LinkedIn, appeals happen in Campaign Manager). Editing the text of an approved text ad, or the post's text, sends it back to PENDING. The review field can't be written (403 UNAUTHORIZED_ACCESS_TO_CHANGE_THE_REVIEW).
{
"id": "urn:li:sponsoredCreative:166531097",
"campaign": "urn:li:sponsoredCampaign:347365458",
"content": { "reference": "urn:li:ugcPost:7000000002514225466", "standardUpdateAd": { "reference": "urn:li:ugcPost:7000000002514225466", "contentAuthor": "urn:li:organization:48720492" } },
"intendedStatus": "ACTIVE",
"isServing": false,
"review": { "status": "PENDING" },
"servingHoldReasons": ["UNDER_REVIEW", "FORM_HOLD", "CAMPAIGN_STOPPED"]
}isServing is true when there is no hold reason. The most common reasons: STOPPED (the creative isn't ACTIVE), UNDER_REVIEW, REJECTED, FORM_HOLD (the form isn't published and approved), PROCESSING/PROCESSING_FAILED (the image), CAMPAIGN_STOPPED (the campaign isn't active) and the holds inherited from the campaign and the account. Since 202610, content.standardUpdateAd (or videoAd) comes next to reference, and fields=…,metadata on a single GET adds the derived metadata.
Pause, edit and delete
curl -si 'https://linkedin-ads.mimicr.dev/rest/adAccounts/521119150/creatives/urn%3Ali%3AsponsoredCreative%3A166531097' \
--header 'Authorization: Bearer <token>' --header 'LinkedIn-Version: 202610' --header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'X-RestLi-Method: PARTIAL_UPDATE' --header 'Content-Type: application/json' \
--data '{ "patch": { "$set": { "intendedStatus": "PAUSED" } } }'
# 204The creative URN goes fully encoded in the path; unencoded, Mimicr answers 400 "Invalid query parameters passed to request". You can change intendedStatus, name, leadgenCallToAction (the label always, the destination only in DRAFT) and content.textAd. Pausing a creative still in review answers 400 "intendedStatus transition is not allowed from ACTIVE to PAUSED if review status is not set to APPROVED".
DELETE only deletes DRAFT creatives, or creatives of DRAFT campaigns (DELETE_ALLOWED_ONLY_FOR_DRAFT_STATUS); otherwise set intendedStatus PENDING_DELETION. Search creatives filters by campaigns, intendedStatuses, contentReferences and more, with cursor pagination up to 100.
Review actions: creative.approve, creative.reject (with reasons), creative.needs_review and review.run_all (see Sandbox control).