Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-06 Thread Anash P. Oommen (AdWords API Team)
Hi David,

You would have received an email from the token review team when you 
submitted your token for review. You should follow up on that email thread 
for queries related to token review.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 6, 2013 9:02:07 PM UTC+5:30, web...@adaptiveaudience.com 
wrote:
>
> Danial,
>
> Thank you for responding.  This is for a production account.  Can you see 
> what the delay is for the approval?  I have started this process weeks ago, 
> and I haven't heard anything.  Is there anyway you expedite this process as 
> it has been a complete stop on development.  Thank you for your assistance 
> and I hope you have a great day!
>
> Best regards,
>
> David Paul
>
>
> On Monday, May 6, 2013 4:18:15 AM UTC-5, Danial Klimkin wrote:
>>
>> Hello David,
>>
>>
>> Are you making the request against Test or Production account? The 
>> developer token is not approved yet, so you can only access Test accounts 
>> so far.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Wednesday, May 1, 2013 6:56:44 PM UTC+4, web...@adaptiveaudience.comwrote:
>>>
>>> Danial, 
>>>
>>> Can you please recheck the account?  The billing is set up , but I'm 
>>> still getting the incomplete_signup error.  Thank you! 
>>>
>>> Best regards, 
>>>
>>> David 
>>>
>>> On Wednesday, May 1, 2013 8:39:34 AM UTC-5, Jeremy Aube wrote:

 Plain Oauth2 only requires user input the first time. If you request 
 the token with offline access and store the token, you can use it later 
 without any user interaction.

 On Tuesday, April 30, 2013 1:47:48 PM UTC-4, 
 web...@adaptiveaudience.com wrote:
>
> Danial,
>
> Thank you so much for your reply!  I am in the process of getting the 
> company to set up the billing.  Plain OAuth2 requires user input doesn't 
> it?   I need my program to pull reports without user interaction.  If 
> there 
> is an example without user interaction, then please forward the link or 
> show an example (please include samples of where these input variables 
> come 
> from in a PHP format).  Thank you again and looking forward to your 
> response.  Have a great day!
>
> Best regards,
>
> David Paul
>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-06 Thread webdev
Danial,

Thank you for responding.  This is for a production account.  Can you see 
what the delay is for the approval?  I have started this process weeks ago, 
and I haven't heard anything.  Is there anyway you expedite this process as 
it has been a complete stop on development.  Thank you for your assistance 
and I hope you have a great day!

Best regards,

David Paul


On Monday, May 6, 2013 4:18:15 AM UTC-5, Danial Klimkin wrote:
>
> Hello David,
>
>
> Are you making the request against Test or Production account? The 
> developer token is not approved yet, so you can only access Test accounts 
> so far.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, May 1, 2013 6:56:44 PM UTC+4, web...@adaptiveaudience.comwrote:
>>
>> Danial, 
>>
>> Can you please recheck the account?  The billing is set up , but I'm 
>> still getting the incomplete_signup error.  Thank you! 
>>
>> Best regards, 
>>
>> David 
>>
>> On Wednesday, May 1, 2013 8:39:34 AM UTC-5, Jeremy Aube wrote:
>>>
>>> Plain Oauth2 only requires user input the first time. If you request the 
>>> token with offline access and store the token, you can use it later without 
>>> any user interaction.
>>>
>>> On Tuesday, April 30, 2013 1:47:48 PM UTC-4, 
>>> web...@adaptiveaudience.comwrote:

 Danial,

 Thank you so much for your reply!  I am in the process of getting the 
 company to set up the billing.  Plain OAuth2 requires user input doesn't 
 it?   I need my program to pull reports without user interaction.  If 
 there 
 is an example without user interaction, then please forward the link or 
 show an example (please include samples of where these input variables 
 come 
 from in a PHP format).  Thank you again and looking forward to your 
 response.  Have a great day!

 Best regards,

 David Paul

>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: [2-0692000000501] Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-06 Thread A2 Web Development
Danial,

Thank you for responding.  This is for a production account developer
token.  Can you see what the delay is for the approval?  I have started
this process weeks ago, and I haven't heard anything.  Is there anyway you
expedite this process as it has been a complete stop on development.  Thank
you for your assistance and I hope you have a great day!

