LinkedIn Ads

Show the LinkedIn account tree

Returns the whole account in one call: every campaign group (a campaign in Campaign Manager), the campaigns (ad sets) inside it, and the creatives (ads) inside those, with status and budget at each level. Naming: since October 2025 Campaign Manager calls the three levels campaign → ad set → ad, while the API and these tools say campaign group → campaign → creative. A user's "campaign" may mean a campaign group, and their "ad set" or "ad" means a campaign or a creative here, so check which level they mean before acting on it. Use when: taking over an unfamiliar account, auditing how something is set up, or answering "where does this campaign sit". One call here replaces three list calls and keeps the ids consistent between levels. Do not use it on a very large account when you only need one branch — pass campaign_group_id, or use linkedin_list_campaigns, so the answer stays readable. Do not use it for performance. Returns the tree plus counts, and flags every level that is not delivering. If a campaign has no creatives it can never spend, however healthy its budget looks — say so rather than reporting it as ready.

post/api/v1/tools/linkedin_get_campaign_structure/execute

Request

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