Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/linkedin:linkedin-ad-campaign-groups-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LinkedIn Marketing AdAccounts Ad Campaign Groups API
description: 'REST API for managing LinkedIn advertising - ad accounts, ad account
users, ad campaign groups, ad campaigns, and ad creatives. The
versioned API requires the Linkedin-Version header (YYYYMM format)
and the X-Restli-Protocol-Version: 2.0.0 header for most endpoints.
Authentication uses an OAuth 2.0 bearer token with scopes such as
rw_ads (read/write) or r_ads (read-only).'
version: '202605'
contact:
name: Kin Lane
email: kin@apievangelist.com
license:
name: LinkedIn API Terms of Use
url: https://www.linkedin.com/legal/l/api-terms-of-use
servers:
- url: https://api.linkedin.com
description: LinkedIn API production
security:
- oauth2:
- rw_ads
tags:
- name: Ad Campaign Groups
description: Manage campaign groups
paths:
/rest/adAccounts/{adAccountID}/adCampaignGroups:
get:
tags:
- Ad Campaign Groups
summary: Search campaign groups for an ad account
operationId: adCampaignGroups_search
parameters:
- $ref: '#/components/parameters/adAccountID'
- name: q
in: query
schema:
type: string
enum:
- search
- $ref: '#/components/parameters/linkedinVersion'
- $ref: '#/components/parameters/restliProtocol'
responses:
'200':
description: OK
post:
tags:
- Ad Campaign Groups
summary: Create a campaign group
operationId: adCampaignGroups_create
parameters:
- $ref: '#/components/parameters/adAccountID'
- $ref: '#/components/parameters/linkedinVersion'
- $ref: '#/components/parameters/restliProtocol'
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'201':
description: Created
/rest/adAccounts/{adAccountID}/adCampaignGroups/{campaignGroupID}:
get:
tags:
- Ad Campaign Groups
summary: Get a campaign group
operationId: adCampaignGroups_get
parameters:
- $ref: '#/components/parameters/adAccountID'
- name: campaignGroupID
in: path
required: true
schema:
type: string
- $ref: '#/components/parameters/linkedinVersion'
- $ref: '#/components/parameters/restliProtocol'
responses:
'200':
description: OK
post:
tags:
- Ad Campaign Groups
summary: Update a campaign group (partial update)
operationId: adCampaignGroups_update
parameters:
- $ref: '#/components/parameters/adAccountID'
- name: campaignGroupID
in: path
required: true
schema:
type: string
- $ref: '#/components/parameters/linkedinVersion'
- $ref: '#/components/parameters/restliProtocol'
- name: X-RestLi-Method
in: header
schema:
type: string
enum:
- PARTIAL_UPDATE
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'204':
description: No Content
components:
parameters:
linkedinVersion:
name: Linkedin-Version
in: header
required: true
description: LinkedIn API version in YYYYMM format
schema:
type: string
example: '202605'
restliProtocol:
name: X-Restli-Protocol-Version
in: header
required: true
schema:
type: string
enum:
- 2.0.0
adAccountID:
name: adAccountID
in: path
required: true
schema:
type: string
securitySchemes:
oauth2:
type: oauth2
description: LinkedIn OAuth 2.0 (3-legged or 2-legged)
flows:
authorizationCode:
authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
tokenUrl: https://www.linkedin.com/oauth/v2/accessToken
scopes:
rw_ads: Read and write LinkedIn ads data
r_ads: Read LinkedIn ads data
r_ads_reporting: Read LinkedIn ads reporting
r_organization_social: Read organization social actions
w_organization_social: Write organization social actions