{ "opencollection": "1.0.0", "info": { "name": "LinkedIn Marketing AdAccounts API", "version": "202605" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.linkedin.com/oauth/v2/authorization", "accessTokenUrl": "https://www.linkedin.com/oauth/v2/accessToken", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "AdAccounts", "type": "folder" }, "items": [ { "info": { "name": "Search ad accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/rest/adAccounts", "headers": [ { "name": "Linkedin-Version", "value": "" }, { "name": "X-Restli-Protocol-Version", "value": "" } ], "params": [ { "name": "q", "value": "", "type": "query" }, { "name": "search", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "pageToken", "value": "", "type": "query" } ] }, "docs": "Search ad accounts" }, { "info": { "name": "Create an ad account (or batch create with X-RestLi-Method header)", "type": "http" }, "http": { "method": "POST", "url": "https://api.linkedin.com/rest/adAccounts", "headers": [ { "name": "Linkedin-Version", "value": "" }, { "name": "X-Restli-Protocol-Version", "value": "" }, { "name": "X-RestLi-Method", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an ad account (or batch create with X-RestLi-Method header)" }, { "info": { "name": "Fetch an ad account", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/rest/adAccounts/:adAccountID", "headers": [ { "name": "Linkedin-Version", "value": "" }, { "name": "X-Restli-Protocol-Version", "value": "" } ], "params": [ { "name": "adAccountID", "value": "", "type": "path" } ] }, "docs": "Fetch an ad account" }, { "info": { "name": "Update an ad account (partial update via patch payload)", "type": "http" }, "http": { "method": "POST", "url": "https://api.linkedin.com/rest/adAccounts/:adAccountID", "headers": [ { "name": "Linkedin-Version", "value": "" }, { "name": "X-Restli-Protocol-Version", "value": "" }, { "name": "X-RestLi-Method", "value": "" } ], "params": [ { "name": "adAccountID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an ad account (partial update via patch payload)" }, { "info": { "name": "Delete a DRAFT ad account", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.linkedin.com/rest/adAccounts/:adAccountID", "headers": [ { "name": "Linkedin-Version", "value": "" }, { "name": "X-Restli-Protocol-Version", "value": "" } ], "params": [ { "name": "adAccountID", "value": "", "type": "path" } ] }, "docs": "Delete a DRAFT ad account" } ] } ], "bundled": true }