Skip to main content
LinkedIn AdsVersion: v3

Upsert ad campaign group

PUT/ad-publishing/linkedin/ads

Create or update a LinkedIn ad campaign group with campaigns and ads

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:adPublishing.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Body

idstring

Internal ID

Example:cg_abc123
locationIdstringrequired

Location ID

Example:loc_abc123
budgetobject

Campaign group budget

adCampaignsobject[]

Child ad campaigns

adBudgetOptimizationstring

Ad budget optimization mode

Available optionsMAXIMUM_DELIVERYCOST_CAP
Example:MAXIMUM_DELIVERY
objectiveTypestring

Campaign group objective

Available optionsLEAD_GENERATIONWEBSITE_VISIT
Example:LEAD_GENERATION
namestring

Campaign group name

Example:Q1 Lead Gen
adCampaignGroupIdstring

LinkedIn campaign group resource ID

Example:123456789
publishingStatusstring

Publishing status

Available optionsDRAFTSCHEDULEDPUBLISHEDPUBLISHINGFAILEDIN_REVIEWPAUSEDARCHIVEDWITH_ISSUESREJECTED
Example:PUBLISHED
linkedInAdAccountIdstring

LinkedIn ad account identifier

Example:12345678
unpublishedChangesboolean

Whether the campaign group has unpublished changes

Example:false
metaobject

Additional metadata

linkedInErrorstring

LinkedIn API error message

Example:Budget below minimum
customValueMappingsobject

User-provided overrides for custom_values merge tags used in ad copy

Response

The saved campaign group, same shape as GET /linkedin/ads/{adId}

idstringrequired

Campaign group identifier

Example:6a840c5a1c2e6acf77b1d258
namestringrequired

Campaign group name

Example:Q3 demand generation
locationIdstringrequired

Location identifier

Example:fRMewNQIxSyZ5R4nQyit
linkedInAdAccountIdstringrequired

LinkedIn ad account id the group belongs to

Example:556129919
adCampaignGroupIdstring

LinkedIn campaign group id, set once published

Example:1192521246
publishingStatusstringrequired

Publishing status

Example:PAUSED
linkedInErrorstringrequired

Publish or review error from LinkedIn. Empty string when there is none.

Example:
objectiveTypestringrequired

Campaign objective

Available optionsLEAD_GENERATIONWEBSITE_VISIT
Example:WEBSITE_VISIT
adBudgetOptimizationstring

Budget optimisation mode

Available optionsMAXIMUM_DELIVERYCOST_CAP
Example:MAXIMUM_DELIVERY
budgetobjectrequired

Budget configuration

adCampaignsobject[]required

Ad campaigns with their ads

metaobject

Ancillary metadata

unpublishedChangesboolean

Whether the group has edits not yet published. Absent on reads that have never been edited; set by the upsert.

Example:true
createdBystringrequired

User who created the group

Example:uPy3hdVIuuNlbWOpBYGw
updatedBystringrequired

User who last updated the group

Example:uPy3hdVIuuNlbWOpBYGw
createdAtstringrequired

Created at

Example:2026-08-18T07:40:10.354Z
updatedAtstringrequired

Updated at

Example:2026-08-18T07:45:04.812Z