LinkedIn Ads

List the LinkedIn pages this login can post as

Lists the LinkedIn organizations (company pages) the connected login administers, with their URNs. Use when: before creating any image, video or carousel campaign. Every sponsored post on LinkedIn is authored by a page, and the page URN is a required input to linkedin_create_image_campaign and its siblings — this is the only tool that produces valid ones. Do not use it to pick a page on the user's behalf when more than one comes back: show the list and ask which brand the ad should speak as. Getting this wrong publishes an ad under the wrong company name. Returns id, URN, name, vanity name and the login's role on each page. Costs nothing. If the list is empty the login administers no page: the user must be given a Sponsored Content Poster or Page Admin role on the page in LinkedIn, then reconnect. A text-ad campaign (linkedin_create_text_campaign) needs no page and is the only thing that can run meanwhile.

post/api/v1/tools/linkedin_get_organizations/execute

Request

  • Base URL: https://adako.ai
  • URL: https://adako.ai/api/v1/tools/linkedin_get_organizations/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.