Hi im trying to get the values of the selected target using the code :

 if (targetList.TargetListType == "NetworkTargetList")
                {
                    NetworkTargetList network =
(NetworkTargetList)targetList;
                    NetworkTarget[] n = network.targets;
                    NetworkCoverageType net =
n[0].networkCoverageType;
                    dr["NetworkTarget"] = net;
                }
I am getting null reference exception but iam still able to get the
values which i need to update in my database. Can anybody tell me how
to get over this exception???

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to