I got developer token, client id, client secret & refresh token. Set all 
the things inside adsapi_php.ini and placed this file in home directory 
C:/Users/myaccount/adsapi_php.ini
When trying to test API using GetCampaigns.php, getting below error:
Uncaught InvalidArgumentException: A developer token must be set.

[image: developer_token_error.PNG]
Why getting this error even placed all the things inside adsapi_php.ini

On Monday, November 5, 2018 at 3:46:01 PM UTC+5:30, 
avinas...@profecialinks.com wrote:
>
> I have hash encrypted user data saved in csv file. I want to run PHP cron 
> which will insert those records into Google adwords account. I checked for 
> googleads-php-lib 
> <https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords> 
> but don't know how to use this. Is there any other library or ready php 
> script.
>
> On another side when I tried to use googleads-php-lib, it need to 
> clientId, client-secret, developer token & refresh token. When trying to 
> get refresh token it throws an below error message:
> *Error: redirect_uri_mismatch*
> The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be 
> used by a Client ID for native application. It is not allowed for the WEB 
> client type. You can create a Client ID for native application at 
> https://console.developers.google.com/apis/credentials/oauthclient
>
> What exactly this error and how to solve. Please help.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1ae0956f-2c53-490d-bd6f-2a2dfe5b3868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • how to upload... avinash . kadam
    • Re: how ... 'Teja Makani' via AdWords API and Google Ads API Forum
    • How to u... avinash . kadam
      • Re: ... 'Teja Makani' via AdWords API and Google Ads API Forum
      • How ... الشيخ الروحاني الحاج رشيد الكندي
      • Re: ... avinash . kadam
      • Re: ... 'Teja Makani' via AdWords API and Google Ads API Forum
      • Re: ... avinash . kadam
      • Re: ... 'Teja Makani' via AdWords API and Google Ads API Forum
      • Re: ... avinash . kadam
      • Re: ... remerson menese
      • Re: ... 'Teja Makani' via AdWords API and Google Ads API Forum

Reply via email to