Re: client id and client secret id

996 views
Skip to first unread message
Message has been deleted

Josh Radcliff (AdWords API Team)

unread,
Mar 31, 2014, 3:48:39 PM3/31/14
to adwor...@googlegroups.com
Hi,

To find the client ID and client secret for an existing project please follow the steps below.
  1. Go to the Google Developers Console
  2. Click on the project in the list on the right
  3. Click APIs & auth
  4. Click Credentials - the existing client ID/secret pairs will be on the right
Cheers,
Josh, AdWords API Team

On Friday, March 28, 2014 9:12:13 AM UTC-4, srav...@newtel.in wrote:
hi,alrdy  v hav acount in adwords for our site but i'm not finding how to get client id and client secrete id for existing project...can u please help me out to know client id and client secrete id plz

srav...@newtel.in

unread,
Apr 2, 2014, 6:20:22 AM4/2/14
to adwor...@googlegroups.com
thnk,i did it,nw am having one more doubt
 v tried to get client id and screte id..my prj is web based application i need  redirect url for that i created new client id in dat i mentioned redirect url http://www.xxx.com,then i copied that url into prgrm and tried to execute getrefreshment token program ..i copied the link and pasted into browser then i showed sum options clicked on accept then it navigated to other page and showing   following error

Requested page couldn't be found on xxx.com

Possible causes for this inconvenience are:

  • The requested page might have been removed from the server.
  • The URL might be mis-typed by you.
  • Some maintenance process is going on the server.

Please try visiting the page again within few minutes.

We are sorry, the page you have requested was not found on our system

not able to get refreshment token

Josh Radcliff (AdWords API Team)

unread,
Apr 2, 2014, 10:08:13 AM4/2/14
to adwor...@googlegroups.com
Hi,

The getrefreshtoken examples all require that the application in the console is an Installed Application.  You can still use this type of application even if you have a web based app--see the note under item 6 here.  Our blog post also contains a video that will walk you through the process.

Thanks,
Josh, AdWords API Team

srav...@newtel.in

unread,
Apr 3, 2014, 2:18:34 AM4/3/14
to adwor...@googlegroups.com
thanks a lot,is it mandatory to configure consent screen..
thanks in advance

srav...@newtel.in

unread,
Apr 3, 2014, 2:29:00 AM4/3/14
to adwor...@googlegroups.com
hi, thanks i have tried by selecting it as installed application and copied the redirect url intlo the AdvancedCreateCredentialFromScratch prgm console and tried to execute it showing following error

log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.PropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" ClientLogin or OAuth2 authentication must be used. caused by: []
    at com.google.api.ads.adwords.lib.client.AdWordsSession$Builder.validate(AdWordsSession.java:442)
    at com.google.api.ads.adwords.lib.client.AdWordsSession$Builder.build(AdWordsSession.java:422)
    at adwords.axis.auth.AdvancedCreateCredentialFromScratch.createAdWordsSession(AdvancedCreateCredentialFromScratch.java:134)
    at adwords.axis.auth.AdvancedCreateCredentialFromScratch.main(AdvancedCreateCredentialFromScratch.java:214)


is it mandatory to configure consent screen .

Josh Radcliff (AdWords API Team)

unread,
Apr 3, 2014, 11:17:50 AM4/3/14
to adwor...@googlegroups.com
Hi,

I highly recommend using the GetRefreshToken example instead.  If you have configured your application in the Developers Console as an installed application then GetRefreshToken should work as expected.

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