MutateCampaigns

  • The MutateCampaigns RPC is used to create, update, or remove campaigns and returns operation statuses.

  • This RPC method can throw a variety of errors related to authentication, authorization, bidding, campaigns, and more.

  • The MutateCampaigns RPC requires the https://www.googleapis.com/auth/adwords OAuth scope for authorization.

MutateCampaigns

rpc MutateCampaigns(MutateCampaignsRequest) returns (MutateCampaignsResponse)

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

List of thrown errors: AdxError AuthenticationError AuthorizationError BiddingError BiddingStrategyError CampaignBudgetError CampaignError ContextError DatabaseError DateError DateRangeError DistinctError FieldError FieldMaskError HeaderError IdError InternalError ListOperationError MutateError NewResourceCreationError NotAllowlistedError NotEmptyError NullError OperationAccessDeniedError OperatorError QuotaError RangeError RegionCodeError RequestError ResourceCountLimitExceededError SettingError 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.