AdWords API Response is not well-formed XML.

2010-03-18 Thread allvin
Hello

When I call AdGroupService.mutate. I get the following error:
Unexpected end of file has occurred. The following elements are not
closed: ApiError.Type, errors, ApiExceptionFault, detail, soap:Fault,
soap:Body, soap:Envelope. Line 1, position 65537.

It rises from time to time, depending on data that I pass.
Unfortunately I cannot detect which group names raise this error.
Please, help.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Perl API Support.

2010-03-18 Thread john napiorkowski


On Mar 17, 3:25 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi All,

 To help you get started using and updating the client library, we've
 made sure that the current code is up to date with most of the
 services from v200909 of the API.

 The only services that are missing from this build are InfoService,
 BulkMutateJobService, and TargetingIdeaService.  These services
 require further patches to the SOAP module in order to support
 multiple namespaces.  For example, some of the obejcts in the
 InfoService are shared with cm/ and thus defined 
 withhttps://adwords.google.com/api/adwords/cm/namespace, others are
 unique to this service and are defined 
 underhttps://adwords.google.com/api/adwords/info/
 namespace.  We hope to implement these patches with your help.  The
 latest version of the code can be found at:

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

 Note that the client library requires patched version of the
 SOAP::WSDL module, thus make sure to follow instructions in the README
 file:

  http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/...

 Best,
 - Eric Koleda, AdWords API Team


This is a great start.  I want to say I appreciate your timely
response to this issue.  We are going to try building this code today
and see how it goes; I'll post feedback later today.  I will also be
posting a followup on the previously mentioned blog regarding your
efforts here.

I think some things I'd like to help work out would include:

1) SOAP::WSDL patches, if these are good patches I will contact the
cpan author and see if we can get them integrated and released on
CPAN.  CPAN is the standard toolchain for perl developers and is the
community approved method for contributing code.  So if these changes
are needed I'd like to get them on CPAN.  Please consider if this can
work with your legal team and terms.  We' d be happy to add a note to
the author section saying something like, some code contributed by
Google or similar.  Let me know what you think

2) Ideally this code in google-api-adwords would also get released to
CPAN in a regular way.  obviously the developer repo and related tools
like bugtracking and discussion can reside anywhere, but again any
Perl developer would look to CPAN first for code.  If the existing
Google::Adwords module is going be be considered deprecated I need to
get the author to mark a new release as such, and ideally we'd cut a
working version of the code in the repository over here onto CPAN,
like under Google::API::Adwords or similar.  Is there someone on the
Google end that wants to own this CPAN module?   If you need help
getting this together I would gladly assist.

Myself I am not a SOAP expert.  In general SOAP is not preferred by
any dynamic language, it is a better fit for strongly typed languages
such as Java.  So I can't assist very much on that side.  However I
can act to help facilitate communication between our communities and
with other bookekeeping tasks, like CPAN access, etc.  Some developers
on our side may be willing to put some additional time into getting
all this working.

Thanks!

John Napiorkowski
 On Mar 17, 10:48 am, john napiorkowski jjn1...@gmail.com wrote:

  On Mar 16, 6:24 pm, AdWords API Advisor adwordsapiadvi...@google.com
  wrote:

   Hi Rick

   We are aware that the Perl client library is out of date, and we are
   actively working on updating it to take full advantage of the v200909
   version of the API.  We encourage AdWords API Perl developers to
   contribute to the open source project and help to accelerate the
   process, but we want you to understand that this work will not be
   completed prior to the April 22 sunset of most v13 services.  We
   recommend that developers either migrate their applications to another
   language and client library (such as PHP, Python, etc.) or continue
   the development of their own implementation in Perl.  A complete list
   of the AdWords API client libraries is available here:

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

   Best,
   - Eric Koleda, AdWords API Team

  Recently blogged about this decision over 
  at:http://jjnapiorkowski.vox.com/library/post/google-do-no-evil-to-perl

  I hope we can work together to address this problem.  I really don't
  think use a language other then Perl or write your own bindings is a
  very productive solution.  I hope we can do better.

   On Mar 8, 1:50 pm, Rick google...@ppcassurance.com wrote:

We've been using the perl api for v13, and are trying to use the v2009
api.

However, the perl api appears broken, and we're just not getting any
response from google about when, or even if, it will be fixed.

What will happen on April 22, then? Will the v13 calls be turned off,
in spite of the fact that the v2009 api is broken?

If google is not going to actually support perl, is there any
consensus on what api they actually support best so we can migrate to

AdWords API Sample CampaignService.get() raw soap request

2010-03-18 Thread dshevnock
Does anyone have a sample raw SOAP request for the
CampaignService.get() operation?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Clarifications needed on ClientLogin API and AuthenticationError for v200909

2010-03-18 Thread SEM
Eric:

You're right in that the error reason for an expired auth token being
LOGIN_COOKIE_INVALID isn't obvious.
That said, in what situation would the error OAUTH_TOKEN_EXPIRED be
returned?

