AdWords API ordering of results returned by the v2009 Java client library
I used to use v13 KeywordToolService to call getKeywordsFromSite() which gave me an *ordered* list of keyword groups. Now I'm migrating to v2009 Java client library. I have found that using the v2009 NGRAM_GROUP tells me the name of the group a given keyword belongs to. So I could perhaps loop over all the keywords returned and collect all the NGRAM_GROUPs into a list (to try to mimick what the v13 was giving me). But what is the ordering? Are v2009 keyword results given in the same order as the v13 results (with v13 "The groups are ordered by decreasing relevance to the site") ? Thanks in advance for any help. 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.
AdWords API Looking for the v2009 equivalent of LASTMONTHSEARCHVOLUME
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.
AdWords API Re: v200909 client library has Keyword class but no Website class?
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)" 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 Re: how can I set maxCpc in Keyword object?
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)" 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: how can I set maxCpc in Keyword object?
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: v200909 client library has Keyword class but no Website class?
It's called Placement in V2009. http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.Placement.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 how can I set maxCpc in Keyword object?
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 v200909 client library has Keyword class but no Website class?
I am trying to migrate from v13 to v2009 and due to the lack of documentation of how to convert each and every function and/or class, I have decided to finally use the AdWords client library. Unfortunately, the Client library doesn't have everything I need to make my coding changes. The major compilation error I'm getting now is the "Website is not defined". It looks like this class was available in the v13 API library. I know that a Website is a Criterion type just like Keyword is by why is only the Keyword exposed as a class in v2009? Since v13 exposed it as a separate class, it seems only fair that Website be exposed also. Any plans to include this in the next build of API library? Also, ClientUsageRecord is no longer exposed in InfoService v2009 client library...how can I access this in v2009? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Nobody can help me ? All suggestions are welcome! On Mar 18, 3:25 pm, Qmeapi 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 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 BidLandscapeService, can we use it in production?
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 BulkMutateService - Associate input operation index with output operation index
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 ImageError.INVALID_IMAGE while publishing .SWF
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: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> https://adwords.google.com/api/adwords/cm/ v200909"> {my token{ client_1+{my email} {my email}++USD AWAPI DotNetLib 7.1 - {my company} https://adwords.google.com/api/adwords/cm/v200909";> ADD 3121619235 {click URL} {click URL} FLASH {base-64 encoded SWF} New_Campaign_300x250_0 and here's the response: http://schemas.xmlsoap.org/soap/envelope/";> https://adwords.google.com/api/adwords/cm/ v200909"> e038a885b90ce2a4b607d3dbb86c5df2 1 322 40 soap:Server [ImageError.INVALID_IMAGE @ operations[0].operand.ad.image.data] https://adwords.google.com/api/adwords/ cm/v200909"> [ImageError.INVALID_IMAGE @ operations[0].operand.ad.image.data] ApiException http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ImageError"> operations[0].operand.ad.image.data ImageError INVALID_IMAGE -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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)
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 Re: Enhanced XML validation enabled in the sandbox
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 aw_api.Errors.ValidationError: Invalid headers for targeting_idea_service
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 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
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 ** 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"; > THE TOKEN HERE THE TOKEN HERE EMAIL ID HERE THE TOKEN HERE UA HERE https://adwords.google.com/api/adwords/cm/ v200909"> http://soapinterop.org/xsd";> house BROAD RelatedToKeywordSearchParameter LanguageTargetSearchParameter en CountryTargetSearchParameter US KEYWORD 0 100 IDEAS 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= 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";> THEN COMPLETE WSDL DEFINTION FILE FOLLOWED BY http://0.optimization-webapi-sandbox- canary.optimization-webapi.ads-optimization- frontend.cg.borg.google.com.:4024/api/adwords/o/v200909/ TargetingIdeaService"/> [, , ] Traceback (most recent call last): File "testSample.py", line 85, in 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 "/usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux- i686.egg/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux- i686.egg/_xmlplus/sax/expatreader.py", line 353, in start_element_ns AttributesNSImpl(newattrs, qnames)) File "/media/Work/working/freelance/odesk/ranksense/SOAPpy/ Parser.py", line 99, in startElementNS (self._prem_r[name[0]], name[1]) Error: -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
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 Re: Disapproved and Zero Impression Ad's
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 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" 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" 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: Question with CaptchaRequired error code with ClientLogin authentication API
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.
Re: AdWords API Getting Campaign statistics with the 200909 API
On Thursday 18 March 2010, AdWords API Advisor elucidated thus: > Hi Joshua, > > It seems you've found answers to many of your questions. Which ones > are outstanding? Thanks for replying. The one outstanding is the response I'm getting when I don't have access to the queried campaign. With the v13 API, if I queried a campaign I didn't have access to (maybe because I didn't supply the correct account e-mail), I got: 'This campaign is accessible to the user, but does not belong to the current customer. If you wish to access this campaign, you must set the clientEmail header to an appropriate login.' With 200909, I simply get: (CampaignPage){ totalNumEntries = 0 Page.Type = "CampaignPage" totalBudget = (Budget){ period = "DAILY" amount = (Money){ ComparableValue.Type = "Money" microAmount = 0 } deliveryMethod = "STANDARD" } } with no indication if it is a valid campaign ID, or whether or not I have access to the ID I queried. The distinction between "not existing" and "insufficient permissions" seems to have been removed with no way (I can see) to tell the difference. Thanks! j > > Best, > - Eric Koleda, AdWords API Team > > On Mar 17, 10:13 pm, "Joshua J. Kugler" 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: > > > > > > > > > > > > (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 -- Joshua Kugler Part-Time System Admin/Programmer http://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
Re: AdWords API Getting Campaign statistics with the 200909 API
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" 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: > > > > > > (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 Questions about processing bulk mutate job results
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
AdWords API API via Perl — a few successes and an InternalApiError
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 Re: Question with CaptchaRequired error code with ClientLogin authentication API
Hi, CAPTCHAs can be required for a variety of reasons, and you shouldn't assume that they will resolve themselves automatically. Our recommendation is that you handle the CAPTCHA requests in your application. Best, - Eric Koleda, AdWords API Team On Mar 17, 8:14 pm, SEM wrote: > We use the ClientLogin RESTful API for authentication (http:// > code.google.com/apis/accounts/docs/AuthForInstalledApps.html) for > Google Adwords API v200909. > > We have a question when the response for this authentication request > contains "CaptchaRequired" error code. In this event, will the account > get unclocked by itself (without we having to unlock manually using > the CaptchaToken and CaptchaUrl) after a while? If so, how long does > it take to unlock automatically? > > Please let us 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: creating criterion, linking criteria to adgroup and campaign
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=en&answer=63235 http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=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 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 Re: Report service returning wrong results for March 12, 2010?
Hi Volker, I would encourage you to send this information in an email to adwords- supp...@google.com with your report data attached. Best, - Eric Koleda, AdWords API Team On Mar 17, 9:31 pm, Volker Kueffel wrote: > Hi, > > Did anyone get wrong results from the report service for March 12, > 2010 (or any other date for that matter)? > > Currently the following is happening for reports for March 12, 2010 > (regardless of the requested time frame) and only for one customerId: > > We're scheduling a DefinedReportJob to retrieve daily cost, > impression, etc data. While the data was actually OK after collecting > it between the 13th and 15th (returning the exact same cost), starting > on the 16th the data for the 12th suddenly started to get out of > control. Cost data is still increasing for the 12th and has now > reached about 5 times the amount originally returned. The Adwords UI > still shows the same number we got until the 15th, but when we call > the service we seem to get those weird numbers. > > Turns out we got 4 additional rows on the 16th and 3 on the 17th (for > the 12th). The data for all those rows look really suspicious too: The > all have a very high number of impressions, no clicks and a fairly > high cost. The company is not running any campaigns that involves cost > per impression and out of the over 600,000 rows returned over the past > 6 months for that customer only the 7 rows added in during the last 2 > days showed these characteristics... > > It seems something is wrong with the service since the UI and the > service return different results. We're running the reports against > API v200909. > > Any ideas? > Volker -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
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" 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" 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: clientEmail and other data in header
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 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: Audiences (uservertical) support in v2009
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)" 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: AdWordsUser instantiation very slow first time v200909
Hi, For problems that are specific to a library I would recommend you create an issue on the issue tracker: http://code.google.com/p/google-api-adwords-dotnet/issues/list Best, - Eric Koleda, AdWords API Team On Mar 17, 3:07 pm, SW wrote: > Hi, > > I am using AdWordsUser object to pass in header related info. The > problem is that first time when I am instantiating the object and pass > in the soapheader dictionary, it takes about 15 seconds. I was > wondering if I can speed it up somehow. > > AdWordsUser user; > user = new AdWordsUser(GetHeaders(soapHeader)); <<<- This > line takes 15 seconds to execute. > > private Dictionary GetHeaders(SOAPHeader _soapHeader) > { > Dictionary headers = new Dictionary string>(); > headers.Add("email", _soapHeader.Email); > headers.Add("password", _soapHeader.Password); > headers.Add("useragent", _soapHeader.UserAgent); > headers.Add("developerToken", _soapHeader.DeveloperToken); > headers.Add("clientCustomerId", _soapHeader.CustomerId); > return headers; > } -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 Report stored in an array, PHP
Hello everyone, my question is this. I store a report in an array, so that my application can process the data that the report contain? My program is written in PHP. Tanks!! & Sorry about my English. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
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 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: Are others seeing this downtime alert?
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" 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: Search Volume discrepency between KeywordTool and API
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 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: Enum com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.ContentLabelType does not have a constant corresponding to BELOW_THE_FOLD
Thanks Eric. On Mar 18, 8:12 am, AdWords API Advisor 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 wrote: > > > > > Can someone assist with this please? > > > Thanks. > > > On Mar 16, 5:11 pm, SEM 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 > > > onSelector) > > > 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/ad
AdWords API Re: API Access
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 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
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 wrote: > Can someone assist with this please? > > Thanks. > > On Mar 16, 5:11 pm, SEM 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 > > onSelector) > > 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) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
AdWords API Re: Maximum Number of Operations in AdGroupCriterionService Mutate Call
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 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: Get QuotaCheckError.INVALID_TOKEN_HEADER error message
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 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: Sample CampaignService.get() raw soap request
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. http://schemas.xmlsoap.org/soap/ envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/ v200909"> GoogleAuthToken DeveloperToken V2009 Getall Adwords camp 20100101 20100314 On Mar 18, 10:07 am, dshevnock 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: Enum com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.ContentLabelType does not have a constant corresponding to BELOW_THE_FOLD
Can someone assist with this please? Thanks. On Mar 16, 5:11 pm, SEM 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.v200909.jaxbgen.ContentLabelType > does not have a constant corresponding to BELOW_THE_FOLD while > invoking public abstract > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.CampaignCriterionPage > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.CampaignCriterionSelector) > throws > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.ApiException_Exception > with params > [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v200909.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(DeserializationContext.java: > 1087) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java: > 601) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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(XMLDocumentScannerImpl.java: > 648) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java: > 140) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: > 510) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: > 807) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.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(AbstractSAXParser.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(DeserializationContext.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(MustUnderstandChecker.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(CampaignCriterionServiceSoapBindingStub.java: > 644) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
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 Sample CampaignService.get() raw soap request
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: It's possible to Edit an Text AD ?
You can only modify the status of an existing Ad. If you want to change the text, headline, etc, you should create a new Ad, and pause or delete the existing Ad. This is consistent with what happens in the AdWords Web UI. If you click to edit an Ad, you get a popup with this text: You can edit this ad. Changing the ad will delete the existing ad and create a new one. The new ad will begin with statistics at zero, and statistics for the old ad will be shown in the "Deleted ads" row. On Mar 18, 5:48 am, ics wrote: > I know its possible to change the status of an ad with the following > code: > > $ad = new Ad(); > $ad->id = $adId; > > $adGroupAd = new AdGroupAd(); > $adGroupAd->adGroupId = $adGroupId; > $adGroupAd->ad = $ad; > $adGroupAd->status = 'PAUSED'; > > // Create operations. > $operation = new AdGroupAdOperation(); > $operation->operand = $adGroupAd; > $operation->operator = 'SET'; > > $operations = array($operation); > > // Update ad. > $result = $adGroupAdService->mutate($operations); > > But it's possible to change the headline, the description and the url > of the link of the Ad ?? > > I tried: > > // Create text ad. > $textAd = new TextAd(); > $textAd->headline = 'test'; > $textAd->description1 = 'test222'; > $textAd->description2 = 'test22'; > $textAd->displayUrl = 'www.test.com'; > $textAd->url = 'http://www.test.com'; > $textAd->id = $adId; > > // Create ad group ad. > $textAdGroupAd = new AdGroupAd(); > $textAdGroupAd->adGroupId = $adGroupId; > $textAdGroupAd->ad = $textAd; > $textAdGroupAd->status = 'ENABLED'; > > // Update operations. > $textAdGroupAdOperation = new AdGroupAdOperation(); > $textAdGroupAdOperation->operand = $textAdGroupAd; > $textAdGroupAdOperation->operator = 'SET'; > > //--- > > $operations = array($textAdGroupAdOperation); > > // Update ad. > $result = $adGroupAdService->mutate($operations); > > but there is no difference... it only change the status of the add but > not the description, url, headline,... > > I hope you someone can help me > > best regardes -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.
On Mar 17, 3:25 pm, AdWords API Advisor 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 wrote: > > > On Mar 16, 6:24 pm, AdWords API Advisor > > 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 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 sup
AdWords API Response is not well-formed XML.
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 It's possible to Edit an Text AD ?
I know its possible to change the status of an ad with the following code: $ad = new Ad(); $ad->id = $adId; $adGroupAd = new AdGroupAd(); $adGroupAd->adGroupId = $adGroupId; $adGroupAd->ad = $ad; $adGroupAd->status = 'PAUSED'; // Create operations. $operation = new AdGroupAdOperation(); $operation->operand = $adGroupAd; $operation->operator = 'SET'; $operations = array($operation); // Update ad. $result = $adGroupAdService->mutate($operations); But it's possible to change the headline, the description and the url of the link of the Ad ?? I tried: // Create text ad. $textAd = new TextAd(); $textAd->headline = 'test'; $textAd->description1 = 'test222'; $textAd->description2 = 'test22'; $textAd->displayUrl = 'www.test.com'; $textAd->url = 'http://www.test.com'; $textAd->id = $adId; // Create ad group ad. $textAdGroupAd = new AdGroupAd(); $textAdGroupAd->adGroupId = $adGroupId; $textAdGroupAd->ad = $textAd; $textAdGroupAd->status = 'ENABLED'; // Update operations. $textAdGroupAdOperation = new AdGroupAdOperation(); $textAdGroupAdOperation->operand = $textAdGroupAd; $textAdGroupAdOperation->operator = 'SET'; //--- $operations = array($textAdGroupAdOperation); // Update ad. $result = $adGroupAdService->mutate($operations); but there is no difference... it only change the status of the add but not the description, url, headline,... I hope you someone can help me best regardes -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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