AdWords API Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread robert.johans...@adwire.se
Hi,

I'm trying to update the destination URL for some of my keywords using
the XML below, but for some reason I can't make it work. Can you
please tell me what I'm doing wrong?

mutate xmlns=https://adwords.google.com/api/adwords/cm/v200906/
AdGroupCriterionService?wsdl
operations
operatorSET/operator
operand
adGroupIdX/adGroupId
criterion xsi:type=KeywordidXX/id/criterion
destinationUrl/destinationUrl
/operand
/operations
/mutate

Thank you 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-...@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: They gonna disable KeywordToolService?

2010-02-02 Thread ewan
This message just means that the v13 version of the API is depreciated
and most of the services will be switched off.  The version that you
should now be using is called v2009.  The keyword service hasn't been
removed but the name is changed and it works a bit differently.  You
should look at the TargetingIdeaService
http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.html

-- 
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 Bulk Mutate Job Best Practices

2010-02-02 Thread ewan
Hi,

I've been using the Bulk Mutate Service and wasn't clear on how
streams and parts are supposed to be used.  Does anyone know what the
best practices are for splitting operations into parts and streams?
For example, should all operations for the same scoping entity go in
the same stream or be split up?  How should I decide when to start a
new part?  Is it simply to do with the stated limits or are there
other reasons to split requests up even if I'm within the limits?

Many Thanks,

Ewan

-- 
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 Error XML_STREAM_EXC while get campaigns

2010-02-02 Thread Dave L
Hi, I received following error when try to get campaigns:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
soap:Body/soap:Envelope

Here is my request string:

---
?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
ENV=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/;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authTokenDQAAAIgAAACGxds-vcXArSDyIQLCtp2BOPPcnSDU7S78Zg6qt74IjV/
authToken
useragentxx/useragent
developerTokenxxx/developerToken
applicationTokenxxx/applicationToken
/RequestHeader
/soap:Header
SOAP-ENV:Body
get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
selector/
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope
-

Could you please let me know what I am doing wrong? and what does
XML_STREAM_EXC mean?

-- 
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: Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread ewan
I noticed that you're using v200906 of the API.  I think that service
was supposed to be switched off today.  Try using 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: Cost

2010-02-02 Thread Dane
I am also using perl v5.8.8
further more I am using SOAP-Lite-0.710.10

I am pussled why it does not work on my system, when it works on
yours.

Thanks for the link, I have some detective work to do.

regards
Dane

-- 
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 AdPlanner?

2010-02-02 Thread Blakek
Is there, or will there be, an API offered for AdPlanner?

-- 
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 Too much criterias?

2010-02-02 Thread fabien.beur...@adweb-media.com
Hello,

I have a problem importing all data of an account.
I ‘ve a thousands criterias and ads in my account but when I try to
import them into my database I have an internal server error. The PHP
script goes well with small account (I have a MCC).

I use the V13 with the examples given here:
http://code.google.com/intl/fr/apis/adwords/docs/clients.html

What can I do?

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-...@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: Http status code for soap fault

2010-02-02 Thread Reed
I've been following this thread with curiosity.  Given the variety of
ways that the various search engine marketing APIs (so I'm not just
picking on Google here) use to signal an error (500, refused
connections, ignored connections, as well as the ever popular  method
of just sending back some formatted HTML and CSS that says we too
D**N busy now try again in 15 minutes), why would  you presume that
200 always means OK?  Just treat 200 as potentially OK and then
check to see if it has an error/fault structure in it.  If it doesn't
then you're probably good to go.  If it does, well now you know what
the error is and can do something about it.  I gave up trusting the
exact HTTP responses from these APIs a long time ago - try to imagine
the amount of code behind them on the engine side of things.  There's
always going to be something buggy or just plain strange no matter
how hard they try to make them perfect.

my 2 cents!

-- 
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: Cost

2010-02-02 Thread Dane
Changed the script, I managed to get the array written in the
requested way, formatting looks awfull though

can you please have a look at requestId
f9b4e37c33a080c8202b2111b9f8da9b

Still same error message
Report job failed validation due to the following error: The following
SOAP fault occurred:
  faultcode: soapenv:Server.generalException
  faultstring: An internal error has occurred.  Please retry your
request.

-- 
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: Cost

2010-02-02 Thread Dane
Thanks for the link by the way - I used his formatting now

-- 
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 SOAP error while using TargetingIdeaService (Perl) : searchParameters not recognized

2010-02-02 Thread AdWords API Advisor
Hi Suraiya,

Can you post some sample code and the SOAP XML request it generates?
This information will give me a better idea of what's going wrong and
how to resolve it.

Best,
- Eric Koleda, AdWords API Team

