AdWords API Re: authentication token clarification request

2009-12-14 Thread timprepscius
I would humbly suggest that the google changes authentication tokens
(soon) to be dependent on the password for the account for which the
authentication token was requested.

Before, if somebody accidentally posted his e-mail and password and
other dev-tokens etc- he'd say, "whoa", and then go and change the
passwords on the accounts he just made writable by the world.

But now, if somebody posts his authentication token to this forum, or
elsewherez, and the world will have write access until that token
expires.  Perhaps I'm understanding this authentication token
incorrectly.  Or perhaps google will allow people to request that
their authentication tokens be invalidated?

Also, one might think that it would be ok, because actually the entity
that used that authentication token would be leaving a trail as they
did it.  However, this will not be the case with anybody who knows
what they're doing.

For instance, in the last week somebody posted their name/password to
this forum.  Hopefully he changed his password.  And hopefully he
changed his password before somebody requested an authentication
token.  And/or, hopefully his account is small enough that if somebody
did get his authentication token and put bogus ads and keywords they
would be obvious.  And not buried within a hundred different adgroups.

Anyway, blah blah blah, etc etc etc, beating dead horse here,

-tim

On Dec 14, 10:38 am, AdWords API Advisor
 wrote:
> Hi Tim,
>
> An authToken for the AdWords API is valid for two weeks, although it
> would be fine generating a new token every week or even every day.
> There is no need to wait for an authToken to expire before generating
> a new one, although requesting them too frequently (such as one per
> request) can lead to errors.
>
> I don't believe password changed invalidate an authToken, and I am not
> aware of any way to manually invalidate an authToken.
>
> In regards to errors, there isn't a comprehensive error code page in
> v2009 as there was in v13.  Instead, each service has a number of
> defined error types and reasons.  You can find these under the base
> type ApiError for each service:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/CampaignServ...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Dec 13, 10:39 pm, timprepscius  wrote:
>
>
>
> > Greetings,
>
> > The client login api specifies that authentication tokens expire in
> > "about a week."
> > What does this mean?
>
> > Does this mean, 6-8 days? 4-10 days? Or 0 -> inf?
>
> > I'd sorta actually like to just request new authentication tokens
> > every X days, and then not worry about having to figure out the errors
> > which an expired authentication token throws.  I have a feeling though
> > this will not be an option.
>
> > Also, if someone changes their password, will the authentication token
> > immediately expire?
>
> > If not, is there a way to force an authentication token to expire?
>
> > Also, is there a web page with all of the possible errors from adwords
> > 2009 enumerated.  I can't find it, although I may easily be
> > overlooking it.
>
> > Thanks in advance,
>
> > -tim

--

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-...@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 API How do I get the current balance for an account

2009-12-14 Thread adwords...@swanseacentral.com
I'm trying to find documentation or an example where I can get the
current balance for a client, but to no avail, can someone please help?

--

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-...@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 API v2009 Hack Days

2009-12-14 Thread AdWords API Advisor
Have you been putting off migrating to v2009? Not sure where to start?
Been way too busy? Well it's time to jump start your v2009 development
with some in-person help from Google. Join us in Mountain View or New
York for a full day of non-stop v2009 hacking.

To keep things interesting throughout the day, we'll do some coding
demos of the cool things you can do with v2009 that weren't possible
in v13, like asynchronous calls, dynamic ad parameters, and more.
Non-engineers beware! This is a developer-only event, and there will
be no content or activities for attendees who don't plan to write
code.

Space is limited, and signups are on a first come, first serve basis.
We ask that you limit attendees to two people per company. If you are
based in Europe please don't register yet, as a similar EMEA event is
in the works and will be announced shortly.

More information and the signup form are available here:
http://sites.google.com/site/v2009hackdays/

Best,
- Eric Koleda, AdWords API Team

--

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-...@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 API Re: Getting error code 73 when trying to implement v13...

2009-12-14 Thread AdWords API Advisor
Hi Ven,

The ID's aren't displayed anywhere in the web interface.  You can get
the campaignId by using the CampaignService.get() method to retrieve
all campaigns and find the ID of the campaign you want.  Our client
libraries include examples that print out the name and ID of the
campaigns:

  
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v200909/GetAllCampaigns.java

