Re: Returning % values as float like 0.026166... rather than string like '2.62%' in AdHoc reporting

2012-02-16 Thread Malks
Hi Kevin,

I was picking apart an emailed report actually.

Regards,

On Feb 14, 4:03 am, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   What type of reporting were you using prior to AdHoc?  Was it v13?

 - Kevin Winter
 AdWords API Team

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


Returning % values as float like 0.026166... rather than string like '2.62%' in AdHoc reporting

2012-02-08 Thread Malks
Hi,

We had some processes that used to use the report.xml from a nightly
email. In these reports percentage values were calculated based on the
float value that was passed, e.g. CTR would be 0.026166345673022177.
Now CTR is represented as a less accurate string such as '2.62%'. Is
there any way to get the original float value similar to asking for
monetary units in micros?

Regards,

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


Enumeration values of conversionTrackingPurpose?

2012-02-08 Thread Malks
Hi,

Where are these documented?  There is this
https://groups.google.com/group/adwords-api/browse_thread/thread/9233c850ab1b82dd/cab12dbcfe5bf0cd?#cab12dbcfe5bf0cd
that says the values are Lead, Signup, Purchase, PageView or
Other but having debugged through some of our data, Lead seems to
be right but instead of PageView I see View of a key page. Which
is right? And how do I know what the others will be until I have data?

Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Enumeration values of conversionTrackingPurpose?

2012-02-08 Thread Malks
Also, related to this, the Conversions and ConversionValue fields map
to conv1PerClick and totalConvValue in the XML output respectively,
but the actual values seem to be the wrong way around (even though the
types are right, that is the conv1PerClick is an integer and
totalConvValue is a double). To explain I have the following value
from a report done in the UI.

pageViewConvManyPerClick=247

The values from the same client and date are:

conversionTrackingPurpose = View of a key page
conv1PerClick = 219
totalConvValue = 247.0

I would have thought that conv1PerClick would have had the 247 value?

Regards,

On Feb 9, 3:18 pm, Malks malko...@gmail.com wrote:
 Hi,

 Where are these documented?  There is 
 thishttps://groups.google.com/group/adwords-api/browse_thread/thread/9233...
 that says the values are Lead, Signup, Purchase, PageView or
 Other but having debugged through some of our data, Lead seems to
 be right but instead of PageView I see View of a key page. Which
 is right? And how do I know what the others will be until I have data?

 Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Enumeration values of conversionTrackingPurpose?

2012-02-08 Thread Malks
Further to this again. It seems that conversionTrackingPurpose value
is Purchase/Sale rather than just Purchase.

On Feb 9, 3:31 pm, Malks malko...@gmail.com wrote:
 Also, related to this, the Conversions and ConversionValue fields map
 to conv1PerClick and totalConvValue in the XML output respectively,
 but the actual values seem to be the wrong way around (even though the
 types are right, that is the conv1PerClick is an integer and
 totalConvValue is a double). To explain I have the following value
 from a report done in the UI.

 pageViewConvManyPerClick=247

 The values from the same client and date are:

 conversionTrackingPurpose = View of a key page
 conv1PerClick = 219
 totalConvValue = 247.0

 I would have thought that conv1PerClick would have had the 247 value?

 Regards,

 On Feb 9, 3:18 pm, Malks malko...@gmail.com wrote:







  Hi,

  Where are these documented?  There is 
  thishttps://groups.google.com/group/adwords-api/browse_thread/thread/9233...
  that says the values are Lead, Signup, Purchase, PageView or
  Other but having debugged through some of our data, Lead seems to
  be right but instead of PageView I see View of a key page. Which
  is right? And how do I know what the others will be until I have data?

  Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Getting ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange using GetClientCustomerId.php in PHP v201109

2012-02-05 Thread Malks
To answer my own question... I was running the code with the default
of today's date, but because of timezone issues here in Australia the
2012/02/05 is not a valid date as records are only going as far back
as 2012/02/04 in the US timezone where the server must be located.

On Feb 5, 6:48 pm, Malks malko...@gmail.com wrote:
 Hi,

 I am trying to use InfoService to get details of API usage but was
 having some trouble getting it to work. To help me sort it out I
 thought I would get the example to work in GetClientCustomerId.php but
 keep getting the following message using either sandbox or production.
 What am I doing wrong and how can I debug this? I've looked at the
 request and response headers and everything looks fine so not sure
 what to do next.

 Thanks,
 Malks.

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


Getting ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange using GetClientCustomerId.php in PHP v201109

2012-02-04 Thread Malks
Hi,