Lastly, which of the above erros would be returned if the user changes
his password and we attempt to reuse the authtoken for the invalidated
login?

Let me know.

Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Sample CampaignService.get() raw soap request

2010-03-18 Thread Reed
Here is what I am using and it works ok.Also note that it doesn't
seem to care what you give it for campaign status filtering: You can
put junk in for the campaign status and it doesn't throw any errors.
I included the stats option for grins and giggles but always seem to
get zeros back.

FYI, I found soapUI to be of great help on this, so thanks to John
Bliss for that pointer in an earlier posting.


soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/
envelope/ xmlns:v20=https://adwords.google.com/api/adwords/cm/
v200909
   soapenv:Header
  v20:RequestHeader
 !--Optional:--
 v20:authTokenGoogleAuthToken/v20:authToken
 !--Optional:--

 v20:developerTokenDeveloperToken/v20:developerToken
 !--Optional:--
 v20:userAgentV2009 Getall Adwords 
camp/v20:userAgent
 !--Optional:--

  /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:get
 !--Optional:--
 v20:selector
!--Zero or more repetitions:--
v20:ids/v20:ids
!--Zero or more repetitions:--
v20:campaignStatuses/v20:campaignStatuses

v20:statsSelector
   v20:dateRange
  v20:min20100101/v20:min
  v20:max20100314/v20:max
   /v20:dateRange
   v20:StatsSelector.Type/v20:StatsSelector.Type
/v20:statsSelector

 /v20:selector
  /v20:get

   /soapenv:Body
/soapenv:Envelope

On Mar 18, 10:07 am, dshevnock dshevn...@gmail.com wrote:
 Does anyone have a sample raw SOAP request for the
 CampaignService.get() operation?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Get QuotaCheckError.INVALID_TOKEN_HEADER error message

2010-03-18 Thread AdWords API Advisor
Hi Jan,

It looks like your useragent, developerToken, and applicationToken
headers aren't being set correctly.  Can you verify that those
variable have values?

Best,
- Eric Koleda, AdWords API Team

On Mar 16, 9:26 am, Jan Kapusta jan.kapu...@gmail.com wrote:
 Hi,

 I try to use AdWords api with perl.  I started with AdGroupAdService.

 After call method with selector and headers, i get error message
 QuotaCheckError.INVALID_TOKEN_HEADER @

 I am using Google::AdWords::AuthToken library.

 So code look like (logic has beeen copied from adwords-api-perl-
 samples from google code):

 my $namespace = 'https://adwords.google.com/api/adwords/cm/v200909';
 my $sub_headers =  SOAP::Header-value(
       SOAP::Header-name('authToken' =
 Google::AdWords::AuthToken::get_token({
         email = 'f...@flym.sk',
         password = password
       })),
       SOAP::Header-name('clientEmail' ='f...@flym.sk'),
       SOAP::Header-name('useragent' = $Gua),
       SOAP::Header-name('developerToken' = $DevTok),
       SOAP::Header-name('applicationToken' = $AppTok));
     my $headers = SOAP::Header-name('RequestHeader' = \$sub_headers)-attr({

       'xmlns' = $namespace});

 my $proxy_url = $namespace . '/AdGroupAdService';
     my $ad_group_ad_service = SOAP::Lite-service($proxy_url . '?
 wsdl')-autotype(0)
       -readable(1)-proxy($proxy_url);

    # Get all ads.
     my $ad_group_id = '23';
     my $soap_action = SOAP::Data-name('get')-attr({'xmlns' =
 $namespace});
     my $selector = SOAP::Data-name('selector' = {
       'adGroupAdIdFilters' = [{
         'adGroupId' = {
           'id' = $ad_group_id
         }
       }]
     });
     my $response = $ad_group_ad_service-call($soap_action =
 $selector, $headers);
     my $ads = $response-result()-{'entries'};

 I tried to print out token, and there is very long string - look fine.
 Can you help me?, .. i don't know what i can do with this problem.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Maximum Number of Operations in AdGroupCriterionService Mutate Call

2010-03-18 Thread AdWords API Advisor
Hi Ralph,

When you've exceeded the maximum number of operations allowed you will
receive a SizeLimitError.REQUEST_SIZE_LIMIT_EXCEEDED.  The exact
maximum may change over time, but in general we recommend no more than
a few thousand operations per request.

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

Best,
- Eric Koleda, AdWords API Team

On Mar 16, 7:48 pm, Ralph Stevens ra...@inspirasoft.com wrote:
 What is the maximum number of operations allowed in the
 AdGroupCriterionService mutate call?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: API Access

2010-03-18 Thread AdWords API Advisor
Hi Terance,

Please ensure you use a different email address for the MCC signup
then you use for your AdWords account.

Best,
- Eric Koleda, AdWords API team

On Mar 17, 9:54 am, developer developer.socialtw...@gmail.com wrote:
 Hi,

 I want to access the adwords API.
 The getting started guide says that I need to create a My client
 Center (MCC) first.
 I tried doing that but got an error on the third step. so my gmail
 address got registered but did not go through the complete process. I
 tried registering for MCC again but got an error saying that the gmail
 address is already registered.
 The guide then says:
 If you already have an MCC account, you can sign up for the AdWords
 API directly from the My Account tab. Click on API Center and follow
 the instructions to apply for AdWords API access

 I'm able to login to adwords.google.com but am not able to see API
 Center under My Accounts.
 How do I enable API for my account.

 Thanks,
 Terance.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Enum com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.ContentLabelType does not have a constant corresponding to BELOW_THE_FOLD

2010-03-18 Thread SEM
Thanks Eric.

On Mar 18, 8:12 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 Thank you for bringing this problem to our attention.  I've alerted
 the core engineering team and they are working on a solution.  At this
 time there are no workarounds for this issue.  I'll update this thread
 when I have more information.

 Best,
 - Eric Koleda, AdWords API Team

 On Mar 18, 10:28 am, SEM sem...@gmail.com wrote:



  Can someone assist with this please?

  Thanks.

  On Mar 16, 5:11 pm, SEM sem...@gmail.com wrote:

   Hi,

   We are seeing the below error for one of our clients for Google
   Adwords API v200909
   com.google.api.adwords.cm.CampaignCriterionServiceSoapBindingStub.get()
   method.

   What is the cause for this Error?

   Thanks,

   Error Stacktrace:
   -

   Enum
   com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090
­9.jaxbgen.ContentLabelType
   does not have a constant corresponding to BELOW_THE_FOLD while
   invoking public abstract
   com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090
­9.jaxbgen.CampaignCriterionPage
   com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090

   ­9.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.service

   s­.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.CampaignCriteri
on­Selector)
   throws
   com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090
