## Summary

Campaign priority determines the preferred bid for the same product across
multiple Shopping campaigns in the same country.

Campaign priorities don't affect your search relevance or influence the
likelihood of your product to show on Google Shopping. They give you more
control over which products and bids are most important.

For more detail on using priorities see the [Shopping Best Practices guide](https://support.google.com/google-ads/answer/6167176).

## Manual steps

Here are the steps to set campaign priorities through the [Google Ads
UI](https://ads.google.com/):

1. [Create a Shopping campaign](https://developers.google.com/google-ads/shopping/full-automation/articles/t18).
2. Sign in to your [Google Ads account](https://ads.google.com/).
3. Click **Settings** for the campaign you want to edit.
4. Select one of the following **Campaign priority** levels:
   - Low (default)
   - Medium
   - High
5. Click **Save**.

See [Use campaign priority for Shopping campaigns](https://support.google.com/google-ads/answer/6275296) for more details.

## Automatic steps

Here's how to set campaign priority with the Google Ads API:

1. Make sure you've successfully [created a campaign](https://developers.google.com/google-ads/shopping/campaign-management/articles/t18) and have the campaign ID.
2. Make a [`MutateCampaignsRequest`](https://developers.google.com/google-ads/api/reference/rpc/latest/MutateCampaignsRequest) as follows:
   1. Set the [`CampaignOperation`](https://developers.google.com/google-ads/api/reference/rpc/latest/CampaignOperation) to `update`.
   2. Set the operand to a [`Campaign`](https://developers.google.com/google-ads/api/reference/rpc/latest/Campaign) object as follows:
      - Set `id` to the campaign ID.
      - Set `campaign_priority` for the [`ShoppingSetting`](https://developers.google.com/google-ads/api/reference/rpc/v26/Campaign.ShoppingSetting) to one of the following:
        - `0` for Low.
        - `1` for Medium.
        - `2` for High.