Best,
- Eric

On Dec 14, 11:51 am, ComputerPsi  wrote:
> How do I get the campaignID? I created the campaign in the online
> interface. It doesn't seem to say the ID anywhere...
>
> On Dec 14, 11:04 am, AdWords API Advisor
>
>
>
>  wrote:
> > Hi Ven,
>
> > A few points:
>
> > 1) If you are building a new application you should definitely be
> > using the v2009 API.  The v13 API is set to be sunset in April, so it
> > doesn't make sense to build a new application on this version of the
> > API only to have to migrate it within a few months.
>
> > 2) The client libraries are a great way to get started with the API.
> > Also, since they are released as Open Source you can build your own
> > version with exactly the features you desire.
>
> > 3) I'm not sure if it is responsible for the error, but the main
> > problem I see with your request is you are using a campaign name in
> > place of a campaign ID.  The campaignID field should be the numerical
> > id of the campaign.
>
> > Best,
> > - Eric Koleda, AdWords API Tea,
>
> > On Dec 14, 8:15 am, ComputerPsi  wrote:
>
> > > I'm trying to implement Google adwords API. I am doing this without
> > > downloading any extra SOAP libraries to keep off the extra load of
> > > bloated features. So far I made the following request:
>
> > > POST /api/adwords/v13/AdGroupService HTTP/1.0
> > > Content-Type: application/xml; charset=UTF-8
> > > Accept: application/xml; charset=UTF-8
> > > Host: adwords.google.com
> > > SOAPAction:
> > > Content-Length: 719
>
> > > 
> > >  > >     xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> > >                     xmlns="https://adwords.google.com/api/adwords/v13";>
>
> > >   
> > >     MyEmail
> > >     MyPassword
> > >     MyUserAgent
> > >     MyDeveloperToken
>
> > >     MyApplicationToken
> > >     MyClientEmail
> > >   
> > >         
> > >         
> > >         Best Chinese Medicines
> > >         
>
> > >         item93
> > >         Enabled
> > >         
> > >         
> > > 
>
> > > Unfortunately I receive the following response:
>
> > > HTTP/1.0 500 Internal Server Error
>
> > > Content-Type: text/xml; charset=utf-8
>
> > > Date: Mon, 14 Dec 2009 12:52:02 GMT
>
> > > Expires: Mon, 14 Dec 2009 12:52:02 GMT
>
> > > Cache-Control: private, max-age=0
>
> > > X-Content-Type-Options: nosniff
>
> > > X-XSS-Protection: 0
>
> > > X-Frame-Options: SAMEORIGIN
>
> > > Server: GFE/2.0
>
> > > http://schemas.xmlsoap.org/soap/
> > > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
> > >  
>
> > >   
>
> > >    soapenv:Server.userException
>
> > >    The request xml was invalid.
>
> > >    
>
> > >     https://adwords.google.com/api/adwords/v13";>
>
> > >      73
>
> > >      The request xml was invalid.
>
> > >      org.xml.sax.SAXParseException: The processing
> > > instruction target matching "[xX][mM][lL]" is not allowed. > > ns1:trigger>
>
> > >     
>
> > >    
>
> > >   
>
> > >  
>
> > > 
>
> > > Can you please tell me what is wrong?
> > > (Note - I am choosing not to use v2009 for now..)
>
> > > Thank you,
> > > Ven

--

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-...@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 API Re: Lots of 503's This Morning

2009-12-14 Thread AdWords API Advisor
Ok, great.  Thanks for letting us know, it's always appreciated!

- Eric

