{ "opencollection": "1.0.0", "info": { "name": "LinkedIn Compliance Events Access Control Account Management API", "version": "1.0.0" }, "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": "Account Management", "type": "folder" }, "items": [ { "info": { "name": "LinkedIn Search Ad Accounts by Type", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/adAccounts", "headers": [ { "name": "LinkedIn-Version", "value": "202401" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "q", "value": "search", "type": "query" }, { "name": "search", "value": "(type:(values:List(BUSINESS)))", "type": "query", "description": "Search criteria" } ] }, "docs": "Search for ad accounts by ID, name, reference, type, or status." }, { "info": { "name": "LinkedIn Create Test Ad Account", "type": "http" }, "http": { "method": "POST", "url": "https://api.linkedin.com/adAccounts", "headers": [ { "name": "LinkedIn-Version", "value": "202401" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new ad account. Set test flag to true for test accounts." }, { "info": { "name": "LinkedIn Fetch Ad Account by Id", "type": "http" }, "http": { "method": "GET", "url": "https://api.linkedin.com/adAccounts/:SponsoredAccountId", "headers": [ { "name": "LinkedIn-Version", "value": "202401" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "SponsoredAccountId", "value": "123456", "type": "path" } ] }, "docs": "Retrieve an ad account by its ID." }, { "info": { "name": "LinkedIn Update Ad Account Name", "type": "http" }, "http": { "method": "POST", "url": "https://api.linkedin.com/adAccounts/:SponsoredAccountId", "headers": [ { "name": "LinkedIn-Version", "value": "202401" }, { "name": "X-Restli-Protocol-Version", "value": "2.0.0" } ], "params": [ { "name": "SponsoredAccountId", "value": "123456", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an ad account using partial update." } ] } ], "bundled": true }