Thx ninja,i think this will make some confusion, it would be good too make this documanted more in details. Best, luka
On Mar 13, 11:37 pm, codeninja <shettytej...@gmail.com> wrote: > I came across the same thing, what I found out is in your selector you > need to specify inner field name of complex object you are asking for, > so in your case instead of specifying "Budget" ask for amount > (actually its "Amount", at least in java client library). The response > xml usually has all properties of complex object (not all the time > though, you will see in next example) even though you only asked for > one of them, so the response xml will contain the entire budget > object. Similarly for NetworkSetting, the new field which is now part > of Campaign, I had to specify "TargetGoogleSearch" or > "TargetSearchNetwork" instead of asking for "NetworkSetting", > obviously in this case xml returned only the field I asked for, so if > I wanted the entire NetworkSetting > (GoogleSearch,SearchNetwork,ContentNetwork & ContentContexual, > PartnerSearchNetwork) I had to explicitly ask for all five. In my > testing (for e.g adgroup selector, campaigncriterion selector, ad > selector etc) asking for one field of complex object returned the > whole object in response xml except in the case of NetworkSetting. And > I hope adwords api team updates documentation about this behavior. > > Anyways try it out and hope it works for you. > > On Mar 13, 5:48 am, rayden <razor....@gmail.com> wrote: > > > > > Hello, > > > Im having little troubles with new Selector. Example, before i used > > CampaignSelector(); and got > > back id, name, budget, etc. Now if I use new selector i get back > > everything, except budget. Before > > I just used $campaign->budget->amount->microAmount, but in the new > > Selector I cannot select > > budget - it says: > > [SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'Budget'; > > errorDetails:Budget] > > > Long question short. How can we in 201101 get budget amount and > > delivery method? > > > Best regards, -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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