# REST Resource: partners.adsAccountLinks

- [Resource: AdsAccountLink](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#AdsAccountLink)
  - [JSON representation](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#AdsAccountLink.SCHEMA_REPRESENTATION)
- [State](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#State)
- [Methods](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#METHODS_SUMMARY)

## Resource: AdsAccountLink

AdsAccountLink is a link between an Ads account and a Partner Center account along with the inventory items.

| JSON representation |
|---|
| ``` { "name": string, "itemIds": [ string ], "state": enum (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#State`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name of the AdsAccountLink. Format: `partners/{partner}/adsAccountLinks/{adsAccountLink}` |
| `itemIds[]` | `string` Required. List of inventory item Ids to be linked with the Google Ads account. |
| `state` | ``enum (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#State`)`` Output only. State of the Ads account link. |

## State

State of the Ads account link.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Unknown state. |
| `LINKED` | Account is linked between the Partner Center and the Ads Portal. |
| `PENDING` | Account is waiting for approval on either the Partner Center or the Ads Portal. |
| `DELETED` | Account link is deleted. |
| `REJECTED` | Account link request is rejected by either the Partner Center or the Ads Portal. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/create` | Creates Ads account link. |
| ### `https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/delete` | Deletes Ads account link. |
| ### `https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/get` | Gets Ads account link. |
| ### `https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/patch` | Updates Ads account link with inventory items. |