/services/campaign_experiment_service.proto

--- v9/services/campaign_experiment_service.proto   2022-06-06 16:14:04.000000000 +0000
+++ v10/services/campaign_experiment_service.proto  2022-06-06 16:14:09.000000000 +0000
@@ -52,22 +52,6 @@
   option (google.api.default_host) = "googleads.googleapis.com";
   option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords";

-  // Returns the requested campaign experiment in full detail.
-  //
-  // List of thrown errors:
-  //   [AuthenticationError]()
-  //   [AuthorizationError]()
-  //   [HeaderError]()
-  //   [InternalError]()
-  //   [QuotaError]()
-  //   [RequestError]()
-  rpc GetCampaignExperiment(GetCampaignExperimentRequest) returns (google.ads.googleads.v9.resources.CampaignExperiment) {
-    option (google.api.http) = {
-      get: "/v9/{resource_name=customers/*/campaignExperiments/*}"
-    };
-    option (google.api.method_signature) = "resource_name";
-  }
-
   // Creates a campaign experiment based on a campaign draft. The draft campaign
   // will be forked into a real campaign (called the experiment campaign) that
   // will begin serving ads if successfully created.
@@ -201,24 +185,13 @@
   //   [RequestError]()
   rpc ListCampaignExperimentAsyncErrors(ListCampaignExperimentAsyncErrorsRequest) returns (ListCampaignExperimentAsyncErrorsResponse) {
     option (google.api.http) = {
-      get: "/v9/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors"
+      get: "/v10/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors"
     };
     option (google.api.method_signature) = "resource_name";
   }
 }

-// Request message for [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GetCampaignExperiment].
-message GetCampaignExperimentRequest {
-  // Required. The resource name of the campaign experiment to fetch.
-  string resource_name = 1 [
-    (google.api.field_behavior) = REQUIRED,
-    (google.api.resource_reference) = {
-      type: "googleads.googleapis.com/CampaignExperiment"
-    }
-  ];
-}
-
-// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v9.services.CampaignExperimentService.MutateCampaignExperiments].
+// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v10.services.CampaignExperimentService.MutateCampaignExperiments].
 message MutateCampaignExperimentsRequest {
   // Required. The ID of the customer whose campaign experiments are being modified.
   string customer_id = 1 [(google.api.field_behavior) = REQUIRED];
@@ -250,13 +223,15 @@
   oneof operation {
     // Update operation: The campaign experiment is expected to have a valid
     // resource name.
-    google.ads.googleads.v9.resources.CampaignExperiment update = 1;
+    google.ads.googleads.v10.resources.CampaignExperiment update = 1;

     // Remove operation: The campaign experiment is expected to have a valid
     // resource name, in this format:
     //
     // `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}`
-    string remove = 2;
+    string remove = 2 [(google.api.resource_reference) = {
+                         type: "googleads.googleapis.com/CampaignExperiment"
+                       }];
   }
 }

@@ -275,7 +250,9 @@
 // The result for the campaign experiment mutate.
 message MutateCampaignExperimentResult {
   // Returned for successful operations.
-  string resource_name = 1;
+  string resource_name = 1 [(google.api.resource_reference) = {
+                              type: "googleads.googleapis.com/CampaignExperiment"
+                            }];

   // The mutated campaign experiment with only mutable fields after mutate. The
   // field will only be returned when response_content_type is set to
@@ -303,10 +280,15 @@
   string campaign_experiment = 1;
 }

-// Request message for [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GraduateCampaignExperiment].
+// Request message for [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.GraduateCampaignExperiment].
 message GraduateCampaignExperimentRequest {
   // Required. The resource name of the campaign experiment to graduate.
-  string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED];
+  string campaign_experiment = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      type: "googleads.googleapis.com/CampaignExperiment"
+    }
+  ];

   // Required. Resource name of the budget to attach to the campaign graduated from the
   // experiment.
@@ -324,10 +306,15 @@
   string graduated_campaign = 1;
 }

-// Request message for [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.PromoteCampaignExperiment].
+// Request message for [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.PromoteCampaignExperiment].
 message PromoteCampaignExperimentRequest {
   // Required. The resource name of the campaign experiment to promote.
-  string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED];
+  string campaign_experiment = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      type: "googleads.googleapis.com/CampaignExperiment"
+    }
+  ];

   // If true, the request is validated but no Long Running Operation is created.
   // Only errors are returned.
@@ -334,10 +321,15 @@
   bool validate_only = 2;
 }

-// Request message for [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.EndCampaignExperiment].
+// Request message for [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.EndCampaignExperiment].
 message EndCampaignExperimentRequest {
   // Required. The resource name of the campaign experiment to end.
-  string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED];
+  string campaign_experiment = 1 [
+    (google.api.field_behavior) = REQUIRED,
+    (google.api.resource_reference) = {
+      type: "googleads.googleapis.com/CampaignExperiment"
+    }
+  ];

   // If true, the request is validated but not executed. Only errors are
   // returned, not results.