GAds API not receiving conversions

584 views
Skip to first unread message

Pablo Hernández Lázaro

unread,
Nov 28, 2022, 11:05:14 AM11/28/22
to Google Ads API and AdWords API Forum

Hi devs,

 I'm trying to set up Enhanced Conversions for Web, I see some conversions coming in, less than expected, and some errors are shown in the GAds console.

gads_console.png

By following the red error "Check enhanced conversions", I get to the message “Your API is not configured correctly to send the order ID, OAuth credentials and hashed user data from your website.” 
gads_api_error.png

 I've followed the linked documentation to check if the listed things are correctly configured, and everything looks good.

 The way I have everything set up is:
     -->A pixel is triggered, including the order_id parameter. https://www.googleadservices.com/pagead/conversion/XXXXXXX/
gads_pixel.png

     -->Then I have an API call server to server to send the hashed email and phone, set up this way:

        -->First, a request to get the access_token from https://accounts.google.com/o/oauth2/token, the succesful response includes the access_token. 

        -->Then, a request to https://googleads.googleapis.com/v11/customers/xxxxx:uploadConversionAdjustments containing the token for auth and with the following body:  


gads_request.png

Receiving a successful response:

gads_response.png
 

But this hits aren't showing on the Google Ads console, (I'm aware that conversions may take up to 24hrs hrs to show up on the dashboard, I've been having this issue for a couple of weeks now), is it possible that GAds is filtering it somehow? Is there anything else I should be checking? 

 (I have also double checked that both email and phone are hashed with SHA-256)

 Thanks in advance!

Pablo

Google Ads API Forum Advisor

unread,
Nov 28, 2022, 3:26:46 PM11/28/22
to her...@gmail.com, adwor...@googlegroups.com
Hi Pablo,

Thank you for reaching out to our API support team.

When troubleshooting enhanced conversions for web errors displayed in the Google Ads UI, you may refer to this article.

So our team can then troubleshoot further, could you share to our team your customer ID, and the generated and complete request and response logs and request-id from your uploads?

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.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2gg3LZ:ref

Pablo Hernández Lázaro

unread,
Dec 5, 2022, 12:15:31 PM12/5/22
to Google Ads API and AdWords API Forum
Hi!

Tried to contact you through private message but not sure if you got it or not, please don't mind this update if you have!

Here is the requested info:

customerId 1101426320
Request-Id JYAvilxcZvE8p7SpXk4vLA
Complete Request
HTTP Request #2 Headers Content-Type: application/json; charset=UTF-8; Authorization: Bearer ya29.a0AeTM1idttXgGIxpEiZiMyekzgf4003Ez0i-GtqN5p4PVnpwhcdA0TtrygZ6bzhXdKbUPE3cI7tAMBjA1wXOfWlV_QRS7HcUcfz6TyVHA5sjOzWT2aXbZ8VcL3cmVa97DWmMWoojlp_ue8BnVTUsrcYyBnue47RgaCgYKAZYSARISFQHWtWOml5PGDLJbZu09-WrIdNOQAQ0166; developer-token: IAyeMO_Xx-kCUIYqkNWoiQ
HTTP Request #2 Body {"partialFailure":true,"validateOnly":false,"conversionAdjustments":[{"gclidDateTimePair":{"conversionDateTime":"2022-11-29 08:44:43+00:00"},"adjustmentType":"ENHANCEMENT","userIdentifiers":[{"userIdentifierSource":"FIRST_PARTY","hashedEmail":"63caa7013b572a96968b54d0fa71afd435072917fbaf5843029fc19f7f30e903"},{"userIdentifierSource":"FIRST_PARTY","hashedPhoneNumber":"03c6ea8540f098f8c19fb81a6f43d4154f401aff82f4b100d7863aedd863087b"}],"orderId":"16697114963438432","conversionAction":"customers/1101426320/conversionActions/771942932","adjustmentDateTime":"2022-11-29 08:44:43+00:00"}]}
HTTP Request #2 Time 205 ms

Complete Response
HTTP Response #2 Status 200
HTTP Response #2 Headers Request-Id: JYAvilxcZvE8p7SpXk4vLA; Content-Type: application/json; charset=UTF-8; Vary: Origin; Vary: X-Origin; Vary: Referer; Date: Tue, 29 Nov 2022 08:44:43 GMT; Server: ESF; Cache-Control: private; X-XSS-Protection: 0; X-Frame-Options: SAMEORIGIN; X-Content-Type-Options: nosniff; 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"; Transfer-Encoding: chunked
HTTP Response #2 Content { "results": [ { "adjustmentType": "ENHANCEMENT", "conversionAction": "customers/1101426320/conversionActions/771942932", "adjustmentDateTime": "2022-11-29 08:44:43+00:00", "gclidDateTimePair": { "conversionDateTime": "2022-11-29 08:44:43+00:00" }, "orderId": "16697114963438432" } ] }
Action Time 275 ms

Best regards,

Pablo

Google Ads API Forum Advisor

unread,
Dec 6, 2022, 4:43:25 AM12/6/22
to her...@gmail.com, adwor...@googlegroups.com
Hi Pablo,

Thank you for the reply.

Upon checking the logs you have provided, I can see that the response has the status of 200 which means it is OK. Please note that as for the reflected conversion values, if the Google Ads API uploads were successful, then the reflected values you are seeing in the API could either be encountering a delay in reflecting in the data freshness guide, and as also mentioned in our guide that it may take up to 3 hours for imported conversion statistics to appear in your Google Ads account for last-click attribution and Conversions attributed using attribution models other than “Last click” are typically delayed up to 15 hours. This may also possibly be performance related.

Uploaded conversions will be reflected in reports for the impression date of the original click, not the date of the upload request or the date of the conversion_date_time of the ClickConversion. That said, your uploaded conversions and their associated conversion values may reflect at a different date.

Moving forward, if there are no API upload errors and if you require further insight on the above mentioned points, then the appropriate team to provide further assistance on this matter should be the Product Team via this link .

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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