Feature Suggestion -- Passing Metadata Into ClickConversion of uploadClickConversion

15 views
Skip to first unread message

Mike M

unread,
Jul 7, 2022, 11:13:16 PM7/7/22
to Google Ads API and AdWords API Forum
I have these database table IDs for my conversions to upload. It's a positive integer. When I upload a clickConversion via the REST API, it tells me the successes in the 'results' section, and the fails in the 'partialFailureError->details[0]->errors' section, but now I have no way to know which status goes to what table record.

I'd like to suggest the feature to allow me to add some metadata like meta1, meta2, etc. so that I could get the record ID back (like if I push it to uploadClickConversions REST API) in either the array of fails or array of successes.

Since I don't have that, the way I'm parsing it is like so:

1. Iterate the 'results' section. 

2. When it's populated, then I know it's a success as the response status.

3. When it's not populated, then use PHP's array_shift() call to pop off an entry off the top of the fail pile (partialFailureError->details[0]->errors) and that's the fail response status.

However, this assumes that's how Google creates the fail pile -- it runs click conversions into the system, and when they fail, it starts to populate the fail pile, starting with index 0.

Google Ads API Forum Advisor

unread,
Jul 8, 2022, 1:39:00 AM7/8/22
to volo...@gmail.com, adwor...@googlegroups.com

Hi Mike,
 

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
 

With regard to your concern, to better check this concern, could you please provide a full screenshot of this "I have these database table IDs for my conversions to upload." and the complete Ads API logs (request and response with request-id) so our team further investigates your issue?


You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.


Regards,

Google Logo
Darwin
Google Ads API Team
 


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