Negative keyword lists

2011-01-10 Thread domJ
Hi,

how can i use the "Negative keyword 
lists"-function
 
(in Control Panel and library) with the api? 

thanks.

dom

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


Hello, were're getting UNEXPECTED_INTERNAL_API_ERROR in Sandbox using C# AdWords API library.

2010-11-22 Thread domJ
Hello,
I get an UNEXPECTED_INTERNAL_API_ERROR in the Sandbox Account Viewer.

Dominic

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


UserListService

2010-10-07 Thread domJ
Hi,


i cannot find a way to get the google_conversion_label or the
inclusion-script for the audiences (UserList). Where can i find it?


Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems with UserListServic

2010-10-01 Thread domJ
where can i see the request id?

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


Problems with UserListServic

2010-09-30 Thread domJ
Hi,


every time I try to add a UserList i get the following error:

Fatal error: Uncaught SoapFault exception: [soap:Server] Unmarshalling
Error: Unable to create an instance of
com.google.ads.api.services.campaignmgmt.userlist.v201008.jaxbgen.UserList
in
E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handler.php:104
Stack trace: #0 [internal function]: SoapClient->__call('mutate',
Array) #1
E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handler.php(104):
SoapClient->mutate(Array) #2
E:\wamp\www\grt\app\plugins\adwords\controllers\adwords_audiences_controller.php(41):
AudiencesHandlerComponent->addAudience() #3 [internal function]:
AdwordsAudiencesController->add() #4
E:\wamp\www\grt\cake\dispatcher.php(204): call_user_func_array(Array,
Array) #5 E:\wamp\www\grt\cake\dispatcher.php(171):
Dispatcher->_invoke(Object(AdwordsAudiencesController), Array) #6
E:\wamp\www\grt\app\webroot\index.php(83): Dispatcher->dispatch() #7
{main} thrown in
E:\wamp\www\grt\app\plugins\adwords\controllers\components\audiences_handler.php
on line 104

What is the error? Here is my code (without the servicedeclaration)

// Create operations. $userList = array( 'name' => 'das ist mein
title', 'description' => 'Hier kommt ueblicher Weise eine kleine
Beschreibung zur Liste rein.', 'status' => 'OPEN', 'membershipLifeSpan'
=> '540', 'type' => 'REMARKETING', ); $operation = array('operator'
=> 'ADD', 'operand' => $userList); $operations = array($operation);
$result = $userListService->mutate(array(array('operator'
=> 'ADD','operand' => $userList)));


Thanks for help.


DomJ


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


API Remarketing

2010-09-30 Thread domJ
Hi,

I'm happy to see that i can manage the userLists with the api now.
When will the PHP Client Library getting updated with that feature?

Thanks.

domJ

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2010-07-28 Thread domJ
I get the [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @] also when
I try to see the keywords or ads with the SandboxViewer.

On Jul 28, 10:26 am, Wilrik Mook  wrote:
> I too have seen this error occasionally, containing the exact same
> Java stacktrace provided by ojak.
> I hadn't noticed before there was a topic about this issue, but about
> 2 weeks ago I sent an email to the AdWords API Advisor email address,
> because I thought the stacktrace might be a bit too much to post here.
> So, just confirming this isn't a unique issue.
> Also, I have had the timeout error a few times, but it only seems to
> occur while working on my Windows dev box and not while the
> application runs on my Linux server (using the Ruby client lib). But
> this could be coincidence.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: sandbox fix?

2010-07-28 Thread domJ
Hi,

I get the same error when I try to get the AdGroupCriteria.

On Jul 28, 2:04 pm, "i...@visualclicks.de" 
wrote:
> hi, the method getalladgroupcriteria returns
> UNEXPECTED_INTERNAL_API_ERROR...
> any ideas when it will be fixed?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BadAuthentication v200909 Sandbox

2010-06-09 Thread domJ
I think so. If you activate the soap, curl and openssl extension it
should work. WampServer is very small and I think the problem is that
Xampp has an extension (or something like) which doesnt agree with the
AdwordsPHPClientLibrary

