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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/74b600e1-59d8-4911-8dd1-43f993e2690an%40googlegroups.com.

Reply via email to