Learn more about migrating to the Google Ads API by watching our latest webinar

AdGroupCriterionService

Service to manage ad group criteria.

GetAdGroupCriterion

rpc GetAdGroupCriterion(GetAdGroupCriterionRequest) returns (AdGroupCriterion)

Returns the requested 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.

MutateAdGroupCriteria

rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) returns (MutateAdGroupCriteriaResponse)

Creates, updates, or removes criteria. Operation statuses are returned.

List of thrown errors: AdGroupCriterionError AdxError AuthenticationError AuthorizationError BiddingError BiddingStrategyError CollectionSizeError ContextError CriterionError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError MultiplierError MutateError NewResourceCreationError NotEmptyError NullError OperationAccessDeniedError OperatorError PolicyViolationError QuotaError RangeError RequestError ResourceCountLimitExceededError SizeLimitError StringFormatError StringLengthError UrlFieldError

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.