Hi, You may use this guide <https://developers.google.com/adwords/api/docs/guides/authentication> instead of the one that you linked on how to authenticate in the AdWords API via installed application or web application or service account type. Also, we recommend that you use the property file <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/adsapi_php.ini> in storing your OAuth2 credentials instead of setting them per example file.
Once the authentication is already done and you have already used the property file, you can then run this example <https://developers.google.com/adwords/api/docs/samples/php/basic-operations#get-campaigns> on getting campaigns. The example is automatically set-up to utilize the property file. Let me know if any issue persists after doing the suggestion. Thanks, Vincent AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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 [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1d553db5-49d0-4bf7-a105-1a7ef55fa676%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