­9.jaxbgen.ApiException_Exception
   with params
   [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v2009
­09.jaxbgen.campaigncriterionselec...@cf182e].
           at
   org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:
   222)
           at
   org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:
   129)
           at
   org.apache.axis.encoding.DeserializationContext.endElement(DeserializationC
­ontext.java:
   1087)
           at
   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Abs
­tractSAXParser.java:
   601)
           at
   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
­EndElement(XMLDocumentFragmentScannerImpl.java:
   1774)
           at
   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
   $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
           at
   com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocu
­mentScannerImpl.java:
   648)
           at
   com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNS
­DocumentScannerImpl.java:
   140)
           at
   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
­Document(XMLDocumentFragmentScannerImpl.java:
   510)
           at
   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co
­nfiguration.java:
   807)
           at
   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co
­nfiguration.java:
   737)
           at
   com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
   107)
           at
   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstract
­SAXParser.java:
   1205)
           at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
   $JAXPSAXParser.parse(SAXParserImpl.java:522)
           at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
           at
   org.apache.axis.encoding.DeserializationContext.parse(DeserializationContex
­t.java:
   227)
           at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
           at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
           at
   org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandCh
­ecker.java:
   62)
           at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
           at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
           at org.apache.axis.client.Call.invoke(Call.java:2767)
           at org.apache.axis.client.Call.invoke(Call.java:2443)
           at org.apache.axis.client.Call.invoke(Call.java:2366)
           at org.apache.axis.client.Call.invoke(Call.java:1812)
           at
   com.google.api.adwords.cm.CampaignCriterionServiceSoapBindingStub.get(Campa
­ignCriterionServiceSoapBindingStub.java:
   644)- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send 

AdWords API Re: Search Volume discrepency between KeywordTool and API

2010-03-18 Thread AdWords API Advisor
Hi,

Which keyword tool are you using?  The results from the
TargetingIdeaService are expected to be different from those of the
older KeywordTool:

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

and more like the new Search-based Keyword Tool:

  http://www.google.com/sktool/

Also, a localeCode of US will not affect the country targeting of
your query, you need to use a CountryTargetSearchParameter

  
http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.CountryTargetSearchParameter.html

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 12:42 pm, pferdwurst mameda...@gmail.com wrote:
 Hi -

 I have noticed that the values I am returned when retrieving the
 search volume (TARGETED_MONTHLY_SEARCHES and GLOBAL_MONTHLY_SEARCHES)
 is wildly different from the values I see when querying from within
 the KeywordTool.

 Is it perhaps that I'm not constructing my TargetingIdeaSelector
 correctly (I am using the Java client library)?
 I am setting
 IdeaType = KEYWORD
 RequestType = STATS
 LocalCode = US

 For example, if I issue a request for 'ipod', the API returns a
 GLOBAL_MONTHLY_SEARCHES of 9,140,000 while the KeywordTool shows
 124,000,000.

 What might I be doing wrong?

 Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Are others seeing this downtime alert?

2010-03-18 Thread AdWords API Advisor
Hi Tom,

