Offline Conversions Upload via GoLang API

76 views
Skip to first unread message

Meshach Joshua

unread,
Mar 23, 2023, 9:09:07 PM3/23/23
to Google's Campaign Manager 360 API Forum
Howdy!

I am currently working on uploading some offline conversions via the Go API found here:

I have attached a screenshot where the status code is of 200, but the response says it has failures. Digging deeper, I see that its regarding some conversions that are matched. 

What is your recommendation on handling these "errors"?

What is the maximum number of conversions that can be sent in a insert request?

Thanks
Meshach
Screenshot 2023-03-23 at 8.08.51 PM.png

DCM API (DoubleClick Campaign Mgr)

unread,
Mar 24, 2023, 6:35:46 AM3/24/23
to google-doubleclick-...@googlegroups.com
Hi Meshach,

Thank you for reaching out to us.

As per checking on the provided screenshot, I could see that you're uploading conversions using GCLID and got a NOT_FOUND error response. The most common causes of this error are:
  • The gclid is invalid.
  • The gclid is unknown to Search Ads 360. This may occur if the gclid was collected from a Google Ads click redirect which did not pass through Search Ads 360.
  • The click associated with the gclid occurred too far in the past. Conversions may only be inserted for clicks up to 60 days old.
Regards,
Google Logo DCM API Team


ref:_00D1U1174p._5004Q2k2aLn:ref

Meshach Joshua

unread,
Mar 24, 2023, 11:21:40 AM3/24/23
to Google's Campaign Manager 360 API Forum
Thanks for the reply!

Is it safe to ignore those messages? Or should they be handled in any manner? 

What is the maximum number of conversions that can be sent in a bulk insert request? I tried inserting about 1k at a time and that resulted in a 400 error.

DCM API (DoubleClick Campaign Mgr)

unread,
Mar 24, 2023, 4:12:50 PM3/24/23
to google-doubleclick-...@googlegroups.com

Hello Meshach,

Thank you for responding back to us.

Please be aware that Campaign Manager 360 attempts to insert each conversion in your request on a best-effort basis, rather than inserting the entire batch as an all-or-nothing transaction. If some conversions in a batch fail to insert, others might still be inserted successfully. Thus, on your current scenario, if the NOT_FOUND error encountered are very minimal and does not entirely affect your own metrics, then it is for you to decide if you would ignore or fix it. The information we have shared previously if for you to verify on your end what is causing the error from the initial possible reason shared by our team. Once validated, do the necessary action to adjust (such as ensuring the identifier value is valid and correct) to avoid the error.

On the other hand, with regards to the maximum number of conversions that can be sent in a bulk insert request, we would recommend to reduce the number of conversion upload to 1000 or below to avoid the Bad Request 400, INVALID ARGUMENT error.

Let us know should you have further concerns.

Regards,

Xin Gu

unread,
Mar 24, 2023, 6:19:42 PM3/24/23
to Google's Campaign Manager 360 API Forum
Hello! Thanks for responding to this. A quick follow up question on your comment for below. What do you mean that "google ads click redirect didn't pass through Search Ads 360"? Does that mean GCLID from Google Ads normally won't be recognized by Search Ads 360? Or if there's anyway to check if this will be passed through correctly if it's GCLID is from Google Ads. Thank you! 


As per checking on the provided screenshot, I could see that you're uploading conversions using GCLID and got a NOT_FOUND error response. The most common causes of this error are:
  • The gclid is invalid.
  • The gclid is unknown to Search Ads 360. This may occur if the gclid was collected from a Google Ads click redirect which did not pass through Search Ads 360.
  • The click associated with the gclid occurred too far in the past. Conversions may only be inserted for clicks up to 60 days old.

DCM API (DoubleClick Campaign Mgr)

unread,
Mar 27, 2023, 5:33:13 AM3/27/23
to google-doubleclick-...@googlegroups.com
Hi Xin,

Thank you for your follow up. However, I'm afraid that your concern is more on the product level which is already out of our scope. With that, we would recommend raising this to the product team via this link instead. The product specialist there should be able to provide precise insight regarding to your follow up question.
Reply all
Reply to author
Forward
0 new messages