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. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Campaigns drop down in the section menu.
  3. Click Campaigns, then click the Settings tab on top.
  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. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Campaigns drop down in the section menu.
  3. Click Ads.
  4. Check the boxes next to all of the ads you want to add custom parameters to.
  5. Click, Edit in the blue bar above the table, then select Change custom parameters from the drop-down menu.
  6. Next to “Add parameters", enter the name and value of your custom parameters.
  7. Click Add.
  8. 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. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Campaigns drop down in the section menu.
  3. Click Ads.
  4. Hover over the ad you’d like to edit and click the pencil icon .
  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 level

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

  1. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Campaigns drop down in the section menu.
  3. Click Ad groups.
  4. Click the columns icon A picture of the Google Ads columns icon, and select Modify columns.
  5. Click Attributes.
  6. Select Custom parameter.
  7. 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 keyword level

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

  1. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Audiences, keywords, and content drop down in the section menu.
  3. Click Search keywords.
  4. Click the columns icon A picture of the Google Ads columns icon, and select Modify columns.
  5. Click Attributes.
  6. Select Custom parameter.
  7. 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. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Assets drop down in the section menu.
  3. Click Assets.
  4. Click the plus button Add button (plus button  FAB).png, and choose Sitelink assets.
  5. From the “Add to” drop-down menu, choose the level you’d like to add the sitelink to.
  6. To use an existing sitelink, click Use existing and select the sitelinks that you’d like to add.
  7. To create a new sitelink, click Create new.
  8. Fill out the sitelink text, and URL.
  9. 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.
  10. Under “Sitelink URL options” add your custom parameters.
  11. Select if you’re like to use a different URL for mobile.
  12. Click Save.

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

  1. Click on the “Asset type” in the blue bar above the table. Choose Sitelink asset 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.

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
13501554324594692419
true
Search Help Center
true
true
true
true
true
73067
false
false
false