> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/account_link).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v23/account_link_query_builder.md.txt) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/resources/account_link.proto)

Represents the data sharing connection between a Google Ads account and
another account

| Attributed resources |
|---|
| [customer](https://developers.google.com/google-ads/api/fields/v23/customer.md.txt) |

Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields **will not segment**
metrics in your `SELECT` clause.

## account_link.account_link_id

Field descriptionOutput only. The ID of the link.
This field is read only.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.resource_name

Field descriptionImmutable. Resource name of the account link.
AccountLink resource names have the form:
`customers/{customer_id}/accountLinks/{account_link_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.status

Field descriptionThe status of the link.
Category`ATTRIBUTE` Data Type `ENUM`
`ENABLED``PENDING_APPROVAL``REJECTED``REMOVED``REQUESTED``REVOKED``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.AccountLinkStatusEnum.AccountLinkStatus` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.third_party_app_analytics.app_analytics_provider_id

Field descriptionImmutable. The ID of the app analytics provider.
This field should not be empty when creating a new third
party app analytics link. It is unable to be modified after the creation of
the link.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.third_party_app_analytics.app_id

Field descriptionImmutable. A string that uniquely identifies a mobile application from
which the data was collected to the Google Ads API. For iOS, the ID string
is the 9 digit string that appears at the end of an App Store URL (for
example, "422689480" for "Gmail" whose App Store link is
<https://apps.apple.com/us/app/gmail-email-by-google/id422689480>). For
Android, the ID string is the application's package name (for example,
"com.google.android.gm" for "Gmail" given Google Play link
<https://play.google.com/store/apps/details?id=com.google.android.gm>)
This field should not be empty when creating a new third
party app analytics link. It is unable to be modified after the creation of
the link.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.third_party_app_analytics.app_vendor

Field descriptionImmutable. The vendor of the app.
This field should not be empty when creating a new third
party app analytics link. It is unable to be modified after the creation of
the link.
Category`ATTRIBUTE` Data Type `ENUM`
`APPLE_APP_STORE``GOOGLE_APP_STORE``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.MobileAppVendorEnum.MobileAppVendor` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)

## account_link.type

Field descriptionOutput only. The type of the linked account.
Category`ATTRIBUTE` Data Type `ENUM`
`THIRD_PARTY_APP_ANALYTICS``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.LinkedAccountTypeEnum.LinkedAccountType` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[account_link](https://developers.google.com/google-ads/api/fields/v23/account_link.md.txt) [third_party_app_analytics_link](https://developers.google.com/google-ads/api/fields/v23/third_party_app_analytics_link.md.txt)