AI-generated Key Takeaways
-
Creates an Ads account link between a Google Ads account and a Partner Center account, initiating a link that requires approval from the Ads portal.
-
The 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.
-
The request body should contain an
AdsAccountLink
object, and a successful response will return the newly createdAdsAccountLink
object. -
This operation requires authorization with the
https://www.googleapis.com/auth/mapsbooking
OAuth scope.
Creates Ads account link. This will initiate link between the Google Ads account and Partner Center. The link will be in the Pending
state until it is approved from the Ads portal.
HTTP request
POST https://mapsbooking.googleapis.com/v1alpha/{parent=partners/*}/adsAccountLinks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource where this Ads account link will be created. This is same as the Partner Center account id. Format: partners/{partner} |
Query parameters
Parameters | |
---|---|
ads |
Required. The ID to use for the Ads Account Link. This is same as Google Ads Customer Id. For details see https://support.google.com/google-ads/answer/1704344 Format : xxx-xxx-xxxx. |
Request body
The request body contains an instance of AdsAccountLink
.
Response body
If successful, the response body contains a newly created instance of AdsAccountLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/mapsbooking