Developer token cannot be null

24 views
Skip to first unread message

rentca...@gmail.com

unread,
Feb 24, 2018, 8:46:00 PM2/24/18
to AdWords API Forum
I upgraded from v201708 to v201710 now I'm getting the following error:

Inner Message 1: Value cannot be null.
Parameter name: AdWords API requires a developer token. If you don't have one, you can refer to the instructions at https://developers.google.com/adwords/api/docs/signingup to get one. 

Below are the items in my web.config file.  Please note:  Values removed for security reasons.

  <AdWordsApi>

    <add key="UserAgent" value="..."/>

    <add key="DeveloperToken" value="..."/>

    <add key="ClientCustomerId" value="..." />

    <add key="OAuth2RefreshToken" value="..." />

    <add key="AuthorizationMethod" value="..." />

    <add key="OAuth2ClientId" value="..." />

    <add key="OAuth2ClientSecret" value="..." />

    <add key="OAuth2Mode" value="..." />

  </AdWordsApi>


Everything was working great until I upgraded to v201710.  What I'm I Missing. 


KDJ

Vincent Racaza (AdWords API Team)

unread,
Feb 26, 2018, 3:28:13 AM2/26/18
to AdWords API Forum
Hi KDJ,

Can you confirm if you have set your value correctly for the developer token field in your property file and still the null error is generated? If so, can you provide to me your whole SOAP request and response logs via Reply privately to author option so I can further check if indeed the developer token (with REDACTED value) was added in the SOAP header? If you haven't enabled the SOAP logs yet, you can enable it by following this guide.

Thanks,
Vincent
AdWords API Team
Reply all
Reply to author
Forward
0 new messages