> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Ads Audiences: Create Audience

> Create a Customer Match audience list in your Google Ads account, with a name, description and membership duration. Includes SDK V2 examples, schemas, and cost.

Create a Customer Match audience list in your Google Ads account, with a name, description and membership duration.

> [!NOTE]
>
> Tool ID: `google_ads_audiences_create_audience`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'google_ads_audiences_create_audience',
  {
    "name": "Example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute google_ads_audiences_create_audience --input '{
  "name": "Example"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe google_ads_audiences_create_audience --json` for the complete live contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.account_id` | `string` | No | — | Data Manager account ID (e.g. Google Ads customer ID, no formatting). Optional: defaults to the workspace default account, or the sole enabled account when only one exists. Minimum length: 1. |
| `payload.account_type` | `"GOOGLE_ADS" \| "DISPLAY_VIDEO_PARTNER" \| "DISPLAY_VIDEO_ADVERTISER" \| "DATA_PARTNER" \| "GOOGLE_ANALYTICS_PROPERTY" \| "GOOGLE_AD_MANAGER_AUDIENCE_LINK"` | No | `"GOOGLE_ADS"` | Allowed: `GOOGLE_ADS`, `DISPLAY_VIDEO_PARTNER`, `DISPLAY_VIDEO_ADVERTISER`, `DATA_PARTNER`, `GOOGLE_ANALYTICS_PROPERTY`, `GOOGLE_AD_MANAGER_AUDIENCE_LINK`. |
| `payload.login_account_id` | `string` | No | — | Optional manager-account ID used as the login account when the token belongs to an MCC user. Minimum length: 1. |
| `payload.login_account_type` | `"GOOGLE_ADS" \| "DISPLAY_VIDEO_PARTNER" \| "DISPLAY_VIDEO_ADVERTISER" \| "DATA_PARTNER" \| "GOOGLE_ANALYTICS_PROPERTY" \| "GOOGLE_AD_MANAGER_AUDIENCE_LINK"` | No | — | Allowed: `GOOGLE_ADS`, `DISPLAY_VIDEO_PARTNER`, `DISPLAY_VIDEO_ADVERTISER`, `DATA_PARTNER`, `GOOGLE_ANALYTICS_PROPERTY`, `GOOGLE_AD_MANAGER_AUDIENCE_LINK`. |
| `payload.name` | `string` | Yes | — | displayName for the UserList. Minimum length: 1. |
| `payload.description` | `string` | No | — | Minimum length: 1. |
| `payload.membership_life_span_days` | `integer` | No | `540` | Minimum: 1. Maximum: 540. |
| `payload.membership_status` | `"OPEN" \| "CLOSED"` | No | `"OPEN"` | Allowed: `OPEN`, `CLOSED`. |
| `payload.integration_code` | `string` | No | — | Minimum length: 1. |
| `payload.account_access_status` | `"ENABLED" \| "DISABLED"` | No | — | Allowed: `ENABLED`, `DISABLED`. |
| `payload.upload_key_types` | `array` | No | `["CONTACT_ID"]` | Upload key types for the new list. Defaults to \["CONTACT\_ID"] (Customer Match by email/phone/address). Minimum items: 1. |
| `payload.ingested_user_list_info` | `object` | No | — | — |
| `payload.target_network_info` | `object` | No | — | — |
| `payload.validate_only` | `boolean` | No | `false` | — |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "account_id": {
        "type": "string",
        "description": "Data Manager account ID (e.g. Google Ads customer ID, no formatting). Optional: defaults to the workspace default account, or the sole enabled account when only one exists.",
        "minLength": 1
      },
      "account_type": {
        "type": "string",
        "default": "GOOGLE_ADS",
        "enum": [
          "GOOGLE_ADS",
          "DISPLAY_VIDEO_PARTNER",
          "DISPLAY_VIDEO_ADVERTISER",
          "DATA_PARTNER",
          "GOOGLE_ANALYTICS_PROPERTY",
          "GOOGLE_AD_MANAGER_AUDIENCE_LINK"
        ]
      },
      "login_account_id": {
        "type": "string",
        "description": "Optional manager-account ID used as the login account when the token belongs to an MCC user.",
        "minLength": 1
      },
      "login_account_type": {
        "type": "string",
        "enum": [
          "GOOGLE_ADS",
          "DISPLAY_VIDEO_PARTNER",
          "DISPLAY_VIDEO_ADVERTISER",
          "DATA_PARTNER",
          "GOOGLE_ANALYTICS_PROPERTY",
          "GOOGLE_AD_MANAGER_AUDIENCE_LINK"
        ]
      },
      "name": {
        "type": "string",
        "description": "displayName for the UserList.",
        "minLength": 1
      },
      "description": {
        "type": "string",
        "minLength": 1
      },
      "membership_life_span_days": {
        "type": "integer",
        "default": 540,
        "minimum": 1,
        "maximum": 540
      },
      "membership_status": {
        "type": "string",
        "default": "OPEN",
        "enum": [
          "OPEN",
          "CLOSED"
        ]
      },
      "integration_code": {
        "type": "string",
        "minLength": 1
      },
      "account_access_status": {
        "type": "string",
        "enum": [
          "ENABLED",
          "DISABLED"
        ]
      },
      "upload_key_types": {
        "type": "array",
        "description": "Upload key types for the new list. Defaults to [\"CONTACT_ID\"] (Customer Match by email/phone/address).",
        "default": [
          "CONTACT_ID"
        ],
        "minItems": 1,
        "items": {
          "type": "string",
          "enum": [
            "CONTACT_ID",
            "MOBILE_ID",
            "USER_ID",
            "PAIR_ID",
            "PSEUDONYMOUS_ID"
          ]
        }
      },
      "ingested_user_list_info": {
        "type": "object",
        "properties": {
          "upload_key_types": {
            "type": "array",
            "description": "Upload key types declaring the kind of identifiers ingested into this list. CONTACT_ID is hashed email/phone/address (Customer Match), MOBILE_ID is IDFA/AAID, USER_ID is first-party CRM IDs, PAIR_ID is publisher reconciliation IDs, PSEUDONYMOUS_ID is DMP-style pseudonymous IDs.",
            "minItems": 1,
            "items": {
              "type": "string",
              "enum": [
                "CONTACT_ID",
                "MOBILE_ID",
                "USER_ID",
                "PAIR_ID",
                "PSEUDONYMOUS_ID"
              ]
            }
          },
          "contact_id_info": {
            "type": "object",
            "properties": {
              "data_source_type": {
                "type": "string",
                "enum": [
                  "DATA_SOURCE_TYPE_FIRST_PARTY",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
                ]
              }
            },
            "additionalProperties": false
          },
          "mobile_id_info": {
            "type": "object",
            "properties": {
              "app_id": {
                "type": "string",
                "description": "Mobile app ID",
                "minLength": 1
              },
              "key_space": {
                "type": "string",
                "enum": [
                  "IOS",
                  "ANDROID"
                ]
              },
              "data_source_type": {
                "type": "string",
                "enum": [
                  "DATA_SOURCE_TYPE_FIRST_PARTY",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
                ]
              }
            },
            "required": [
              "app_id",
              "key_space"
            ],
            "additionalProperties": false
          },
          "user_id_info": {
            "type": "object",
            "properties": {
              "data_source_type": {
                "type": "string",
                "enum": [
                  "DATA_SOURCE_TYPE_FIRST_PARTY",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE",
                  "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA"
                ]
              }
            },
            "additionalProperties": false
          },
          "pair_id_info": {
            "type": "object",
            "properties": {
              "publisher_id": {
                "type": "string",
                "minLength": 1
              },
              "publisher_name": {
                "type": "string",
                "minLength": 1
              },
              "clean_room_identifier": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "partner_audience_info": {
            "type": "object",
            "properties": {
              "partner_audience_source": {
                "type": "string",
                "enum": [
                  "COMMERCE_AUDIENCE",
                  "LINEAR_TV_AUDIENCE",
                  "AGENCY_PROVIDER_AUDIENCE"
                ]
              },
              "commerce_partner": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "partner_audience_source"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "upload_key_types"
        ],
        "additionalProperties": false
      },
      "target_network_info": {
        "type": "object",
        "properties": {
          "eligible_for_search": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "validate_only": {
        "type": "boolean",
        "default": false
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.audience` | `record` | Yes | — | — |
| `result.meta` | `record` | No | — | — |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "audience": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "audience"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.