Hi, I'd highly recommend you using a client library, such as the PHP client library. You should be able to include starting from just the "src" directory, e.g. "/path_to_adwords_folder/src"
You can use the client library in a web application as well. Yo can modify an existing example and make the AdWords API calls in a similar way. Thanks, -- Ray Tsang (AdWords API Advisor) On Sunday, January 12, 2014 3:47:33 AM UTC-5, ts1 wrote: > > hi, > I haven’t used the AdWords API before, and I’m trying to build a simple > reporting tool with AdWords PHP API. I have the developer token, and I was > testing the NoClientLibrary example: > https://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary > > If I change the wsdl and namespace to these: > https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl > https://adwords.google.com/api/adwords/cm/v201309 > The result is: AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; > trigger > > If I should be using PHP Client Library instead - - can someone tell me: > 1. What folder exactly should I add to my php.ini include_path? > * GitHub page just says: “lib/ folder”; Is this the correct one? > /path_to_adwords_folder/src/Google/Api/Ads/AdWords/Lib/ > > 2. What kind of code/technique should I use, to test the client library > functions with web browser? > * I read from another thread that: “All of our examples … are meant to be > run from the command line.” > - > basically: how do I make API requests with browser (is there a simple > php example somewhere)? > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.