# Hermoso: set_microsoft_ads_profile_targeting · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_microsoft_ads_profile_targeting/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / set_microsoft_ads_profile_targeting

# `set_microsoft_ads_profile_targeting`

Set LinkedIn profile targeting on a Microsoft Advertising campaign destructive

Area: MICROSOFT AD INSIGHT · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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)

`campaignId` required `string` Microsoft campaign id to change LinkedIn profile targeting on

`add` `object[]` profile criteria to add: [{profileType, profileId, bidAdjustment}]

`add[].profileType` required `"CompanyName" | "Industry" | "JobFunction" | "JobSeniority" | "JobTitle"` type of the profileId: CompanyName, Industry, JobFunction, JobSeniority or JobTitle

`add[].profileId` required `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[].criterionId` required `string` existing criterion id from list_microsoft_ads_profile_targeting

`update[].bidAdjustment` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_microsoft_ads_profile_targeting](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_profile_targeting/) Read a Microsoft Advertising campaign’s LinkedIn profile targeting
- [search_microsoft_ads_profiles](https://hermoso.ai/docs/reference/ads/search_microsoft_ads_profiles/) Find Microsoft Advertising LinkedIn profile ids
- [set_microsoft_ads_budget](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_budget/) Set a Microsoft Advertising daily budget
- [set_microsoft_ads_status](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_status/) Activate or pause a Microsoft Advertising campaign / ad group / ad
- [add_microsoft_ads_keywords](https://hermoso.ai/docs/reference/ads/add_microsoft_ads_keywords/) Add Microsoft Advertising keywords
- [delete_microsoft_ads_object](https://hermoso.ai/docs/reference/ads/delete_microsoft_ads_object/) Delete a Microsoft Advertising campaign / ad group / ad / keyword
- [create_microsoft_ads_ad](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_ad/) Create a Microsoft responsive search ad
- [create_microsoft_ads_ad_group](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_ad_group/) Add a Microsoft Advertising ad group
- [create_microsoft_ads_campaign](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_campaign/) Build a Microsoft Advertising campaign (paused)
- [microsoft_ads_geo_search](https://hermoso.ai/docs/reference/ads/microsoft_ads_geo_search/) Find Microsoft Advertising location ids

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
