Hi Google Team,

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.
I'm using the following code to generate this request : 

googleAdsServiceFactory.experimentServiceClient()
.scheduleExperimentAsync(resourceName)
.getPollingFuture()
.get();

request
-------
MethodName: 
google.ads.googleads.v10.services.ExperimentService/ScheduleExperiment
Endpoint: googleads.googleapis.com:443
Headers: {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}.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/443bfa07-fc0e-419f-800b-511a600c06bdn%40googlegroups.com.

Reply via email to