# /v2/adCampaignGroupsV2 stops working

Calls to /v2/adCampaignGroupsV2* on LinkedIn API stopped working on December 16, 2024.

On December 16, 2024, LinkedIn API retired /v2/adCampaignGroupsV2*. Requests sent to these unversioned endpoints fail after that day.

## What to use instead

Call the versioned API /rest/adAccounts/{id}/adCampaignGroups instead, providing a LinkedIn-Version header in the YYYYMM format.

- API: LinkedIn API (api.linkedin.com)
- Kind: Version retirement
- Takes effect: December 16, 2024
- Calls after that day: fail
- Calls it hits: `/v2/adCampaignGroupsV2*`
- Source: [Announcement](https://learn.microsoft.com/en-us/linkedin/marketing/integrations/migrations)
- Verified: November 6, 2026, against LinkedIn API's own pages
- Page: https://www.okapi.bot/providers/linkedin-api/breaking-changes/v2-adcampaigngroupsv2-stops-working/

## LinkedIn API's words

> Developers using LinkedIn Marketing APIs unversioned to migrate to the latest versions. | December 16, 2024 | Deprecated

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
