- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- DismissRecommendationOperation
- DismissRecommendationResult
- Try it!
Dismisses given recommendations.
List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RecommendationError RequestError
HTTP request
POST https://googleads.googleapis.com/v16/customers/{customerId}/recommendations:dismiss
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer with the recommendation. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operations": [
{
object ( |
Fields | |
---|---|
operations[] |
Required. The list of operations to dismiss recommendations. If partialFailure=false all recommendations should be of the same type There is a limit of 100 operations per request. |
partialFailure |
If true, successful operations will be carried out and invalid operations will return errors. If false, operations will be carried in a single transaction if and only if they are all valid. Default is false. |
Response body
Response message for RecommendationService.DismissRecommendation
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "results": [ { object ( |
Fields | |
---|---|
results[] |
Results of operations to dismiss recommendations. |
partialFailureError |
Errors that pertain to operation failures in the partial failure mode. Returned only when partialFailure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
DismissRecommendationOperation
Operation to dismiss a single recommendation identified by resourceName.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
The resource name of the recommendation to dismiss. |
DismissRecommendationResult
The result of dismissing a recommendation.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
Returned for successful dismissals. |