Conversion precedes event error google api

207 views
Skip to first unread message

Sofia Aboy

unread,
Jan 4, 2023, 9:18:27 AM1/4/23
to Google Ads API and AdWords API Forum
Hi support, I use Google Ad API for uploading offline conversation. We never have any issues with the upload until a few days ago. Suddenly all gclids are having this error CONVERSION_PRECEDES_CLICK.
Please help with this issue.

Method Name: /google.ads.googleads.v10.services.ConversionUploadService/UploadClickConversions 2Host: googleads.googleapis.com 3Headers: { 4 "x-goog-api-client": "gl-php\/7.4.29 gccl\/14.0.0 gapic\/14.0.0 gax\/1.12.1 grpc\/1.45.0 rest\/1.12.1", 5 "x-goog-request-params": "customer_id=9829747784", 6 "developer-token": "REDACTED", 7 "login-customer-id": "9829747784" 8} 9Request: 10{"customerId":"9829747784","conversions":[{"gclid":"EAIaIQobChMIobb9vpup_AIVOgW5Bh3h-wGeEAEYASAAEgLLIfD_BwE","conversionAction":"customers/9829747784/conversionActions/346628319","conversionDateTime":"2023-01-02 12:36:01-03:00","conversionValue":2.5,"currencyCode":"USD"}],"partialFailure":true} 11 12Response 13------- 14Headers: { 15 "content-disposition": "attachment", 16 "request-id": "k95cZk8OhYOdfJEu7yT2ow", 17 "date": "Mon, 02 Jan 2023 17:48:03 GMT", 18 "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\"" 19} 20Response: 21{"partialFailureError":{"code":3,"message":"This conversion is reported to have happened before the click associated with the given identifier or iOS URL parameter., at conversions[0].conversion_date_time","details":[{"@type":"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure","errors":[{"errorCode":{"conversionUploadError":"CONVERSION_PRECEDES_EVENT"},"message":"This conversion is reported to have happened before the click associated with the given identifier or iOS URL parameter.","trigger":{"stringValue":"2023-01-02 12:36:01-03:00"},"location":{"fieldPathElements":[{"fieldName":"conversions","index":0},{"fieldName":"conversion_date_time"}]}}]}]},"results":[{}]} 22[2023-01-02T17:48:04.033964+00:00] google-ads.INFO: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v10.services.ConversionUploadService/UploadClickConversions", CustomerId: 9829747784, RequestId: "ZAEBrdl2U532Hrffkiiisw", IsFault: 0, FaultMessage: "None" 23[2023-01-02T17:48:04.034175+00:00] google-ads.DEBUG: Request 24

Google Ads API Forum Advisor

unread,
Jan 4, 2023, 10:59:16 AM1/4/23
to adwor...@googlegroups.com
Hi,

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

Upon taking look at your logs, I noticed that you are using v10 version. V10 version deprecated. Could you please try with latest version v12 ?

If you are still getting an error, could you please provide the complete request and response logs, with the request-id? If you haven't yet, 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 can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. Let me know if you have any questions.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2hZW6W:ref
Reply all
Reply to author
Forward
0 new messages