---
title: "POST /v1beta/properties/{propertiesId}/googleAdsLinks"
method: POST
path: "/v1beta/properties/{propertiesId}/googleAdsLinks"
tags: ["properties"]
---

# POST /v1beta/properties/{propertiesId}/googleAdsLinks

`POST /v1beta/properties/{propertiesId}/googleAdsLinks`

## Request

- Base URL: `https://analyticsadmin.googleapis.com`
- URL: `https://analyticsadmin.googleapis.com/v1beta/properties/{propertiesId}/googleAdsLinks`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/analytics.edit`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/analytics.edit`

Creates a GoogleAdsLink.

## Path parameters

- `propertiesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- GoogleAnalyticsAdminV1betaGoogleAdsLink: A link between a Google Analytics property and a Google Ads account.
  - `adsPersonalizationEnabled` boolean: Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true.
  - `canManageClients` boolean: Output only. If true, this link is for a Google Ads manager account.
  - `createTime` string, google-datetime: Output only. Time when this link was originally created.
  - `creatorEmailAddress` string: Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved.
  - `customerId` string: Immutable. Google Ads customer ID.
  - `name` string: Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
  - `updateTime` string, google-datetime: Output only. Time when this link was last updated.

## Response `200`

Successful response

- GoogleAnalyticsAdminV1betaGoogleAdsLink: A link between a Google Analytics property and a Google Ads account.
  - `adsPersonalizationEnabled` boolean: Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true.
  - `canManageClients` boolean: Output only. If true, this link is for a Google Ads manager account.
  - `createTime` string, google-datetime: Output only. Time when this link was originally created.
  - `creatorEmailAddress` string: Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved.
  - `customerId` string: Immutable. Google Ads customer ID.
  - `name` string: Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
  - `updateTime` string, google-datetime: Output only. Time when this link was last updated.

---

[API](https://skmtc.dev/google/apis/analyticsadmin.md) - [All operations](https://skmtc.dev/google/apis/analyticsadmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/analyticsadmin/revisions/2f06698abda1?raw)