I am trying to use InfoService to get details of API usage but was
having some trouble getting it to work. To help me sort it out I
thought I would get the example to work in GetClientCustomerId.php but
keep getting the following message using either sandbox or production.
What am I doing wrong and how can I debug this? I've looked at the
request and response headers and everything looks fine so not sure
what to do next.

Thanks,
Malks.

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


Unaccounted increase in API activity and unaccounted payment putting account in $20K credit

2012-01-18 Thread Malks
Hi,

My boss was reviewing her credit card statements and found some
unusual charges. I looked into the billing summary and have noticed
that the API activity has gone from nothing (literally, we use the API
only occasionally and haven't used it since May 2011) to hundreds of
thousands of units per day. How do we trace where this is coming from
and what do we do to stop it?

Also, possibly related there is a $20,000 payment that has put the
account into credit. Where has this payment come from? It is different
to the automatic payments that are paying off the API usage.

Regards.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Having different api budgets for different clients.

2011-03-14 Thread Malks
Thank you Anash I think that's exactly what I want.

On Feb 21, 9:25 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Anthony,

 You can use the InfoService API to find the API cost breakup for each
 of your clients. This information can then be used to charge
 individual clients. 
 Seehttp://code.google.com/apis/adwords/docs/reference/latest/InfoService...
 for details.

 Note that AdWords API Terms and Conditions allows only one developer
 token per company. Please refer 
 tohttp://code.google.com/apis/adwords/docs/terms.html
 for more details.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Feb 18, 5:25 am,Malksmalko...@gmail.com wrote:

  Hi,

  I represent an agency and have successfully done some Adwords API work
  for them.  We have a developer token for the agency itself, but if we
  want to segment the API costs between different clients is the best
  way to do this by getting a developer token for each client?  Is this
  even possible?  How do other people push the API cost back to clients
  in this situation?

  thanks,
  Anthony.

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


Having different api budgets for different clients.

2011-02-17 Thread Malks
Hi,

I represent an agency and have successfully done some Adwords API work
for them.  We have a developer token for the agency itself, but if we
want to segment the API costs between different clients is the best
way to do this by getting a developer token for each client?  Is this
even possible?  How do other people push the API cost back to clients
in this situation?

thanks,
Anthony.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 API TC not agreed

2011-01-13 Thread Malks
Hi, I'm getting the exact same error and getting frustrated by not
being able to find the TCs.  Another thread says to email account
details but can't find who to email them to???

Any ideas?

Anthony.

On Jan 13, 11:37 pm, step_dev sverdel@googlemail.com wrote:
 Hi,

 When trying to use the API I always get the following error message:

 QuotaCheckError.INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED

 Where can I find those TC in the MCC?

 Thanks and regards,

 Bastien.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 API TC not agreed

2011-01-13 Thread Malks
Found them eventually.  I went to billing preferences and was taken
through some forms that included accepting TCs.

Anthony.

On Jan 14, 11:55 am, Malks malko...@gmail.com wrote:
 Hi, I'm getting the exact same error and getting frustrated by not
 being able to find the TCs.  Another thread says to email account
 details but can't find who to email them to???

 Any ideas?

 Anthony.

 On Jan 13, 11:37 pm, step_dev sverdel@googlemail.com wrote:

  Hi,

  When trying to use the API I always get the following error message:

  QuotaCheckError.INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED

  Where can I find those TC in the MCC?

  Thanks and regards,

  Bastien.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionService questions, and code sample request

2010-06-09 Thread Malks
Hi Chris,

I was looking in the same area and did find
AddKeywordsPerformanceReportDefinition.php and DownloadReport.php in
the examples/v201003 that seem to do what you want.  I had the same
interpretation of the snippet you refer to.  I am testing against the
sandbox and the examples ran and I managed to download a file so I
think that is all goodness.

My problem is that the file comes back empty so wondering if anyone
knows if there is meant to be any data in the sandbox and if not what
do I do to generate some.

Anthony.

On Jun 9, 2:39 pm, chris h back5...@gmail.com wrote:
 That is my interpretation of the 
 pagehttp://code.google.com/apis/adwords/v2009/docs/reference/ReportDefini...

 When you send an HTTP request to this URL, the AdWords server
 generates a report based on the report definition ID you specified.
 This request is inherently synchronous, but most reports take only a
 few seconds to generate (the request will time out after 3 minutes).

 So can we create a report definition and immediate retrieve the report
 using this URL:https://adwords.google.com/api/adwords/reportdownload

 Is there any complete code samples available?

 Chris

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


Using ReportDefinitionService in sandbox what do I have to do to get sample data?

2010-06-09 Thread Malks
Hi,

I'm just starting to explore the AdWords API so not sure if I'm
missing something basic.  I have managed to add a campaign, ad group
and ads using the examples and now want to get a report back.  I'm
using the v201003 examples and have manged to run
AddKeywordsPerformanceReportDefinition.php and DownloadReport.php to
get a file back but there is no data in it.

Using sandbox what are the next steps to get a valid report.  What
I've read in the doco suggests that report data is randomly generated
so now a bit stuck on getting past an empty report.

Thanks,
Anthony.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionService questions, and code sample request

2010-06-09 Thread Malks
Further to this I tried a CAMPAIGN_PERFORMANCE_REPORT instead of the
KEYWORDS_PERFORMANCE_REPORT that is used in the example and got a row
of data back.  So I think it's all working, just a bit sparse on
data :)

