white-action-25961
08/31/2023, 9:19 AMsolved_problem_in_topic with Google Ads click conversion with the same name solved_problem_in_topic.
I checked live events for destination “Google Ads (Offline Conversion)” and these events were marked as a success, but I can’t see any conversion in Google Ads.
The payload for these events is:
{
"version": "1",
"type": "REST",
"method": "POST",
"endpoint": "https://googleads.googleapis.com/v13/customers/1234512345:uploadClickConversions",
"headers": {
"Authorization": "Bearer ******1234",
"Content-Type": "application/json",
"developer-token": "abc123"
},
"params": {
"event": "solved_problem_in_topic",
"customerId": "1234512345",
"properties": {
"fbc": "",
"fbp": "",
"gclid": "abc123abc123",
"price": 0,
"revenue": 0,
"order_id": null,
"platform": "web",
"products": null,
"os_family": "Windows",
"device_family": "Other"
}
},
"body": {
"JSON": {
"conversions": [
{
"cartData": {
"items": [
{
"unitPrice": 0
}
]
},
"gclid": "abc123abc123",
"conversionDateTime": "2023-08-31 07:39:43+00:00",
"conversionValue": 0,
"userIdentifiers": [
{
"userIdentifierSource": "FIRST_PARTY",
"hashedEmail": "abc123abc123"
}
]
}
],
"partialFailure": true
},
"JSON_ARRAY": {},
"XML": {},
"FORM": {}
},
"files": {}
}
Also, I tried to make this request in Postman.
This request returns 200 (OK) but there is an error message in the response body.
{
"partialFailureError": {
"code": 3,
"message": "The required field was not present., at conversions[0].conversion_action",
"details": [
{
"@type": "type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"fieldError": "REQUIRED"
},
"message": "The required field was not present.",
"location": {
"fieldPathElements": [
{
"fieldName": "conversions",
"index": 0
},
{
"fieldName": "conversion_action"
}
]
}
}
],
"requestId": "abc123abc"
}
]
},
"results": [
{}
]
}
I added the field conversionAction in the request body in Postman and then I can see this conversion in Google Ads.
Could you please help me resolve this issue?
1. Am I right in believing that RudderStack does not capture error messages for Google Ads destination if the response code is 200?
2. How can I add the field conversionAction to body request for RudderStack? Maybe I need to turn on some property in the Google Ads or the Rudder Stack?millions-activity-52391
08/31/2023, 9:19 AMmillions-activity-52391
08/31/2023, 12:39 PMmillions-activity-52391
08/31/2023, 12:51 PMmillions-activity-52391
08/31/2023, 12:59 PMmillions-activity-52391
08/31/2023, 1:01 PMwhite-action-25961
09/01/2023, 9:05 AMCan you provide the sample payload you are sending from the source?Curl for my request:
curl --location 'https://googleads.googleapis.com/v13/customers/3258466431:uploadClickConversions?customerId=***8466***' \
--header 'Content-Type: application/json' \
--header 'developer-token: **2EcId***' \
--header 'Authorization: Bearer ***0179' \
--data '{
"conversions": [
{
"cartData": {
"items": [
{
"unitPrice": 0
}
]
},
"gclid": "CjwKCAjwr***",
"conversionDateTime": "2023-08-30 14:36:27+00:00",
"conversionValue": 0,
"conversionAction": "customers/***8466***/conversionActions/662740***",
"userIdentifiers": [
{
"userIdentifierSource": "FIRST_PARTY",
"hashedEmail": "0b347f7e04677af97f9d3***"
}
]
}
],
"partialFailure": true
}'white-action-25961
09/01/2023, 9:08 AMAlso I see the following error in the destination
{“response”:“Event name ‘solved_problem_of_the_day’ is not valid”,“firstAttemptedAt”“2023 08 31T114511.491Z”,“content type”“application/json”}
The ’solved_problem_of_the_day” event is not mapped.It’s ok, this event is not configured properly yet.
white-action-25961
09/01/2023, 9:16 AMshy-kite-21035
09/01/2023, 2:06 PMwhite-action-25961
09/01/2023, 2:12 PMshy-kite-21035
09/01/2023, 2:28 PM_ (underscore) _in your event name in Google Ads. It appears that names with `_`_ (underscore) such as solved_problem_in_topic are not supported.white-action-25961
09/01/2023, 2:51 PMSolvedProblemInTopic in Google Ads and mapped solved_problem_in_topic to SolvedProblemInTopic in RudderStack. I will check if it works on Monday.white-action-25961
09/04/2023, 8:51 AMmillions-activity-52391
09/05/2023, 12:17 PMchilly-television-36470
09/12/2023, 12:50 AMwhite-action-25961
09/13/2023, 8:15 AMmillions-activity-52391
09/13/2023, 11:18 AM"The date time at which the conversion occurred. " + "Must be after the click time, and must include the time zone offset. " + "The format is 'yyyy-mm-dd hh:mm:ss+|-hh:mm', e.g. '2019-01-01 12:32:45-08:00'.")white-action-25961
09/13/2023, 11:21 AMchilly-television-36470
09/13/2023, 4:11 PMmillions-activity-52391
09/14/2023, 2:44 PM