The downtime will be on Saturday March 20th.  There may have been a
typo earlier that listed it as March 18th.

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 12:57 pm, Tom Guzik tgu...@comcast.net wrote:
 System downtime - March 18, 2010 10:00 AM through March 18, 2010 2:00 PM
 Pacific Time.

 It seemed like an unusual time to do maintenance since they are usually on
 Saturdays.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: dateRange in AdGroupService

2010-03-18 Thread AdWords API Advisor
Hi Raj,

You also need to create the statsSelector object.

$selector = new AdGroupSelector();
$selector-statsSelector = new StatsSelector();
$selector-statsSelector-dateRange = new
DateRange('20100101','20100131');

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 1:19 pm, Raj rajanikant...@gmail.com wrote:
 Hi team,

   I am trying to get aall AdGroups criterion information for a given
 campaign ID or adGroupID for selected period.

 I am getting results but they are alltime results rather than selected
 date range.

 I am using the following lines of code for date range.

  $daterange=new DateRange();
   $daterange-min='2010-01-01';
   $daterange-max='2010-01-31';

 $selector = new AdGroupSelector();
 $selector-statsSelector=$daterange;

 $adGroupService = $user-GetAdGroupService('v200909');
 $page = $adGroupService-get($selector);

 I tired
 $selector-statsSelector-dateRange=new
 DateRange('2010-01-01','2010-01-31');
 and
 $selector-statsSelector-dateRange=new
 DateRange('20100101','20100131');

 then I got error as
 Creating default object from empty value in C:\AppServ\www
 \aw_api_php_lib_1.2.1\examples\v200909\GetAllAdGroups.php on line 61

 Please give me guidance.

 Thanks,
 Raj

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Audiences (uservertical) support in v2009

2010-03-18 Thread AdWords API Advisor
Hi Peer,

There is no support for Audiences in v2009 at this time.
Unfortunately I don't have any information about if or when this
feature will be available.

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 3:22 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 Hi,

 What are the support for audiences in V2009? In V13 all soap requests
 fails on an adgroup if it contains an audience.

 Will they show up as uservertical:x or using their real name.
 Can we get a reference data file in the sample libraries similar to
 the categories.csv file.

 Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: clientEmail and other data in header

2010-03-18 Thread AdWords API Advisor
Hi,

In v2009 the header fields are wrapped in an object called
RequestHeader.  To get these values you can use:

campaignService.RequestHeader.clientEmail

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 12:27 pm, rire1979 rire1...@gmail.com wrote:
 Hello,

 I am dealing with some v13 code and I am trying to learn and migrate
 that code. I have seen that certain data ie. email, password,
 clientEmail was accessible from the service object.

 Take an instance of the AdGroupService in V13. This object exposes
 those fields however in the new V200909 api the service instances do
 not contain that information anymore (I'm using the .NET client
 libraries).

 How/Where do I find that information?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Disapproved and Zero Impression Ad's

2010-03-18 Thread AdWords API Advisor
Hi,

You're correct, currently the only way to get all disapproved ads is
to iterate over all of them.  An example of this is included in the
Java client library:

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

To get back results with zero impressions you need to ensure that
DefinedReportJob.includeZeroImpression is set to true.

  
http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.html#includeZeroImpression

Unfortunately the change history is not exposed via the API, so it
isn't possible to tell when an ad was created.

Best,
- Eric Koleda, AdWords API Team.

On Mar 17, 5:23 pm, tsmthi...@gmail.com tsmthi...@gmail.com wrote:
 Still about the ad's..

 How can i know how long ago the ad was created?

 regards,
 Thiago.

 On 17 mar, 18:10, tsmthi...@gmail.com tsmthi...@gmail.com wrote:



  Hello,

  Is there any way to get the disapproved Ad's through api (v13 report
  or v200906)?

  The only way that i see, is returning all of the ads, and check one by
  one if one of them is disapproved, but with this way, i will pay a lot
  of API units.

  Another question is: Can i get the ad's with zero impression through
  api report?

  regards,
  Thiago.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: creating criterion, linking criteria to adgroup and campaign

2010-03-18 Thread AdWords API Advisor
Hi Simon,

As I indicated, this service allows for the addition of negative
keywords or placements.  NegativeCampaignCriterion is the only
concrete type that extends CampaignCriterion:

  
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignCriterionService.NegativeCampaignCriterion.html

The effects of negative keywords are explained here:

  http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=63235
  http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=105671

Because negative keywords can't be used to match a query ad parameters
cannot be assigned to them.

Best,
- Eric

On Mar 17, 9:56 pm, Simon simon.kitch...@airnz.co.nz wrote:
  The purpose of the CampaignCriterion is to allow you to add negative
  keywords or placements to a campaign, as is available in the AdWords
  web interface.

 Thanks for your reply, Eric. Unfortunately it isn't what I was looking
 for. It's clear from the API that this adds a Criterion to a Campaign.
 My question was: what *effect* does this have?

 Here's my best *guess*:

 Adding a CampaignCriterion (to associate a Criterion with a Campaign)
 has the same effect as adding an AdGroupCriterion with the same
 Criterion values for each AdGroup in the Campaign. Note, however, that
 it is not possible to create AdParam objects for a CampaignCriterion;
 if AdParams are needed then an AdGroupCriterion must be explicitly
 used.

 Have I got it right?

 Thanks, Simon

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API API via Perl — a few successes and an InternalApiError

