> For the complete documentation index, see [llms.txt](https://docs.adalysis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adalysis.com/manage/campaigns/build-campaigns-from-csv-files.md).

# Build campaigns from CSV files

Populate your existing campaigns from a CSV file in a few easy steps

{% embed url="<https://youtu.be/8kvdnpS1GH0>" %}

The campaign builder adds ad groups, ads, and keywords to your **existing** campaigns from a CSV file. It doesn't create new campaigns, so create the campaigns in Google Ads or Microsoft Advertising first.

Go to **Manage** > **Campaigns** > **Builder** and click **Upload file**.

<figure><img src="https://3203600314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGlXujWJyreRidNjZDCw2%2Fuploads%2Fz2N41g046vF0pVMEo5GK%2FMG-07.png?alt=media" alt="Campaign builder with an uploaded CSV file, its column headers and the Build a campaign button"><figcaption></figcaption></figure>

#### File requirements

* The first row must contain your column headers.
* Up to 10 MB, 50,000 rows, and 25 columns. A cell can hold up to 2,048 characters, and a column name up to 255.
* Adalysis detects the encoding and the separator (comma, semicolon, or tab) automatically. If special characters look wrong, save the file from Excel as **CSV UTF-8 (Comma delimited)**.
* Rows with an empty campaign or ad group name are skipped. Adalysis tells you which rows were skipped.

<details>

<summary>Step 1: Choose existing campaign(s)</summary>

Choose **Campaign names are in column** and pick the column, or choose **Campaign names are not in the file. Use these** and select the campaigns. At the top, you'll see the column names from your CSV file. Click a column name to copy it into the active field.

<figure><img src="https://3203600314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGlXujWJyreRidNjZDCw2%2Fuploads%2FoXu1D4MpWOy1NlFB9ZbH%2FMG-07b.png?alt=media" alt="Step 1 of the Campaign builder: the four steps, the CSV&#x27;s column names and the campaign options"><figcaption></figcaption></figure>

</details>

<details>

<summary>Step 2: Define ad groups</summary>

Choose the column that holds the ad group names. Then decide what happens to ad groups that don't exist yet (create them with a CPC/CPA and labels, or skip them) and to ad groups that already exist (populate them, leave them unchanged, or pause them).

</details>

<details>

<summary>Step 3 (optional): Define ads</summary>

Use column names or type the ad text: headlines, descriptions, paths, and URLs. Choose whether existing ads are left unchanged or paused.

</details>

<details>

<summary>Step 4 (optional): Define keywords</summary>

Use column names or type the keyword text, match type, bid, and final URL. Click **Create defined data** to update your campaigns.

</details>

{% hint style="success" %}
You can **preview** the ad groups, ads and keywords at every step.
{% endhint %}
