MutateCampaigns

  • The MutateCampaigns RPC allows you to create, update, or remove campaigns and provides operation statuses.

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

  • A list of potential errors that can be thrown by the MutateCampaigns RPC is provided.

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.