REST Resource: partners.adsAccountLinks
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: AdsAccountLink
AdsAccountLink è un collegamento tra un account Google Ads e un account Partner Center, oltre agli articoli di inventario.
Rappresentazione JSON |
{
"name": string,
"itemIds": [
string
],
"state": enum (State )
} |
Campi |
name |
string
Identificatore. Nome della risorsa di AdsAccountLink. Formato: partners/{partner}/adsAccountLinks/{adsAccountLink}
|
itemIds[] |
string
Obbligatorio. Elenco degli ID articolo dell'inventario da collegare all'account Google Ads.
|
state |
enum (State )
Solo output. Stato del collegamento dell'account Google Ads.
|
Stato
Stato del collegamento dell'account Google Ads.
Enum |
STATE_UNSPECIFIED |
Stato sconosciuto. |
LINKED |
L'account è collegato tra il Centro partner e il portale Google Ads. |
PENDING |
L'account è in attesa di approvazione in Partner Center o nel Portale Google Ads. |
DELETED |
Il collegamento dell'account viene eliminato. |
REJECTED |
La richiesta di collegamento dell'account viene rifiutata da Partner Center o dal portale Google Ads. |
Metodi |
|
Crea il collegamento all'account Google Ads. |
|
Elimina il collegamento dell'account Google Ads. |
|
Recupera il link all'account Google Ads. |
|
Aggiorna il collegamento dell'account Google Ads con gli elementi dell'inventario. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-24 UTC.
[null,null,["Ultimo aggiornamento 2025-07-24 UTC."],[[["\u003cp\u003eAdsAccountLink connects an Ads account with a Partner Center account, including inventory items.\u003c/p\u003e\n"],["\u003cp\u003eIt includes essential fields like name, inventory item IDs, and the link's current state.\u003c/p\u003e\n"],["\u003cp\u003eThe state of the link can be linked, pending, deleted, or rejected, reflecting its status.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AdsAccountLinks by creating, deleting, retrieving, and updating them via API methods.\u003c/p\u003e\n"],["\u003cp\u003eThe AdsAccountLink resource uses a JSON representation for data exchange.\u003c/p\u003e\n"]]],[],null,["# REST Resource: partners.adsAccountLinks\n\n- [Resource: AdsAccountLink](#AdsAccountLink)\n - [JSON representation](#AdsAccountLink.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AdsAccountLink\n------------------------\n\nAdsAccountLink is a link between an Ads account and a Partner Center account along with the inventory items.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"itemIds\": [ string ], \"state\": enum (/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#State) } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. Resource name of the AdsAccountLink. Format: `partners/{partner}/adsAccountLinks/{adsAccountLink}` |\n| `item``Ids[]` | `string` Required. List of inventory item Ids to be linked with the Google Ads account. |\n| `state` | `enum (`[State](/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks#State)`)` Output only. State of the Ads account link. |\n\nState\n-----\n\nState of the Ads account link.\n\n| Enums ||\n|---------------------|----------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Unknown state. |\n| `LINKED` | Account is linked between the Partner Center and the Ads Portal. |\n| `PENDING` | Account is waiting for approval on either the Partner Center or the Ads Portal. |\n| `DELETED` | Account link is deleted. |\n| `REJECTED` | Account link request is rejected by either the Partner Center or the Ads Portal. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------|\n| ### [create](/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/create) | Creates Ads account link. |\n| ### [delete](/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/delete) | Deletes Ads account link. |\n| ### [get](/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/get) | Gets Ads account link. |\n| ### [patch](/maps-booking/reference/maps-booking-api/rest/v1alpha/partners.adsAccountLinks/patch) | Updates Ads account link with inventory items. |"]]