Traffic estimator service -> keywords input through file not working

9 views
Skip to first unread message

pc

unread,
Apr 26, 2016, 8:57:52 AM4/26/16
to AdWords API Forum
Hi,
can any one help. 

I am using the "estimator keyword traffic.php" and inputing the list for keywords by reading external file and i get the following error.

 [RequiredError.REQUIRED @ selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateRequests.keyword[0].matchType, RequiredError.REQUIRED @ selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateRequests.keyword[0].text, RequiredError.REQUIRED @ selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateRequests.keyword[4].matchType]



php code snippet


$keywords[] = new Keyword('$kword', '$mtype');

$kword and $mtype are read from the external file


If i change it to

$keywords[] = new Keyword('testing', 'EXACT');

Everything works fine. 


i am doing missing something ??? Appreciate any help....



thanks


Reply all
Reply to author
Forward
0 new messages