---
title: "Convert a Doubleclick, AdWords or AdMob ad to Non-Google ad"
slug: "convert-a-doubleclick-adwords-or-admob-ad-to-non-google-ad"
updated: 2023-09-21T19:36:45Z
published: 2023-09-21T19:36:45Z
canonical: "help.dsp.samsungads.com/convert-a-doubleclick-adwords-or-admob-ad-to-non-google-ad"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://help.dsp.samsungads.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Convert a Doubleclick, AdWords or AdMob ad to Non-Google ad
If you've already built your banner using the Doubleclick environment, here's a step-by-step guide to convert it to a Non-Google ad.
## Get the latest gwdgenericad_min.js file
1. Create a new file and select Non-Google Ad as the environment. This will generate the `gwdgenericad_min.js` file.
2. Copy the `gwdgenericad_min.js` file from the folder of the new ad you just created.
3. Paste this file to your existing project folder containing the Google Web Designer source HTML file you want to convert.
4. Remove the `gwddoubleclick_min.js` file from your existing project folder.
## Convert the HTML file
1. Open the HTML file you want to convert.
2. Switch to Code View.
3. Find and **remove** the following lines:
- This line
```
```
- This line
```
```
- This line
```
```
1. Find and **replace** any mention of **doubleclick** with **genericad**. Here's the main instances:
- This line
```
```
With this line
```
```
- This line
```
```
With this line
```
```
- This line
```
```
With this line
```
```
- Optionally, this line (Doubleclick environment)
```
```
With this line
```
```
1. Save and reopen the file.
2. You can then follow the Building HTML5 with Google Web Designer guide to implement the AdGear API.
Source: [https://groups.google.com/forum/#!msg/gwdbeta/OvvG6Kg4P7c/WZYhqCwbZ3kJ](https://groups.google.com/forum/#!msg/gwdbeta/OvvG6Kg4P7c/WZYhqCwbZ3kJ)
## Notes
### AdWords Environment
If you were converting from an *AdWords* file, this is the line you would find on 4d.
```
```
### AdMob Environment
If you were converting from an AdMob file, this is the line you would find on 4d.
```
```