On Jan 29, 6:20 pm, Suraiya suraiya.ra...@gmail.com wrote:
 Hello Eric,
 I am trying to use Perl TargetingIdeaService (in your v200909 API) to
 retrieve keyword suggestions or variations for a seed keyword. There
 is no sample perl code at
 (http://code.google.com/p/adwords-api-perl-samples/source/browse/#svn/
 trunk/src/v200906%3Fstate%3Dclosed)
 that shows how to use searchParameters for the TargetingIdeaService. I
 looked at corresponding PHP, Ruby samples and tried something
 equivalent in Perl but that throws a soap exception.
 I got the following error message - Message part searchParameters was
 not recognized.
 I tried so many different combinations with no success.
 Could you please help?

 Thanks.
 Suraiya

-- 
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: ApiError object in v2009

2010-02-02 Thread AdWords API Advisor
Hi Vijay,

The base type ApiError only contains some basic information, and for
more detail you need to cast the error to it's actual type, in this
case AdGroupCriterionError:

  
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionError.html

This error type, and many others, contain a reason field.  The
associates reason values provide more information about what's gone
wrong:

  
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionError.Reason.html

Best,
- Eric Koleda, AdWords API Team

On Jan 29, 9:31 pm, Vijay - Coremetrics bhomb...@gmail.com wrote:
 The ApiError object in Google Adwords v2009 API has limited set of
 fields (just 3 fields: fieldPath, trigger, and ApiError.Type).

 In case of API Error, these fields have limited information which is
 not clear to interpret the error both interms of error code and error
 message (or trigger).

 For example, one of the error messages looks like this:

 ApiErrorType: AdGroupCriterionError
 fieldPath: operations[0].operand.criterion.id
 trigger:

 There is no proper errorCode or errorMessage, as it used to be with
 Adwords v13 API.

 Can you please explain how do we get a proper error message and error
 code in case of API errors? Is there going to be any improvements made
 in future on Adwords API side regarding 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-...@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: The request failed with HTTP status 405: Method Not Allowed

2010-02-02 Thread AdWords API Advisor
Hi,

Can you provide the code you are using to generate the service?  Can
you double check that you are using the correct URL endpoint?

Best,
- Eric Koleda, AdWords API Team