Best regards,

David Paul


On Mon, May 6, 2013 at 4:17 AM,  wrote:

> Hello David,
>
>
> Are you making the request against Test or Production account? The
> developer token is not approved yet, so you can only access Test accounts
> so far.
>
>
> -Danial, AdWords API Team.
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 05/01/13 18:56:44 web...@adaptiveaudience.com wrote:
>
> Danial,
>
> Can you please recheck the account?  The billing is set up , but I'm still
> getting the incomplete_signup error.  Thank you!
>
> Best regards,
>
> David
>
> On Wednesday, May 1, 2013 8:39:34 AM UTC-5, Jeremy Aube wrote:
>
> Plain Oauth2 only requires user input the first time. If you request the
> token with offline access and store the token, you can use it later without
> any user interaction.
>
> On Tuesday, April 30, 2013 1:47:48 PM UTC-4, web...@adaptiveaudience.comwrote:
>
> Danial,
>
> Thank you so much for your reply!  I am in the process of getting the
> company to set up the billing.  Plain OAuth2 requires user input doesn't
> it?   I need my program to pull reports without user interaction.  If there
> is an example without user interaction, then please forward the link or
> show an example (please include samples of where these input variables come
> from in a PHP format).  Thank you again and looking forward to your
> response.  Have a great day!
>
> Best regards,
>
> David Paul
>
>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~**=~=~=~=~=~=~=~=~=~
> 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+unsubscribe@**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+unsubscribe@**googlegroups.com.
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-06 Thread Danial Klimkin
Hello David,


Are you making the request against Test or Production account? The 
developer token is not approved yet, so you can only access Test accounts 
so far.


-Danial, AdWords API Team.


On Wednesday, May 1, 2013 6:56:44 PM UTC+4, web...@adaptiveaudience.com 
wrote:
>
> Danial, 
>
> Can you please recheck the account?  The billing is set up , but I'm still 
> getting the incomplete_signup error.  Thank you! 
>
> Best regards, 
>
> David 
>
> On Wednesday, May 1, 2013 8:39:34 AM UTC-5, Jeremy Aube wrote:
>>
>> Plain Oauth2 only requires user input the first time. If you request the 
>> token with offline access and store the token, you can use it later without 
>> any user interaction.
>>
>> On Tuesday, April 30, 2013 1:47:48 PM UTC-4, 
>> web...@adaptiveaudience.comwrote:
>>>
>>> Danial,
>>>
>>> Thank you so much for your reply!  I am in the process of getting the 
>>> company to set up the billing.  Plain OAuth2 requires user input doesn't 
>>> it?   I need my program to pull reports without user interaction.  If there 
>>> is an example without user interaction, then please forward the link or 
>>> show an example (please include samples of where these input variables come 
>>> from in a PHP format).  Thank you again and looking forward to your 
>>> response.  Have a great day!
>>>
>>> Best regards,
>>>
>>> David Paul
>>>



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-01 Thread webdev
Danial, 

Can you please recheck the account?  The billing is set up , but I'm still 
getting the incomplete_signup error.  Thank you! 

Best regards, 

David 

On Wednesday, May 1, 2013 8:39:34 AM UTC-5, Jeremy Aube wrote:
>
> Plain Oauth2 only requires user input the first time. If you request the 
> token with offline access and store the token, you can use it later without 
> any user interaction.
>
> On Tuesday, April 30, 2013 1:47:48 PM UTC-4, web...@adaptiveaudience.comwrote:
>>
>> Danial,
>>
>> Thank you so much for your reply!  I am in the process of getting the 
>> company to set up the billing.  Plain OAuth2 requires user input doesn't 
>> it?   I need my program to pull reports without user interaction.  If there 
>> is an example without user interaction, then please forward the link or 
>> show an example (please include samples of where these input variables come 
>> from in a PHP format).  Thank you again and looking forward to your 
>> response.  Have a great day!
>>
>> Best regards,
>>
>> David Paul
>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-05-01 Thread Jeremy Aube
Plain Oauth2 only requires user input the first time. If you request the 
token with offline access and store the token, you can use it later without 
any user interaction.

