2

In Bing ads i know all my credentials like developer_token_id, account_id etc.

but how do i set in my php file like

$AuthenticationToken = $_SESSION['access_token'];

This 3 variables are not in session.

$DeveloperToken = "<dynamic value>";
$CustomerId = <dynamic value>;
$AccountId = <dynamic value>;

please help me.

Ganesh Mulay
  • 161
  • 2
  • 15

1 Answers1

1

This may depend on your dependencies or environment constraints. For example you could store the properties in session similar to access_token, or set in a config file. The Server Side OAuth Authentication in PHP sample sets the DeveloperToken inside ClientCredentials.php. I hope this helps!

Eric Urban
  • 582
  • 2
  • 7