Experiment Schedule

148 views
Skip to first unread message

Anis Ahmed

unread,
Mar 28, 2022, 7:34:28 PM3/28/22
to Google Ads API and AdWords API Forum
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}.

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 1:29:57 PM3/29/22
to aniska...@gmail.com, adwor...@googlegroups.com
Hi Anis,

Thank you for reaching out to the Google Ads API support team.

Could you provide us with the complete request and response logs with the request-id generated, so our team can check better?

If you’re using a client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead by adding reference of this thread. 


Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsNBz:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages