Hi Eric,
I found that in headers, the authentication method '' $auth-
>get_auth_token() " is not returning a value in the following code.
I am getting authToken field empty.
when I saw in XML file of the $headers
I have $email, $password, $account_type, $service values with me.
and
$account_type = 'GOOGLE';
$service = 'adwords';
then
$auth = new AuthToken($email, $password, $account_type, $service);
$headers =
'<RequestHeader xmlns="' . $namespace . '">' .
'<authToken>' . $auth->get_auth_token() . '</authToken>' .
'<clientEmail>' . $email . '</clientEmail>' .
'<userAgent>' . $useragent . '</userAgent>' .
'<developerToken>' . $developer_token . '</developerToken>' .
'<applicationToken>' . $application_token . '</applicationToken>' .
'</RequestHeader>';
I am getting authToken field empty.
when I saw in XML file of the $headers.
Could you please tell me how to get rid of this error?
Thanks,
Raj
On Nov 20, 10:05 am, AdWords API Advisor