On Dec 14, 11:31 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> It was exclusively on the AdService get* calls ... pretty sure at this
> point it's all cleared up.
>
> Pete
>
> On Dec 14, 11:22 am, AdWords API Advisor
>
>
>
>  wrote:
> > Hi Pete,
>
> > I'll pass this on to the core engineering team just in case.  Are you
> > seeing these errors with any particular services or types of calls?
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 14, 10:20 am, "Pete Lavetsky (AdWords API Guru)"
>
> >  wrote:
> > > I assume Google is aware, but we're getting lots and lots of 503's
> > > this morning
>
> > >  faultCode: {http://xml.apache.org/axis/}HTTP
> > >  faultSubcode:
> > >  faultString: (503)Service Unavailable
> > >  faultActor:
> > >  faultNode:
> > >  faultDetail:
> > >         {}:return code:  503
>
> > >         {http://xml.apache.org/axis/}HttpErrorCode:503
>
> > > (503)Service Unavailable
> > >         at org.apache.axis.transport.http.HTTPSender.readFromSocket
> > > (HTTPSender.java:744)
> > >         at 
> > > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
> > > 144)
> > >         at org.apache.axis.strategies.InvocationStrategy.visit
> > > (InvocationStrategy.java:32)
> > >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> > >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> > >         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> > >         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > >         at org.apache.axis.client.Call.invoke(Call.java:2767)
> > >         at org.apache.axis.client.Call.invoke(Call.java:2443)
> > >         at org.apache.axis.client.Call.invoke(Call.java:2366)
> > >         at org.apache.axis.client.Call.invoke(Call.java:1812)
> > >         at AdServiceSoapBindingStub.getAd_aroundBody8
> > > (AdServiceSoapBindingStub.java:674)

--

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-...@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 API Campaign Status and ServingStatus

2009-12-14 Thread j.e.frank
I'm in the process of upgrading some code from v13 to v2009.  I'm
trying to get a handle on the meaning of a Campaign's "status" and its
"serving status".  Is there an explanation of these fields anywhere,
other than the list of the enumerated values for each?  My sense is
that "status" refers to actions taken by users to manage the campaign
(through the UI or API), and that "serving status" is really only
relevant when the status is ACTIVE.  But it would be nice to see it
documented.

I'm trying to write a method to pause all campaigns associated with an
account, and return the number of affected campaigns.  I want to pass
in to the mutate operation only those campaigns that have a chance of
running in the first place.  To do this, I am checking the status and
serving status.  Based on the possibilities for each, it seems that a
campaign that has reached its end date would be ACTIVE and ENDED
respectively, and thus I would not need to pause it.  But if a
campaign were ACTIVE and any of PENDING, NONE, or SUSPENDED, then it
is conceivable that the ads could start running at some point without
direct user intervention, and so I would want to pause it.  I am also
assuming that a campaign with a status of anything other than ACTIVE
has no chance of running.

--

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-...@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 API Re: Getting error code 73 when trying to implement v13...

2009-12-14 Thread ComputerPsi
How do I get the campaignID? I created the campaign in the online
interface. It doesn't seem to say the ID anywhere...

On Dec 14, 11:04 am, AdWords API Advisor
 wrote:
> Hi Ven,
>
> A few points:
>
> 1) If you are building a new application you should definitely be
> using the v2009 API.  The v13 API is set to be sunset in April, so it
> doesn't make sense to build a new application on this version of the
> API only to have to migrate it within a few months.
>
> 2) The client libraries are a great way to get started with the API.
> Also, since they are released as Open Source you can build your own
> version with exactly the features you desire.
>
> 3) I'm not sure if it is responsible for the error, but the main
> problem I see with your request is you are using a campaign name in
> place of a campaign ID.  The campaignID field should be the numerical
> id of the campaign.
>
> Best,
> - Eric Koleda, AdWords API Tea,
>
> On Dec 14, 8:15 am, ComputerPsi  wrote:
>
> > I'm trying to implement Google adwords API. I am doing this without
> > downloading any extra SOAP libraries to keep off the extra load of
> > bloated features. So far I made the following request:
>
> > POST /api/adwords/v13/AdGroupService HTTP/1.0
> > Content-Type: application/xml; charset=UTF-8
> > Accept: application/xml; charset=UTF-8
> > Host: adwords.google.com
> > SOAPAction:
> > Content-Length: 719
>
> > 
> >  >     xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> >                     xmlns="https://adwords.google.com/api/adwords/v13";>
>
> >   
> >     MyEmail
> >     MyPassword
> >     MyUserAgent
> >     MyDeveloperToken
>
> >     MyApplicationToken
> >     MyClientEmail
> >   
> >         
> >         
> >         Best Chinese Medicines
> >         
>
> >         item93
> >         Enabled
> >         
> >         
> > 
>
> > Unfortunately I receive the following response:
>
> > HTTP/1.0 500 Internal Server Error
>
> > Content-Type: text/xml; charset=utf-8
>
> > Date: Mon, 14 Dec 2009 12:52:02 GMT
>
> > Expires: Mon, 14 Dec 2009 12:52:02 GMT
>
> > Cache-Control: private, max-age=0
>
> > X-Content-Type-Options: nosniff
>
> > X-XSS-Protection: 0
>
> > X-Frame-Options: SAMEORIGIN
>
> > Server: GFE/2.0
>
> > http://schemas.xmlsoap.org/soap/
> > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
> >  
>
> >   
>
> >    soapenv:Server.userException
>
> >    The request xml was invalid.
>
> >    
>
> >     https://adwords.google.com/api/adwords/v13";>
>
> >      73
>
> >      The request xml was invalid.
>
> >      org.xml.sax.SAXParseException: The processing
> > instruction target matching "[xX][mM][lL]" is not allowed. > ns1:trigger>
>
> >     
>
> >    
>
> >   
>
> >  
>
> > 
>
> > Can you please tell me what is wrong?
> > (Note - I am choosing not to use v2009 for now..)
>
> > Thank you,
> > Ven

