I am building an application that creates campaigns, adgroups, keywords and ads through the API.
My application has a local representation of these things. i.e. I have a database tables which contains campaigns/adwords etc. The problem: It is difficult to update my local models with the return values. To illustrate: 1. I create a 10 adgroups using "AdGroupService". 2. I want to save the adgroupIds returned from the API to my database. 3. I need to match the returned adGroup to my local model. Ideal solution, if the API has a "referenceId" for each operand: 1. When creating the AdGroupOperation, allow a referenceId to be specified. 2. When returning the value after execution, include the referenceId value. 3. This allows me to map what I sent out to what I get back. So I can save the result back into my models. How I am working around this: 1. I am using adgroup name or matching individual properties one by one. Can anyone suggest a better method to working around this? Or can someone from Google provide an ideal solution for this problem? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d4ce0a30-9307-4b38-a2d8-95bb6c8d21af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.