Anthony.

On Jun 9, 4:24 pm, Malks malko...@gmail.com wrote:
 Hi Chris,

 I was looking in the same area and did find
 AddKeywordsPerformanceReportDefinition.php and DownloadReport.php in
 the examples/v201003 that seem to do what you want.  I had the same
 interpretation of the snippet you refer to.  I am testing against the
 sandbox and the examples ran and I managed to download a file so I
 think that is all goodness.

 My problem is that the file comes back empty so wondering if anyone
 knows if there is meant to be any data in the sandbox and if not what
 do I do to generate some.

 Anthony.

 On Jun 9, 2:39 pm, chris h back5...@gmail.com wrote:

  That is my interpretation of the 
  pagehttp://code.google.com/apis/adwords/v2009/docs/reference/ReportDefini...

  When you send an HTTP request to this URL, the AdWords server
  generates a report based on the report definition ID you specified.
  This request is inherently synchronous, but most reports take only a
  few seconds to generate (the request will time out after 3 minutes).

  So can we create a report definition and immediate retrieve the report
  using this URL:https://adwords.google.com/api/adwords/reportdownload

  Is there any complete code samples available?

  Chris

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Using ReportDefinitionService in sandbox what do I have to do to get sample data?

2010-06-09 Thread Malks
Further to this I tried a CAMPAIGN_PERFORMANCE_REPORT instead of the
KEYWORDS_PERFORMANCE_REPORT and got a row of data back.  Guess there's
just not that much in the way of report data in the sandbox.

On Jun 9, 11:08 pm, Malks malko...@gmail.com wrote:
 Hi,

 I'm just starting to explore the AdWords API so not sure if I'm
 missing something basic.  I have managed to add a campaign, ad group
 and ads using the examples and now want to get a report back.  I'm
 using the v201003 examples and have manged to run
 AddKeywordsPerformanceReportDefinition.php and DownloadReport.php to
 get a file back but there is no data in it.

 Using sandbox what are the next steps to get a valid report.  What
 I've read in the doco suggests that report data is randomly generated
 so now a bit stuck on getting past an empty report.

 Thanks,
 Anthony.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Malks
I put the ini_set just after the require_once in the examples.

I don't need the ini_set if I am running the examples from the command
line but do if I'm running the examples from a web page under Apache/
Drupal.  A bit more investigation found a
ini_set('arg_separator.output', 'amp;'); in my Drupal settings
file.

HTH,
Anthony.

On Jun 10, 3:02 am, ramonpoli ramon.polid...@googlemail.com wrote:
 the only thing that my program changes is
  ini_set('default_socket_timeout', 480);
 so, I don't think that's the problem

 On Jun 9, 5:40 pm, ramonpoli ramon.polid...@googlemail.com wrote:

  where do yo have that ini_set Anthony?

  On Jun 9, 1:35 pm, Anthony M malko...@gmail.com wrote:

   Hi,

   I was getting a similar error and discovered that I needed to do the 
   ini_set
   below (it was putting encoded amp; instead of a simple ) even though my
   phpinfo() is saying that my separator is the simple .

     ini_set('arg_separator.output', '');

   Anthony.

   On Wed, Jun 9, 2010 at 6:16 PM, domJ dominic.th...@ebuero.ag 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 ramon.polid...@googlemail.com 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 dominic.th...@ebuero.ag 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 dominic.th...@ebuero.ag 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 ramon.polid...@googlemail.com 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 kondalar...@gmail.com
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.comclient_1%2b%2bmyacco...@google.com
client_1%2b%2bmyacco...@google.comclient_1%252b%252bmyacco...@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