2010-03-18 Thread Kris
Hello,

We installed yesterday's updated Perl API client library and it seems
to be working so far with our limited testing in the sandbox.

Specifically, the example script add_all.pl and
delete_all_campaigns.pl scripts run without problems in the sandbox.
Also, a few simple scripts we wrote also run.

However, when we run the display_stats.pl script, also included as an
example, it fails with this error:

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @

Any ideas about this?

Thanks,
   Kris Arnold

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Questions about processing bulk mutate job results

2010-03-18 Thread btaz
I've read that an atomic batch size currently is set to 50.

I setup a test that performs 150 AdGroup Criterion operations in
total. The first 50 operations were rigged to fail, the following 50
operations to be successful, and the last 50 operations to fail.
For each operation (in this case pause keywords) I had to provide an
AdGroup ID and a Criterion ID).

The result from the AdWords bulk mutate job service was:

One FailureResult object containing an EntityNotFound exception and
the AdGroupID's (50 of them) that caused the failure with a batch
relative index.

49 BatchFailureResult objects that doesn't contain any AdGroup
Critetion identifying information.

One FailureResult object containing an EntityNotFound exception and
the AdGroupID's (50 of them) that caused the failure with a batch
relative index.

49 BatchFailureResult objects that doesn't contain any AdGroup
Critetion identifying information.

50 ReturnValueResult objects containing the AdGroup ID, Criterion ID
and status for all pause keyword operations that were successful

Since the results comes back in a different order (batches that failed
due to errors are returned first) how do you suggest that we identify
which input data caused the failures? Yes, I realize that using a bit
of detective work you can figure this out in most cases, but I'd
prefer to build a programmatic solution that isn't too complex.

Unless I missed something the current implementation makes it
difficult to identify which operations that were successful and which
operations that failed when an atomic batch failed, especially when
multiple batches fails within the same OperationStream.

If you for example would have provided both the AdGroup ID and the
Criterion ID in the EntityNotFound exception it would have been a
fairly trivial exercise to map the failures against the input
operations, something that the current implementation makes
unnecessarily difficult.

What is the Google AdWords teams recommended solution for how to
properly identify the operations that failed in cases like this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: AdWords API Getting Campaign statistics with the 200909 API

2010-03-18 Thread AdWords API Advisor
Hi Joshua,

It seems you've found answers to many of your questions.  Which ones
are outstanding?

Best,
- Eric Koleda, AdWords API Team

On Mar 17, 10:13 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
 On Wednesday 17 March 2010, Joshua J. Kugler elucidated thus:





  All I get from the campaign_service.Get(selector) call (this is using
  suds in Python):

  (CampaignPage){
     totalNumEntries = 0
     Page.Type = CampaignPage
     totalBudget =
        (Budget){
           period = DAILY
           amount =
              (Money){
                 ComparableValue.Type = Money
                 microAmount = 0
              }
           deliveryMethod = STANDARD
        }
   }

 OK, I from a v13 API call that I don't have any campaigns available to
 me...so, that answers part of my question, BUT when I specify an id in
 getCampaign (v13) it tells me I can't access that campaign.  When I do
 that for v200909, it just returns zero records and doesn't tell me why.  
 Not very friendly. :)

  I see that the CampaignService has an object named Stats which has
  all the aforementioned fields, but there is no indication on how to
  retrieve that object for a campaign.  How do I do a call that will
  retrieve a Stats object, and thus the information I need?

 OK, so I understand now that if results are returned, they'll include
 a Stats object...got it.

  In fact, in the wsdl file, on line 3352 (CampaignService.wsdl for
  200909), the operation is defined as:

  wsdl:operation name=get

  (lower case 'G'). Same for 'mutate.'  It would seem the documentation
  is incorrect in this case.

 Sigh...I could have sworn the docs were saying Get, but I guess not.  
 They are saying GetSomething for the old calls when the correct call is
 getSomething, though. :)

 So, a couple of questions answered, one still outstanding. :)

 j

 --
 Joshua Kugler
 Part-Time System Admin/Programmerhttp://www.eeinternet.com
 PGP Key:http://pgp.mit.edu/ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: Question with CaptchaRequired error code with ClientLogin authentication API

2010-03-18 Thread SEM
Eric:

We aren't assuming that 403/CAPTCHA errors will resolve themselves
automatically.
Also, we understand that 403/CAPTCHA errors could occur for a variety
of reasons.

