so the system that i am developing turned out to require huge pile of data to be calculated and then stored in our database in form of a :
Ad Group , Ad etc.
Now my current logic is to prepare the ad groups, ads and keywords locally first under our internal calculations.
Group them and send a BatchJob to make them real ( create ad groups,ads etc ).
its working fine, but the huge problem that i have is my trackback to update my local database when ad group or ad its created.
My Temporary ID's are my database ID's, example:
ID:123 ( -123 is my temp id )
headline:Hello World
desc1 : Hello World api
desc2 : Hello World Api 2
displayUrl : Test.com
now after a success on the batch job, i get the results back, but since my temporary id is missing i can't seem to write in my database as : This Ad Group is a success