Please note that by default, there are no campaigns in a newly initialized account. You'll need to call AddCampaigns to add some campaigns before GetCampaigns or GetCampaignStats will return any results.
- Kevin Winter AdWords API Team On Friday, October 26, 2012 4:51:26 AM UTC-4, laid kalkoul wrote: > > Hi Anash, > > I'm runnig the "GetCampaignStats.php" example in the sandbox environment > and i'm getting " No mutiching campaign were found". > > Any suggestions please?? > > thnx > > > Le mardi 26 juin 2012 12:40:45 UTC+2, Anash P. Oommen a écrit : >> >> Hi Ashley, >> >> I responded on the other thread you opened, but to summarize, you need to >> run GetAccountHierarchy code example to get the list of client ids under >> your MCC (or read it from a local database), and then run a report each for >> each client. You could use the AdWordsUser constructor to create one user >> each for each unique clientId. >> >> Cheers, >> Anash P. Oommen, >> AdWords API Advisor. >> >> On Thursday, 21 June 2012 03:46:19 UTC+5:30, Ashley Bennett wrote: >>> >>> I am new to the PHP Client Library, but I have been able to connect to >>> the live service, I have my dev token, etc. >>> >>> However, whenever I try and run the example file GetCampaignStats.php, I >>> always get 'No matching campaigns were found.' >>> >>> Can anyone explain how I am supposed to format the request within my >>> example file to actually return data? All I can find online are xml >>> definitions, and nothing regarding how to perform this in the php-specific >>> file examples. >>> >> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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