Our situation is as follows:
We rolled out a production update to v200909 without ClientLogin /
authtoken caching resulting in a lot of 403/CAPTCHA locks for our
customer base of several hundred customers (due to excessive logins).
We would prefer not to subject our customers to this inconvenience due
to this architectural change in authentication and unlock their
accounts on their behalf.
That said, if these specific 403/CAPTCHA errors unlock themselves
after a period of a few hours (by which time our caching code goes
in), we can hold off on unlocking these errors manually.
Could you let us know what the duration is for these CAPTCHA errors
(for this specific reason - i.e. due to throttling restrictions) to
unlock automatically (if at all)?

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Disapproved and Zero Impression Ad's

2010-03-18 Thread tsmthi...@gmail.com
Thanks for reply!

Unfortunately, the includeZeroImpression field only has an effect if i
work with the keywords according to
http://code.google.com/intl/en/apis/adwords/docs/developer/DefinedReportJob.html#includeZeroImpression

..this field's value only has an effect if you set
selectedReportType  to Keyword.

Regards,
Thiago.

On 18 mar, 13:19, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 You're correct, currently the only way to get all disapproved ads is
 to iterate over all of them.  An example of this is included in the
 Java client library:

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

 To get back results with zero impressions you need to ensure that
 DefinedReportJob.includeZeroImpression is set to true.

  http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.h...

 Unfortunately the change history is not exposed via the API, so it
 isn't possible to tell when an ad was created.

 Best,
 - Eric Koleda, AdWords API Team.

 On Mar 17, 5:23 pm, tsmthi...@gmail.com tsmthi...@gmail.com wrote:

  Still about the ad's..

  How can i know how long ago the ad was created?

  regards,
  Thiago.

  On 17 mar, 18:10, tsmthi...@gmail.com tsmthi...@gmail.com wrote:

   Hello,

   Is there any way to get the disapproved Ad's through api (v13 report
   or v200906)?

   The only way that i see, is returning all of the ads, and check one by
   one if one of them is disapproved, but with this way, i will pay a lot
   of API units.

   Another question is: Can i get the ad's with zero impression through
   api report?

   regards,
   Thiago.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: EntityNotFound.INVALID_ID

2010-03-18 Thread Mike
I experience the same problem in Sandbox with php lib.
 My code is based on examples/AddAds.php.
Basicly I just changes  $adGroupId='3121652289'.
 SoapFault Object ( [message:protected] = [EntityNotFound.INVALID_ID
@ operations[0].operand.adGroupId; trigger:'AdGroupId: 2147483647']

I can create campains and groups, but not ads.

Regards Mike

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'

2010-03-18 Thread dsay
I get the above error when I try to obtain the keywords using
TargetingIdeaService. Heres the stack trace.

*** Outgoing HTTP headers
**
POST /api/adwords/o/v200909/TargetingIdeaService?wsdl HTTP/1.0
Host: adwords-sandbox.google.com
User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset=UTF-8
Content-length: 2187
SOAPAction: get

*** Outgoing SOAP
**
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsd3=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi3=http://www.w3.org/2001/XMLSchema-instance;

SOAP-ENV:Header
authToken xsi3:type=xsd3:stringTHE TOKEN HERE/authToken
developerToken xsi3:type=xsd3:stringTHE TOKEN HERE/
developerToken
clientCustomerId xsi3:type=xsd3:stringEMAIL ID HERE/
clientCustomerId
applicationToken xsi3:type=xsd3:stringTHE TOKEN HERE/
applicationToken
useragent xsi3:type=xsd3:stringUA HERE/useragent
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/cm/
v200909
xsd3:v1
TargetingIdeaSelector
searchParameters SOAP-ENC:arrayType=ns2:SOAPStruct[3]
xsi3:type=SOAP-ENC:Array xmlns:ns2=http://soapinterop.org/xsd;
item
keywords SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
ENC:Array
item
texthouse/text
matchTypeBROAD/matchType
/item
/keywords
type xsi3:type=xsd3:stringRelatedToKeywordSearchParameter/type
/item
item
type xsi3:type=xsd3:stringLanguageTargetSearchParameter/type
languageTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1]
xsi3:type=SOAP-ENC:Array
item
languageCode xsi3:type=xsd3:stringen/languageCode
/item
/languageTargets
/item
item
type xsi3:type=xsd3:stringCountryTargetSearchParameter/type
countryTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
ENC:Array
item
countryCode xsi3:type=xsd3:stringUS/countryCode
/item
/countryTargets
/item
/searchParameters
ideaTypeKEYWORD/ideaType
paging
startIndex0/startIndex
numberResults100/numberResults
/paging
requestTypeIDEAS/requestType
/TargetingIdeaSelector
/xsd3:v1
/ns1:get
/SOAP-ENV:Body
/SOAP-ENV:Envelope

code= 200
msg= OK
headers= Content-Type: text/xml

Date: Thu, 18 Mar 2010 18:33:23 GMT

Expires: Thu, 18 Mar 2010 18:33:23 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN

Server: GSE

X-XSS-Protection: 0


