API Reference
Authentication (OAuth 2.0)GETAuthorization pagePOSTExchange a code or refresh a tokenPOSTIntrospect a token
Member, accounts and rolesGETGet the memberGETList the member's ad accountsGETSearch ad accountsGETGet an ad accountPOSTCreate ad accountsPOSTUpdate an ad accountDELDelete a draft ad accountGETList the users of an ad accountPUTAdd or replace an ad account userGETGet an ad account userPOSTUpdate an ad account userDELRemove an ad account userGETList the member's organization rolesGETGet an organization
Campaign groupsPOSTCreate campaign groupsGETSearch campaign groupsGETGet a campaign groupPOSTUpdate a campaign groupDELDelete a campaign groupGETGet campaign groups in batchPOSTUpdate campaign groups in batchDELDelete campaign groups in batch
CampaignsPOSTCreate campaignsGETSearch campaignsGETGet a campaignPOSTUpdate or activate a campaignDELDelete a campaignGETGet campaigns in batchPOSTUpdate campaigns in batchDELDelete campaigns in batch
Targeting and pricingGETList targeting facetsGETList the values of a facetGETSearch facet valuesGETGet facet values by URNGETEstimate the audience sizeGETGet bid and budget limits
CreativesPOSTCreate creativesPOSTCreate a post and a creative in one callGETSearch creativesGETGet a creativePOSTUpdate a creativeDELDelete a creativeGETGet creatives in batchPOSTUpdate creatives in batchDELDelete creatives in batch
Posts and imagesPOSTCreate a postGETGet a postPOSTUpdate a postDELDelete a postPOSTInitialize an image uploadGETGet an image
Conversions APIPOSTCreate a conversion ruleGETList the conversion rules of an accountGETGet a conversion rulePOSTUpdate a conversion rulePUTAssociate a campaign and a ruleGETGet an associationDELRemove an associationGETList the associations of campaignsPOSTSend conversion eventsGETAd click (Mimicr)
Upload the image bytes
PUT
Base URL: /dms-uploads/{id}/uploaded-image/0https://linkedin-ads.mimicr.dev · provider: https://www.linkedin.comThe uploadUrl of initializeUpload, with its query string, and the same bearer token. JPG, PNG or GIF. The image is PROCESSING and becomes AVAILABLE after about 5 seconds, or PROCESSING_FAILED for a file that isn't an image.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
idstringrequired
Image id (the part of the URN after urn:li:image:).
Query parameters
utstringrequired
Upload token of the uploadUrl.
Body
application/octet-streamstring<binary>required
Responses
201Uploaded.
401Missing token (Empty oauth2_access_token), invalid token (65600 INVALID_ACCESS_TOKEN), revoked (65601 REVOKED_ACCESS_TOKEN) or expired (65602 EXPIRED_ACCESS_TOKEN).
statusinteger
HTTP status.
serviceErrorCodeinteger
Service error code (100, 401, 65600…).
codestring
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
messagestring
Error message.