AdWords API KeywordToolExternal --- How much would it cost per search???

2009-02-17 Thread kray

If you developed an exact copy of the "KeywordToolExternal" provided
free by google.

How much would it cost in tokens, costs for someone using the API???

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Illegal Characters

2009-02-17 Thread Phil

Hi,
When using the API what are the illegal characters?
I understand the following:
The API library provided by google (for .net at least) encodes for XML.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Illegal Characters

2009-02-17 Thread Phil

Hi,
What are the illegal characters in plain text when using the Adwords
API?
I understand the following so far:
  * The API library (for .net at least) encodes for XML validity for
you.
  * the characters sent must be in UTF-8
  * _(_ and _,_ and _)_ and _...@_ are illegal characters.


Who else knows of characters that cannot be used?
Does anyone know of a list one may check?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Terms for creating a service with adwords api...

2009-02-17 Thread AdWords API Advisor

Hello,

 If/when you activate your AdWords API Developer token you need to
agree to our terms and conditions, which provide the authoritative
description of what you are allowed to do using the API. Assuming
you've already gone through the process, you can review the terms and
conditions by logging in to https://adwords.google.com/ using your MCC
account's credentials, clicking on the "My Account" tab and then the
"AdWords API Center" sub-tab. At the bottom of that page you'll see a
link to view the AdWords API terms and conditions in a new window.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 6:50 am, kray  wrote:
> Hi all,
>
> I want to develop a suite of services -- and one will need the results
> from googles adwords api.
>
> really it will just be the results from the adwords keyword tool.
>
> Does the adwords licence allow you to use the code behind a locked
> site for subscribers only -- and if not, what are the alternatives by
> google or otherwise.
>
> Thanks for the 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-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Developer and Application Token Disapproved

2009-02-17 Thread AdWords API Advisor

Hello,

 If you plan on letting external users use your application and
charging for use then "Advertiser" isn't the right classification. The
"Advertiser" classification implies that you're writing an internal
program for your own use, to manage ads for your own products.

 It sound like you might be an "Independent Software Developer"?

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 9:10 am, rkal  wrote:
> Hallo,
>
> I would like to create an application that will use Adwords API.
> I applied for necessary tokens, but my application was rejected due to
> the fact that I classified myself as an "Advertiser," but also
> indicated that my application may be used by external users. I also
> marked that I would like to charge for that application.
>
> The options for developer type are: "Agency/SEM", "Affiliate",
> "Independant Software Developer", "Integration Service Provider" and
> "Advertiser". - I marked Advertisers
>
> The target end application users options are: "Advertisers",
> "Integration service providers", "Aencies/SEMs", "Internal Users",
> "Affiliates" - also I marked Advertisers.
>
> I'll be grateful for any help concerning appropariate options to
> select.
>
> Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: XML encoding.

2009-02-17 Thread AdWords API Advisor

Hello Phil,

 Yes, the error you describe is coming from Microsoft's XML
serialization library code. You say that it happens when serializing
integers--what makes you think that? Any how is it that you're passing
in anything other than the characters 0-9 for an integer value?

 I'd think that if you break into the debugger when this exception is
through there should be some way to get more information about the
error from inspecting the exception's properties--Visual Studio's
debugger is usually pretty good about that. Unfortunately, if this
error is occurring during XML serialization as you suggest, it's
unlikely that you would be able to turn on logging to see the XML
being generated, as it's the XML generation itself that is failing.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 12:42 pm, Phil <5000...@googlemail.com> wrote:
> PS, I have just noticed.
> I am getting this problem with '(' not only special characters.
>
> On Feb 16, 5:31 pm, Phil <5000...@googlemail.com> wrote:
>
> > I am not sure how to approach this problem. I am currently working in
> > the sandbox.
> > I am using the .net adwords API library (v12 or v13 - at the time of
> > writing I am not sure). I am XML encoding all values before I send
> > them to a service. However I am still getting 'There is an error in
> > XML document(16,32)' errors.
> > I always get this error on some kind of special character (though not
> > always one I would expect to need to encode) but it doesn't seem to
> > happen consistently.
>
> > It always seems to happen when I am checking critera and doesn't
> > happen in my code (it is in the serialisation in the criterion service
> > call). It appears to happen when the serialisation is trying to parse
> > an int.
>
> > Has anyone else had this kind of error?
> > Should I be XML encoding things or relying on the API library to do
> > that for me?
> > How would I 'see' the XML that is being sent?
>
> > Cheers
> > Phil.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Sandbox: Over 2000 adgroups per campaign comes back as 'Failed Validation'

