> 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}` |

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-56963bded8b74f2bdcde1cde4ede9706d1914019%2Fimage-20220125-174047.png?alt=media)

## :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}` |

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-e4e56133923b353b2896f0845f838af85513f170%2Fimage-20220125-184320.png?alt=media)

## :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}` |

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-ebe925c9c7ac43e9b1e8d38633831180a147d9bc%2Fimage-20220125-184523.png?alt=media)

## :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}` |

![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-6f6035e028a5c01b4bd27561ccdc157a0450936f%2FScreenshot_11.png?alt=media) ![](https://3498010832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3KEERJBEyYQ7ZxIIMK79%2Fuploads%2Fgit-blob-ec9948cdff61233bc31c87590e406ff4bf9b07be%2FScreenshot_222.png?alt=media)

## :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}` |
