Re: OAuth 2.0 and link between MCC and new Customers Accounts

2014-01-24 Thread Bikram Bhuyan
Hello Guys, I need some assistance here as well as I am facing the same kind of issues. The situation is the client's account is not linked to our MCC account. We got the refresh token for the client's account through the OAuth process. Could you please let us know the step we can follow with s

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-03-26 Thread Kevin Winter (AdWords API Team)
Hi, You will want to use the ManagedCustomerService to get a list of accounts linked to your MCC. The InfoService has been deprecated (in the past it could be used to translate a clientEmail into a clientCustomerId, but the ManagedCustomerService is a better way to get a list of accounts). -

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-03-26 Thread Taher Dhilawala
Hi Stamatina, How do I use InfoService to get list of accounts (details) linked to my mcc account. What I understood from documentation of InfoService is that it only gives API usage for all the customers linked to the MCC accounts. Please correct if I understood wrongly. On Wednesday, January

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-16 Thread Stamatina Thomaidou
Thank you all for your answers. Eventually, we understood and found the solution. We used JSON to get automatically from the response of the OAuth2.0 authorization process the email and next we used the InfoService to get the AdWords data. :) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-15 Thread John Lister
On Tuesday, 15 January 2013 09:43:11 UTC, Stamatina Thomaidou wrote: > > Chris thank you a lot for your answer but I do not think that answers to > our speculation. Maybe I didn't explain correctly the issue. :( > > The problem is that the returning value of ClientCustomerId of the Client > tha

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-15 Thread Stamatina Thomaidou
Chris thank you a lot for your answer but I do not think that answers to our speculation. Maybe I didn't explain correctly the issue. :( On Tuesday, January 15, 2013 5:18:40 AM UTC+1, chris h wrote: > > Hi Stamatina, > If the client account is linked to your MCC account, then you can use your >

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread chris h
Hi Stamatina, If the client account is linked to your MCC account, then you can use your OAuth token to a) get a list of all accounts and b) query those accounts via the API. The customer has already granted you access via linking so you don't need to have them grant via OAuth. They could still

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Returning to my initial question: Let's say I am an MCC Account. If one of my many different linked client customer accounts tries to log in to my application and give me access to his data through OAuth 2.0 how can I retrieve with the usage of the OAuth 2.0 *automatically* his ClientCustomerI

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Thank you both for your replies :) We will try some of the tips and we will get back with updates if we continue to have problems. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-13 Thread John Lister
Sorry, cut and pasted but missed off you'll need to add .withEnvironment(AdWordsSession.Environment.PRODUCTION) to the session builder line John On Sunday, 13 January 2013 08:30:33 UTC, John Lister wrote: > > Hi, if you are using oauth2, you can get rid of the ads.properties file > altogether.

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-13 Thread John Lister
Hi, if you are using oauth2, you can get rid of the ads.properties file altogether. Use the oauth2 example to generate your refresh token - After the line with authorizationFlow.createAndStoreCredential, simply save the value of credential.getRefreshToken(). When you run this make sure you put

Re: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-12 Thread Kapil
Hey Stamatina, I'm not sure which language you are using, but here is what I'm doing in java. In ads.properties you can see a section:- *1.* api.adwords.clientCustomerId=INSERT_CLIENT_CUSTOMER_ID_HERE You can define one of the client_ids that are connected to your MCC account. Now, next time i

OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-11 Thread Stamatina Thomaidou
Hello everyone, this is a more general question regarding the new ways that we have to work with authentication and access to the accounts. We have a developer token for the AdWords API that actually corresponds to an MCC Account. We have already some client/customer accounts that are already