> For the complete documentation index, see [llms.txt](https://community.commandersact.com/adloop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/adloop/vii-adloop-tracking-and-attribution/a.-url-templates-integration-guide/1.-search/a.-google-ads-url-templates-for-search-shopping-display-youtube-campaigns.md).

# a. Google Ads : URL templates for Search / Shopping / Display / Youtube campaigns

> Search is the (default ) mode of URL templates for **Google** Ads. If you run **Shopping** or **Display,** **Youtube,** **Performance Max** or **Discovery** campaigns, don’t forget to follow the dedicated instructions below .

## :Google\_Ads: a. Google Search Campaigns

|                                            |                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Account level                                                                                                                                                                                                                                                                                                                |
| **Where is it located ?**                  | Go to *"All campaigns" > "Settings" > "Account Settings" > Tracking*                                                                                                                                                                                                                                                         |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                                                                                                       |
| **URL template**                           | **If Adloop is the only tracking template** , just copy-paste the following `{lpurl}?loopcd=SEg\|{device}\|{network}\|{keyword}\|{creative}\|{matchtype}`. **If Adloop isn't the only tracking template,** add the following to the existing template `&loopcd=SEg\|{device}\|{network}\|{keyword}\|{creative}\|{matchtype}` |

![](/files/tkCocmcKuEBCm73LPAZu)

## :shopping: b. Google Shopping Campaigns

|                                            |                                                                                                                                                                                                                                                                                                            |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Campaign level                                                                                                                                                                                                                                                                                             |
| **Where is it located ?**                  | Go to your *Shopping campaign  > Settings > Campaign URL options*                                                                                                                                                                                                                                          |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                                                                                     |
| **URL template**                           | **If Adloop is the only tracking template** , just copy-paste the following `{lpurl}?loopcd=COg\|{device}\|{network}\|{product_id}\|{adgroupid}`. **If Adloop isn't the only tracking template,** add the following to the existing template `&loopcd=COg\|{device}\|{network}\|{product_id}\|{adgroupid}` |

![](/files/6IGS386E1S7P138GzZsp)

## :Google\_Ads: c. Google Display Campaigns

|                                            |                                                                                                                                                                                                                                                                              |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Campaign level                                                                                                                                                                                                                                                               |
| **Where is it located ?**                  | Go to your *Display campaign  > Settings > Campaign URL options*                                                                                                                                                                                                             |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                                                       |
| **URL template**                           | **If Adloop is the only tracking template** , just copy-paste the following `{lpurl}?loopcd=DIs\|{device}\|{network}\|{creative}`. **If Adloop isn't the only tracking template**, add the following to the existing template `&loopcd=DIs\|{device}\|{network}\|{creative}` |

![](/files/SgpwVWVxv9FdmzEpY6TD)

## :youtube: d. Youtube Campaigns

|                                            |                                                                                                                                                                                                                                                                             |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Video Ad level                                                                                                                                                                                                                                                              |
| **Where is it located ?**                  | Go to your *Video campaign > Ad & Extensions* Select the video ad, click on *Edit* and go to *Ad URL options (advanced)* There you can find the *Tracking Template field* Copy paste the URL template & Save changes                                                        |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                                                      |
| **URL template**                           | **If Adloop is the only tracking template**, just copy-paste the following `{lpurl}?loopcd=DIy\|{device}\|{network}\|{creative}`. **If Adloop isn't the only tracking template,** add the following to the existing template `&loopcd=DIy\|{device}\|{network}\|{creative}` |

![](/files/qxkc84sdaxavCeSxfH46) ![](/files/nxgaeAHNb7dYUCbr74pf)

## :Google\_Ads: e. Performance Max campaigns

|                                            |                                                                                                                                                                                                                                                                                                             |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Campaign level                                                                                                                                                                                                                                                                                              |
| **Where is it located ?**                  | Go to your *Performance Max campaign  > Settings > Campaign URL options*                                                                                                                                                                                                                                    |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                                                                                      |
| **URL template**                           | **If Adloop is the only tracking template** , just copy-paste the following `{lpurl}?loopcd=COp\|{device}\|{network}\|{campaignid}\|{product_id}` **If Adloop isn't the only tracking template,** add the following to the existing template `&loopcd=COp\|{device}\|{network}\|{campaignid}\|{product_id}` |

## f. :Google\_Ads: Discovery / Demand Gen campaigns

|                                            |                                                                                                                                                                                                                                                     |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Level in which I put the URL templates** | Campaign level                                                                                                                                                                                                                                      |
| **Where is it located ?**                  | Go to your *Discovery campaign  > Settings > Campaign URL options*                                                                                                                                                                                  |
| **What parameters should I use ?**         | loopcd → (for all analytics platforms)                                                                                                                                                                                                              |
| **URL template**                           | **If Adloop is the only tracking template**,just copy-paste the following `{lpurl}?loopcd=DIc\|{device}\|{creative}` **If Adloop isn't the only tracking template,** add the following to the existing template `&loopcd=DIc\|{device}\|{creative}` |