2009-02-17 Thread AdWords API Advisor

Hello Phil,

 Yes, I do believe that you're getting that SOAP fault because an
attempt to go over 2000 ad groups in a given campaign can't be
processed. There's a similar limit in the Production AdWords service,
last I checked.

 The error message you describe is rather terse. Is there anything in
the detail element of the SOAP fault that you get back that elaborates
further on the error?

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 1:04 pm, Phil <5000...@googlemail.com> wrote:
> Sandbox: Over 2000 adgroups per campaign comes back as 'Failed
> Validation'. Is this correct? Surely there should be a better error
> message than this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: XML encoding.

2009-02-17 Thread Phil

Hi Jeff.
The parse int thingy was the only error I was digging up. It turns out
to have been a red herring.

I did some further investigation and it appeared that
A. I don't need to encode for XML it is handled by the .net xml
object.
B. The problem wasn't XML encoding it was other special characters and
length that was being thrown as XML errors.

I found an error (turning on logging) telling be that ( and ) and ,
were illegal - so I got rid of them. Then I found that @ was illegal.
Also I found that some of the errors are to do with the length of
criterion. I think I have found most of the illegal things now. I
couldn't find an illegal character list and haven't dug around for a
style sheet.

Cheers
Phil
On Feb 17, 4:29 pm, AdWords API Advisor 
wrote:
> Hello Phil,
>
>  Yes, the error you describe is coming from Microsoft's XML
> serialization library code. You say that it happens when serializing
> integers--what makes you think that? Any how is it that you're passing
> in anything other than the characters 0-9 for an integer value?
>
>  I'd think that if you break into the debugger when this exception is
> through there should be some way to get more information about the
> error from inspecting the exception's properties--Visual Studio's
> debugger is usually pretty good about that. Unfortunately, if this
> error is occurring during XML serialization as you suggest, it's
> unlikely that you would be able to turn on logging to see the XML
> being generated, as it's the XML generation itself that is failing.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 16, 12:42 pm, Phil <5000...@googlemail.com> wrote:
>
> > PS, I have just noticed.
> > I am getting this problem with '(' not only special characters.
>
> > On Feb 16, 5:31 pm, Phil <5000...@googlemail.com> wrote:
>
> > > I am not sure how to approach this problem. I am currently working in
> > > the sandbox.
> > > I am using the .net adwords API library (v12 or v13 - at the time of
> > > writing I am not sure). I am XML encoding all values before I send
> > > them to a service. However I am still getting 'There is an error in
> > > XML document(16,32)' errors.
> > > I always get this error on some kind of special character (though not
> > > always one I would expect to need to encode) but it doesn't seem to
> > > happen consistently.
>
> > > It always seems to happen when I am checking critera and doesn't
> > > happen in my code (it is in the serialisation in the criterion service
> > > call). It appears to happen when the serialisation is trying to parse
> > > an int.
>
> > > Has anyone else had this kind of error?
> > > Should I be XML encoding things or relying on the API library to do
> > > that for me?
> > > How would I 'see' the XML that is being sent?
>
> > > Cheers
> > > Phil.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Ad Preview Tool

2009-02-17 Thread AdWords API Advisor

Hello,

 I'm afraid that I can't comment on whether specific features will or
will not make it into future releases of the AdWords API. I can pass
along your feature request to our product team, though.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 3:03 pm, TCash  wrote:
> Adwords API team, is there any plans to include the functionality that
> we get from the Google AdWords: Ad Preview Tool into the API?  I think
> there would probably be many users out there that would like to know
> their positioning at any given time like this tool provides rather
> than a cumulative average position for a day you would get from stats
> reports.  Thanks for any insight you can provide.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Sandbox: Over 2000 adgroups per campaign comes back as 'Failed Validation'

2009-02-17 Thread Phil

I am afraid that the error is as terse as I present it. I haven't dug
deeper to find anything else after I found a thread on here saying
that others had hit the same limit. - I resorted to belief at this
point and moved on assuming 'production' would be ok.
Are you saying that there is a 2000 adgroup limit while running in
adgroups through the API at all times? Even if the campaign already
has more than that in it already? This would be a rather intense
problem if that is the case. I am currently developing a system to run
in and maintain upwards of 2705 adgroups.so will need to add/pause/
unpause adgroups within this campaign. If I can't do that through the
API, this is a big issue. Can you point me at the documentation of
these limits?

Cheers
Phil

