Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

MutateOperation

A single operation (create, update, remove) on a resource.

JSON representation
{

  // Union field operation can be only one of the following:
  "adGroupAdLabelOperation": {
    object (AdGroupAdLabelOperation)
  },
  "adGroupAdOperation": {
    object (AdGroupAdOperation)
  },
  "adGroupAssetOperation": {
    object (AdGroupAssetOperation)
  },
  "adGroupBidModifierOperation": {
    object (AdGroupBidModifierOperation)
  },
  "adGroupCriterionLabelOperation": {
    object (AdGroupCriterionLabelOperation)
  },
  "adGroupCriterionOperation": {
    object (AdGroupCriterionOperation)
  },
  "adGroupExtensionSettingOperation": {
    object (AdGroupExtensionSettingOperation)
  },
  "adGroupFeedOperation": {
    object (AdGroupFeedOperation)
  },
  "adGroupLabelOperation": {
    object (AdGroupLabelOperation)
  },
  "adGroupOperation": {
    object (AdGroupOperation)
  },
  "adOperation": {
    object (AdOperation)
  },
  "adParameterOperation": {
    object (AdParameterOperation)
  },
  "assetOperation": {
    object (AssetOperation)
  },
  "biddingDataExclusionOperation": {
    object (BiddingDataExclusionOperation)
  },
  "biddingSeasonalityAdjustmentOperation": {
    object (BiddingSeasonalityAdjustmentOperation)
  },
  "biddingStrategyOperation": {
    object (BiddingStrategyOperation)
  },
  "campaignAssetOperation": {
    object (CampaignAssetOperation)
  },
  "campaignBidModifierOperation": {
    object (CampaignBidModifierOperation)
  },
  "campaignBudgetOperation": {
    object (CampaignBudgetOperation)
  },
  "campaignCriterionOperation": {
    object (CampaignCriterionOperation)
  },
  "campaignDraftOperation": {
    object (CampaignDraftOperation)
  },
  "campaignExperimentOperation": {
    object (CampaignExperimentOperation)
  },
  "campaignExtensionSettingOperation": {
    object (CampaignExtensionSettingOperation)
  },
  "campaignFeedOperation": {
    object (CampaignFeedOperation)
  },
  "campaignLabelOperation": {
    object (CampaignLabelOperation)
  },
  "campaignOperation": {
    object (CampaignOperation)
  },
  "campaignSharedSetOperation": {
    object (CampaignSharedSetOperation)
  },
  "conversionActionOperation": {
    object (ConversionActionOperation)
  },
  "conversionCustomVariableOperation": {
    object (ConversionCustomVariableOperation)
  },
  "conversionValueRuleOperation": {
    object (ConversionValueRuleOperation)
  },
  "conversionValueRuleSetOperation": {
    object (ConversionValueRuleSetOperation)
  },
  "customerAssetOperation": {
    object (CustomerAssetOperation)
  },
  "customerExtensionSettingOperation": {
    object (CustomerExtensionSettingOperation)
  },
  "customerFeedOperation": {
    object (CustomerFeedOperation)
  },
  "customerLabelOperation": {
    object (CustomerLabelOperation)
  },
  "customerNegativeCriterionOperation": {
    object (CustomerNegativeCriterionOperation)
  },
  "customerOperation": {
    object (CustomerOperation)
  },
  "extensionFeedItemOperation": {
    object (ExtensionFeedItemOperation)
  },
  "feedItemOperation": {
    object (FeedItemOperation)
  },
  "feedItemSetOperation": {
    object (FeedItemSetOperation)
  },
  "feedItemSetLinkOperation": {
    object (FeedItemSetLinkOperation)
  },
  "feedItemTargetOperation": {
    object (FeedItemTargetOperation)
  },
  "feedMappingOperation": {
    object (FeedMappingOperation)
  },
  "feedOperation": {
    object (FeedOperation)
  },
  "keywordPlanAdGroupOperation": {
    object (KeywordPlanAdGroupOperation)
  },
  "keywordPlanAdGroupKeywordOperation": {
    object (KeywordPlanAdGroupKeywordOperation)
  },
  "keywordPlanCampaignKeywordOperation": {
    object (KeywordPlanCampaignKeywordOperation)
  },
  "keywordPlanCampaignOperation": {
    object (KeywordPlanCampaignOperation)
  },
  "keywordPlanOperation": {
    object (KeywordPlanOperation)
  },
  "labelOperation": {
    object (LabelOperation)
  },
  "mediaFileOperation": {
    object (MediaFileOperation)
  },
  "remarketingActionOperation": {
    object (RemarketingActionOperation)
  },
  "sharedCriterionOperation": {
    object (SharedCriterionOperation)
  },
  "sharedSetOperation": {
    object (SharedSetOperation)
  },
  "smartCampaignSettingOperation": {
    object (SmartCampaignSettingOperation)
  },
  "userListOperation": {
    object (UserListOperation)
  }
  // End of list of possible types for union field operation.
}
Fields
Union field operation. The mutate operation. operation can be only one of the following:
adGroupAdLabelOperation

object (AdGroupAdLabelOperation)

An ad group ad label mutate operation.

adGroupAdOperation

object (AdGroupAdOperation)

