set_microsoft_ads_profile_targeting
Set LinkedIn profile targeting on a Microsoft Advertising campaign destructive
Description
Target LinkedIn profiles on a Microsoft Advertising Search, Shopping or Dynamic Search Ads campaign: add companies, industries, job functions, seniorities or job titles, each with an optional bid adjustment (whole percent, -90 to 900), or change an existing adjustment by criterion id (list_microsoft_ads_profile_targeting shows it). Find profile ids with search_microsoft_ads_profiles. On an ACTIVE campaign this changes bids on the very next auction, so show the user the changes, get an explicit yes, then call with confirm:true. The reply is what Microsoft reads back, and a change that does not read back is named. Removing a profile criterion is not available here; an adjustment of 0 has no effect on bids.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Microsoft ad account id — omit to use the single shared account |
accountId | string | older name for adAccountId (MCP only) |
campaignIdrequired | string | Microsoft campaign id to change LinkedIn profile targeting on |
add | object[] | profile criteria to add: [{profileType, profileId, bidAdjustment}] |
add[].profileTyperequired | "CompanyName" | "Industry" | "JobFunction" | "JobSeniority" | "JobTitle" | type of the profileId: CompanyName, Industry, JobFunction, JobSeniority or JobTitle |
add[].profileIdrequired | string | profile id from search_microsoft_ads_profiles; job title and seniority ids are passed as-is |
add[].bidAdjustment | number | whole percent, -90 to 900; omit for none |
update | object[] | bid adjustments to change on existing criteria: [{criterionId, bidAdjustment}] |
update[].criterionIdrequired | string | existing criterion id from list_microsoft_ads_profile_targeting |
update[].bidAdjustmentrequired | number | whole percent, -90 to 900 |
confirm | boolean | REQUIRED true when the campaign is ACTIVE |
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/set_microsoft_ads_profile_targeting.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_microsoft_ads_profile_targeting","arguments":{"campaignId":"<string>"}}}
CLI
hermoso call set_microsoft_ads_profile_targeting --json '{"campaignId":"<string>"}'
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
list_microsoft_ads_profile_targetingRead a Microsoft Advertising campaign’s LinkedIn profile targetingsearch_microsoft_ads_profilesFind Microsoft Advertising LinkedIn profile idsset_microsoft_ads_budgetSet a Microsoft Advertising daily budgetset_microsoft_ads_statusActivate or pause a Microsoft Advertising campaign / ad group / adadd_microsoft_ads_keywordsAdd Microsoft Advertising keywordsdelete_microsoft_ads_objectDelete a Microsoft Advertising campaign / ad group / ad / keywordcreate_microsoft_ads_adCreate a Microsoft responsive search adcreate_microsoft_ads_ad_groupAdd a Microsoft Advertising ad groupcreate_microsoft_ads_campaignBuild a Microsoft Advertising campaign (paused)microsoft_ads_geo_searchFind Microsoft Advertising location ids