On Feb 17, 4:35 pm, AdWords API Advisor 
wrote:
> Hello Phil,
>
>  Yes, I do believe that you're getting that SOAP fault because an
> attempt to go over 2000 ad groups in a given campaign can't be
> processed. There's a similar limit in the Production AdWords service,
> last I checked.
>
>  The error message you describe is rather terse. Is there anything in
> the detail element of the SOAP fault that you get back that elaborates
> further on the error?
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 16, 1:04 pm, Phil <5000...@googlemail.com> wrote:
>
> > Sandbox: Over 2000 adgroups per campaign comes back as 'Failed
> > Validation'. Is this correct? Surely there should be a better error
> > message than this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: updateCriteria returns error

2009-02-17 Thread AdWords API Advisor

Hello Ali,

 You're not specifying what type of criteria you're passing in. To do
so, please include a Keyword element
(or Website) as a child to your
 element.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 2:03 am, "ali.ghaznavi.mediafl...@gmail.com"
 wrote:
> Dear  Jan Piotrowski (AdWords API Guru),
>
> Thanks for your kind reply.
> Thing is that i need to achieved this by using directly Adword Api i
> know i am using APIlity but i need to do this directly with out using
> it
> that is why i have included the code that i am using it if you are a
> real guru then fixed the bug in the code.
>
> Regards
> Ali
>
> On Feb 16, 4:21 pm, "Jan Piotrowski (AdWords API Guru)"
>
>  wrote:
> > Try APIlity:http://google-apility.sourceforge.net/
>
> > - Jan
>
> > On 14 Feb., 13:10, "ali.ghaznavi.mediafl...@gmail.com"
>
> >  wrote:
> > > hello,
>
> > > Need some help please
>
> > > here is the code listing
>
> > >  > > require_once('../../_classes/google_adword_api/
> > > soapclientfactory.php');
> > > $email = 'INSERT_LOGIN_EMAIL_HERE';
> > > $password = 'INSERT_PASSWORD_HERE';
> > > $client_email = 'INSERT_CLIENT_LOGIN_EMAIL_HERE';
> > > $useragent = 'INSERT_COMPANY_NAM';
> > > $developer_token = 'INSERT_DEVELOPER_TOKEN_HERE';
> > > $application_token = 'WvAJVKwu5jByZG6jVT5ZwQ';
>
> > > # Define SOAP headers.
> > > $headers =
> > >   '' . $email . ''.
> > >   '' . $password . '' .
> > >   '' . $client_email . '' .
> > >   '' . $useragent . '' .
> > >   '' . $developer_token . '' .
> > >   '' . $application_token . '';
>
> > >  $namespace = 'https://adwords.google.com/api/adwords/v13';
>
> > > $criterion_service =
> > >   SoapClientFactory::GetClient($namespace . '/CriterionService?wsdl',
> > > 'wsdl');
> > > $criterion_service->setHeaders($headers);
> > > $debug = 0;
>
> > > $id = '000';
> > > $adGroupId = '';
> > > $paused = 'true';
> > > $maxCpc = '20';
> > > $maxCpm = '10';
> > > $criterionType = "Keyword";
> > > $destinationUrl = 'www.google.com';
>
> > >                 $request_xml2 =
> > >                                   '' .
> > >                                   ''.
> > >                                   ''.$adGroupId.'' 
> > > ..
> > >                                   ''.$id.'' .
> > >                                   
> > > ''.$destinationUrl.''.
> > >                                   ''.$maxCpc.''.
> > >                                   ''.$maxCpm.''.
> > >                                   ''.$paused.''.
> > >                                   ''.
> > >                                   '';
>
> > >                                 $criteria = 
> > > $criterion_service->call('updateCriteria',
> > > $request_xml2);
>
> > >                                 if ($debug) show_xml($criterion_service);
> > >                                 if ($criterion_service->fault) 
> > > show_fault($criterion_service);
>
> > >                                 # Convert to a list if we get back a 
> > > single object.
> > >                                 if (!$criteria[0]) {
> > >                                   $criteria = array($criteria);
> > >                                 }
>
> > > function show_xml($service)
> > > {
> > >   echo $service->request;
> > >   echo $service->response;
> > >   echo "\n";
>
> > > }
>
> > > function show_fault($service) {
> > >   echo "\n";
> > >   echo 'Fault: ' . $service->fault . "\n";
> > >   echo 'Code: ' . $service->faultcode . "\n";
> > >   echo 'String: ' . $service->faultstring . "\n";
> > >   echo 'Detail: ' . $service->faultdetail . "\n";
> > >   exit(0);
>
> > > }
>
> > > ?>
>
> > > well it gives the error and i cant under stand this please guide me
> > > how i am going to update
>
> > > Here is the error
>
> > > Fault: 1 Code: soapenv:Server.userException String:
> > > java.lang.RuntimeException: Abstract keyValue without superclass.
> > > Detail:
>
> > > Please Guide Me
>
> > > Regards
> > > Ali
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: KeywordToolExternal --- How much would it cost per search???

2009-02-17 Thread AdWords API Advisor

Hello,

 Each call to the AdWords API consumes API units, which are billed
back to the owner of the Developer token associated with the API
request. Please refer to our Rate Sheet for more information on
billing and how much each API costs:

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

Specifically, each call to getKeywordVariations() currently costs 20
API units.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 6:06 am, kray  wrote:
> If you developed an exact copy of the "KeywordToolExternal" provided
> free by google.
>
> How much would it cost in tokens, costs for someone using the API???
>
> Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: XML encoding.

2009-02-17 Thread AdWords API Advisor

Hello Phil,

 Are you saying that the AdWords SOAP service returns a fault back
complaining that your ad or keyword has illegal characters in it? The
policies in place for checking ads submitted via the API are the same
as those for ads submitted using the AdWords web interface. There are
a couple of AdWords help center articles about characters that can and
cannot appear in various AdWords objects:

  http://adwords.google.com/support/bin/answer.py?hl=en&answer=6313
  http://adwords.google.com/support/bin/answer.py?hl=en&answer=57787

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 11:37 am, Phil <5000...@googlemail.com> wrote:
> Hi Jeff.
> The parse int thingy was the only error I was digging up. It turns out
> to have been a red herring.
>
> I did some further investigation and it appeared that
> A. I don't need to encode for XML it is handled by the .net xml
> object.
> B. The problem wasn't XML encoding it was other special characters and
> length that was being thrown as XML errors.
>
> I found an error (turning on logging) telling be that ( and ) and ,
> were illegal - so I got rid of them. Then I found that @ was illegal.
> Also I found that some of the errors are to do with the length of
> criterion. I think I have found most of the illegal things now. I
> couldn't find an illegal character list and haven't dug around for a
> style sheet.
>
> Cheers
> Phil
> On Feb 17, 4:29 pm, AdWords API Advisor 
> wrote:
>
> > Hello Phil,
>
> >  Yes, the error you describe is coming from Microsoft's XML
> > serialization library code. You say that it happens when serializing
> > integers--what makes you think that? Any how is it that you're passing
> > in anything other than the characters 0-9 for an integer value?
>
> >  I'd think that if you break into the debugger when this exception is
> > through there should be some way to get more information about the
> > error from inspecting the exception's properties--Visual Studio's
> > debugger is usually pretty good about that. Unfortunately, if this
> > error is occurring during XML serialization as you suggest, it's
> > unlikely that you would be able to turn on logging to see the XML
> > being generated, as it's the XML generation itself that is failing.
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Feb 16, 12:42 pm, Phil <5000...@googlemail.com> wrote:
>
> > > PS, I have just noticed.
> > > I am getting this problem with '(' not only special characters.
>
> > > On Feb 16, 5:31 pm, Phil <5000...@googlemail.com> wrote:
>
> > > > I am not sure how to approach this problem. I am currently working in
> > > > the sandbox.
> > > > I am using the .net adwords API library (v12 or v13 - at the time of
> > > > writing I am not sure). I am XML encoding all values before I send
> > > > them to a service. However I am still getting 'There is an error in
> > > > XML document(16,32)' errors.
> > > > I always get this error on some kind of special character (though not
> > > > always one I would expect to need to encode) but it doesn't seem to
> > > > happen consistently.
>
> > > > It always seems to happen when I am checking critera and doesn't
> > > > happen in my code (it is in the serialisation in the criterion service
> > > > call). It appears to happen when the serialisation is trying to parse
> > > > an int.
>
> > > > Has anyone else had this kind of error?
> > > > Should I be XML encoding things or relying on the API library to do
> > > > that for me?
> > > > How would I 'see' the XML that is being sent?
>
> > > > Cheers
> > > > Phil.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Illegal Characters

2009-02-17 Thread AdWords API Advisor

Please see my response in

  
http://groups.google.com/group/adwords-api/browse_thread/thread/0e76088990be2523

as I believe it addresses the same question.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 9:29 am, Phil <5000...@googlemail.com> wrote:
> Hi,
> What are the illegal characters in plain text when using the Adwords
> API?
> I understand the following so far:
>   * The API library (for .net at least) encodes for XML validity for
> you.
>   * the characters sent must be in UTF-8
>   * _(_ and _,_ and _)_ and _...@_ are illegal characters.
>
> Who else knows of characters that cannot be used?
> Does anyone know of a list one may check?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: XML encoding.

2009-02-17 Thread Phil

Great. Thank you.
However, these errors are coming back as XML errors before the query
is sent.
It doesn't seem to like (,)@% in the text of a keyword phrase.

On Feb 17, 5:03 pm, AdWords API Advisor 
wrote:
> Hello Phil,
>
>  Are you saying that the AdWords SOAP service returns a fault back
> complaining that your ad or keyword has illegal characters in it? The
> policies in place for checking ads submitted via the API are the same
> as those for ads submitted using the AdWords web interface. There are
> a couple of AdWords help center articles about characters that can and
> cannot appear in various AdWords objects:
>
>  http://adwords.google.com/support/bin/answer.py?hl=en&answer=6313
>  http://adwords.google.com/support/bin/answer.py?hl=en&answer=57787
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 17, 11:37 am, Phil <5000...@googlemail.com> wrote:
>
> > Hi Jeff.
> > The parse int thingy was the only error I was digging up. It turns out
> > to have been a red herring.
>
> > I did some further investigation and it appeared that
> > A. I don't need to encode for XML it is handled by the .net xml
> > object.
> > B. The problem wasn't XML encoding it was other special characters and
> > length that was being thrown as XML errors.
>
> > I found an error (turning on logging) telling be that ( and ) and ,
> > were illegal - so I got rid of them. Then I found that @ was illegal.
> > Also I found that some of the errors are to do with the length of
> > criterion. I think I have found most of the illegal things now. I
> > couldn't find an illegal character list and haven't dug around for a
> > style sheet.
>
> > Cheers
> > Phil
> > On Feb 17, 4:29 pm, AdWords API Advisor 
> > wrote:
>
> > > Hello Phil,
>
> > >  Yes, the error you describe is coming from Microsoft's XML
> > > serialization library code. You say that it happens when serializing
> > > integers--what makes you think that? Any how is it that you're passing
> > > in anything other than the characters 0-9 for an integer value?
>
> > >  I'd think that if you break into the debugger when this exception is
> > > through there should be some way to get more information about the
> > > error from inspecting the exception's properties--Visual Studio's
> > > debugger is usually pretty good about that. Unfortunately, if this
> > > error is occurring during XML serialization as you suggest, it's
> > > unlikely that you would be able to turn on logging to see the XML
> > > being generated, as it's the XML generation itself that is failing.
>
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
>
> > > On Feb 16, 12:42 pm, Phil <5000...@googlemail.com> wrote:
>
> > > > PS, I have just noticed.
> > > > I am getting this problem with '(' not only special characters.
>
> > > > On Feb 16, 5:31 pm, Phil <5000...@googlemail.com> wrote:
>
> > > > > I am not sure how to approach this problem. I am currently working in
> > > > > the sandbox.
> > > > > I am using the .net adwords API library (v12 or v13 - at the time of
> > > > > writing I am not sure). I am XML encoding all values before I send
> > > > > them to a service. However I am still getting 'There is an error in
> > > > > XML document(16,32)' errors.
> > > > > I always get this error on some kind of special character (though not
> > > > > always one I would expect to need to encode) but it doesn't seem to
> > > > > happen consistently.
>
> > > > > It always seems to happen when I am checking critera and doesn't
> > > > > happen in my code (it is in the serialisation in the criterion service
> > > > > call). It appears to happen when the serialisation is trying to parse
> > > > > an int.
>
> > > > > Has anyone else had this kind of error?
> > > > > Should I be XML encoding things or relying on the API library to do
> > > > > that for me?
> > > > > How would I 'see' the XML that is being sent?
>
> > > > > Cheers
> > > > > Phil.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Illegal Characters

2009-02-17 Thread Phil

Thanks,
I have checked over, and it doesn't cover the characters above in
Keyword Phrases.
Not to worry, I will just work around any characters that the API
library doesn't seem to like if there is no list given anywhere.
I am processing files from other sources into Adgroups etc. So I have
no guranteed of the characters that are in those files. I will just
build up my ignore list as I go.

On Feb 17, 5:04 pm, AdWords API Advisor 
wrote:
> Please see my response in
>
>  http://groups.google.com/group/adwords-api/browse_thread/thread/0e760...
>
> as I believe it addresses the same question.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 17, 9:29 am, Phil <5000...@googlemail.com> wrote:
>
> > Hi,
> > What are the illegal characters in plain text when using the Adwords
> > API?
> > I understand the following so far:
> >   * The API library (for .net at least) encodes for XML validity for
> > you.
> >   * the characters sent must be in UTF-8
> >   * _(_ and _,_ and _)_ and _...@_ are illegal characters.
>
> > Who else knows of characters that cannot be used?
> > Does anyone know of a list one may check?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Auto content bids

2009-02-17 Thread bryanjj

Is getting and setting "Auto" content bid supported in the API?

Description of auto content bid is here:
https://adwords.google.com/support/bin/answer.py?answer=77589&hl=en_US

Thanks,
Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API AdWords Downtime: February 21, 10am-2pm PST

2009-02-17 Thread AdWords API Advisor

We'll be performing routine system maintenance on Saturday, February
21 from approximately 10:00am to 2:00pm PST. You won't be able to
access AdWords or the API during this time frame, but your ads will
continue to run as normal.

Cheers,
-Jeffrey Posnick, 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-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Google::Adwords v1.12 Perl module (support for v13)

2009-02-17 Thread AdWords API Advisor

Yes, thank you very much for your continued support of this library,
Rohan.

For all of our Perl developers out there: we do understand that
sunsetting AdWords API v12 on February 23 leaves only a short amount
of time for you to update your systems to use the new Google::Adwords
release. We're going to keep the "public" sunset date of February 23
posted on the blog, and we do encourage developers to update their
code as soon as they can, but I've gotten approvals from the rest of
the team to keep v12 running and accepting requests until March 9.
Hopefully that will give everyone enough time to upgrade.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 16, 6:18 am, "Jan Piotrowski (AdWords API Guru)"
 wrote:
> Thanks Rohan!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Sunsetting v12 on February 23, 2009

2009-02-17 Thread AdWords API Advisor

Google::Adwords with support for v13 is now out, and we'll keep v12
running until March 9 to accommodate Perl developers who need to
upgrade:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/30d25cc3eadb725b

As we've previously announced on our blog (http://
adwordsapi.blogspot.com/2008/12/preview-of-2009-adwords-api-
changes.html), the next release of the AdWords API will contain
numerous fundamental changes. All of the client libraries will need
significant updates to support the next release. I can't specifically
comment on the future of Google::Adwords at this time, though.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 10, 12:05 pm, "Enquisite.com"  wrote:
> I for one would be much happier if Google took over maintenance of 
> theperlmodule.
> With less than 2 weeks until the V12 sunset, we still don't have a
> module to start
> testing with. Not to mention the 4 months that the new features have
> been unavailable
> toPerldevelopers.
>
> While I appreciate the fine work Rohan and others have done in the
> past, I think that
> everyone would be better served by Google providing official support
> forPerl.
>
> Rick Morris
>
> On Feb 4, 10:19 am,AdWordsAPI Advisor 
> wrote:
>
> > I wanted to post a brief follow-up on this. As the developers out
> > there who usePerlknow, the Google::AdWordsmodule is maintained by a
> > developer outside of Google. Google::AdWordsdoes not yet have v13
> > support. I've been in touch with Rohan, the developer, and he's also
> > posted in another thread in this forum confirming that he is planning
> > on adding v13 support ahead of the sunset date.
>
> > If anything changes with Rohan's plans then we'll evaluate what can be
> > done on Google's end to accommodate ourPerldevelopers.
>
> > Cheers,
> > -Jeff Posnick,AdWordsAPI Team
>
> > On Feb 4, 1:15 pm,AdWordsAPI Advisor 
> > wrote:
>
> > > In accordance with our policy of sunsetting older versions of the
> > >AdWordsAPI, we will turn off access to version 12 of the API on
> > > Monday, February 23, 2009. Version 13 of the API has been available
> > > for over four months now, and supports a number of new features. We
> > > hope that you've already taken the opportunity to upgrade your code.
>
> > > The latest versions of the publicly available official Google client
> > > libraries all support version 13 of the API, so if you're using one of
> > > those, please check the relevant README file for information on how to
> > > switch from version 12 to 13.
>
> > > As always, if you have any questions about theAdWordsAPI or
> > > upgrading to our latest versions, you can check out our Frequently
> > > Asked Questions (http://www.google.com/support/adwordsapi/) or ask
> > > them here, in our developer forum.
>
> > > --AdWordsAPI 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-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Auto content bids

2009-02-17 Thread AdWords API Advisor

Hello Bryan,

 Not setting anything for the keywordContentMaxCpc of a given ad group
should be equivalent to having it set to use auto content bids.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 2:17 pm, bryanjj  wrote:
> Is getting and setting "Auto" content bid supported in the API?
>
> Description of auto content bid is 
> here:https://adwords.google.com/support/bin/answer.py?answer=77589&hl=en_US
>
> Thanks,
> Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Sandbox: Over 2000 adgroups per campaign comes back as 'Failed Validation'

2009-02-17 Thread AdWords API Advisor

Hello Phil,

 My understanding of the default AdWords production setup is that each
campaign is limited to 2000 ad groups. You can obviously have multiple
campaigns per account, and the 2000 ad group limit applies to each of
the campaigns individually.

 I'm not aware of any public documentation for these limits, though
they should be in effect regardless of whether you're using the API or
the AdWords web interface to manage your accounts.

 There might be some flexibility to waive the limits (for both the web
interface and the API) on a one-off basis if you work with your
AdWords account representative at Google, and if you currently have a
campaign with over 2000 ad groups then perhaps that's what happened.
That's outside of the scope of what I normally deal with involving the
API, so I can't comment authoritatively.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 11:42 am, Phil <5000...@googlemail.com> wrote:
> I am afraid that the error is as terse as I present it. I haven't dug
> deeper to find anything else after I found a thread on here saying
> that others had hit the same limit. - I resorted to belief at this
> point and moved on assuming 'production' would be ok.
> Are you saying that there is a 2000 adgroup limit while running in
> adgroups through the API at all times? Even if the campaign already
> has more than that in it already? This would be a rather intense
> problem if that is the case. I am currently developing a system to run
> in and maintain upwards of 2705 adgroups.so will need to add/pause/
> unpause adgroups within this campaign. If I can't do that through the
> API, this is a big issue. Can you point me at the documentation of
> these limits?
>
> Cheers
> Phil
>
> On Feb 17, 4:35 pm, AdWords API Advisor 
> wrote:
>
> > Hello Phil,
>
> >  Yes, I do believe that you're getting that SOAP fault because an
> > attempt to go over 2000 ad groups in a given campaign can't be
> > processed. There's a similar limit in the Production AdWords service,
> > last I checked.
>
> >  The error message you describe is rather terse. Is there anything in
> > the detail element of the SOAP fault that you get back that elaborates
> > further on the error?
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Feb 16, 1:04 pm, Phil <5000...@googlemail.com> wrote:
>
> > > Sandbox: Over 2000 adgroups per campaign comes back as 'Failed
> > > Validation'. Is this correct? Surely there should be a better error
> > > message than this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Auto content bids

2009-02-17 Thread bryanjj

Thanks Jeff.  Is it possible to change from a specific content bid to
Auto using the API?  Does a null content bid always mean Auto in a
content campaign?

Thanks,
Bryan


On Feb 17, 2:26 pm, AdWords API Advisor 
wrote:
> Hello Bryan,
>
>  Not setting anything for the keywordContentMaxCpc of a given ad group
> should be equivalent to having it set to use auto content bids.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 17, 2:17 pm, bryanjj  wrote:
>
> > Is getting and setting "Auto" content bid supported in the API?
>
> > Description of auto content bid is 
> > here:https://adwords.google.com/support/bin/answer.py?answer=77589&hl=en_US
>
> > Thanks,
> > Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Auto content bids

2009-02-17 Thread AdWords API Advisor

Hello Bryan,

 If you make an updateAdGroup() call and explicitly set the
keywordContentMaxCpc value to 0, that's equivalent to setting the ad
group to auto content bids.

 You can confirm by checking in the AdWords web interface after making
the update.

Cheers,
-Jeff Posnick, AdWords API Team


On Feb 17, 6:02 pm, bryanjj  wrote:
> Thanks Jeff.  Is it possible to change from a specific content bid to
> Auto using the API?  Does a null content bid always mean Auto in a
> content campaign?
>
> Thanks,
> Bryan
>
> On Feb 17, 2:26 pm, AdWords API Advisor 
> wrote:
>
> > Hello Bryan,
>
> >  Not setting anything for the keywordContentMaxCpc of a given ad group
> > should be equivalent to having it set to use auto content bids.
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Feb 17, 2:17 pm, bryanjj  wrote:
>
> > > Is getting and setting "Auto" content bid supported in the API?
>
> > > Description of auto content bid is 
> > > here:https://adwords.google.com/support/bin/answer.py?answer=77589&hl=en_US
>
> > > Thanks,
> > > Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Auto content bids

2009-02-17 Thread bryanjj

Thanks Jeff.

On Feb 17, 3:30 pm, AdWords API Advisor 
wrote:
> Hello Bryan,
>
>  If you make an updateAdGroup() call and explicitly set the
> keywordContentMaxCpc value to 0, that's equivalent to setting the ad
> group to auto content bids.
>
>  You can confirm by checking in the AdWords web interface after making
> the update.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Feb 17, 6:02 pm, bryanjj  wrote:
>
> > Thanks Jeff.  Is it possible to change from a specific content bid to
> > Auto using the API?  Does a null content bid always mean Auto in a
> > content campaign?
>
> > Thanks,
> > Bryan
>
> > On Feb 17, 2:26 pm, AdWords API Advisor 
> > wrote:
>
> > > Hello Bryan,
>
> > >  Not setting anything for the keywordContentMaxCpc of a given ad group
> > > should be equivalent to having it set to use auto content bids.
>
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
>
> > > On Feb 17, 2:17 pm, bryanjj  wrote:
>
> > > > Is getting and setting "Auto" content bid supported in the API?
>
> > > > Description of auto content bid is 
> > > > here:https://adwords.google.com/support/bin/answer.py?answer=77589&hl=en_US
>
> > > > Thanks,
> > > > Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API just want to debug the demo of get_keyword_variations.php

2009-02-17 Thread ainihong001

hi,i want to use some Adwords api.
and i have got developer_token and application_token,
i use the demo of get_keyword_variations.php .

But it returns "List of additional keywords to consider has 0
variation
(s). List of popular queries with given seed has 0 variation(s).",
it shows maybe the method of getKeywordVariations not work rightly.


i don't want to use APIlity,just to debug this.tks.


The code of get_keyword_variations.php is below and

i have replace the email and others using myown information
and i can provide the right information about the email and password
if necessary.

# Provide AdWords login information.
$email = 'INSERT_LOGIN_EMAIL_HERE';
$password = 'INSERT_PASSWORD_HERE';
$client_email = 'INSERT_CLIENT_LOGIN_EMAIL_HERE';
$useragent = 'INSERT_COMPANY_NAME: AdWords API PHP Sample Code';
$developer_token = 'INSERT_DEVELOPER_TOKEN_HERE';
$application_token = 'INSERT_APPLICATION_TOKEN_HERE';

# Define SOAP headers.
$headers =
  '' . $email . ''.
  '' . $password . '' .
  '' . $client_email . '' .
  '' . $useragent . '' .
  '' . $developer_token . '' .
  '' . $application_token . '';

# Set up service connection. To view XML request/response, change
value of
# $debug to 1. To send requests to production environment, replace
# "sandbox.google.com" with "adwords.google.com".
$namespace = 'https://adwords.google.cn/api/adwords/v12';
$keyword_tool_service = SoapClientFactory::GetClient(
  $namespace . '/KeywordToolService?wsdl', 'wsdl');
$keyword_tool_service->setHeaders($headers);
$debug = 1;

# Create seed keyword structure.
$seed_keyword =
  'false' .
  'tea' .
  'Broad';
$use_synonyms = 'true';

# Get keyword variations.
$request_xml =
  '' .
  '' . $seed_keyword . '' .
  $use_synonyms .
  'en' .
  'US' .
  '';
$variation_lists =
  $keyword_tool_service->call('getKeywordVariations', $request_xml);
$variation_lists = $variation_lists['getKeywordVariationsReturn'];
if ($debug) show_xml($keyword_tool_service);
if ($keyword_tool_service->fault) show_fault($keyword_tool_service);

# Display keyword variations.
$to_consider = $variation_lists['additionalToConsider'];
echo 'List of additional keywords to consider has ' . count
($to_consider) .
  ' variation(s).' . "\n";

$more_specific = $variation_lists['moreSpecific'];
echo 'List of popular queries with given seed has ' . count
($more_specific) .
  ' variation(s).' . "\n";


?>
tks
helping me.

Waiting for your response.

Seam


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API This image could not be recognized

2009-02-17 Thread Greg Dingle

I'm reposting a ticket here about using the python code lib.

http://code.google.com/p/google-api-adwords-python-lib/issues/detail?id=56&colspec=ID%20Type%20Status%20Milestone%20Priority%20Stars%20Owner%20Summary%20Modified

I've added the same image  in sandbox mode and to the control center,
but it fails when added via the live API. 'This image could not be
recognized'

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