--

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-...@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 API Re: Lots of 503's This Morning

2009-12-14 Thread Pete Lavetsky (AdWords API Guru)
It was exclusively on the AdService get* calls ... pretty sure at this
point it's all cleared up.

Pete


On Dec 14, 11:22 am, AdWords API Advisor
 wrote:
> Hi Pete,
>
> I'll pass this on to the core engineering team just in case.  Are you
> seeing these errors with any particular services or types of calls?
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Dec 14, 10:20 am, "Pete Lavetsky (AdWords API Guru)"
>
>  wrote:
> > I assume Google is aware, but we're getting lots and lots of 503's
> > this morning
>
> >  faultCode: {http://xml.apache.org/axis/}HTTP
> >  faultSubcode:
> >  faultString: (503)Service Unavailable
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {}:return code:  503
>
> >         {http://xml.apache.org/axis/}HttpErrorCode:503
>
> > (503)Service Unavailable
> >         at org.apache.axis.transport.http.HTTPSender.readFromSocket
> > (HTTPSender.java:744)
> >         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
> > 144)
> >         at org.apache.axis.strategies.InvocationStrategy.visit
> > (InvocationStrategy.java:32)
> >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> >         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> >         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> >         at org.apache.axis.client.Call.invoke(Call.java:2767)
> >         at org.apache.axis.client.Call.invoke(Call.java:2443)
> >         at org.apache.axis.client.Call.invoke(Call.java:2366)
> >         at org.apache.axis.client.Call.invoke(Call.java:1812)
> >         at AdServiceSoapBindingStub.getAd_aroundBody8
> > (AdServiceSoapBindingStub.java:674)

--

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-...@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 API Re: Lots of 503's This Morning

2009-12-14 Thread AdWords API Advisor
Hi Pete,

I'll pass this on to the core engineering team just in case.  Are you
seeing these errors with any particular services or types of calls?

Best,
- Eric Koleda, AdWords API Team

On Dec 14, 10:20 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> I assume Google is aware, but we're getting lots and lots of 503's
> this morning
>
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (503)Service Unavailable
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  503
>
>         {http://xml.apache.org/axis/}HttpErrorCode:503
>
> (503)Service Unavailable
>         at org.apache.axis.transport.http.HTTPSender.readFromSocket
> (HTTPSender.java:744)
>         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
> 144)
>         at org.apache.axis.strategies.InvocationStrategy.visit
> (InvocationStrategy.java:32)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>         at org.apache.axis.client.Call.invoke(Call.java:2767)
>         at org.apache.axis.client.Call.invoke(Call.java:2443)
>         at org.apache.axis.client.Call.invoke(Call.java:2366)
>         at org.apache.axis.client.Call.invoke(Call.java:1812)
>         at AdServiceSoapBindingStub.getAd_aroundBody8
> (AdServiceSoapBindingStub.java:674)

--

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-...@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 API Re: Which Keyword stats are correct?

2009-12-14 Thread AdWords API Advisor
Hi Dutch,

This is expected, and is likely due to different parameters being used
as well as different methods of calculation between the old and new
services:

 
http://www.google.com/url?sa=D&q=http://www.google.com/support/sktool/bin/answer.py%3Fhl%3Den%26answer%3D114875&usg=AFQjCNGeldE2Cq5qDObCYPCOJoqwntSPVg

No result is more accurate than another, and all search volume data
should be used for comparison purposes with other data from the same
service.

Best,
- Eric Koleda, AdWords API Team

On Dec 11, 7:47 pm, dutchman  wrote:
> Hi,
>
> I'm using the keyword variations api to get the keyword search volume.
> I noticed that for some keywords the last month search volume between
> the adwords api and the google Adwords Keyword Tool GUI is very
> different (e.g. 100,000 vs. 10,000). Which number is more accurate?
>
> Thanks!
>
> Dutch

--

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-...@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 API Re: Getting error code 73 when trying to implement v13...

2009-12-14 Thread AdWords API Advisor
Hi Ven,

A few points:

1) If you are building a new application you should definitely be
using the v2009 API.  The v13 API is set to be sunset in April, so it
doesn't make sense to build a new application on this version of the
API only to have to migrate it within a few months.

2) The client libraries are a great way to get started with the API.
Also, since they are released as Open Source you can build your own
version with exactly the features you desire.

3) I'm not sure if it is responsible for the error, but the main
problem I see with your request is you are using a campaign name in
place of a campaign ID.  The campaignID field should be the numerical
id of the campaign.

Best,
- Eric Koleda, AdWords API Tea,

On Dec 14, 8:15 am, ComputerPsi  wrote:
> I'm trying to implement Google adwords API. I am doing this without
> downloading any extra SOAP libraries to keep off the extra load of
> bloated features. So far I made the following request:
>
> POST /api/adwords/v13/AdGroupService HTTP/1.0
> Content-Type: application/xml; charset=UTF-8
> Accept: application/xml; charset=UTF-8
> Host: adwords.google.com
> SOAPAction:
> Content-Length: 719
>
> 
>      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
>                     xmlns="https://adwords.google.com/api/adwords/v13";>
>
>   
>     MyEmail
>     MyPassword
>     MyUserAgent
>     MyDeveloperToken
>
>     MyApplicationToken
>     MyClientEmail
>   
>         
>         
>         Best Chinese Medicines
>         
>
>         item93
>         Enabled
>         
>         
> 
>
> Unfortunately I receive the following response:
>
> HTTP/1.0 500 Internal Server Error
>
> Content-Type: text/xml; charset=utf-8
>
> Date: Mon, 14 Dec 2009 12:52:02 GMT
>
> Expires: Mon, 14 Dec 2009 12:52:02 GMT
>
> Cache-Control: private, max-age=0
>
> X-Content-Type-Options: nosniff
>
> X-XSS-Protection: 0
>
> X-Frame-Options: SAMEORIGIN
>
> Server: GFE/2.0
>
> http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>  
>
>   
>
>    soapenv:Server.userException
>
>    The request xml was invalid.
>
>    
>
>     https://adwords.google.com/api/adwords/v13";>
>
>      73
>
>      The request xml was invalid.
>
>      org.xml.sax.SAXParseException: The processing
> instruction target matching "[xX][mM][lL]" is not allowed. ns1:trigger>
>
>     
>
>    
>
>   
>
>  
>
> 
>
> Can you please tell me what is wrong?
> (Note - I am choosing not to use v2009 for now..)
>
> Thank you,
> Ven

--

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-...@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 API Re: Internal API Error when using sandbox

2009-12-14 Thread AdWords API Advisor
Hi Philip,

Do you have the SOAP XML logs or the request ID for that request?

Best,
- Eric Koleda, AdWords API Team

