associate_linkedin_conversion_campaigns
Attach campaigns to a LinkedIn conversion rule destructive
Description
Associate LinkedIn campaigns with a conversion rule — or detach them with remove:true. THIS IS WHAT MAKES A CONVERSION COUNT: LinkedIn only attributes a conversion to campaigns associated with its rule, so an unassociated rule reports zero however many events you stream to it. Associate every campaign the conversion could plausibly have come from. It spends nothing, but on a LIVE campaign it changes what the campaign optimises toward and what its report counts. The result is the PER-CAMPAIGN status LinkedIn returned, not a blanket success — repeat any that failed. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | LinkedIn ad account id shared with this profile; needed only when several are shared |
conversionIdrequired | string | the conversion rule id, or its urn:lla:llaPartnerConversion:… URN |
campaignIdsrequired | string[] | LinkedIn campaign ids (list_linkedin_ads_campaigns has them) |
remove | boolean | detach instead of attach |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/associate_linkedin_conversion_campaigns.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"associate_linkedin_conversion_campaigns","arguments":{"conversionId":"<string>","campaignIds":"<array>"}}}
CLI
hermoso call associate_linkedin_conversion_campaigns --json '{"conversionId":"<string>","campaignIds":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
update_linkedin_conversion_ruleUpdate or disable a LinkedIn conversion rulesend_linkedin_conversionsSend conversions to LinkedIn (Conversions API)list_linkedin_conversion_rulesList LinkedIn conversion rulesupdate_meta_objectEdit a Meta campaign / ad set / adcreate_linkedin_conversion_ruleCreate a LinkedIn conversion ruleduplicate_meta_objectDuplicate a Meta campaign / ad set / ad (paused)delete_linkedin_ads_objectDelete a LinkedIn campaign group / campaign / adset_linkedin_ads_trackingLinkedIn ads dynamic UTM trackingpreview_linkedin_adPreview a LinkedIn ad + its review statusupdate_linkedin_ads_creativeEdit a LinkedIn ad (copy, landing page, button, lead form)