Re: Just Started and Completely Lost

2011-01-07 Thread AdWords API Advisor
Hi Sarah,

I haven't been able to replicate this problem locally, and there is
only sparse information available about that error.  There is another
thread on this forum discussing the problem, and you might find some
help there:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/6d7d998c2deaccbd/

Best,
- Eric

On Jan 5, 10:59 pm, SarahSmith sys...@discoveryrentals.com.au wrote:
 I've still not been able to run anything in the API.

 I'm currently getting a SOAP error:
 SOAP-ERROR: Parsing WSDL: Couldn't load from
 'https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignSer...
 : Start tag expected, '' not found

 For the above example, the line of code causing the error is simply the
 soapclient constructor call:
 parent::__construct($wsdl, $options);

 Using the below code, I get a valid XML file:
 $data =
 file_get_contents(https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignSer...;);
 $sxe = simplexml_load_string($data);

 I don't know what the difference is!

 Is it possible the sandbox server is asking for a password or some other
 pop-up window is being returned to the soapclient call and thus breaking the
 XML?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2011-01-05 Thread SarahSmith
I've still not been able to run anything in the API.

I'm currently getting a SOAP error:
SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignService?wsdl'
 
: Start tag expected, '' not found

For the above example, the line of code causing the error is simply the 
soapclient constructor call:
parent::__construct($wsdl, $options);

Using the below code, I get a valid XML file:
$data = 
file_get_contents(https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignService?wsdl;);
$sxe = simplexml_load_string($data);

I don't know what the difference is!

Is it possible the sandbox server is asking for a password or some other 
pop-up window is being returned to the soapclient call and thus breaking the 
XML?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2010-12-17 Thread AdWords API Advisor
Hi Sarah,

The GetAllCampaigns.php example will call CampaignService.get(), but
perhaps there is a problem with your PHP environment that is
preventing them from running.  As far as I know all emails from the
new reporting system will only return a link in the email, not an
attachment.

Best,
- Eric

On Dec 16, 8:22 pm, SarahSmith sys...@discoveryrentals.com.au wrote:
 Thanks, I have read that but like 99% of Google information, it isn't clear
 to me.

 Specifically this part:

 To create a sandbox account, send a 
 gethttp://code.google.com/apis/adwords/docs/reference/latest/CampaignSer...request
  to the sandbox version of CampaignService, using the WSDL
 locationhttp://code.google.com/apis/adwords/docs/sandbox.html#wsdl-locationsand
  sandbox
 headershttp://code.google.com/apis/adwords/docs/sandbox.html#request-headersas
  described below. This initial call to the sandbox creates an MCC sandbox
 account, along with five client accounts, for the email address you
 specified. Your sandbox account and its client accounts start out empty.

 Sounds so easy but I see no get example in the examples directory of the
 PHP client library? I have tried the GetAllCampaigns and CheckCampaigns but
 they just display a  blank page with no error or success messages.

 Can I just give my account details to someone and have the sandbox account
 set up for me?

 Can I just confirm there's definitely no way I can continue to get our
 reports sent to us via email attachment like we were previously doing? Is
 there any chance this functionality will be restored (for a fee if needs
 be)?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2010-12-15 Thread AdWords API Advisor
Hi Sarah,

Information on using the sandbox is available here:

  http://code.google.com/apis/adwords/docs/sandbox.html

Best,
- Eric

On Dec 13, 9:25 pm, SarahSmith sys...@discoveryrentals.com.au wrote:
 I don't get an error message any more but I don't get anything else either
 (just a blank page, no error or success message).

 Some articles I read suggested that there was some special call that you
 have to make before using the sandbox. Is this call in the examples? If I
 didn't make it before trying the other examples is the sandbox broken for my
 account now?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2010-12-13 Thread SarahSmith
I don't get an error message any more but I don't get anything else either 
(just a blank page, no error or success message).

Some articles I read suggested that there was some special call that you 
have to make before using the sandbox. Is this call in the examples? If I 
didn't make it before trying the other examples is the sandbox broken for my 
account now?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2010-12-12 Thread SarahSmith
Thanks Eric, seems I got confused with between the email I signed up
with and the (different) one I had to give for contact.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Just Started and Completely Lost

2010-12-08 Thread AdWords API Advisor
Hi Sarah,

The error BadAuthentication indicates that your username and/or
password isn't correct:

http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#Errors

Please ensure you've configured your auth.ini correctly.

Best,
- Eric Koleda, AdWords API Team

On Dec 7, 12:47 am, SarahSmith sys...@discoveryrentals.com.au wrote:
 So, I've been using AdWords for a long time but just recently created a
 new account so I could get a MCC account and use the API. I have a
 developer token and have set up billing. I then downloaded and
 installed the PHP client library but here is where I'm stuck.

 I've watched the video on getting started with the sandbox and followed
 the setup (change auth.ini and settings.ini) but no matter which
 example I try, I get Failed to get authToken. Reason:
 BadAuthentication until it switches to the captcha error.

 I've tried reading articles and documentation but everything indicates
 that what I've done should work.

 What do I do now?

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


Just Started and Completely Lost

2010-12-06 Thread SarahSmith
So, I've been using AdWords for a long time but just recently created a
new account so I could get a MCC account and use the API. I have a
developer token and have set up billing. I then downloaded and
installed the PHP client library but here is where I'm stuck.

I've watched the video on getting started with the sandbox and followed
the setup (change auth.ini and settings.ini) but no matter which
example I try, I get Failed to get authToken. Reason:
BadAuthentication until it switches to the captcha error.

I've tried reading articles and documentation but everything indicates
that what I've done should work.

What do I do now?

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