On Dec 14, 2:51 am, Philip  wrote:
> Hi,
>
> I am getting InternalApiError when using sandbox (https://adwords-
> sandbox.google.com).
>
> The same code works fine if I use live API.
>
> Any ideas? Any other debug info I could provide?
>
> Thanks,
>
> P
>
> 
>
>  [faultstring] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>     [faultcode] => soap:Server
>     [detail] => stdClass Object
>         (
>             [ApiExceptionFault] => stdClass Object
>                 (
>                     [message] =>
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>                     [ApplicationException.Type] => ApiException
>                     [errors] => SoapVar Object
>                         (
>                             [enc_type] => 0
>                             [enc_value] => InternalApiError Object
>                                 (
>                                     [reason] =>
> UNEXPECTED_INTERNAL_API_ERROR
>                                     [fieldPath] =>
>                                     [trigger] =>
>                                     [ApiErrorType] => InternalApiError
>                                     [_parameterMap:private] => Array
>                                         (
>                                             [ApiError.Type] =>
> ApiErrorType
>                                         )
>
>                                 )
>
>                             [enc_stype] => InternalApiError
>                             [enc_ns] 
> =>https://adwords.google.com/api/adwords/cm/v200909
>                         )
>
>                 )
>
>         )

--

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-...@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 API Re: just checking..

2009-12-14 Thread AdWords API Advisor
Hi Brian,

You are in luck, we have the AdWords API Sandbox for just that
purpose.  More information on how to use the sandbox is available
here:

  http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html

Best,
- Eric Koleda, AdWords API Team

On Dec 11, 11:21 pm, Brian Wolf  wrote:
> Hi,
>
> I'm a java developer. Just checking into this. Is there any kind of
> sandbox/dummy database I can play around with this api for free to
> larn how to use it.
>
> Thanks,
>
> Brian

--

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-...@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 API Re: authentication token clarification request

2009-12-14 Thread AdWords API Advisor
Hi Tim,

An authToken for the AdWords API is valid for two weeks, although it
would be fine generating a new token every week or even every day.
There is no need to wait for an authToken to expire before generating
a new one, although requesting them too frequently (such as one per
request) can lead to errors.

I don't believe password changed invalidate an authToken, and I am not
aware of any way to manually invalidate an authToken.

In regards to errors, there isn't a comprehensive error code page in
v2009 as there was in v13.  Instead, each service has a number of
defined error types and reasons.  You can find these under the base
type ApiError for each service:

  
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.ApiError.html

Best,
- Eric Koleda, AdWords API Team

On Dec 13, 10:39 pm, timprepscius  wrote:
> Greetings,
>
> The client login api specifies that authentication tokens expire in
> "about a week."
> What does this mean?
>
> Does this mean, 6-8 days? 4-10 days? Or 0 -> inf?
>
> I'd sorta actually like to just request new authentication tokens
> every X days, and then not worry about having to figure out the errors
> which an expired authentication token throws.  I have a feeling though
> this will not be an option.
>
> Also, if someone changes their password, will the authentication token
> immediately expire?
>
> If not, is there a way to force an authentication token to expire?
>
> Also, is there a web page with all of the possible errors from adwords
> 2009 enumerated.  I can't find it, although I may easily be
> overlooking it.
>
> Thanks in advance,
>
> -tim

--

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-...@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 API Re: Bulgarian region codes

2009-12-14 Thread veseo
Hi, thanks for the information.

On Dec 11, 8:43 pm, AdWords API Advisor 
wrote:
> Hi,
>
> Thank you for the information.  The codes you are receiving are valid,
> and the code list page in our developer documentation is merely out of
> date.  I've raised this issue with the documentation team and they are
> working on generating a new code list.
>
> Best,
> - Eric
>
> On Dec 1, 10:45 am, veseo  wrote:
>
> > Hi, I am getting this data from the DefinedReportJob service, when
> > selecting Geographic as a selectedReportType and the following
> > selected columns:
>
> >  'AdGroupId',
> >  'Country',
> >  'City',
> >  'Region',
> >  'Clicks',
> >  'Impressions',
>
> > I can also provide you with an example XML if you give an e-mail or
> > FTP, as this is private data of our clients?
>
> > On Nov 30, 9:27 pm, AdWords API Advisor 
> > wrote:
>
> > > Hi,
>
> > > From what service are you obtaining region codes like "BG-01", etc?
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Nov 30, 5:22 am, veseo  wrote:
>
> > > > Hello,
>
> > > > haveBulgarianregion codes been added to the Region Codes listings,
> > > > as in the stats we are getting from Google, we have BG-01 and similar
> > > > codes? If yes, why aren't they listed in the official Region Codes
> > > > listings? Given the different codes and the actual cities that the
> > > > stats come from, I can logically conclude which region corresponds to
> > > > the code, but is that official?
>
> > > >http://code.google.com/apis/adwords/docs/developer/adwords_api_region...

