I am trying to add a language as an AdGroupCriterion to an Adgroup but have an error. I am trying to add the Spanish language to it and this is my request.
```
google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v17.services.AdGroupCriterionService/MutateAdGroupCriteria
Host:
googleads.googleapis.comHeaders: {
"x-goog-api-client": "gl-php\/8.2.22 gccl\/24.0.0 gapic\/24.0.0 gax\/1.27.0 grpc\/1.64.1 rest\/1.27.0 pb\/4.27.1+c",
"User-Agent": "gcloud-php-new\/24.0.0",
"x-goog-request-params": "customer_id=3887069481",
"developer-token": "REDACTED",
"login-customer-id": "
8635405232"
}
Request:
{"customerId":"3887069481","operations":[{"create":{"adGroup":"customers/3887069481/adGroups/162239936307","language":{"languageConstant":"languageConstants/1003"}}}]}
Response
-------
Headers: {
"request-id": "7dPVmbWoFfeCzqJ2FOjRow",
"date": "Tue, 24 Sep 2024 12:51:26 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"contextError":"OPERATION_NOT_PERMITTED_FOR_CONTEXT"},"message":"The operation is not allowed for the given context.","trigger":{"stringValue":"SEARCH(SEARCH_STANDARD)"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"language"}]}}],"requestId":"7dPVmbWoFfeCzqJ2FOjRow"}```