Re: Adwords API grant access

2016-06-28 Thread asma batool
Hi, you are talking about this? stdClass Object([access_token] => ya29.Ci8PAz-Io9-h_0OSb_Z0OA_q6xVesQq2gAwkhnylKMptliXnblU7pAX-i5eZeuRTmQ [token_type] => Bearer[expires_in] => 3600[refresh_token] => 1/miOiodKSrV_GAm9vcEzugUy50NrflRia2Ftc7CuOKzM) On Tuesday, June 28, 2016 at

Re: Adwords API grant access

2016-06-28 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, Could you send me the *requestId* from your most recent attempt? Thanks, Josh, AdWords API Team On Tuesday, June 28, 2016 at 9:56:02 AM UTC+1, asma batool wrote: > > > Hi, > > I used My production account but issue is not resolved > > Thanks > > On Friday, June 24, 2016 at 11:28:59 PM

Re: Adwords API grant access

2016-06-28 Thread asma batool
Hi, I used My production account but issue is not resolved Thanks On Friday, June 24, 2016 at 11:28:59 PM UTC+5, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > I think I found the issue: the manager account in that request is a *test* > account > (as you mentioned), but the client

Re: Adwords API grant access

2016-06-24 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, I think I found the issue: the manager account in that request is a *test* account (as you mentioned), but the client account is a *production* (non-test) account. Please see the Test accounts section of the managing accounts guide

Re: Adwords API grant access

2016-06-24 Thread asma batool
Hi, Thanks for replying I am using Oauth credentials from the same gmail account which is using for MCC test account. I don't know whats the reason its not working.i will really great full if you will help me to resolve this issue Thanks On Thursday, June 23, 2016 at 6:44:44 PM UTC+5,

Re: Adwords API grant access

2016-06-23 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, That error suggests that you are using OAuth credentials from an account that does not have access to the manager account. The OAuth credentials for each request should be as follows: - *Extending an invitation (your example), getting pending invitations, or rescinding an

Re: Adwords API grant access

2016-06-23 Thread asma batool
Hi, I am able to access customer id using your code now i want to send invitation to user for that i am using this code $managedCustomerService = $user->GetService('ManagedCustomerService', 'v201603'); $customerService = $user->GetService("CustomerService"); $customer =

Re: Adwords API grant access

2015-10-14 Thread etienne . veilleux
Hi and thank you for your answer. My problem was that I did not request to get the customer Id based on the OAuth credentials. Now I have this in my code which allows me to retrieve the customer id: $user = new AdWordsUser(); $user->SetOAuth2Info(array( "client_id" => $clientId,

Re: Adwords API grant access

2015-10-14 Thread Josh Radcliff (AdWords API Team)
Hi, Is the issue that: a. You aren't getting back the OAuth credential from your *GetOAuth2Credential* call? OR b. You are getting back the OAuth credential, but you're not sure what to do next? If a), then I'd recommend going through the PHP library's OAuth2 guide

Re: Adwords API grant access

2015-10-13 Thread etienne . veilleux
Hi Umesh and thank you for your response. looked at the link you sent me and in fact the code I have included in my original publication does just that. The visitor is sent to an access request page to the Google server and the visitor is sent back to my page with an authorization code. I use

Adwords API grant access

2015-10-09 Thread etienne . veilleux
Hi everybody ! I'm new to Adwords API and on this forum. Feel free to comment if necessary! I am currently developing a small web application that allows a visitor to give me access to its Adwords account then I am able to retrieve data from its campaigns. I also need to detect if the

Re: Adwords API grant access

2015-10-09 Thread Umesh Dengale
Hello, The user has to grant access to their manager account(MCC) to get access to their AdWords accounts information. Please go through the OAuth2.0 for Web Server Applications guide for more details. Thanks, Umesh, AdWords