--

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-...@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 API Re: error 500 when calling getAllCriteria

2009-12-14 Thread AdWords API Advisor
Hi Melissa,

To further investigate I will need the ID of the ad group in
question.  Please email it to adwordsapiadvi...@google.com and then
update this thread afterwards.

Best,
- Eric Koleda, AdWords API Team

On Dec 11, 2:51 pm, Melissa  wrote:
> We're currently using the v13 of the API and running a synchronization
> process on a campaign.  For each adgroup of the campaigns we're
> calling "getAllCriteria".  Everything works fine (as it always does)
> except for a particular adgroup.  When we call the function on this
> adgroup we're getting a "(500)Internal Server Error".  We waited a few
> days to see if the problem would go away on it's own (as they always
> do), but no luck this time, we consistently get the Internal Server
> Error.  The same call works normally for all other adgroups (and for
> all other adgroups of other campaigns as well).  The adgroup happens
> to be deleted, but so are some of the other adgroups of the campaign.
>
> Where do we go from here? What else should I post to get some help.

--

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-...@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 API Lots of 503's This Morning

2009-12-14 Thread Pete Lavetsky (AdWords API Guru)
I assume Google is aware, but we're getting lots and lots of 503's
this morning

 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (503)Service Unavailable
 faultActor:
 faultNode:
 faultDetail:
{}:return code:  503

