OAuth2Exception with message 'Couldn't resolve host 'accounts.google.com'

2013-11-29 Thread AJC
Our server-based reports are failing with a new error message: PHP Fatal error: Uncaught exception 'OAuth2Exception' with message 'Couldn't resolve host 'accounts.google.com'' in /var/www/m_prod/adwords_api_php_4.5.1/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:112 Stack trace: #0 /v

what the problem ???? [AdError.INVALID_AD_TYPE @ operations[0].operand.ad] . Thanks!

2013-11-29 Thread KAMOUN Ilyess
my script Php https://adwords.google.com";); // Sandbox API define("ADWORDS_API_SERVER", "https://adwords.google.com";); define("ADWORDS_API_NAMESPACE", "https://adwords.google.com/api/adwords/cm/"; . ADWORDS_API_VERSION); define("ADWORDS_API_CAMPAIGN_SERVICE", ADWORDS_API_SERVER . "/ap

How do I set custom date range when downloading reports using adwords API PHP client library.

2013-11-29 Thread jaison . directi
I am using adwords PHP client library for my application. I want to to download reports for a custom date range and do not know the right parameters used to set the dates. Following is the code I'm currently using: $reportFileName = DS . 'AdPerformanceReport_dated.csv'; $reportType = 'AD_PERFO

Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-11-29 Thread PPC London
Hi Takeshi Just had a closer look at your request you are doing IDEAS but I am doing STATS I am doing STATS because I want stats for given keyword IDEAS will return other related similar keywords with their stats so the 12 months volumes you see are for some related keyword but not the act

Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-11-29 Thread PPC London
Hi Takeshi Yes, it is still happening, But it is now happening with lesser number of keywords now, may you have not updated your volumes database for all of the keywords yet. Below is the new request and response as well, for the same keyword I posted earlier Can you have a quick look on my r