I'm currently trying to integrate the new experiment service in our project. I'm able to create the experiment, experiment arms and fetch the in_design_campaigns and make changes to it but when I try to schedule an experiment I get errors with no clear error to what the actual problem is. What I'm trying to do is to schedule an experiment by passing the "experiment resource name" so that the experiment is started immediately.
request
-------
MethodName: google.ads.googleads.v10.services.ExperimentService/ScheduleExperiment
Endpoint:
googleads.googleapis.com:443Headers: {developer-token=REDACTED, login-customer-id=9815869929, x-goog-api-client=gl-java/1.8.0_261 gccl/17.0.1 gapic/17.0.1 gax/2.6.1 grpc/1.41.0}
Body: resource_name: "customers/customer_id/experiments/xxx"
Response
--------
Headers: Metadata(content-type=application/grpc,request-id=_LXVwvBnHcTGZUJJdDPDdw,date=Mon, 28 Mar 2022 23:29:26 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
request_error: UNKNOWN
}
message: "The error code is not in this version."
trigger {
string_value: "LIPODO__Mic_NL_Bra_(97790) _Experiment"
}
}
request_id: "_LXVwvBnHcTGZUJJdDPDdw"
Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid argument., cause=null}.