- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- MerchantCenterLinkOperation
- MutateMerchantCenterLinkResult
- Try it!
Updates status or removes a Merchant Center link.
List of thrown errors: AuthenticationError AuthorizationError FieldMaskError HeaderError InternalError QuotaError RequestError
HTTP request
POST https://googleads.googleapis.com/v13/customers/{customerId}/merchantCenterLinks:mutate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer being modified. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operation": {
object ( |
Fields | |
---|---|
operation |
Required. The operation to perform on the link |
validateOnly |
If true, the request is validated but not executed. Only errors are returned, not results. |
Response body
If successful, the response body contains data with the following structure:
Response message for Merchant Center link mutate.
JSON representation |
---|
{
"result": {
object ( |
Fields | |
---|---|
result |
Result for the mutate. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
MerchantCenterLinkOperation
A single update on a Merchant Center link.
JSON representation |
---|
{ "updateMask": string, // Union field |
Fields | |
---|---|
updateMask |
FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: |
Union field operation . The operation to perform operation can be only one of the following: |
|
update |
Update operation: The merchant center link is expected to have a valid resource name. |
remove |
Remove operation: A resource name for the removed merchant center link is expected, in this format:
|
MutateMerchantCenterLinkResult
The result for the Merchant Center link mutate.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
Returned for successful operations. |