REST Resource: partners.adsAccountLinks
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: AdsAccountLink
AdsAccountLink הוא קישור בין חשבון Google Ads לחשבון Partner Center, יחד עם פריטי המלאי.
ייצוג ב-JSON |
{
"name": string,
"itemIds": [
string
],
"state": enum (State )
} |
שדות |
name |
string
מזהה. שם המשאב של AdsAccountLink. פורמט: partners/{partner}/adsAccountLinks/{adsAccountLink}
|
itemIds[] |
string
חובה. רשימת המזהים של הפריטים במלאי שיקושרו לחשבון Google Ads.
|
state |
enum (State )
פלט בלבד. הסטטוס של הקישור לחשבון Google Ads.
|
מדינה
הסטטוס של הקישור לחשבון Google Ads.
טיפוסים בני מנייה (enum) |
STATE_UNSPECIFIED |
מצב לא ידוע. |
LINKED |
החשבון מקושר בין Partner Center לבין פורטל Google Ads. |
PENDING |
החשבון ממתין לאישור ב-Partner Center או ב-Ads Portal. |
DELETED |
הקישור לחשבון נמחק. |
REJECTED |
בקשת קישור החשבון נדחית על ידי מרכז השותפים או על ידי פורטל המודעות. |
שיטות |
|
יוצר קישור לחשבון Google Ads. |
|
מחיקת הקישור לחשבון Google Ads. |
|
הפונקציה מקבלת קישור לחשבון Google Ads. |
|
עדכון הקישור לחשבון Google Ads עם פריטים במלאי. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-24 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]