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
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
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.
--
--
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 @