Re: traffic estimate service dynamic keywords

2016-04-27 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, The line below is causing the error: $keywords[] = new keyword(); This is seeding empty values into the keywords array. Regards, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot

Re: traffic estimate service dynamic keywords

2016-04-27 Thread pc
Thanks for the response tryed with double quotes and no quotes but still getting the error.any help is very much appreciated here is my code for reference, not sure where i am going wrong. GetService('TrafficEstimatorService', ADWORDS_VERSION); $kfile = fopen("keywords.txt","r"); wh

Re: traffic estimate service dynamic keywords

2016-04-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hello, When you use single quotes, the variable doesn't get interpreted. I would suggest that you change to double quotes or remove quotes altogether. You could change the line to this: $keywords[] = new Keyword($kword, $mtype); I hope this helps. Regards, Shwetha, AdWords API Team. -- --

traffic estimate service dynamic keywords

2016-04-26 Thread pc
Hi, i am using the php estimatorkeywordtraffic.php and reading the keyword + matchtype from external source and i get this error. [RequiredError.REQUIRED @ selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateRequests.keyword[0].matchType, RequiredError.REQUIRED @