On Feb 2, 9:50 am, shiraazz shira...@gmail.com wrote:
 *bump*

 On Feb 1, 12:38 pm, shiraazz shira...@gmail.com wrote:



  When I debug I get this error.

  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse
  (SoapClientMessage message, WebResponse response, Stream
  responseStream, Boolean asyncCall)
     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke
  (String methodName, Object[] parameters)
     at com.google.api.adwords.lib.SoapServiceBase.Call(String
  methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool
  \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 135
     at com.google.api.adwords.lib.SoapServiceBase.Invoke(String
  methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool
  \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 86
     at com.google.api.adwords.v200909.TargetingIdeaService.get
  (TargetingIdeaSelector selector) in D:\Dotslash\Web Projects\SEO Tool
  \Libraries\GoogleAPI\src\v200909\AdWordsApi.cs:line 12259
     at TermService.GetKeyWords_NEW(String kw) in d:\Dotslash\Web
  Projects\SEO Tool\Website\App_Code\Web Services\TermService.cs:line
  170

  //

  Am I missing something?
  //

        TargetingIdeaSelector selector = new TargetingIdeaSelector();
        selector.searchParameters = new SearchParameter[]
  {searchParameter};
        selector.ideaTypeSpecified = true;
        selector.ideaType = IdeaType.KEYWORD;
        selector.requestTypeSpecified = true;
        selector.requestType = RequestType.IDEAS;

        Paging paging = new Paging();
        paging.startIndex = 0;
        paging.startIndexSpecified = true;
        paging.numberResults = 10;
        paging.numberResultsSpecified = true;

        selector.paging = paging;
        TargetingIdeaPage page = targetingIdeaService.get(selector);

-- 
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: number of results in response

2010-02-02 Thread AdWords API Advisor
Hi,

When paging is used you will only be charged API units for the results
that are actually returned from you.  So if you split the results into
pages of 10, and only request 1 page of results, you will only be
charged for 10 results.

Best,
- Eric Koleda, AdWords API Team

On Feb 1, 2:11 pm, Ajit ajitscor...@gmail.com wrote:
 Hello team

 I am using 'adwords4r' gem to get some keyword suggestions.

 following is the sample code:

  selector = targeting_idea_srv.module::TargetingIdeaSelector.new
   parameter =
 targeting_idea_srv.module::RelatedToKeywordSearchParameter.new
   kwd = targeting_idea_srv.module::Keyword.new
   kwd.text = keyword
   kwd.matchType = 'EXACT'
   parameter.keywords = [kwd]
   selector.searchParameters = [parameter]
   selector.ideaType = 'KEYWORD'
   selector.requestType = 'IDEAS'
   selector.requestedAttributeTypes = ['KEYWORD']
   selector.paging = targeting_idea_srv.module::Paging.new
   selector.paging.startIndex = 0
   selector.paging.numberResults = results_per_page

   # Perform request.
   results = []
   index = 0
   while true
     page = targeting_idea_srv.get(selector)
     if page and page.rval and page.rval.entries
       results += page.rval.entries.entries
     end
     break if page.rval.totalNumEntries = index
     index += results_per_page
     selector.paging.startIndex = index
   end

 -
 is it possible to specify number of results I want back from
 targeting_idea_srv.get(selector)?

 I know paging is there.. but it is dividing result set into pages.. is
 it?  Is it possible to get only 10 results back from API.. no
 pagination stuff at all.

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

2010-02-02 Thread AdWords API Advisor
Hi Ajit,

All new developer accounts must be reviewed before a token is issued
and approved, and this process may take up to two weeks.  You can
check on the status of your token by logging in to your MCC account
and navigating to My Account - AdWords API Center.

Best,
- Eric Koleda, AdWords API Team

On Feb 1, 11:21 pm, Ajit ajitscor...@gmail.com wrote:
 Hello Team

 I am trying to setup a developer account to use adwords api. not sure
 if I am doing something wrong.

 I created an adwords account by clicking 'sign-up' link from following
 url:

 https://adwords.google.com/select/ApiWelcome

 I can now access adwords account. then i submitted my credit card
 detail. but still havent got any developer token.

 Any idea whom should I contact or call to get this resolved?

 I need dev access asap.

 Please advice

 thanks in advance

 Ajit

-- 
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: Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread AdWords API Advisor
Hi Robert,

Are you getting an error message?  If so, what is it?

Best,
- Eric Koleda, AdWords API Team

On Feb 2, 10:20 am, robert.johans...@adwire.se
robert.johans...@adwire.se wrote:
 Unfortunately that was not the problem...

 On 2 Feb, 15:08, ewan e...@ppcbullet.com wrote:



  I noticed that you're using v200906 of the API.  I think that service
  was supposed to be switched off today.  Try using 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: Bulk Mutate Job Best Practices

2010-02-02 Thread AdWords API Advisor
Hi Ewan,

I'll be posting a video presentation on the BMJS in the coming weeks
that covers this in more detail, but the simple answer is that you
should only make new wrappers (streams or parts) when necessary.  For
streams it comes down to scoping entities, and for parts it is the
number of operations.  Adding more of these wrappers doesn't bring any
benefit, so only use them when required.

On a side note, what has your experience with the BMJS been like so
far?  For you have any feedback for the engineering team?

Best,
- Eric Koleda, AdWords API Team

On Feb 2, 8:25 am, ewan e...@ppcbullet.com wrote:
 Hi,

 I've been using the Bulk Mutate Service and wasn't clear on how
 streams and parts are supposed to be used.  Does anyone know what the
 best practices are for splitting operations into parts and streams?
 For example, should all operations for the same scoping entity go in
 the same stream or be split up?  How should I decide when to start a
 new part?  Is it simply to do with the stated limits or are there
 other reasons to split requests up even if I'm within the limits?

 Many Thanks,

 Ewan

-- 
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 XML_STREAM_EXC while get campaigns

2010-02-02 Thread AdWords API Advisor
Hi Dave,

The first point is that you shouldn't post your authToken in public
forum, as it can be used to access your account.  These tokens
normally expire after two weeks, but if you want to revoke it sooner
you need to change the password on your account.

As for the error, it is caused by invalid XML being sent.  In your
case the XML prefix soap is undefined when it is used in
soap:Header.  You've defined the prefix as SOAP-ENV and used it
correctly in the body, and need to use the same prefix in the header.

Best,
- Eric Koleda, AdWords API Team

On Feb 2, 8:43 am, Dave L googlecen...@apexpacific.com wrote:
 Hi, I received following error when try to get campaigns:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
 envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
 faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
 soap:Body/soap:Envelope

 Here is my request string:

 ---
 ?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
 ENV=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/;
 soap:Header
 RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
 authTokenDQAAAIgAAACGxds-vcXArSDyIQLCtp2BOPPcnSDU7S78Zg6qt74IjV/
 authToken
 useragentxx/useragent
 developerTokenxxx/developerToken
 applicationTokenxxx/applicationToken
 /RequestHeader
 /soap:Header
 SOAP-ENV:Body
 get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
 selector/
 /get
 /SOAP-ENV:Body
 /SOAP-ENV:Envelope
 -

 Could you please let me know what I am doing wrong? and what does
 XML_STREAM_EXC mean?

-- 
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: Http status code for soap fault

2010-02-02 Thread codeninja
Reed,

Just imagine if all those engine APIs start deviating from SOAP spec,
think of the custom code that all the clients (stand alone or
frameworks)  have to write on their side and maintain it. I think the
whole point having w3c spec is that we don't have to worry about such
small things. Sending back http status 500 for soap fault is something
that big search ad marketing api (google, yahoo, msn) has been doing,
in fact it even works fine in google v13. We are really hoping that
this will be fixed in v2009 soon since they acknowledged that it is
incorrect.

my 2 cents!!

On Feb 2, 9:55 am, Reed r...@powellgenealogy.com wrote:
 I've been following this thread with curiosity.  Given the variety of
 ways that the various search engine marketing APIs (so I'm not just
 picking on Google here) use to signal an error (500, refused
 connections, ignored connections, as well as the ever popular  method
 of just sending back some formatted HTML and CSS that says we too
 D**N busy now try again in 15 minutes), why would  you presume that
 200 always means OK?  Just treat 200 as potentially OK and then
 check to see if it has an error/fault structure in it.  If it doesn't
 then you're probably good to go.  If it does, well now you know what
 the error is and can do something about it.  I gave up trusting the
 exact HTTP responses from these APIs a long time ago - try to imagine
 the amount of code behind them on the engine side of things.  There's
 always going to be something buggy or just plain strange no matter
 how hard they try to make them perfect.

 my 2 cents!

-- 
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: Http status code for soap fault

2010-02-02 Thread AdWords API Advisor
Hi John,

The core engineering team is working on this issue now, and the fix
for this problem will likely be rolled out this month.  Unfortunately
I don't have a more exact time frame to give you, and I would
encourage you to investigate a workaround in the mean time if
possible.

Best,
- Eric

On Feb 2, 9:55 am, Reed r...@powellgenealogy.com wrote:
 I've been following this thread with curiosity.  Given the variety of
 ways that the various search engine marketing APIs (so I'm not just
 picking on Google here) use to signal an error (500, refused
 connections, ignored connections, as well as the ever popular  method
 of just sending back some formatted HTML and CSS that says we too
 D**N busy now try again in 15 minutes), why would  you presume that
 200 always means OK?  Just treat 200 as potentially OK and then
 check to see if it has an error/fault structure in it.  If it doesn't
 then you're probably good to go.  If it does, well now you know what
 the error is and can do something about it.  I gave up trusting the
 exact HTTP responses from these APIs a long time ago - try to imagine
 the amount of code behind them on the engine side of things.  There's
 always going to be something buggy or just plain strange no matter
 how hard they try to make them perfect.

 my 2 cents!

-- 
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: Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread robert.johans...@adwire.se
Hi Eric,

I get the following error-message:

[RequiredError.REQUIRED @ operations[0].operand.criterion.text,
RequiredError.REQUIRED @ operations[0].operand.criterion.matchType

Best,

Robert

On 2 Feb, 16:32, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Robert,

 Are you getting an error message?  If so, what is it?

 Best,
 - Eric Koleda, AdWords API Team

 On Feb 2, 10:20 am, robert.johans...@adwire.se



 robert.johans...@adwire.se wrote:
  Unfortunately that was not the problem...

  On 2 Feb, 15:08, ewan e...@ppcbullet.com wrote:

   I noticed that you're using v200906 of the API.  I think that service
   was supposed to be switched off today.  Try using v200909.- Dölj citerad 
   text -

 - Visa citerad text -

-- 
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: Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread AdWords API Advisor
Hi Robert,

Please see my answer on this related thread:

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

Best,
- Eric

On Feb 2, 11:14 am, robert.johans...@adwire.se
robert.johans...@adwire.se wrote:
 Hi Eric,

 I get the following error-message:

 [RequiredError.REQUIRED @ operations[0].operand.criterion.text,
 RequiredError.REQUIRED @ operations[0].operand.criterion.matchType

 Best,

 Robert

 On 2 Feb, 16:32, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:



  Hi Robert,

  Are you getting an error message?  If so, what is it?

  Best,
  - Eric Koleda, AdWords API Team

  On Feb 2, 10:20 am, robert.johans...@adwire.se

  robert.johans...@adwire.se wrote:
   Unfortunately that was not the problem...

   On 2 Feb, 15:08, ewan e...@ppcbullet.com wrote:

I noticed that you're using v200906 of the API.  I think that service
was supposed to be switched off today.  Try using v200909.- Dölj 
citerad text -

  - Visa citerad text -

-- 
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: Cost

2010-02-02 Thread Dane
since I only have problems with reports in API and other testscripts
works fine, I feel tempted to just schedule the GUI to email me
reports, and let my script capture the emails.

That is unless you tell me that requestId
f9b4e37c33a080c8202b2111b9f8da9b

only have minor flaws

regards
Dane

-- 
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 InfoService with API 200909

2010-02-02 Thread ralf.s
We still get have problems with the InfoService of Version V200909.
V13 works fine here.
We do exactly whats listed in the Per-Call Migration Guide.
We use java and the adwords-api-6.3.0-loner.jar lib.

Example 1:
InfoSelector selector = new InfoSelector();
selector.setApiUsageType(ApiUsageType.UNIT_COUNT);
selector.setDateRange(new DateRange(20100101, 20100201));
ApiUsageInfo res = service.get(selector);

always return 0 costs, while V13 Version getUnitCount(startDate,
endDate) works fine.


Example 2:

InfoSelector selector = new InfoSelector();
selector.setClientEmails(new String[] { valid client email });
selector.setApiUsageType(ApiUsageType.UNIT_COUNT_FOR_CLIENTS);
selector.setDateRange(new DateRange(20100101, 20100201));
ApiUsageInfo res = service.get(selector);

throws an error [ApiUsageError.INVALID_CLIENT_EMAIL @ selector] also
the specified email is a valid account in the mcc-acount.

Any suggestions?

Thanks
Ralf

By the way. Sample Code for Java is still for V200906 and not all
Services are included.


-- 
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 AdParams - INVALID_INSERTION_TEXT_FORMAT

2010-02-02 Thread Adam
Im creating a php script to update ads with details from our stock
database for our marketing department. When i try sending a mutate
operation to set the new value generated from the database i get the
same error for each attempt:

AdParamError.INVALID_INSERTION_TEXT_FORMAT @ operations
[4].operand.insertionText; trigger:'7088',

I cant see anything obvious, any help would be greatfully appreciated.

-- 
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: Please post an example of handling PolicyViolationError

2010-02-02 Thread SEM
Eric:

When do you guys plan on posting OGNL examples w.r.t. error handling?
e.g. submitting a request to create multiple ads of which 1 ad fails
due to a policy violation.

How do we...

a] Extract the index of the erroneous ad(s).

b] Obtain a meaningful error code / error message for presentation
purposes?

Let me know.

Thanks.

- Semdev


On Dec 17 2009, 8:51 am, AdWords API Advisor
adwordsapiadvi...@google.com wrote:
 Hi,

 Thank you for the feedback.  We understand this is a gap in our
 current examples, and it is something we are working on.

 Best,
 - Eric Koleda, AdWords API Team

 On Dec 16, 3:37 am, Maxim mse...@gmail.com wrote:



  ...usingOGNL, preferrably in Java.

  If I'm passing an array of AdGroupAd[] to mutate() operation in
  AdGroupAdService, and some ads violate a policy, it's not clear how to
  evaluate ApiError.fieldPath withOGNLlibrary - what should be passed
  as parameter toOgnl.getValue() - array of AdGroupAd[], array of Ad[],
  individual Ad objects???

  Thanks.- Hide quoted text -

 - Show quoted text -

-- 
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: Geo targeting for v200909

2010-02-02 Thread Peer Jakobsen (AdWords API Guru)
Hi,

The V13 codes does seem to work with v200909. You can see the full
v200909 reference codes in any of the client libraries (in the data
folder).

Region is the same as province. The polygon target is similar to the
proximity target, but instead of covering a circle with a specific
radius the target covers a polygon.

Cheers

-- 
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: Unable to update destination URL using the AdGroupCriterionService

2010-02-02 Thread robert.johans...@adwire.se
Sorry, I'm a little bit slow :-) Do you have an example based on the
code posted earlier in this thread?

Best,

Robert

On 2 Feb, 17:58, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Robert,

 Please see my answer on this related thread:

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

 Best,
 - Eric

 On Feb 2, 11:14 am, robert.johans...@adwire.se



 robert.johans...@adwire.se wrote:
  Hi Eric,

  I get the following error-message:

  [RequiredError.REQUIRED @ operations[0].operand.criterion.text,
  RequiredError.REQUIRED @ operations[0].operand.criterion.matchType

  Best,

  Robert

  On 2 Feb, 16:32, AdWords API Advisor adwordsapiadvi...@google.com
  wrote:

   Hi Robert,

   Are you getting an error message?  If so, what is it?

   Best,
   - Eric Koleda, AdWords API Team

   On Feb 2, 10:20 am, robert.johans...@adwire.se

   robert.johans...@adwire.se wrote:
Unfortunately that was not the problem...

On 2 Feb, 15:08, ewan e...@ppcbullet.com wrote:

 I noticed that you're using v200906 of the API.  I think that service
 was supposed to be switched off today.  Try using v200909.- Dölj 
 citerad text -

   - Visa citerad text -- Dölj citerad text -

 - Visa citerad text -

-- 
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: Order of Returned Operations Through Criterion Service

2010-02-02 Thread Kyle LeNeau
Hi Eric,

What happens if one of the keywords fails to be added does the whole
mutate request fail like batch transactions or will one fail at a time
and return something else in the index place?

Thanks,
Kyle

On Feb 2, 9:28 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Kyle,

 Order is maintained between operations and results, so you can use a
 form of logic like you outlined.

 Best,
 - Eric Koleda, AdWords API Team

 On Feb 1, 6:38 pm, Kyle LeNeau k.len...@gmail.com wrote:



  Hello,

  I am developing a process to bulk add/purchase keywords.  I need to
  maintain what is added and what I need to add or save to my database.
  Will the operations that I send in the mutate request be returned to
  me in the same order as I sent them (based on index)?  Here is my code
  and expectation.

  m_adGroupCriterionService.mutate(new AdGroupCriterionOperation[]
  { operation1, operation2 });
  if (result != null  result.value != null  result.value.Length  0)
  {
      // expecting:
      // result.value[0] = operation1
      // result.value[1] = operation2

  }

  Thanks,
  Kyle LeNeau

-- 
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 RelatedToKeywordSearchParameter - Related to all keywords in list or related to a given keyword in list?

2010-02-02 Thread Shane
I have a script that uses the TargetingIdeaService and we have been
getting good results from it for the most part.  Generally we submit a
dozen or so keywords looking for PHRASE matches and the results we get
back are consistent with the keyword tool.  For some reason using a
smaller dataset (1-3 keywords) seems to come back with much broader
results.

For example if we use:
  chess programs
  programs chess
  chess program
  program chess

We get back matching phrases:
programs chess
chess program
school chess programs
online chess programs
online chess program
chess training program
chess tournament program
chess training programs
program chess
chess study program
chess teaching programs
old chess programs
strong chess programs
...

If we only search on two keywords:
  chess programs
  programs chess

We get back phrases that are loosely related:
chess strategy
chess strategies
chess pawn
chess tournament
chess move
championship chess
chess federation
chess tactics
chess rules
online chess programs
chess programs fritz
chess downloads
chess freeware
...

The Keyword Tool returns appropriate PHRASE results for those two
keywords so I am wondering if I'm missing a parameter to narrow down
the results or if maybe the RelatedToKeywordSearchParameter is looking
at the keywords as a group rather than as individual keywords.

Here's the working SOAP call:
SOAP-ENV:Envelope
SOAP-ENV:Header
RequestHeader
authToken/authToken
clientEmail/clientEmail
developerToken/developerToken
userAgent/userAgent
validateOnlyfalse/validateOnly
/RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body
get
selector
searchParameters xsi:type=RelatedToKeywordSearchParameter
keywords xsi:type=Keyword
text xsi:type=stringchess programs/text
matchType xsi:type=stringPHRASE/matchType
/keywords
keywords xsi:type=Keyword
text xsi:type=stringprograms chess/text
matchType xsi:type=stringPHRASE/matchType
/keywords
keywords xsi:type=Keyword
text xsi:type=stringchess program/text
matchType xsi:type=stringPHRASE/matchType
/keywords
keywords xsi:type=Keyword
text xsi:type=stringprogram chess/text
matchType xsi:type=stringPHRASE/matchType
/keywords
/searchParameters
searchParameters xsi:type=LanguageTargetSearchParameter
languageTargets xsi:type=LanguageTarget
languageCode xsi:type=stringEN/languageCode
/languageTargets
/searchParameters
searchParameters xsi:type=KeywordMatchTypeSearchParameter
keywordMatchTypes xsi:type=stringPHRASE/keywordMatchTypes
/searchParameters
ideaTypeKEYWORD/ideaType
requestTypeIDEAS/requestType
requestedAttributeTypesKEYWORD/requestedAttributeTypes
requestedAttributeTypesGLOBAL_MONTHLY_SEARCHES/
requestedAttributeTypes
requestedAttributeTypesNGRAM_GROUP/requestedAttributeTypes
paging
startIndex1/startIndex
numberResults400/numberResults
/paging
localeCodeen_US/localeCode
currencyCodeUSD/currencyCode
/selector
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope


Here's the same call but with only two keywords that returns results
that are not PHRASE related:
SOAP-ENV:Envelope
SOAP-ENV:Header
RequestHeader
authToken/authToken
clientEmail/clientEmail
developerTokenlKzbm3OF6YVno48Wgx2nTw/developerToken
userAgent/userAgent
validateOnlyfalse/validateOnly
/RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body
get
 selector
 searchParameters xsi:type=RelatedToKeywordSearchParameter
 keywords xsi:type=Keyword
text xsi:type=stringchess programs/text
matchType xsi:type=stringPHRASE/matchType
/keywords
keywords xsi:type=Keyword
text xsi:type=stringprograms chess/text
matchType xsi:type=stringPHRASE/matchType
/keywords
/searchParameters

searchParameters xsi:type=LanguageTargetSearchParameter
languageTargets xsi:type=LanguageTarget
languageCode xsi:type=stringEN/languageCode
/languageTargets
/searchParameters

searchParameters xsi:type=KeywordMatchTypeSearchParameter
keywordMatchTypes xsi:type=stringPHRASE/keywordMatchTypes
/searchParameters
ideaTypeKEYWORD/ideaType
requestTypeIDEAS/requestType
requestedAttributeTypesKEYWORD/requestedAttributeTypes
requestedAttributeTypesGLOBAL_MONTHLY_SEARCHES/
requestedAttributeTypes
requestedAttributeTypesNGRAM_GROUP/requestedAttributeTypes

paging
startIndex1/startIndex
numberResults400/numberResults
/paging
localeCodeen_US/localeCode
currencyCodeUSD/currencyCode
/selector
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope

-- 
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 Error for XML_STREAM_EXC

2010-02-02 Thread Dave L
Hi,

I received following error when try to get campaigns:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
soap:Body/soap:Envelope

Here is my Request String:


?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
ENV=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/;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authTokenDQAAAIoAAACCylUSRlkTgSFuhCx6zSAwWhGIt3rBs_kOMIOpvkD8S_VARjB-
cMqUHvmdk7lpCcZY23rgNaW07ckXPsRqnIl2RQj863nyClJqm5YnuOvjImYEXM6htGy11Vr/
authToken
userAgentcc/userAgent
developerToken/developerToken
/RequestHeader
/soap:Header
SOAP-ENV:Body
get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
selector/
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope
==

I cannot figure out what's wrong. Can any one help to let me know what
I am doing wrong.

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-...@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 XML_STREAM_EXC while get campaigns

2010-02-02 Thread Dave L
Hi Eric,

Thanks for your advice and it works now. Thank you.

About authToken in my post, it is NOT a real authToken, it is fake, so
it is OK.

All the best,

David



On Feb 3, 1:43 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Dave,

 The first point is that you shouldn't post your authToken in public
 forum, as it can be used to access your account.  These tokens
 normally expire after two weeks, but if you want to revoke it sooner
 you need to change the password on your account.

 As for the error, it is caused by invalid XML being sent.  In your
 case the XML prefix soap is undefined when it is used in
 soap:Header.  You've defined the prefix as SOAP-ENV and used it
 correctly in the body, and need to use the same prefix in the header.

 Best,
 - Eric Koleda, AdWords API Team

 On Feb 2, 8:43 am, Dave L googlecen...@apexpacific.com wrote:

  Hi, I received following error when try to get campaigns:

  soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
  envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
  faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
  soap:Body/soap:Envelope

  Here is my request string:

  ---
  ?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
  ENV=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/;
  soap:Header
  RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
  v200909
  authTokenDQAAAIgAAACGxds-vcXArSDyIQLCtp2BOPPcnSDU7S78Zg6qt74IjV/
  authToken
  useragentxx/useragent
  developerTokenxxx/developerToken
  applicationTokenxxx/applicationToken
  /RequestHeader
  /soap:Header
  SOAP-ENV:Body
  get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
  selector/
  /get
  /SOAP-ENV:Body
  /SOAP-ENV:Envelope
  -

  Could you please let me know what I am doing wrong? and what does
  XML_STREAM_EXC mean?

-- 
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 for XML_STREAM_EXC

2010-02-02 Thread Dave L
Hi,

Please discards this post, this issue has been fixed now.

Regards,
David


On Feb 3, 10:45 am, Dave L googlecen...@apexpacific.com wrote:
 Hi,

 I received following error when try to get campaigns:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
 envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
 faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
 soap:Body/soap:Envelope

 Here is my Request String:

 
 ?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
 ENV=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/;
 soap:Header
 RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
 authTokenDQAAAIoAAACCylUSRlkTgSFuhCx6zSAwWhGIt3rBs_kOMIOpvkD8S_VARjB-
 cMqUHvmdk7lpCcZY23rgNaW07ckXPsRqnIl2RQj863nyClJqm5YnuOvjImYEXM6htGy11Vr/
 authToken
 userAgentcc/userAgent
 developerToken/developerToken
 /RequestHeader
 /soap:Header
 SOAP-ENV:Body
 get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
 selector/
 /get
 /SOAP-ENV:Body
 /SOAP-ENV:Envelope
 ==

 I cannot figure out what's wrong. Can any one help to let me know what
 I am doing wrong.

 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-...@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 network types of v200909

2010-02-02 Thread PHP Developer
Could someone explain the following network types in more depth:

CONTENT_CONTEXTUAL Indicate ads coverage for
content_synd_contextual.
CPA_REFERRAL Indicate ads coverage for referral.

Thanks

-Ashkan

-- 
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 Bidding strategy for v200909

2010-02-02 Thread PHP Developer
Now that the concept of bidding strategy is introduced for v200909,
will mixed cpm/cpc ad groups within a campaign still function properly
if not transitioned? Basically what will happen to campaigns that
already have ad groups with their cpm and cpc set? Which bidding
strategy will be assigned to their campaigns?

-- 
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 content bid at the keyword level

2010-02-02 Thread PHP Developer
Is content bidding at the keyword level discontinued? We are still
able to set the network type of campaigns to CONTEN_SEARCH but no
indication of setting content bids at the keyword level in the
documentations.

-- 
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 Network type values for a campaign

2010-02-02 Thread RAGHAVENDRA SUDHA
Hi,

i need some information regarding the network types in Google campaigns,
from what i can understand whenever i create an campaign, i can select
whether to target content network or search network or both.
when i select

   1. serach and content then the network is shown as -- *ALL*
   2. search along with partner serach providers then network is shown as --
   *Search*
   3. Content network with automatic type of placements then -- it is shown
   as -- *Content*
   4. Content network with managed placements then it is shown as -- *Content
   managed placements*

when i retreive the campaigns using getcampaign method of camapiagn service,
i get a Campaign[] object.
this object contains a object of type *NetworkType[]*, which contains a list
of network types.

what i need to find out whether my campaign is targeting *ALL *networks or
*Search *or *Content *or *Content managed placements.

* but these options are not provided in the NetworkType enum provided ( it
has only search, googlesearch, content).
this is what i am doing at the moment

*if (campaign.getNetworkTargeting() != null){
boolean
AllSelectedNetworks=false,SearchOnly=false,ContentOnly=false;
for (NetworkType network :
campaign.getNetworkTargeting()){
   if (network.ContentNetwork ==
NetworkType.ContentNetwork ){
//content networks
ContentOnly = true;
} if (network.SearchNetwork ==
NetworkType.SearchNetwork ){
//serach networks
AllSelectedNetworks =true;
}
}
if (**AllSelectedNetworks ** SearchOnly){

channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_ALL);
}else if (**AllSelectedNetworks **){

channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_SEARCH);
}else if (ContentOnly){

channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_CONTENT);
}
}

