LinkedIn Ads

Check images before a LinkedIn ad is built

Checks image URLs against LinkedIn's sponsored-content specs before anything is created: reachable over https, an accepted file type, under the size limit, and either 1.91:1 (1200×627) or square (1200×1200) so the feed does not choose its own crop. Use when: the user supplies creative URLs, and always before linkedin_create_image_campaign or linkedin_add_creative. An image that fails here fails mid-way through a create, after the campaign has already been made — which leaves half a campaign behind. Do not treat a warning as a blocker: a non-standard ratio uploads fine and simply gets cropped, and the user may be happy with that. Errors are blockers; warnings are the user's call. Do not use it for video — LinkedIn's video specs are not checked here. Returns per-URL content type, byte size, dimensions, which recommended size it matches, and separate error and warning lists. Costs nothing and downloads only the file header. If dimensions cannot be read, say so plainly rather than assuming the image is fine.

post/api/v1/tools/linkedin_validate_assets/execute

Request

  • Base URL: https://adako.ai
  • URL: https://adako.ai/api/v1/tools/linkedin_validate_assets/execute
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Optional 8-128 character key. A successful envelope is cached for 24 hours; replaying the key with the same arguments returns it again with Idempotent-Replayed: true, and replaying it with different arguments answers 409.

Request body

Response

The tool ran. A write returns proposal_id and approve_url while the change waits for approval.

successunknown required
toolstring required
dataobject required

Machine-readable result.

markdownstring required

The same result written for a person or a model.

proposal_idstring

Present for writes. Nothing changes on the ad platform until it is approved.

approve_urlstring

Where a person approves the proposal.

request_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.