On 9 Jun., 12:10, ramonpoli  wrote:
> al right so, do you think if I install WampServer as well iis gonna
> work?
>
> On Jun 9, 9:16 am, domJ  wrote:
>
>
>
> > Hi,
>
> > first I thought the problem is WINDOWS but now I think there is
> > something wrong with XAMPP. I tried WAMPSERVER and now everything runs
> > correctly.
>
> > On 8 Jun., 22:45, ramonpoli  wrote:
>
> > > I have a similar error and nobody replied to me in my other post, I do
> > > everything as is said in the readme file but I can't make it work!
>
> > > On Jun 8, 8:49 pm, domJ  wrote:
>
> > > > Ok. Now I found out that the problem occur only on localhost with
> > > > Xampp. On my debian-server everything is fine.
>
> > > > But I dont know why...
>
> > > > On 8 Jun., 21:23, domJ  wrote:
>
> > > > > ok. I ran it. Here the response:
>
> > > > > Fatal error: Uncaught exception 'AuthTokenException' with message
> > > > > 'Failed to get authToken. Reason: BadAuthentication' in 
> > > > > D:\xampp\htdocs
> > > > > \testprojects\adwords\AdWords\src\Google\Api\Ads\Common\Util
> > > > > \AuthToken.php:88 Stack trace: #0 D:\xampp\htdocs\testprojects\adwords
> > > > > \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(503):
> > > > > AuthToken->GetAuthToken() #1 D:\xampp\htdocs\testprojects\adwords
> > > > > \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(141):
> > > > > AdWordsUser->RegenerateAuthToken() #2 D:\xampp\htdocs\testprojects
> > > > > \adwords\index.php(5): AdWordsUser->__construct() #3 {main} thrown in
> > > > > D:\xampp\htdocs\testprojects\adwords\AdWords\src\Google\Api\Ads\Common
> > > > > \Util\AuthToken.php  on line 88
>
> > > > > Reason is again the BadAuthentication.
>
> > > > > On 8 Jun., 20:43, ramonpoli  wrote:
>
> > > > > > yes but apparently before run that example you have to use this
> > > > > > initialization:
> > > > > > $path = dirname(__FILE__) . '/AdWords/src';
> > > > > > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> > > > > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
> > > > > >    $user = new AdWordsUser();
> > > > > >    // Log SOAP XML request and response.
> > > > > >   $user->LogDefaults();
> > > > > >   // Get the CampaignService.
> > > > > >    $campaignService = $user->GetCampaignService('v200909','https://
> > > > > > adwords-sandbox.google.com');
>
> > > > > > are you actually doing it before calling the getAllCAmpaigns 
> > > > > > example?
>
> > > > > > On Jun 8, 1:14 pm, kondalarao yarragunta 
> > > > > > wrote:
>
> > > > > > > HI,
>
> > > > > > >  I tried to run the PHP ClientLibrary(aw_api_php_lib_2.2.0) on my 
> > > > > > > localhost.
> > > > > > > I changed the
> > > > > > > auth.ini like that:
>
> > > > > > > email = "myacco...@google.com"
> > > > > > > password = "mypassword"
> > > > > > > userAgent = "My Sandbox API Tool"
> > > > > > > applicationToken = "ignored"
> > > > > > > developerToken = "myacco...@google.com++usd"
>
> > > > > > > ; Uncomment to make requests against a client account.
> > > > > > > clientId = 
> > > > > > > "client_1++myacco...@google.com
> > > > > > > "
>
> > > > > > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; 
> > > > > > > in the
> > > > > > > file settings.ini
>
> > > > > > > Now when I try to run
> > > > > > > aw_api_php_lib_2.2.0/examples/v200909/GetAllCampaigns.php i got 
> > > > > > > the
> > > > > > > following error:
>
> > > > > > > AuthTokenException Object ( [error:AuthTokenExceptio

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread domJ
Hi,

first I thought the problem is WINDOWS but now I think there is
something wrong with XAMPP. I tried WAMPSERVER and now everything runs
correctly.

On 8 Jun., 22:45, ramonpoli  wrote:
> I have a similar error and nobody replied to me in my other post, I do
> everything as is said in the readme file but I can't make it work!
>
> On Jun 8, 8:49 pm, domJ  wrote:
>
>
>
> > Ok. Now I found out that the problem occur only on localhost with
> > Xampp. On my debian-server everything is fine.
>
> > But I dont know why...
>
> > On 8 Jun., 21:23, domJ  wrote:
>
> > > ok. I ran it. Here the response:
>
> > > Fatal error: Uncaught exception 'AuthTokenException' with message
> > > 'Failed to get authToken. Reason: BadAuthentication' in D:\xampp\htdocs
> > > \testprojects\adwords\AdWords\src\Google\Api\Ads\Common\Util
> > > \AuthToken.php:88 Stack trace: #0 D:\xampp\htdocs\testprojects\adwords
> > > \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(503):
> > > AuthToken->GetAuthToken() #1 D:\xampp\htdocs\testprojects\adwords
> > > \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(141):
> > > AdWordsUser->RegenerateAuthToken() #2 D:\xampp\htdocs\testprojects
> > > \adwords\index.php(5): AdWordsUser->__construct() #3 {main} thrown in
> > > D:\xampp\htdocs\testprojects\adwords\AdWords\src\Google\Api\Ads\Common
> > > \Util\AuthToken.php  on line 88
>
> > > Reason is again the BadAuthentication.
>
> > > On 8 Jun., 20:43, ramonpoli  wrote:
>
> > > > yes but apparently before run that example you have to use this
> > > > initialization:
> > > > $path = dirname(__FILE__) . '/AdWords/src';
> > > > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> > > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
> > > >    $user = new AdWordsUser();
> > > >    // Log SOAP XML request and response.
> > > >   $user->LogDefaults();
> > > >   // Get the CampaignService.
> > > >    $campaignService = $user->GetCampaignService('v200909','https://
> > > > adwords-sandbox.google.com');
>
> > > > are you actually doing it before calling the getAllCAmpaigns example?
>
> > > > On Jun 8, 1:14 pm, kondalarao yarragunta 
> > > > wrote:
>
> > > > > HI,
>
> > > > >  I tried to run the PHP ClientLibrary(aw_api_php_lib_2.2.0) on my 
> > > > > localhost.
> > > > > I changed the
> > > > > auth.ini like that:
>
> > > > > email = "myacco...@google.com"
> > > > > password = "mypassword"
> > > > > userAgent = "My Sandbox API Tool"
> > > > > applicationToken = "ignored"
> > > > > developerToken = "myacco...@google.com++usd"
>
> > > > > ; Uncomment to make requests against a client account.
> > > > > clientId = 
> > > > > "client_1++myacco...@google.com
> > > > > "
>
> > > > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
> > > > > file settings.ini
>
> > > > > Now when I try to run
> > > > > aw_api_php_lib_2.2.0/examples/v200909/GetAllCampaigns.php i got the
> > > > > following error:
>
> > > > > AuthTokenException Object ( [error:AuthTokenException:private] =>
> > > > > BadAuthentication [url:AuthTokenException:private] =>
> > > > > [captchaToken:AuthTokenException:private] =>
> > > > > [captchaUrl:AuthTokenException:private] => [message:protected] => 
> > > > > Failed to
> > > > > get authToken. Reason: BadAuthentication [string:Exception:private] =>
> > > > > [code:protected] => 0 [file:protected] =>
> > > > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\Common\Util\AuthTok
> > > > >  en.php
> > > > > [line:protected] => 88 [trace:Exception:private] => Array ( [0] => 
> > > > > Array (
> > > > > [file] =>
> > > > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\AdWords\Lib\AdWords
> > > > >  User.php
> > > > > [line] => 503 [function] => GetAuthToken [class] => AuthToken [type] 
> > > > > => ->
> > > > > [args] => Array ( ) ) [1] => Array ( [file] =>
> &

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
Ok. Now I found out that the problem occur only on localhost with
Xampp. On my debian-server everything is fine.

But I dont know why...

On 8 Jun., 21:23, domJ  wrote:
> ok. I ran it. Here the response:
>
> Fatal error: Uncaught exception 'AuthTokenException' with message
> 'Failed to get authToken. Reason: BadAuthentication' in D:\xampp\htdocs
> \testprojects\adwords\AdWords\src\Google\Api\Ads\Common\Util
> \AuthToken.php:88 Stack trace: #0 D:\xampp\htdocs\testprojects\adwords
> \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(503):
> AuthToken->GetAuthToken() #1 D:\xampp\htdocs\testprojects\adwords
> \AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(141):
> AdWordsUser->RegenerateAuthToken() #2 D:\xampp\htdocs\testprojects
> \adwords\index.php(5): AdWordsUser->__construct() #3 {main} thrown in
> D:\xampp\htdocs\testprojects\adwords\AdWords\src\Google\Api\Ads\Common
> \Util\AuthToken.php  on line 88
>
> Reason is again the BadAuthentication.
>
> On 8 Jun., 20:43, ramonpoli  wrote:
>
>
>
> > yes but apparently before run that example you have to use this
> > initialization:
> > $path = dirname(__FILE__) . '/AdWords/src';
> > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
> >    $user = new AdWordsUser();
> >    // Log SOAP XML request and response.
> >   $user->LogDefaults();
> >   // Get the CampaignService.
> >    $campaignService = $user->GetCampaignService('v200909','https://
> > adwords-sandbox.google.com');
>
> > are you actually doing it before calling the getAllCAmpaigns example?
>
> > On Jun 8, 1:14 pm, kondalarao yarragunta 
> > wrote:
>
> > > HI,
>
> > >  I tried to run the PHP ClientLibrary(aw_api_php_lib_2.2.0) on my 
> > > localhost.
> > > I changed the
> > > auth.ini like that:
>
> > > email = "myacco...@google.com"
> > > password = "mypassword"
> > > userAgent = "My Sandbox API Tool"
> > > applicationToken = "ignored"
> > > developerToken = "myacco...@google.com++usd"
>
> > > ; Uncomment to make requests against a client account.
> > > clientId = 
> > > "client_1++myacco...@google.com
> > > "
>
> > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
> > > file settings.ini
>
> > > Now when I try to run
> > > aw_api_php_lib_2.2.0/examples/v200909/GetAllCampaigns.php i got the
> > > following error:
>
> > > AuthTokenException Object ( [error:AuthTokenException:private] =>
> > > BadAuthentication [url:AuthTokenException:private] =>
> > > [captchaToken:AuthTokenException:private] =>
> > > [captchaUrl:AuthTokenException:private] => [message:protected] => Failed 
> > > to
> > > get authToken. Reason: BadAuthentication [string:Exception:private] =>
> > > [code:protected] => 0 [file:protected] =>
> > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\Common\Util\AuthTok
> > >  en.php
> > > [line:protected] => 88 [trace:Exception:private] => Array ( [0] => Array (
> > > [file] =>
> > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\AdWords\Lib\AdWords
> > >  User.php
> > > [line] => 503 [function] => GetAuthToken [class] => AuthToken [type] => ->
> > > [args] => Array ( ) ) [1] => Array ( [file] =>
> > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\AdWords\Lib\AdWords
> > >  User.php
> > > [line] => 141 [function] => RegenerateAuthToken [class] => AdWordsUser
> > > [type] => -> [args] => Array ( ) ) [2] => Array ( [file] =>
> > > C:\xampp\htdocs\aw_api_php_lib_2.2.0\examples\v200909\GetAllCampaigns.php
> > > [line] => 46 [function] => __construct [class] => AdWordsUser [type] => ->
> > > [args] => Array ( ) ) ) [previous:Exception:private] => )
>
> > > The account-information are correct. I tried it many times. And I can
> > > use the Sandbox Account View without any auth-error.
>
> > > Thank you for any help please,
>
> > > Thanks and Regards,
> > > Y.Kondalarao.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
ok. I ran it. Here the response:

Fatal error: Uncaught exception 'AuthTokenException' with message
'Failed to get authToken. Reason: BadAuthentication' in D:\xampp\htdocs
\testprojects\adwords\AdWords\src\Google\Api\Ads\Common\Util
\AuthToken.php:88 Stack trace: #0 D:\xampp\htdocs\testprojects\adwords
\AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(503):
AuthToken->GetAuthToken() #1 D:\xampp\htdocs\testprojects\adwords
\AdWords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php(141):
AdWordsUser->RegenerateAuthToken() #2 D:\xampp\htdocs\testprojects
\adwords\index.php(5): AdWordsUser->__construct() #3 {main} thrown in
D:\xampp\htdocs\testprojects\adwords\AdWords\src\Google\Api\Ads\Common
\Util\AuthToken.php  on line 88

Reason is again the BadAuthentication.

On 8 Jun., 20:43, ramonpoli  wrote:
> yes but apparently before run that example you have to use this
> initialization:
> $path = dirname(__FILE__) . '/AdWords/src';
> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>    $user = new AdWordsUser();
>    // Log SOAP XML request and response.
>   $user->LogDefaults();
>   // Get the CampaignService.
>    $campaignService = $user->GetCampaignService('v200909','https://
> adwords-sandbox.google.com');
>
> are you actually doing it before calling the getAllCAmpaigns example?
>
> On Jun 8, 1:14 pm, kondalarao yarragunta 
> wrote:
>
>
>
> > HI,
>
> >  I tried to run the PHP ClientLibrary(aw_api_php_lib_2.2.0) on my localhost.
> > I changed the
> > auth.ini like that:
>
> > email = "myacco...@google.com"
> > password = "mypassword"
> > userAgent = "My Sandbox API Tool"
> > applicationToken = "ignored"
> > developerToken = "myacco...@google.com++usd"
>
> > ; Uncomment to make requests against a client account.
> > clientId = 
> > "client_1++myacco...@google.com
> > "
>
> > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
> > file settings.ini
>
> > Now when I try to run
> > aw_api_php_lib_2.2.0/examples/v200909/GetAllCampaigns.php i got the
> > following error:
>
> > AuthTokenException Object ( [error:AuthTokenException:private] =>
> > BadAuthentication [url:AuthTokenException:private] =>
> > [captchaToken:AuthTokenException:private] =>
> > [captchaUrl:AuthTokenException:private] => [message:protected] => Failed to
> > get authToken. Reason: BadAuthentication [string:Exception:private] =>
> > [code:protected] => 0 [file:protected] =>
> > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\Common\Util\AuthTok 
> > en.php
> > [line:protected] => 88 [trace:Exception:private] => Array ( [0] => Array (
> > [file] =>
> > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\AdWords\Lib\AdWords 
> > User.php
> > [line] => 503 [function] => GetAuthToken [class] => AuthToken [type] => ->
> > [args] => Array ( ) ) [1] => Array ( [file] =>
> > C:\xampp\htdocs\aw_api_php_lib_2.2.0\src\Google\Api\Ads\AdWords\Lib\AdWords 
> > User.php
> > [line] => 141 [function] => RegenerateAuthToken [class] => AdWordsUser
> > [type] => -> [args] => Array ( ) ) [2] => Array ( [file] =>
> > C:\xampp\htdocs\aw_api_php_lib_2.2.0\examples\v200909\GetAllCampaigns.php
> > [line] => 46 [function] => __construct [class] => AdWordsUser [type] => ->
> > [args] => Array ( ) ) ) [previous:Exception:private] => )
>
> > The account-information are correct. I tried it many times. And I can
> > use the Sandbox Account View without any auth-error.
>
> > Thank you for any help please,
>
> > Thanks and Regards,
> > Y.Kondalarao.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
No, that's the Problem. I always get "BadAuthentication". But the
account-information are definitively correct.

On 8 Jun., 17:37, ramonpoli  wrote:
> and do they work? do you get to add the campaigns and receive them?
>
> On Jun 8, 4:24 pm, domJ  wrote:
>
>
>
> > I use the "GetAllCampaigns" and "AddCampaign" example to test it.
>
> > On 8 Jun., 17:11, ramonpoli  wrote:
>
> > > yeah, have u tried with the correct initialization?:
>
> > > $path = dirname(__FILE__) . '/AdWords/src';
> > > set_include_path(get_include_path() . PATH_SEPARATOR . $path);
>
> > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>
> > >    $user = new AdWordsUser();
> > >    // Log SOAP XML request and response.
> > >   $user->LogDefaults();
>
> > >   // Get the CampaignService.
> > >    $campaignService = $user->GetCampaignService('v200909','https://
> > > adwords-sandbox.google.com');
>
> > > On Jun 8, 3:33 pm, domJ  wrote:
>
> > > > Yes, I think one plus is correct.I tried both for clientId, one and
> > > > two plus. The result is "BadAuthentication" anymore.
>
> > > > On 8 Jun., 16:09, ramonpoli  wrote:
>
> > > > > yeah, the same happens to me, I initialize everything like domJ except
> > > > > the clientId: I only put one + symbol instead of two:
> > > > > client_1+myacco...@google.com
> > > > > I do not get the error on the AdWordsUser call but I get it when
> > > > > trying to add a campaign.
> > > > > can somebody help us please
>
> > > > > On Jun 8, 9:36 am, domJ  wrote:
>
> > > > > > Hi,
>
> > > > > > I tried to run the PHP ClientLibrary on my localhost. I changed the
> > > > > > auth.ini like that:
>
> > > > > > email = "myacco...@google.com"
> > > > > > password = "mypassword"
> > > > > > userAgent = "My Sandbox API Tool"
> > > > > > applicationToken = "ignored"
> > > > > > developerToken = "myacco...@google.com++eur"
>
> > > > > > ; Uncomment to make requests against a client account.
> > > > > > clientId = "client_1++myacco...@google.com"
>
> > > > > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in 
> > > > > > the
> > > > > > file settings.ini
>
> > > > > > Now when I try to create an instance of AdWordsUser() I get the
> > > > > > following:
>
> > > > > > uthTokenException Object ( [error:AuthTokenException:private] =>
> > > > > > BadAuthentication [url:AuthTokenException:private] =>
> > > > > > [captchaToken:AuthTokenException:private] =>
> > > > > > [captchaUrl:AuthTokenException:private] => [message:protected] =>
> > > > > > Failed to get authToken. Reason: BadAuthentication
> > > > > > [string:Exception:private] => [code:protected] => 0 
>
> > > > > > The account-information are correct. I tried it many times. And I 
> > > > > > can
> > > > > > use the Sandbox Account View without any auth-error.
>
> > > > > > Thank you for any help and sorry for my english.
>
> > > > > > DomJ

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem with Adwords Sandbox API

2010-06-08 Thread domJ
This thread can be ignored: 
http://groups.google.com/group/adwords-api/browse_thread/thread/ddfbb5ba39d204b7

On 7 Jun., 17:34, domJ  wrote:
> Hi,
>
> I try to use the AdWords Sandbox API on my localhost (Apache) with the
> PHP Client Library. The auth.ini looks like
>
> email = "myemail"
> password = "mypass"
> userAgent = "The Sandbox API Try"
> applicationToken = "ignored"
> developerToken = "myemail++USD"
>
> ; Uncomment to make requests against a client account.
> clientId = "client_1++myemail"
>
> I always get the following answer, when I run one of the examples:
>
> AuthTokenException Object ( [error:AuthTokenException:private] =>
> BadAuthentication [url:AuthTokenException:private] =>
> [captchaToken:AuthTokenException:private] =>
> [captchaUrl:AuthTokenException:private] => [message:protected] =>
> Failed to get authToken. Reason: BadAuthentication
> [string:Exception:private] => [code:protected] => 0
>
> I dont understand why!? Password and Email are definitively correct.
>
> When I use the Sandbox Account View everything is fine.
>
> Thank you for help and sorry for my english ;-)
>
> DomJ

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
I use the "GetAllCampaigns" and "AddCampaign" example to test it.

On 8 Jun., 17:11, ramonpoli  wrote:
> yeah, have u tried with the correct initialization?:
>
> $path = dirname(__FILE__) . '/AdWords/src';
> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
>
> require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>
>    $user = new AdWordsUser();
>    // Log SOAP XML request and response.
>   $user->LogDefaults();
>
>   // Get the CampaignService.
>    $campaignService = $user->GetCampaignService('v200909','https://
> adwords-sandbox.google.com');
>
> On Jun 8, 3:33 pm, domJ  wrote:
>
>
>
> > Yes, I think one plus is correct.I tried both for clientId, one and
> > two plus. The result is "BadAuthentication" anymore.
>
> > On 8 Jun., 16:09, ramonpoli  wrote:
>
> > > yeah, the same happens to me, I initialize everything like domJ except
> > > the clientId: I only put one + symbol instead of two:
> > > client_1+myacco...@google.com
> > > I do not get the error on the AdWordsUser call but I get it when
> > > trying to add a campaign.
> > > can somebody help us please
>
> > > On Jun 8, 9:36 am, domJ  wrote:
>
> > > > Hi,
>
> > > > I tried to run the PHP ClientLibrary on my localhost. I changed the
> > > > auth.ini like that:
>
> > > > email = "myacco...@google.com"
> > > > password = "mypassword"
> > > > userAgent = "My Sandbox API Tool"
> > > > applicationToken = "ignored"
> > > > developerToken = "myacco...@google.com++eur"
>
> > > > ; Uncomment to make requests against a client account.
> > > > clientId = "client_1++myacco...@google.com"
>
> > > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
> > > > file settings.ini
>
> > > > Now when I try to create an instance of AdWordsUser() I get the
> > > > following:
>
> > > > uthTokenException Object ( [error:AuthTokenException:private] =>
> > > > BadAuthentication [url:AuthTokenException:private] =>
> > > > [captchaToken:AuthTokenException:private] =>
> > > > [captchaUrl:AuthTokenException:private] => [message:protected] =>
> > > > Failed to get authToken. Reason: BadAuthentication
> > > > [string:Exception:private] => [code:protected] => 0 
>
> > > > The account-information are correct. I tried it many times. And I can
> > > > use the Sandbox Account View without any auth-error.
>
> > > > Thank you for any help and sorry for my english.
>
> > > > DomJ

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
Yes, I think one plus is correct.I tried both for clientId, one and
two plus. The result is "BadAuthentication" anymore.


On 8 Jun., 16:09, ramonpoli  wrote:
> yeah, the same happens to me, I initialize everything like domJ except
> the clientId: I only put one + symbol instead of two:
> client_1+myacco...@google.com
> I do not get the error on the AdWordsUser call but I get it when
> trying to add a campaign.
> can somebody help us please
>
> On Jun 8, 9:36 am, domJ  wrote:
>
>
>
> > Hi,
>
> > I tried to run the PHP ClientLibrary on my localhost. I changed the
> > auth.ini like that:
>
> > email = "myacco...@google.com"
> > password = "mypassword"
> > userAgent = "My Sandbox API Tool"
> > applicationToken = "ignored"
> > developerToken = "myacco...@google.com++eur"
>
> > ; Uncomment to make requests against a client account.
> > clientId = "client_1++myacco...@google.com"
>
> > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
> > file settings.ini
>
> > Now when I try to create an instance of AdWordsUser() I get the
> > following:
>
> > uthTokenException Object ( [error:AuthTokenException:private] =>
> > BadAuthentication [url:AuthTokenException:private] =>
> > [captchaToken:AuthTokenException:private] =>
> > [captchaUrl:AuthTokenException:private] => [message:protected] =>
> > Failed to get authToken. Reason: BadAuthentication
> > [string:Exception:private] => [code:protected] => 0 
>
> > The account-information are correct. I tried it many times. And I can
> > use the Sandbox Account View without any auth-error.
>
> > Thank you for any help and sorry for my english.
>
> > DomJ

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


BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
Hi,

I tried to run the PHP ClientLibrary on my localhost. I changed the
auth.ini like that:


email = "myacco...@google.com"
password = "mypassword"
userAgent = "My Sandbox API Tool"
applicationToken = "ignored"
developerToken = "myacco...@google.com++eur"

; Uncomment to make requests against a client account.
clientId = "client_1++myacco...@google.com"

I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com"; in the
file settings.ini

Now when I try to create an instance of AdWordsUser() I get the
following:

uthTokenException Object ( [error:AuthTokenException:private] =>
BadAuthentication [url:AuthTokenException:private] =>
[captchaToken:AuthTokenException:private] =>
[captchaUrl:AuthTokenException:private] => [message:protected] =>
Failed to get authToken. Reason: BadAuthentication
[string:Exception:private] => [code:protected] => 0 

The account-information are correct. I tried it many times. And I can
use the Sandbox Account View without any auth-error.

Thank you for any help and sorry for my english.

DomJ

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


Problem with Adwords Sandbox API

2010-06-07 Thread domJ
Hi,

I try to use the AdWords Sandbox API on my localhost (Apache) with the
PHP Client Library. The auth.ini looks like

email = "myemail"
password = "mypass"
userAgent = "The Sandbox API Try"
applicationToken = "ignored"
developerToken = "myemail++USD"

; Uncomment to make requests against a client account.
clientId = "client_1++myemail"

I always get the following answer, when I run one of the examples:

AuthTokenException Object ( [error:AuthTokenException:private] =>
BadAuthentication [url:AuthTokenException:private] =>
[captchaToken:AuthTokenException:private] =>
[captchaUrl:AuthTokenException:private] => [message:protected] =>
Failed to get authToken. Reason: BadAuthentication
[string:Exception:private] => [code:protected] => 0

I dont understand why!? Password and Email are definitively correct.

When I use the Sandbox Account View everything is fine.

Thank you for help and sorry for my english ;-)

DomJ

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