On Tuesday, April 30, 2013 1:47:48 PM UTC-4, web...@adaptiveaudience.com 
wrote:
>
> Danial,
>
> Thank you so much for your reply!  I am in the process of getting the 
> company to set up the billing.  Plain OAuth2 requires user input doesn't 
> it?   I need my program to pull reports without user interaction.  If there 
> is an example without user interaction, then please forward the link or 
> show an example (please include samples of where these input variables come 
> from in a PHP format).  Thank you again and looking forward to your 
> response.  Have a great day!
>
> Best regards,
>
> David Paul
>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-30 Thread webdev
Danial,

Can you please recheck the account?  The billing is set up , but I'm still 
getting the incomplete_signup error.  Thank you!

Best regards,

David Paul

>
> On Tuesday, April 30, 2013 2:37:58 AM UTC+4, web...@adaptiveaudience.comwrote:
>>
>>
>>
>> Please Help!
>>
>> I have a service account, but have not seen a PHP example of how to set 
>> this up for google adwords.  Any assistance will be appreciated!  Thank you 
>> in advance!  On another note, I am currently getting incomplete_signup 
>> error.  Info: Customer ID: 667-082-2778 .  Hope you have a great day.
>>
>> Best regards,
>>
>> David Paul
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-30 Thread webdev
Danial,

Thank you so much for your reply!  I am in the process of getting the 
company to set up the billing.  Plain OAuth2 requires user input doesn't 
it?   I need my program to pull reports without user interaction.  If there 
is an example without user interaction, then please forward the link or 
show an example (please include samples of where these input variables come 
from in a PHP format).  Thank you again and looking forward to your 
response.  Have a great day!

Best regards,

David Paul

>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-30 Thread Danial Klimkin
Hello David,


This account doesn't have Terms and Conditions accepted. You can review and 
accept T&C as the last step of the billing setup process.

The PHP client library does not support service accounts. In most cases it 
is more convenient to use plain OAuth2 without JWT though. Refresh token 
does not expire so past the initial setup there are not much difference.


-Danial, AdWords API Team.


On Tuesday, April 30, 2013 2:37:58 AM UTC+4, web...@adaptiveaudience.com 
wrote:
>
>
>
> Please Help!
>
> I have a service account, but have not seen a PHP example of how to set 
> this up for google adwords.  Any assistance will be appreciated!  Thank you 
> in advance!  On another note, I am currently getting incomplete_signup 
> error.  Info: Customer ID: 667-082-2778 .  Hope you have a great day.
>
> Best regards,
>
> David Paul
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-29 Thread webdev


Please Help!

I have a service account, but have not seen a PHP example of how to set 
this up for google adwords.  Any assistance will be appreciated!  Thank you 
in advance!  On another note, I am currently getting incomplete_signup 
error.  Info: Customer ID: 667-082-2778 .  Hope you have a great day.

Best regards,

David Paul

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-16 Thread Danial Klimkin
Hello Becky,


Can you please provide more details on the issue you are facing? Are you 
completely unable to retrieve a report or the error occurs after some time?

How do you store the token and initialize the library?


-Danial, AdWords API Team.