content-type= text/xml
data= ?xml version=1.0 encoding=UTF-8?
!-- Generated file, do not edit --
!-- Copyright 2008 Google Inc. All Rights Reserved --
wsdl:definitions
  targetNamespace=https://adwords.google.com/api/adwords/o/v200909;
  xmlns:tns=https://adwords.google.com/api/adwords/o/v200909;
  xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
  xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  wsdl:types

THEN COMPLETE WSDL DEFINTION FILE FOLLOWED BY

  /wsdl:binding
  wsdl:service name=TargetingIdeaService
wsdl:port binding=tns:TargetingIdeaServiceSoapBinding
name=TargetingIdeaServiceInterfacePort
  wsdlsoap:address location=http://0.optimization-webapi-sandbox-
canary.optimization-webapi.ads-optimization-
frontend.cg.borg.google.com.:4024/api/adwords/o/v200909/
TargetingIdeaService/
/wsdl:port
  /wsdl:service
/wsdl:definitions

[class 'SOAPpy.Errors.Error', Error : expected `SOAP-ENV:Envelope',
gto `wsdl:definitions', traceback object at 0x945916c]
class 'SOAPpy.Errors.Error'
Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'
traceback object at 0x945916c
Traceback (most recent call last):
  File testSample.py, line 85, in module
page = soapProxy.get(in0)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 471, in __call__
return self.__r_call(*args, **kw)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 493, in __r_call
self.__hd, self.__ma)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 396, in __call
p, attrs = parseSOAPRPC(r, attrs = 1)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Parser.py, line 1049, in parseSOAPRPC
t = _parseSOAP(xml_str, rules = rules)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Parser.py, line 1029, in _parseSOAP
parser.parse(inpsrc)
  File /usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-
i686.egg/_xmlplus/sax/expatreader.py, line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
  File /usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-
i686.egg/_xmlplus/sax/xmlreader.py, line 123, in parse
self.feed(buffer)
  File 

AdWords API aw_api.Errors.ValidationError: Invalid headers for targeting_idea_service

2010-03-18 Thread dsay
Hi,

I am getting following error when config for ZSI. What could be the
cause? Also the implementation for SOAPpy returns not implemented.
When will it be implemented?

m...@ubuntu:/media/WinTools/svnfromnet/adwords/google-api-adwords-python-
lib-read-only/examples/v200909$ python get_related_keywords.py
../../aw_api/Errors.py:31: DeprecationWarning: BaseException.message
has been deprecated as of Python 2.6
  self.message = msg
../../aw_api/Errors.py:34: DeprecationWarning: BaseException.message
has been deprecated as of Python 2.6
  return str(self.message)
Traceback (most recent call last):
  File get_related_keywords.py, line 53, in module
page = targeting_idea_service.Get(selector)[0]
  File ../../aw_api/TargetingIdeaService.py, line 105, in Get
'TargetingIdea', self.__loc, request)
  File ../../aw_api/WebService.py, line 350, in CallMethod
raise ValidationError(error['data'])
aw_api.Errors.ValidationError: Invalid headers for 'https://adwords-
sandbox.google.com', see 
http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Enhanced XML validation enabled in the sandbox

2010-03-18 Thread spongman
does this break the .NET client library? i've just started seeing some
authentication errors when working against the sandbox, and I'm
wondering f this might be the cause?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-18 Thread shaselton
Hello All,

Right to the situation on hand...

$url = 'www.example.com';

$selector = new TargetingIdeaSelector();
$selector-requestType = 'IDEAS';
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes = array('KEYWORD');

$paging = new Paging();
$paging-startIndex = 0;
$paging-numberResults = 21;
$selector-paging = $paging;

$relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
$relatedToKeywordSearchParameter-urls = array($url);
$selector-searchParameters = array($relatedToKeywordSearchParameter);

This returns 7 keywords of each matching type (exact, broad, and
phrase)   ( 7 [keywords] * 3 [types] = 21 results)
I am wanting only a single type (such as 'exact') of keyword returned
on searching the url, so I will have 21 keywords of one type rather
than 7.  Not quite sure how to do this on the
RelatedToUrlSearchParameter.  I know it can be done with
RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API ImageError.INVALID_IMAGE while publishing .SWF

2010-03-18 Thread spongman
I'm trying to publish a SWF to sandbox, but I'm getting an
ImageError.INVALID_IMAGE error. what am I doing wrong?

