Re: Oauth token expires often

2012-02-21 Thread Vtrio Develop
Hello Anash,

Thank you for your reply. I am not sure, this is what you need. 

AdWordsUser Object ( [email:private] => [password:private] => 
[requestHeaderElements:private] => Array ( [authToken] => [userAgent] => 
AwApi-PHP-2.7.2-AdWords API Sample Web Application [clientCustomerId] => 
[clientEmail] => [developerToken] => myem...@gmail.com++INR 
[applicationToken] => ) [defaultServer:private] => 
https://adwords-sandbox.google.com [defaultVersion:private] => v201109 
[logsDirectory:private] => /mydocroot/Oauth/Google/Api/Ads/AdWords/Lib 
[soapCompression:private] => 1 [soapCompressionLevel:private] => 1 
[wsdlCache:private] => 0 [authServer:private] => https://www.google.com 
[oauthInfo:private] => Array ( [oauth_consumer_key] => my_oauth_consumerkey 
[oauth_consumer_secret] => myconsumersecret [oauth_token] => 1/myoauthtoken 
[oauth_token_secret] => myoauthsecret ) [oauthHandler:private] => 
AndySmithOAuthHandler Object ( ) ) 

I have download Oauth code from here  
http://code.google.com/p/google-api-adwords-php/downloads/list?can=2&q=Apps%3DSampleWebapp

I am not sure how to generate xml and initialize the sandbox by making a 
call to GetAllCampaigns?
Can you give me a brief idea about it please?

Thanks,
Vipin

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


Re: Oauth token expires often

2012-02-21 Thread Vtrio Develop
Hello,

Now I am getting,

An error has occurred: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro

Please any one help.

thanks,
Vipin

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


Re: Oauth token expires often

2012-02-20 Thread Vtrio Develop
Hello Chirag,

Thank you very much. Yes it is "Authenticated via Oauth". 
In auth.ini, we need to add only developerToken right. It is same as our 
myem...@gmail.com++USD right?

But If I try using my email and password method, I am getting all the 
campaigns. But Oauth method, it is authenticated but not return any 
campaigns.  Do you know the reason?

Also I have edited this line with correct data

 $oauthInfo = array('oauth_consumer_key' => 'my consumer key',
'oauth_consumer_secret' => 'my consumer secret');

But still I am not getting any result. 

Can you give me an idea about how to get oauth_consumer_key and 
oauth_consumer_secret. I am not sure I generated it in correct way. 

Please help and thank you in advance.

Thanks,
Vipin

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


Re: Oauth token expires often

2012-02-20 Thread Vtrio Develop
Hello Chirag,

Can you please tell me, is Oauth work with sandbox account?

and if you can please provide the changes you made in the code it to work.

I am facing many issue with it. 

Please help.

Thanks,
Vipin

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


Re: Oauth token expires often

2012-02-20 Thread Vtrio Develop
Hello Craig,

Can you please tell me, is Oauth work with sandbox account?

and if you can please provide the changes you made in the code it to work.

I am facing many issue with it. 

Please help.

Thanks,
Vipin

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


Re: Adwords sandbox API via OAuth and PHP Library

2012-02-20 Thread Vtrio Develop
Hello all,

These are the issues I am facing and exactly these are the questions I want 
to ask. 

Please any one reply.

Can we use Oauth with sandbox account? (Important question)

Thanks,
Vipin

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


Re: adwords report downloads through OAuth

2012-02-20 Thread Vtrio Develop
Hello Danial,

Thank you very much for your reply.

Can I do it with sandbox account?  

I have created oauth_consumer_key and  oauth_consumer_secret using my 
domain. And I added the values here

 $oauthInfo = array('oauth_consumer_key' => 'anonymous','oauth_consumer_secret' 
=> 'anonymous');
After change it and took the UseOAuth.php, I am getting internal server error.

For that I have commented this line,

if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
return;
}

without commenting above line, I am not getting any output.

Can you please let me know, what are the changes need to make in files to work 
Oauth?

Also I am not getting much help about it.
Thanks again.
Vipin



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


adwords report downloads through OAuth

2012-02-18 Thread Vtrio Develop
Hello all,

I can't find the adwords report downloads  through OAuth php script.
Please anyone help me.
here
http://adwordsapi.blogspot.in/2011/10/adwords-api-now-fully-supports-oauth.html
php link directing to page not found page.


Please anyone help.

Thanks,
Vipin

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