Tworzy link do konta Google Ads. Spowoduje to zainicjowanie połączenia między kontem Google Ads a Centrum Partnerów. Do czasu zatwierdzenia w portalu Google Ads link będzie miał stan Pending.
Żądanie HTTP
POST https://mapsbooking.googleapis.com/v1alpha/{parent=partners/*}/adsAccountLinks
Wymagane. Zasób nadrzędny, w którym zostanie utworzone to połączenie z kontem Google Ads. Jest taki sam jak identyfikator konta w Centrum Partnerów. Format: partnerzy/{partner}
Parametry zapytania
Parametry
adsAccountLinkId
string
Wymagane. Identyfikator do użycia w przypadku połączenia z kontem Google Ads. Jest to identyczne z identyfikatorem klienta Google Ads. Szczegółowe informacje znajdziesz na stronie https://support.google.com/google-ads/answer/1704344. Format : xxx-xxx-xxxx.
Treść żądania
Treść żądania zawiera wystąpienie elementu AdsAccountLink.
Treść odpowiedzi
Jeśli operacja się powiedzie, treść odpowiedzi będzie zawierała nowo utworzoną instancję AdsAccountLink.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-24 UTC."],[[["\u003cp\u003eCreates an Ads account link between a Google Ads account and a Partner Center account, initiating a link that requires approval from the Ads portal.\u003c/p\u003e\n"],["\u003cp\u003eThe link creation process involves an HTTP POST request to a specific URL with path and query parameters specifying the Partner Center and Google Ads account IDs respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an \u003ccode\u003eAdsAccountLink\u003c/code\u003e object, and a successful response will return the newly created \u003ccode\u003eAdsAccountLink\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/mapsbooking\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]