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

Create or edit custom parameters at the campaign level

Note: If you prefer to use the navigation panel on the left, click Change view in the top left of your Google Ads account.
  1. Go to Campaigns within the Campaigns menu Campaigns Icon.
  2. Select the Settings tab on top of the page.
  3. Select the campaign you want to edit.
  4. Under “Additional settings", select Campaign URL options.
  5. Next to "Custom parameter," enter the name and value of your custom parameters.
  6. Select Save.

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

Create or edit custom parameters in bulk at the ad level

  1. Go to Ads within the Campaigns menu Campaigns Icon.
  2. Check the boxes next to all of the ads you want to add custom parameters to.
  3. Select Edit in the blue bar above the table, then select Change custom parameters from the drop-down menu.
  4. Next to “Add parameters", enter the name and value of your custom parameters.
  5. Select Add.
  6. Select Apply.

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

Edit custom parameters at the ad level

  1. Go to Ads within the Campaigns menu Campaigns Icon.
  2. Hover over the ad you’d like to edit and select the pencil icon Edit.
  3. Under the “Ad URL options” section, enter the name and value of your custom parameters.
  4. Select Save new ad. Saving sends this new ad for review, and removes your old ad.

Create or edit custom parameters at the ad group level

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

  1. Go to Ad groups within the Campaigns menu Campaigns Icon.
  2. Select the columns icon A picture of the Google Ads columns icon, and select Modify columns.
  3. Select Attributes.
  4. Select Custom parameter.
  5. Select Apply.


Now, add your custom parameter:

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


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

Create or edit custom parameters at the keyword level

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

  1. Go to Search keywords within the Campaigns menu Campaigns Icon.
  2. Select the columns icon A picture of the Google Ads columns icon, and select Modify columns.
  3. Select Attributes.
  4. Select Custom parameter.
  5. Select Apply.


Now, add your custom parameter:

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


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

Create or edit custom parameters at the sitelink level

  1. Go to Assets within the Campaigns menu Campaigns Icon.
  2. Select the plus button , then select Sitelink.
  3. From the “Add to” drop-down menu, choose the level you’d like to add the sitelink to.
  4. To use an existing sitelink, select Use existing and select the sitelinks that you’d like to add.
  5. To create a new sitelink, select Create new.
  6. Fill out the sitelink text, and URL.
  7. 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.
  8. Under “Sitelink URL options” add your custom parameters.
  9. Check the box if you like to use a different URL for mobile.
  10. Select Save.

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

  1. Select Sitelink summary card header for the type of asset.
  2. Hover over specific sitelink you want to edit, and select the pencil icon Edit when it appears.
  3. Select Edit and then expand Sitelink URL options.
  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, select 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.

Note: Changes to tracking templates take 24–48 hours to be reflected in your ads serving after updates are made.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
7010014006226034614
true
Search Help Center
true
true
true
true
true
73067
false
false
false
true
false