AI-generated Key Takeaways
- 
          AdsAccountLink connects an Ads account with a Partner Center account, including inventory items. 
- 
          It includes essential fields like name, inventory item IDs, and the link's current state. 
- 
          The state of the link can be linked, pending, deleted, or rejected, reflecting its status. 
- 
          You can manage AdsAccountLinks by creating, deleting, retrieving, and updating them via API methods. 
- 
          The AdsAccountLink resource uses a JSON representation for data exchange. 
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 ( | 
| Fields | |
|---|---|
| name | 
 Identifier. Resource name of the AdsAccountLink. Format:  | 
| item | 
 Required. List of inventory item Ids to be linked with the Google Ads account. | 
| 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 | |
|---|---|
| 
 | Creates Ads account link. | 
| 
 | Deletes Ads account link. | 
| 
 | Gets Ads account link. | 
| 
 | Updates Ads account link with inventory items. |