# Google Audience Partner API Status Via SFTP Import Integration The Google Audience Partner API Status via SFTP integration enables you to import status from Google DoubleClick Data Platform's SFTP server into Treasure Data. Google has rebranded the DoubleClick Data Platform as the Google Marketing Platform. Formerly, this integration was called: Google DoubleClick Data Platform through SFTP Import Integration. | SFTP credentials are automatically taken from Google DDP. Just name your new Google DDP via SFTP connection. ## Prerequisites - Basic knowledge of Treasure Data ## Configure Your Connection 1. Open **TD Console**. 2. Navigate to **Integrations Hub** >  **Catalog**. 3. Search for and select Google Audience Partner API Status via SFTP. ![](/assets/image2021-1-26_13-27-9.6c50f1fda8e415191e1ff1c51b0865fc1651f8ffa7e9db20a205c322a4914512.4f261603.png) 1. Select Continue. ![](/assets/image2021-1-26_12-8-42.7e1199b7004b0735ad42fb17f55f6d962283946428a2c9817442d607ba8bfc14.4f261603.png) 1. Type a name for your authentication. ![](/assets/image2021-1-26_13-28-52.3544f553fcb4286e88437eda447682476f3ac05807c6303543f1b44c6b9ecc66.4f261603.png) 1. Select **Done**. ### Transfer Your Data to Treasure Data After creating the authenticated connection, you are automatically taken to Authentications. 1. Search for the connection you created. 2. Select **New Source**. 3. Type a name for your **Source** in the Data Transfer field**.** Select **Next**. The Source Table dialog opens. ![](/assets/image2021-1-26_15-59-42.173c5a9bbf666c51dc97011377319b505a668645be88d86679e559ab576f1983.4f261603.png) Select Add to add file names to lookup. File names: The names of files that you want to capture status from. The file names are captured from the Google Adwords on DDP job output logs. Select Next. ![](/assets/image2021-1-26_16-18-57.252b906df30ae6eabafa2232df906c5c350ae164839685685481aa893eec0755.4f261603.png) 1. Select **Next**. The Data Settings page can be modified for your needs or you can skip the page. Optionally, edit the following parameters: | Parameters | Description | | --- | --- | | Total file count limit | Maximum number of files to read | | Minimum task size (experimental) | The minimum size of a task. If this is larger than 0, one task includes multiple input files. This is useful if too many tasks are impacting the performance of output or executor plugins. | 1. Select **Next**. ### Data Preview You can see a [preview](/products/customer-data-platform/integration-hub/batch/import/previewing-your-source-data) of your data before running the import by selecting Generate Preview. Data preview is optional and you can safely skip to the next page of the dialog if you choose to. 1. Select **Next**. The Data Preview page opens. 2. If you want to preview your data, select **Generate Preview**. 3. Verify the data. ### Data Placement For data placement, select the target database and table where you want your data placed and indicate how often the import should run. 1. Select **Next.** Under Storage, you will create a new or select an existing database and create a new or select an existing table for where you want to place the imported data. 2. Select a **Database** > **Select an existing** or **Create New Database**. 3. Optionally, type a database name. 4. Select a **Table**> **Select an existing** or **Create New Table**. 5. Optionally, type a table name. 6. Choose the method for importing the data. - **Append** (default)-Data import results are appended to the table. If the table does not exist, it will be created. - **Always Replace**-Replaces the entire content of an existing table with the result output of the query. If the table does not exist, a new table is created. - **Replace on New Data**-Only replace the entire content of an existing table with the result output when there is new data. 7. Select the **Timestamp-based Partition Key** column. If you want to set a different partition key seed than the default key, you can specify the long or timestamp column as the partitioning time. As a default time column, it uses upload_time with the add_time filter. 8. Select the **Timezone** for your data storage. 9. Under **Schedule**, you can choose when and how often you want to run this query. #### Run once 1. Select **Off**. 2. Select **Scheduling Timezone**. 3. Select **Create & Run Now**. #### Repeat Regularly 1. Select **On**. 2. Select the **Schedule**. The UI provides these four options: *@hourly*, *@daily* and *@monthly* or custom *cron*. 3. You can also select **Delay Transfer** and add a delay of execution time. 4. Select **Scheduling Timezone**. 5. Select **Create & Run Now**. After your transfer has run, you can see the results of your transfer in **Data Workbench** > **Databases.** ### Verifying Results Review the job log. Warning and errors provide information about the success of your import. You can read more about [locating the source file names associated with import errors](https://docs.treasuredata.com/smart/project-product-documentation/data-import-error-troubleshooting).