Hi, You could try retrieving the adGroup after setting a statsSelector to your AdGroupSelector. See http://code.google.com/apis/adwords/docs/reference/latest/AdGroupService.AdGroupSelector.html#statsSelector, http://code.google.com/apis/adwords/docs/reference/latest/AdGroupService.AdGroup.html#stats for details. You could use http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/GetAllAdGroups.php as a starting point for your code.
Cheers, Anash P. Oommen, AdWords API Advisor. On Feb 22, 5:24 pm, MA <[email protected]> wrote: > Hi, > > Does anybody know how to get the total cost for an adgroup over a > given date range? Ideally in PHP - I couldn't find anything in the > library but I'm sure there's something out there!... > > Thanks, > > MA -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