here's my request:

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authToken{my token{/authToken
clientEmailclient_1+{my email}/clientEmail
developerToken{my email}++USD/developerToken
userAgentAWAPI DotNetLib 7.1 - {my 
company}/userAgent
/RequestHeader
/soap:Header
soap:Body
mutate 
xmlns=https://adwords.google.com/api/adwords/cm/v200909;
operations
operatorADD/operator
operand
adGroupId3121619235/adGroupId
ad xsi:type=ImageAd
url{click URL}/url
displayUrl{click 
URL}/displayUrl
image

mimeTypeFLASH/mimeType
data{base-64 encoded 
SWF}/data
/image

nameNew_Campaign_300x250_0/name
/ad
/operand
/operations
/mutate
/soap:Body
/soap:Envelope

and here's the response:



soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/
v200909
requestIde038a885b90ce2a4b607d3dbb86c5df2/requestId
operations1/operations
responseTime322/responseTime
units40/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[ImageError.INVALID_IMAGE @
operations[0].operand.ad.image.data]/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/
cm/v200909
message[ImageError.INVALID_IMAGE @
operations[0].operand.ad.image.data]/message

ApplicationException.TypeApiException/
ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:type=ImageError

fieldPathoperations[0].operand.ad.image.data/fieldPath
trigger/trigger

ApiError.TypeImageError/ApiError.Type
reasonINVALID_IMAGE/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API BulkMutateService - Associate input operation index with output operation index

2010-03-18 Thread shriny
Hi,


Is there any way to associate failure results with input result.

In an operationStream if there are many operations (eg 1000)
how to associate the failed operation index to input operation index.

Can API gurus post an sample in Java.

the sample in client library doesn't address this issue, it just
prints the failure result.


Thanks
Shriny

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API BidLandscapeService, can we use it in production?

2010-03-18 Thread Peer Jakobsen (AdWords API Guru)
Is it OK if we start using the V201002 BidLandScapeService? I don't
see it documented anywhere, but usage looks pretty straightforward.

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: validation code on campaign still returns null

2010-03-18 Thread Qmeapi
Nobody can help me ?
All suggestions are welcome!

On Mar 18, 3:25 pm, Qmeapi qme...@gmail.com wrote:
 I can add that this case doesn't happen with the non-validation
 service (sandbox and production environments). Is there any problem
 with the validation service ?

 On Mar 18, 2:16 pm, Qmeapi qme...@gmail.com wrote:



  Hi,

  I've written some code to validate campaigns before submitting them to
  the google platform. That was working but this morning the mutate
  function still return null. Here's the code:

  -

  try {
          [...]
          //Campaign VALIDATION service
          CampaignServiceInterface campaignServiceInterface =
  (CampaignServiceInterface)user.getValidationService(AdWordsService.V200909.­­CAMPAIGN_SERVICE);

          Campaign campaign = new Campaign();
          campaign.setName(...);

          [...]

          CampaignOperation operation = new CampaignOperation();
          operation.setOperand(campaign);
          operation.setOperator(Operator.ADD);

          //The return value here is always null
          CampaignReturnValue result = campaignServiceInterface.mutate(new
  CampaignOperation[] {operation});

          campaignId = result.getValue()[0].getId();

          // No policy violations found, finishing without exception.

  } catch (ApiException e) {

          [...]

  -

  Hope someone could help.

  Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API how can I set maxCpc in Keyword object?

2010-03-18 Thread Brian Graves
I am trying to use the com.google.api.adwords.v200909 client library
to set the maxCpc for a Keyword object.  Unfortunately, the only
properties of this object are id, matchType, and text.  Is there
supposed to be a bid subclass?  How can a set the maxcpc on a Keyword?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can I set maxCpc in Keyword object?

2010-03-18 Thread Peer Jakobsen (AdWords API Guru)
Based on your other post it looks like you think that migrating to
v2009 is as simple as migration from V12 to V13 was.

The classes in V2009 have completely different structures, so I
suggest you use the documentation to get a good overview of the
changes. Nothing can be reused.

For example bids are now part of the BiddableAdGroupCriterion class:
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.BiddableAdGroupCriterion.html

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can I set maxCpc in Keyword object?

2010-03-18 Thread Brian Graves
Yes, I know that the classes are completely different...but the Per-
Call Migration documenatation only gives any examples in Python.   I
was hoping that switching to the client libraries would make things
easier but I didn't know a new class was required for setting the
maxcpc.  Is there any documentation that goes over what is taken out
and moved into other classes?

On Mar 18, 6:37 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 Based on your other post it looks like you think that migrating to
 v2009 is as simple as migration from V12 to V13 was.

 The classes in V2009 have completely different structures, so I
 suggest you use the documentation to get a good overview of the
 changes. Nothing can be reused.

 For example bids are now part of the BiddableAdGroupCriterion 
 class:http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...

 Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: v200909 client library has Keyword class but no Website class?

2010-03-18 Thread Brian Graves
Thanks.  Any way to access the ClientUsageRecord?  Or is that called
something else too?

On Mar 18, 6:32 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 It's called Placement in 
 V2009.http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...

 Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Looking for the v2009 equivalent of LASTMONTHSEARCHVOLUME

2010-03-18 Thread Matthew McGinty
Can anyone point me to the 2009 Java client library equivalent of the
v13 LASTMONTHSEARCHVOLUME web service response field to a
getKeywordsFromSite() call?

I've already found the equivalents to AVGSEARCHVOLUME, TEXT, and (I
think) ADVERTISERCOMPETITIONSCALE.

Thanks for any input.

Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.