An ad group ad mutate operation.

adGroupAssetOperation

object (AdGroupAssetOperation)

An ad group asset mutate operation.

adGroupBidModifierOperation

object (AdGroupBidModifierOperation)

An ad group bid modifier mutate operation.

adGroupCriterionLabelOperation

object (AdGroupCriterionLabelOperation)

An ad group criterion label mutate operation.

adGroupCriterionOperation

object (AdGroupCriterionOperation)

An ad group criterion mutate operation.

adGroupExtensionSettingOperation

object (AdGroupExtensionSettingOperation)

An ad group extension setting mutate operation.

adGroupFeedOperation

object (AdGroupFeedOperation)

An ad group feed mutate operation.

adGroupLabelOperation

object (AdGroupLabelOperation)

An ad group label mutate operation.

adGroupOperation

object (AdGroupOperation)

An ad group mutate operation.

adOperation

object (AdOperation)

An ad mutate operation.

adParameterOperation

object (AdParameterOperation)

An ad parameter mutate operation.

assetOperation

object (AssetOperation)

An asset mutate operation.

biddingDataExclusionOperation

object (BiddingDataExclusionOperation)

A bidding data exclusion mutate operation.

biddingSeasonalityAdjustmentOperation

object (BiddingSeasonalityAdjustmentOperation)

A bidding seasonality adjustment mutate operation.

biddingStrategyOperation

object (BiddingStrategyOperation)

A bidding strategy mutate operation.

campaignAssetOperation

object (CampaignAssetOperation)

A campaign asset mutate operation.

campaignBidModifierOperation

object (CampaignBidModifierOperation)

A campaign bid modifier mutate operation.

campaignBudgetOperation

object (CampaignBudgetOperation)

A campaign budget mutate operation.

campaignCriterionOperation

object (CampaignCriterionOperation)

A campaign criterion mutate operation.

campaignDraftOperation

object (CampaignDraftOperation)

A campaign draft mutate operation.

campaignExperimentOperation

object (CampaignExperimentOperation)

A campaign experiment mutate operation.

campaignExtensionSettingOperation

object (CampaignExtensionSettingOperation)

A campaign extension setting mutate operation.

campaignFeedOperation

object (CampaignFeedOperation)

A campaign feed mutate operation.

campaignLabelOperation

object (CampaignLabelOperation)

A campaign label mutate operation.

campaignOperation

object (CampaignOperation)

A campaign mutate operation.

campaignSharedSetOperation

object (CampaignSharedSetOperation)

A campaign shared set mutate operation.

conversionActionOperation

object (ConversionActionOperation)

A conversion action mutate operation.

conversionCustomVariableOperation

object (ConversionCustomVariableOperation)

A conversion custom variable mutate operation.

conversionValueRuleOperation

object (ConversionValueRuleOperation)

A conversion value rule mutate operation.

conversionValueRuleSetOperation

object (ConversionValueRuleSetOperation)

A conversion value rule set mutate operation.

customerAssetOperation

object (CustomerAssetOperation)

A customer asset mutate operation.

customerExtensionSettingOperation

object (CustomerExtensionSettingOperation)

A customer extension setting mutate operation.

customerFeedOperation

object (CustomerFeedOperation)

A customer feed mutate operation.

customerLabelOperation

object (CustomerLabelOperation)

A customer label mutate operation.

customerNegativeCriterionOperation

object (CustomerNegativeCriterionOperation)

A customer negative criterion mutate operation.

customerOperation

object (CustomerOperation)

A customer mutate operation.

extensionFeedItemOperation

object (ExtensionFeedItemOperation)

An extension feed item mutate operation.

feedItemOperation

object (FeedItemOperation)

A feed item mutate operation.

feedItemSetOperation

object (FeedItemSetOperation)

A feed item set mutate operation.

feedItemTargetOperation

object (FeedItemTargetOperation)

A feed item target mutate operation.

feedMappingOperation

object (FeedMappingOperation)

A feed mapping mutate operation.

feedOperation

object (FeedOperation)

A feed mutate operation.

keywordPlanAdGroupOperation

object (KeywordPlanAdGroupOperation)

A keyword plan ad group operation.

keywordPlanAdGroupKeywordOperation

object (KeywordPlanAdGroupKeywordOperation)

A keyword plan ad group keyword operation.

keywordPlanCampaignKeywordOperation

object (KeywordPlanCampaignKeywordOperation)

A keyword plan campaign keyword operation.

keywordPlanCampaignOperation

object (KeywordPlanCampaignOperation)

A keyword plan campaign operation.

keywordPlanOperation

object (KeywordPlanOperation)

A keyword plan operation.

labelOperation

object (LabelOperation)

A label mutate operation.

mediaFileOperation

object (MediaFileOperation)

A media file mutate operation.

remarketingActionOperation

object (RemarketingActionOperation)

A remarketing action mutate operation.

sharedCriterionOperation

object (SharedCriterionOperation)

A shared criterion mutate operation.

sharedSetOperation

object (SharedSetOperation)

A shared set mutate operation.

smartCampaignSettingOperation

object (SmartCampaignSettingOperation)

A Smart campaign setting mutate operation.

userListOperation

object (UserListOperation)

A user list mutate operation.