On Saturday, April 6, 2013 12:29:19 AM UTC+4, 
becky.ru...@hanapinmarketing.com wrote:
>
> Hi Kevin, thanks for responding!
>
> I do always update the access token as necessary; I don't have any problem 
> with that part -- and I have plenty of non-reports-related functionality 
> working consistently.  Problems happen ONLY when I am trying to download 
> reports.
>
> I am using the Ruby client library (google-adwords-api gem, version 
> 0.8.2).  The error I am getting is AuthenticationError.OAUTH_TOKEN_INVALID.
>   
>
> However, I have also tried using Ruby's HTTPClient and just doing a POST 
> request with XML, and that time I ran into 
> AuthenticationError.INVALID_USER_ID.  (Why is it expecting a user id, and 
> what would that even be?  
> Thispage 
> says nothing about a user id.)
>
> Any clarification would be greatly appreciated!
>
>
> On Friday, April 5, 2013 3:50:21 PM UTC-4, Kevin Winter (AdWords API Team) 
> wrote:
>>
>> Hi,
>>   The access_token expires in 60 minutes - are you using a 
>> newly-refreshed access_token when downloading the report?  Are you using a 
>> client library?  If so, which one?
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Friday, April 5, 2013 12:50:10 PM UTC-4, 
>> becky.ru...@hanapinmarketing.com wrote:
>>>
>>> Oh, and to clarify my last post: I am already using the offline access 
>>> permission.
>>>
>>> On Friday, April 5, 2013 12:42:03 PM UTC-4, 
>>> becky.ru...@hanapinmarketing.com wrote:

 Isn't it true, though, that OAuth2 tokens do not suffice for 
 downloading reports?

 I am using the OAuth2 flow for a web application, and it works just 
 fine for most account management tasks whether or not the user is online. 
  However, as soon as I try to download a report, it tells me that the 
 oauth 
 token is invalid.

 Am I missing something, or do I need to set up a service account?

 On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords 
 API Team) wrote:
>
> Hi,
>   This code example shows how to use OAuth2 with a refresh 
> token.
>  
>  Can I ask why you need to use a service account?  In most cases, using a 
> one-time OAuth2 flow requesting offline access is the functional 
> equivalent 
> of a service account.  Simply request an access token (using the refresh 
> token obtained in the one-time setup) each time your automated process 
> runs 
> and you should be good.
>
> - Kevin Winter
> AdWords API Team
>
> On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>>
>> Hi!
>>
>> Can someone help me with example, and/or detailed description?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-05 Thread becky . russoniello
Hi Kevin, thanks for responding!

I do always update the access token as necessary; I don't have any problem 
with that part -- and I have plenty of non-reports-related functionality 
working consistently.  Problems happen ONLY when I am trying to download 
reports.

I am using the Ruby client library (google-adwords-api gem, version 0.8.2). 
 The error I am getting is AuthenticationError.OAUTH_TOKEN_INVALID.  

However, I have also tried using Ruby's HTTPClient and just doing a POST 
request with XML, and that time I ran into 
AuthenticationError.INVALID_USER_ID.  (Why is it expecting a user id, and 
what would that even be?  
Thispage says 
nothing about a user id.)

Any clarification would be greatly appreciated!


On Friday, April 5, 2013 3:50:21 PM UTC-4, Kevin Winter (AdWords API Team) 
wrote:
>
> Hi,
>   The access_token expires in 60 minutes - are you using a newly-refreshed 
> access_token when downloading the report?  Are you using a client library? 
>  If so, which one?
>
> - Kevin Winter
> AdWords API Team
>
> On Friday, April 5, 2013 12:50:10 PM UTC-4, 
> becky.ru...@hanapinmarketing.com wrote:
>>
>> Oh, and to clarify my last post: I am already using the offline access 
>> permission.
>>
>> On Friday, April 5, 2013 12:42:03 PM UTC-4, 
>> becky.ru...@hanapinmarketing.com wrote:
>>>
>>> Isn't it true, though, that OAuth2 tokens do not suffice for downloading 
>>> reports?
>>>
>>> I am using the OAuth2 flow for a web application, and it works just fine 
>>> for most account management tasks whether or not the user is online. 
>>>  However, as soon as I try to download a report, it tells me that the oauth 
>>> token is invalid.
>>>
>>> Am I missing something, or do I need to set up a service account?
>>>
>>> On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords 
>>> API Team) wrote:

 Hi,
   This code example shows how to use OAuth2 with a refresh 
 token.
  
  Can I ask why you need to use a service account?  In most cases, using a 
 one-time OAuth2 flow requesting offline access is the functional 
 equivalent 
 of a service account.  Simply request an access token (using the refresh 
 token obtained in the one-time setup) each time your automated process 
 runs 
 and you should be good.

 - Kevin Winter
 AdWords API Team

 On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>
> Hi!
>
> Can someone help me with example, and/or detailed description?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-05 Thread Kevin Winter (AdWords API Team)
Hi,
  The access_token expires in 60 minutes - are you using a newly-refreshed 