{http://xml.apache.org/axis/}HttpErrorCode:503

(503)Service Unavailable
at org.apache.axis.transport.http.HTTPSender.readFromSocket
(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:
144)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at AdServiceSoapBindingStub.getAd_aroundBody8
(AdServiceSoapBindingStub.java:674)

--

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-...@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 API Re: Updating AdGroup

2009-12-14 Thread AdWords API Advisor
Hi Aaron,

I am able to pause an ad group with the following request:

  
 
SET
https://adwords.google.com/api/adwords/cm/
v200909">
   
   XXX
   PAUSED

 
  

Do you have the request ID for one of your requests that isn't
working?

Best,
- Eric

On Dec 11, 7:32 pm, "aa...@iboyds.net"  wrote:
> Thanks Eric.  Just changed it to all caps, ran the call and still
> doesn't update...
>
> On Dec 11, 3:32 pm, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Aaron,
>
> > The status value for paused in v2009 is "PAUSED":
>
> >  http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupServi...
>
> > More generally, all enum values in v2009 are composed of all capital
> > letters.
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 11, 6:05 pm, "aa...@iboyds.net"  wrote:
>
> > > our v13 code isn't working to update AdGroup statuses.  I figure we
> > > may as well update the code to 200909.  The following code isn't
> > > working.  any feedback?
>
> > > 
> > > http://schemas.xmlsoap.org/soap/
> > > envelope/"
> > >   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > >   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > >   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
> > >   
>
> > >       uUmUHbzhXt_C0JARpr-BOA
> > >       OWNER
> > >       dagKPoCI2lhhoXABaLDjYg
> > >       uUmUHbzhXt_C0JARpr-BOA
> > >       adwor...@iboyds.net
> > >       164-625-8590
> > >       aa...@iboyds.net
> > >       iboyds1976
>
> > >   
> > >   
> > >     https://adwords.google.com/api/adwords/cm/v200906";>
> > >       
> > >         SET
> > >         
> > >           14432492
> > >           1221441242
> > >           Paused
> > >         
> > >       
> > >     
> > >   
> > > 

--

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-...@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 API Which Keyword stats are correct?

2009-12-14 Thread dutchman
Hi,

I'm using the keyword variations api to get the keyword search volume.
I noticed that for some keywords the last month search volume between
the adwords api and the google Adwords Keyword Tool GUI is very
different (e.g. 100,000 vs. 10,000). Which number is more accurate?

Thanks!

Dutch

--

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-...@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 API Getting error code 73 when trying to implement v13...

2009-12-14 Thread ComputerPsi
I'm trying to implement Google adwords API. I am doing this without
downloading any extra SOAP libraries to keep off the extra load of
bloated features. So far I made the following request:

POST /api/adwords/v13/AdGroupService HTTP/1.0
Content-Type: application/xml; charset=UTF-8
Accept: application/xml; charset=UTF-8
Host: adwords.google.com
SOAPAction:
Content-Length: 719



http://schemas.xmlsoap.org/soap/envelope/";
xmlns="https://adwords.google.com/api/adwords/v13";>

  
MyEmail
MyPassword
MyUserAgent
MyDeveloperToken

MyApplicationToken
MyClientEmail
  


Best Chinese Medicines


item93
Enabled





Unfortunately I receive the following response:

HTTP/1.0 500 Internal Server Error

Content-Type: text/xml; charset=utf-8

Date: Mon, 14 Dec 2009 12:52:02 GMT

Expires: Mon, 14 Dec 2009 12:52:02 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

X-XSS-Protection: 0

X-Frame-Options: SAMEORIGIN

Server: GFE/2.0



http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

 

  

   soapenv:Server.userException

   The request xml was invalid.

   

https://adwords.google.com/api/adwords/v13";>

 73

 The request xml was invalid.

 org.xml.sax.SAXParseException: The processing
instruction target matching "[xX][mM][lL]" is not allowed.



   

  

 




Can you please tell me what is wrong?
(Note - I am choosing not to use v2009 for now..)

Thank you,
Ven

--

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-...@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 API Discrepency in data reported by different reports types

2009-12-14 Thread jayant
We have been observing that cost reported by "placement performance"
report is not matching with cost reported by "URL performance" report
for Keyword Matching type "Content". I pulled online reports from
adwords.google.com and found the same behavior on google live site.
URL performance report is showing lesser cost.

What could be the reason?

Thanks!
Jayant.

--

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-...@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 API Internal API Error when using sandbox

2009-12-14 Thread Philip
Hi,

I am getting InternalApiError when using sandbox (https://adwords-
sandbox.google.com).

The same code works fine if I use live API.

Any ideas? Any other debug info I could provide?

Thanks,

P




 [faultstring] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
[faultcode] => soap:Server
[detail] => stdClass Object
(
[ApiExceptionFault] => stdClass Object
(
[message] =>
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
[ApplicationException.Type] => ApiException
[errors] => SoapVar Object
(
[enc_type] => 0
[enc_value] => InternalApiError Object
(
[reason] =>
UNEXPECTED_INTERNAL_API_ERROR
[fieldPath] =>
[trigger] =>
[ApiErrorType] => InternalApiError
[_parameterMap:private] => Array
(
[ApiError.Type] =>
ApiErrorType
)

)

[enc_stype] => InternalApiError
[enc_ns] => 
https://adwords.google.com/api/adwords/cm/v200909
)

)

)

--

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-...@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 API just checking..

2009-12-14 Thread Brian Wolf
Hi,

I'm a java developer. Just checking into this. Is there any kind of
sandbox/dummy database I can play around with this api for free to
larn how to use it.

Thanks,

Brian

--

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-...@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 API Sandbox viewer/editor

2009-12-14 Thread ZSvedic
Hi all,

One of the biggest obstacles when developing against AdWords API is
inability to view/edit sandbox content using some GUI. If anybody
needs it, we have developed small GUI application for that purpose:
http://www.gemboxsoftware.com/Ppc/Overview.htm#ReferenceApplication

In order to run it, you need Windows machine with .NET Framework.
GemBox.Ppc Reference Application will work with sandbox of any size
and will show campaigns, ad groups, ads and criteria. If you want to
modify it, there is also source code available.

Let me know if you find our Sandbox viewer/editor useful, or if you
have any ideas for improvement.

Are there any alternative ways to see what is inside sandbox?

Regards,

Zeljko
GemBox Software

--

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