Method: partners.adsAccountLinks.patch

  • Updates an Ads account link with the provided inventory items using a PATCH request to the specified URL.

  • The request requires specifying the AdsAccountLink name as a path parameter and optionally an update mask as a query parameter.

  • The request body should contain an AdsAccountLink object representing the desired updates.

  • A successful response will return the updated AdsAccountLink object.

  • Authorization requires the https://www.googleapis.com/auth/mapsbooking scope.

Updates Ads account link with inventory items. This will update the Ads account link with the provided inventory items.

HTTP request

PATCH https://mapsbooking.googleapis.com/v1alpha/{adsAccountLink.name=partners/*/adsAccountLinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
adsAccountLink.name

string

Identifier. Resource name of the AdsAccountLink. Format: partners/{partner}/adsAccountLinks/{adsAccountLink}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AdsAccountLink.

Response body

If successful, the response body contains an instance of AdsAccountLink.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/mapsbooking