access_token when downloading the report?  Are you using a client library? 
 If so, which one?

- Kevin Winter
AdWords API Team

On Friday, April 5, 2013 12:50:10 PM UTC-4, 
becky.ru...@hanapinmarketing.com wrote:
>
> Oh, and to clarify my last post: I am already using the offline access 
> permission.
>
> On Friday, April 5, 2013 12:42:03 PM UTC-4, 
> becky.ru...@hanapinmarketing.com wrote:
>>
>> Isn't it true, though, that OAuth2 tokens do not suffice for downloading 
>> reports?
>>
>> I am using the OAuth2 flow for a web application, and it works just fine 
>> for most account management tasks whether or not the user is online. 
>>  However, as soon as I try to download a report, it tells me that the oauth 
>> token is invalid.
>>
>> Am I missing something, or do I need to set up a service account?
>>
>> On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>   This code example shows how to use OAuth2 with a refresh 
>>> token.
>>>  
>>>  Can I ask why you need to use a service account?  In most cases, using a 
>>> one-time OAuth2 flow requesting offline access is the functional equivalent 
>>> of a service account.  Simply request an access token (using the refresh 
>>> token obtained in the one-time setup) each time your automated process runs 
>>> and you should be good.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:

 Hi!

 Can someone help me with example, and/or detailed description?
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-05 Thread becky . russoniello
Oh, and to clarify my last post: I am already using the offline access 
permission.

On Friday, April 5, 2013 12:42:03 PM UTC-4, 
becky.ru...@hanapinmarketing.com wrote:
>
> Isn't it true, though, that OAuth2 tokens do not suffice for downloading 
> reports?
>
> I am using the OAuth2 flow for a web application, and it works just fine 
> for most account management tasks whether or not the user is online. 
>  However, as soon as I try to download a report, it tells me that the oauth 
> token is invalid.
>
> Am I missing something, or do I need to set up a service account?
>
> On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords 
> API Team) wrote:
>>
>> Hi,
>>   This code example shows how to use OAuth2 with a refresh 
>> token.
>>  
>>  Can I ask why you need to use a service account?  In most cases, using a 
>> one-time OAuth2 flow requesting offline access is the functional equivalent 
>> of a service account.  Simply request an access token (using the refresh 
>> token obtained in the one-time setup) each time your automated process runs 
>> and you should be good.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>>>
>>> Hi!
>>>
>>> Can someone help me with example, and/or detailed description?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-04-05 Thread becky . russoniello
Isn't it true, though, that OAuth2 tokens do not suffice for downloading 
reports?

I am using the OAuth2 flow for a web application, and it works just fine 
for most account management tasks whether or not the user is online. 
 However, as soon as I try to download a report, it tells me that the oauth 
token is invalid.

Am I missing something, or do I need to set up a service account?

On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords API 
Team) wrote:
>
> Hi,
>   This code example shows how to use OAuth2 with a refresh 
> token.
>  
>  Can I ask why you need to use a service account?  In most cases, using a 
> one-time OAuth2 flow requesting offline access is the functional equivalent 
> of a service account.  Simply request an access token (using the refresh 
> token obtained in the one-time setup) each time your automated process runs 
> and you should be good.
>
> - Kevin Winter
> AdWords API Team
>
> On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>>
>> Hi!
>>
>> Can someone help me with example, and/or detailed description?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.




Re: How to use OAuth 2.0 to Access Google APIs as Service Account with Google APIs Client Library for PHP to use AdWords API

2013-02-13 Thread Kevin Winter (AdWords API Team)
Hi,
  This code example shows how to use OAuth2 with a refresh 
token.
 
 Can I ask why you need to use a service account?  In most cases, using a 
one-time OAuth2 flow requesting offline access is the functional equivalent 
of a service account.  Simply request an access token (using the refresh 
token obtained in the one-time setup) each time your automated process runs 
and you should be good.

- Kevin Winter
AdWords API Team

On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>
> Hi!
>
> Can someone help me with example, and/or detailed description?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.