Hi Oscar,

No, AdWords API requires an OAuth2 access and refresh token to make calls 
to the account. If your current credentials cannot make calls to the 
desired account, you have to use one that has access to perform the 
required operation.

See the instructions 
on 
https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2TokenGenerator
 
to generate a new set of refresh and access tokens using a login email that 
has the right set of permissions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, August 22, 2014 11:45:14 AM UTC-4, Oscar Martinez wrote:
>
> Hi Ray, 
>
> Thanks for your answer. Are you talking about regenerating the token in 
> MCC? And, what account, Testing or my company's Production?
>
> On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:
>>
>> Hi, 
>>
>> I get this error trying to get information about campaigns. I'm using one 
>> of the examples of the official .Net Library.
>> Looking for a similar post, I found this: 
>> https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ
>>
>> Answering what Takeshi Hagikura asked in the post reply:
>>
>> Are you using a test account or a production account? 
>> Both, Production and Testing account.
>>
>> Either way, please make sure you have accepted the terms&conditions for 
>> AdWords API.
>> Yes, I have.
>>
>> If you use a production account, please make sure you have filled in the 
>> billing information.
>> Yes, I have. Production MCC Developer Token is pending approval.
>>
>> Error message:
>> Failed to get campaigns. Exception says "An API exception has occurred. 
>> See ApiException and InnerException fields for more details."
>>
>> What I get from OAuth2:
>> <add key='AuthorizationMethod' value='OAuth2' />
>> <add key='OAuth2ClientId' value='XXXXXXXXXXXXXXX' />
>> <add key='OAuth2ClientSecret' value='XXXXXXXXXX' />
>> <add key='OAuth2RefreshToken' value='XXXXXXXXXXX' />
>>
>> Thank you, 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19f46e2a-befe-487e-abfb-217ff1b89d04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to