Create custom parameters for advanced tracking

Custom parameters are an advanced type of URL parameter that you can add to your ad’s landing page URLs. Unlike ValueTrack parameters, you can choose what values your custom parameters record once someone clicks on your ad.

This article explains the steps you’ll need to take to set up custom parameters at different levels of your account.

Before you begin

If you’re not familiar with tracking in Google Ads or ValueTrack parameters, consider reviewing About tracking in Google Ads and Using ValueTrack parameters in your tracking template before getting started. 

Instructions for setting up custom parameters

Step 1: Choose a level

You can create up to 8 custom parameters at any level of your account except for the account level. If your custom parameters use the same name, Google Ads will use the most specific custom parameter that you create. This means that if you create a custom parameter for an ad group (e.g. {_color}=red) and a custom parameter for one of the ads within that ad group (e.g. {_color}=blue), Google Ads will use the ad-level custom parameter ({_color}=blue).

Step 2: Define your custom parameters

Custom parameters consist of two parts:

  • Name: Up to 16 alphanumeric characters
  • Value: Up to 250 characters; can contain any characters (including | ; _ / ^ ( !), as well as ValueTrack parameters

Both the name and the value can be anything you want. For example, if you have special IDs for each of your keywords, you can create a custom parameter that looks like this: {_mykwid}=1234.

Step 3: Add your custom parameter in the “Custom parameter” field

The new Google Ads experience is now the exclusive way for most users to manage their accounts. Note, automatic targeting is only available in the new Google Ads experience.

Create or edit custom parameters at the campaign level

  1. Sign into your Google Ads account.
  2. In the navigation panel, click All Campaigns.
  3. From the page menu on the left, click Settings.
  4. Click the campaign you want to edit.
  5. Under “Additional settings", select Campaign URL options.
  6. Next to "Custom parameter," enter the name and value of your custom parameters.
  7. Click Save.

To edit your custom parameters, follow steps 1-6 above, make your changes, and click Save.

Create or edit custom parameters in bulk at the ad level

  1. Sign into your Google Ads account.
  2. Click Ads & extensions.
  3. Check the boxes next to all of the ads you want to add custom parameters to.
  4. Click, Edit in the blue bar above the table, then select Change custom parameters from the drop-down menu.
  5. Next to “Add parameters", enter the name and value of your custom parameters.
  6. Click Add.
  7. Click Apply.

To edit your custom parameters, follow steps 1-5 above. Make your changes, and click Apply.

Edit custom parameters at the ad level

  1. Sign in to your Google Ads account.
  2. Click Ads & extensions.
  3. Hover over the ad you’d like to edit and click the pencil icon .
  4. Click the arrow in the top right corner to expand the edit panel.
  5. Under the “Ad URL options” section, enter the name and value of your custom parameters.
  6. Click Save new ad. Saving sends this new ad for review, and removes your old ad.

Create or edit custom parameters at the ad group or keyword level

First, add the “Custom parameters” column to your ad group or keyword table:

  1. Sign into your Google Ads account.
  2. Click Keywords or Ad groups.
  3. Click the columns icon Columns, and select Modify columns.
  4. Click Attributes. 
  5. Select Custom parameter
  6. Click Apply.


Now, add your custom parameter:

  1. Hover over any entry in the "Custom parameter" column and click the pencil icon Edit when it appears.
  2. Enter the name and value of your custom parameters.
  3. Click Save.


To edit your custom parameters, follow steps 1-2 in the second section, make your changes, and click Save.

Create or edit custom parameters at the sitelink level

  1. Sign in to your Google Ads account.
  2. Click Ads & extensions in the page menu, then click Extensions at the top of the page.
  3. Click the plus button Add button (plus button  FAB).png, and choose Sitelink extensions.
  4. From the “Add to” drop-down menu, choose the level you’d like to add the sitelink to.
  5. To use an existing sitelink, click Use existing and select the sitelinks that you’d like to add.
  6. To create a new sitelink, click Create new.
  7. Fill out the sitelink text, and URL.
  8. Enter additional text about your link in the Description fields (optional, but highly recommended).When you fill out both lines of description, your sitelink may be eligible to show with these details.
  9. Under “Sitelink URL options” add your custom parameters.
  10. Select if you’re like to use a different URL for mobile.
  11. Click Save.

To edit your custom parameters, follow steps 1-2 above. Then:

  1. Click on the “Extension type” in the blue bar above the table. Choose Sitelink extension from the drop-down menu, then click Apply.
  2. Hover over specific sitelink you want to edit, and click the pencil icon when it appears.
  3. Click the arrow in the top right corner to expand the edit panel.
  4. Under “Sitelink URL options, ” enter the name and value of your custom parameters.
    1. Keep in mind that any changes you make will also be applied to any ad group, campaign, or account that shares this sitelink.
  5. After you're done editing, click Save.

Step 4: Add your custom parameter to the “Tracking template” field

Lastly, put your custom parameter’s name in the tracking template, along with the necessary ValueTrack parameters (for example {lpurl}?color={_color}). Once your ad is clicked, Google Ads will replace the name with the value you defined in your custom parameter.

Was this helpful?
How can we improve it?
New Previous