Hi,

When you paste the URL provided by the library, what the access_type looks 
like?
If you set the IsOffline property correctly, the URL should be like the 
form of this as in this 
page<https://developers.google.com/adwords/api/docs/guides/soap>
:

https://accounts.google.com/o/oauth2/auth?
client_id=*your-client-id*&\
response_type=code&\
scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&\
redirect_uri=urn:ietf:wg:oauth:2.0:oob&\
access_type=offline&\
approval_prompt=auto

Best,
- Takeshi, AdWords API Team


On Thursday, November 7, 2013 5:44:06 AM UTC+9, yet wrote:
>
> I can retrieve the Refresh Token via the *OAuthProvider *from previous 
> versions (calling *FetchAccessAndRefreshTokens*), but I cannot retrieve 
> it using the newest version's (v201309) *OAuth2ProviderForApplications*. 
>  I set the OAuth object's *IsOffLine *property to true as specified in 
> previous versions to be able to obtain the Refresh Token on the initial 
> Fetch call. Note that the OAuth authentication is set up exactly like the 
> Adwords example project *AdWords.Examples.CSharp.OAuth*.
>
> Additionally, I am receiving the following error when attempting to 
> retrieve campaigns (CampaignService): 
> *Exception of type 
> 'Google.Api.Ads.AdWords.Lib.AdWordsCredentialsExpiredException' was thrown. 
>  *
> Can someone explain this exception specifically?  I've performed several 
> searches and have come up empty.  Note that this call is set up exactly 
> like the example within *Google.Api.Ads.AdWords.Examples.CSharp.OAuth*.
>
> Many thanks for any assistance to the aforementioned issues!
> -Yet
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to