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

LabelService

Service to manage labels.

GetLabel

rpc GetLabel(GetLabelRequest) returns (Label)

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

MutateLabels

rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse)

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

List of thrown errors: AuthenticationError AuthorizationError DatabaseError DateError DistinctError FieldError FieldMaskError HeaderError IdError InternalError LabelError MutateError NewResourceCreationError 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.