* but i am not getting the right results, is this the correct way of doing
this or is there any way i need to do it.
please help me out on this one.

Thank you,
Raghavendra.
*

*

-- 
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: The request failed with HTTP status 405: Method Not Allowed

2010-02-02 Thread shiraazz
I downloaded the .NET client library 6.2.0 from

http://code.google.com/p/google-api-adwords-dotnet/

I am using the targetingidea service.

 TargetingIdeaSelector selector = new TargetingIdeaSelector();
   selector.searchParameters = new SearchParameter[]
 {searchParameter};
   selector.ideaTypeSpecified = true;
   selector.ideaType = IdeaType.KEYWORD;
   selector.requestTypeSpecified = true;
   selector.requestType = RequestType.IDEAS;

   Paging paging = new Paging();
   paging.startIndex = 0;
   paging.startIndexSpecified = true;
   paging.numberResults = 10;
   paging.numberResultsSpecified = true;

   selector.paging = paging;
   TargetingIdeaPage page = targetingIdeaService.get(selector); //
Throws error here



On Feb 2, 5:21 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 Can you provide the code you are using to generate the service?  Can
 you double check that you are using the correct URL endpoint?

 Best,
 - Eric Koleda, AdWords API Team

 On Feb 2, 9:50 am, shiraazz shira...@gmail.com wrote:

  *bump*

  On Feb 1, 12:38 pm, shiraazz shira...@gmail.com wrote:

   When I debug I get this error.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse
   (SoapClientMessage message, WebResponse response, Stream
   responseStream, Boolean asyncCall)
      at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke
   (String methodName, Object[] parameters)
      at com.google.api.adwords.lib.SoapServiceBase.Call(String
   methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool
   \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 135
      at com.google.api.adwords.lib.SoapServiceBase.Invoke(String
   methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool
   \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 86
      at com.google.api.adwords.v200909.TargetingIdeaService.get
   (TargetingIdeaSelector selector) in D:\Dotslash\Web Projects\SEO Tool
   \Libraries\GoogleAPI\src\v200909\AdWordsApi.cs:line 12259
      at TermService.GetKeyWords_NEW(String kw) in d:\Dotslash\Web
   Projects\SEO Tool\Website\App_Code\Web Services\TermService.cs:line
   170

   //

   Am I missing something?
   //

         TargetingIdeaSelector selector = new TargetingIdeaSelector();
         selector.searchParameters = new SearchParameter[]
   {searchParameter};
         selector.ideaTypeSpecified = true;
         selector.ideaType = IdeaType.KEYWORD;
         selector.requestTypeSpecified = true;
         selector.requestType = RequestType.IDEAS;

         Paging paging = new Paging();
         paging.startIndex = 0;
         paging.startIndexSpecified = true;
         paging.numberResults = 10;
         paging.numberResultsSpecified = true;

         selector.paging = paging;
         TargetingIdeaPage page = targetingIdeaService.get(selector);

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