---
title: "POST /v1/{+parent}/partnerLinks"
method: POST
path: "/v1/{+parent}/partnerLinks"
tags: ["accountTypes"]
---

# POST /v1/{+parent}/partnerLinks

`POST /v1/{+parent}/partnerLinks`

Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`

## Path parameters

- `parent` string, required

## Request body

- PartnerLink — A partner link between an owning account and a partner account.
  - `partnerCustomerAccount` PartnerCustomerAccount — Represents a customer account in the partner's system.
    - `accountId` string — Required. The identifier of the customer account in the partner's ID space.
    - `accountName` string — Optional. The name of the account.
    - `accountType` string — Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
  - `owningAccount` ProductAccount — Represents a specific account.
    - `accountId` string — Required. The ID of the account. For example, your Google Ads account ID.
    - `accountType` 'ACCOUNT_TYPE_UNSPECIFIED' | 'GOOGLE_ADS' | 'DISPLAY_VIDEO_PARTNER' | 'DISPLAY_VIDEO_ADVERTISER' | 'DATA_PARTNER' | 'GOOGLE_ANALYTICS_PROPERTY' | 'GOOGLE_AD_MANAGER_AUDIENCE_LINK' | 'FLOODLIGHT_CONFIG' — Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
    - `product` 'PRODUCT_UNSPECIFIED' | 'GOOGLE_ADS' | 'DISPLAY_VIDEO_PARTNER' | 'DISPLAY_VIDEO_ADVERTISER' | 'DATA_PARTNER' — Deprecated. Use `account_type` instead.
  - `name` string — Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}
  - `featureSet` 'FEATURE_SET_UNSPECIFIED' | 'FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT' | 'FEATURE_SET_AD_EVENT_MANAGEMENT' — Optional. Immutable. The set of features supported for the partner link. If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.
  - `partnerLinkId` string — Output only. The partner link ID.
  - `partnerAccount` ProductAccount — Represents a specific account.
    - `accountId` string — Required. The ID of the account. For example, your Google Ads account ID.
    - `accountType` 'ACCOUNT_TYPE_UNSPECIFIED' | 'GOOGLE_ADS' | 'DISPLAY_VIDEO_PARTNER' | 'DISPLAY_VIDEO_ADVERTISER' | 'DATA_PARTNER' | 'GOOGLE_ANALYTICS_PROPERTY' | 'GOOGLE_AD_MANAGER_AUDIENCE_LINK' | 'FLOODLIGHT_CONFIG' — Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
    - `product` 'PRODUCT_UNSPECIFIED' | 'GOOGLE_ADS' | 'DISPLAY_VIDEO_PARTNER' | 'DISPLAY_VIDEO_ADVERTISER' | 'DATA_PARTNER' — Deprecated. Use `account_type` instead.
  - `partnerLinkMetadata` PartnerLinkMetadata — Represents metadata associated with a partner link.
    - `implicitAccounts` PartnerCustomerAccount[] — Optional. The list of implicit accounts.
      - `accountId` string — Required. The identifier of the customer account in the partner's ID space.
      - `accountName` string — Optional. The name of the account.
      - `accountType` string — Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/datamanager.md) · [All operations](https://skmtc.dev/google/apis/datamanager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/datamanager/revisions/a26378ca9ba8/schema)
