Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

SharedCriterionService

Service to manage shared criteria.

GetSharedCriterion

rpc GetSharedCriterion(GetSharedCriterionRequest) returns (SharedCriterion)

Returns the requested shared criterion in full detail.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

MutateSharedCriteria

rpc MutateSharedCriteria(MutateSharedCriteriaRequest) returns (MutateSharedCriteriaResponse)

Creates or removes shared criteria. Operation statuses are returned.

List of thrown errors: AuthenticationError AuthorizationError CriterionError DatabaseError DistinctError FieldError HeaderError IdError InternalError MutateError NotEmptyError NullError OperatorError QuotaError RangeError RequestError ResourceCountLimitExceededError SizeLimitError StringFormatError StringLengthError

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.