Can one use the Google OAuth Playground to test the AdWords API? Can you please provide some more instructions? Thanks. http://googlecodesamples.com/oauth_playground/
On Jan 24, 4:46 pm, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Mike, > > In addition to the query string the OAuth information can be included > in the Authentication HTTP header. This wasn't possible for the > client library due to some bugs in the underlying SoapClient > extension. Another tidbit of information is that the scope of the > token is "https://{server}/api/adwords/", where {server} is either > "adwords.google.com" or "adwords-sandbox.google.com". > > Best, > - Eric > > On Jan 24, 1:35 pm, Mike MacCana <mike.macc...@gmail.com> wrote: > > > > > > > > > Thanks for responding but your response doesn't really add anything. > > > Answering my own question for those who end up searching this : OAuth SOAP > > requests can be made to the AdWords API using the following: > > > - OAuth access token etc is specified in the POST query string to the URL > > required as normal > > - The body of the request is a SOAP envelope with a smaller header than the > > current documentation (which is focused on using ClientLogin instead of > > OAuth): > > > <SOAP-ENV:Envelope > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201008" > > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201008" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\ > > <SOAP-ENV:Header>\ > > <ns1:RequestHeader xsi:type="ns2:RequestHeader">\ > > <ns2:clientEmail>mike.macc...@gmail.com</ns2:clientEmail>\ > > <ns2:developerToken>INSERT_DEVELOPER_TOKEN_HERE</ns2:developerToken>\ > > <ns2:userAgent>AwApi-PHP-2.4.1-Test</ns2:userAgent>\ > > </ns1:RequestHeader>\ > > </SOAP-ENV:Header>\ > > > The body of the envelope remains the same. > > > Mike > > > On Mon, Jan 24, 2011 at 4:03 PM, AdWords API Advisor < > > > adwordsapiadvi...@google.com> wrote: > > > Hi Mike, > > > > As I mentioned on the thread you linked to, OAuth is being tested out > > > for the PHP client library, but there isn't support for all services > > > or features. We hope to be rolling out more complete OAuth support in > > > the coming months. > > > > Best, > > > - Eric Koleda, AdWords API Team > > > > On Jan 20, 2:08 pm, Mike MacCana <mike.macc...@gmail.com> wrote: > > > > Hi Adwords API folks, > > > > > I'm having some issues with the AdWords API documentation: > > > > > - OAuth is preferred over ClientLogin for HTML/JS apps such as Chrome > > > > Extensions > > > > - All AdWords documentation uses ClientLogin instead > > > > > I am currently using OAuth and authenticating successfully. However I'm > > > > trying to work out how the OAuth access token I get > > > > can be used to perform any kind of AdWords query, eg, for alerts or > > > > anything else. The SOAP wrappers presented use ClientLogin tokens in the > > > > SOAP envelope, rather than OAuth tokens in the request header. > > > > > The AdWords API documentation still doesn't have anything on this topic, > > > > although there appears to be others having the same problem [1]. > > > > > Can anyone please provide an example of a successful AdWords request > > > using > > > > OAuth? > > > > > Thanks, > > > > > Mike > > > > > 1.https://groups.google.com/forum/?fromgroups#!searchin/adwords-api/oau. > > > .. > > > > -- > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > Also find us on our blog and discussion group: > > >http://adwordsapi.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<adwords-api%2Bunsubscribe@googlegr > > > oups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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