I want to know, how i can start calling api through PHP library. Currently i did the following steps:
- I download the php library called "googleads-php-lib" from the link "https://github.com/googleads/googleads-php-lib"And install it through composer.
- Create a manager account in google adwords.
- Generate a developer token in manager account and insert that developer token in adsapi_php.ini file.
- Then create a test manager account under this manager account.
- Then insert a clientCustomerId of the client account created under test manager account.
- Then
generate a clientId and clientSecret and generate a refresh token from
the same account that i use to create manager account.
- Then i run the getCampaigns.php file and it gives me error "Developer token not approved".
I think i did lot of mistakes while doing these things. Can you please correct me?
Or it will be great if you send me some easy steps, so that i can call api.