Re: Is there any relationship between Position preference (on UI) of Campaign and the ManualCPCAdGroupCriterionBids' PositionPreferenceBids?
Thank you Eric, So we can not control the Position Preference of Campaign as well as the positionPreferenceBids of ManualCPCAdGroupCriterionBids from API at this moment? Thanks and best regards, PPL On May 6, 12:07 am, AdWords API Advisor wrote: > Hi PPL, > > The positionPreferenceBids field of ManualCPCAdGroupCriterionBids will > only be used is position preference is enabled at a campaign level. > Similarly, the column for position preference will not show up in the > Keywords tab unless the feature is enabled at a campaign level. > > Best, > - Eric > > On May 3, 11:24 pm, PPL wrote: > > > > > Dear Eric, > > > Thanks for your reply and explanation. > > So does it mean that there is no relationship between Position > > preference of Campaign > > and positionPreferenceBids field of ManualCPCAdGroupCriterionBids ? > > And one more thing that I could not see the Pos. Pref column in > > Keywords tab. > > Do I need to set anything on correspondence Campaign or Ad Group to be > > able to set it? > > I mean is there any internal relationship to be able to set that > > field? > > > Thanks and best regards, > > PPL. > > > On May 4, 6:49 am, AdWords API Advisor > > wrote: > > > > Hi PPL, > > > > At a campaign level you can turn the position preference on or off. > > > In the UI this is exposed in the settings tab under "Bidding and > > > budget" -> Position preference. This functionality isn't yet > > > available in the API, but we expect this functionality to be exposed > > > in the next version of the API. > > > > At the keyword level you can set the upper (preferred) and lower > > > bounds of the position range and read the proxy maxCpc which is > > > calculated for your keyword. In the UI this is exposed in the "Pos. > > > Pref." column of the "Keywords" tab. In the API it's exposed in the > > > positionPreferenceBids field of ManualCPCAdGroupCriterionBids. > > > > Best, > > > - Eric Koleda, AdWords API Team > > > > On May 3, 6:18 am, PPL wrote: > > > > > Hello, > > > > Is there any relationship between Position preference (on UI) of > > > > Campaign and the ManualCPCAdGroupCriterionBids' > > > > PositionPreferenceBids? > > > > If so, could anyone explain me about the relationship between these > > > > two? > > > > And what is the field name of Position Preference (on UI) of Campaign > > > > in API ? > > > > And one last question, when shall we set the value of > > > > ManualCPCAdGroupCriterionBids' PositionPreferenceBids and how to set > > > > that value from UI so that I can get clear understanding about it? > > > > > Thanks and best regards, > > > > PPL > > > > > -- > > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > > Also find us on our blog and discussion > > > > group:http://adwordsapi.blogspot.comhttp://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 > > > > athttp://groups.google.com/group/adwords-api?hl=en > > > > -- > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > Also find us on our blog and discussion > > > group:http://adwordsapi.blogspot.comhttp://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 > > > athttp://groups.google.com/group/adwords-api?hl=en > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > You receive
Re: Is there any relationship between Position preference (on UI) of Campaign and the ManualCPCAdGroupCriterionBids' PositionPreferenceBids?
Dear Eric, Thanks for your reply and explanation. So does it mean that there is no relationship between Position preference of Campaign and positionPreferenceBids field of ManualCPCAdGroupCriterionBids ? And one more thing that I could not see the Pos. Pref column in Keywords tab. Do I need to set anything on correspondence Campaign or Ad Group to be able to set it? I mean is there any internal relationship to be able to set that field? Thanks and best regards, PPL. On May 4, 6:49 am, AdWords API Advisor wrote: > Hi PPL, > > At a campaign level you can turn the position preference on or off. > In the UI this is exposed in the settings tab under "Bidding and > budget" -> Position preference. This functionality isn't yet > available in the API, but we expect this functionality to be exposed > in the next version of the API. > > At the keyword level you can set the upper (preferred) and lower > bounds of the position range and read the proxy maxCpc which is > calculated for your keyword. In the UI this is exposed in the "Pos. > Pref." column of the "Keywords" tab. In the API it's exposed in the > positionPreferenceBids field of ManualCPCAdGroupCriterionBids. > > Best, > - Eric Koleda, AdWords API Team > > On May 3, 6:18 am, PPL wrote: > > > > > Hello, > > Is there any relationship between Position preference (on UI) of > > Campaign and the ManualCPCAdGroupCriterionBids' > > PositionPreferenceBids? > > If so, could anyone explain me about the relationship between these > > two? > > And what is the field name of Position Preference (on UI) of Campaign > > in API ? > > And one last question, when shall we set the value of > > ManualCPCAdGroupCriterionBids' PositionPreferenceBids and how to set > > that value from UI so that I can get clear understanding about it? > > > Thanks and best regards, > > PPL > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://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 > > athttp://groups.google.com/group/adwords-api?hl=en > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: What's wrong with CAMPAIGN SERVICE GET METHOD?
Dear Eric, Thank you for your reply. I will do as you said. And please let me know if you get any update about it. Thanks and best regards, PPL On May 4, 6:33 am, AdWords API Advisor wrote: > Hi PPL, > > Thank you for bringing this error to our attention. The v200909 > version of the API is currently having problems returning campaigns > that have a CAMPAIGN level frequency cap, which is leading to this > error. I have alerted the core engineering team to this issue, but at > this time it's not clear when a fix can be deployed. In the mean time > if you remove the frequency cap or change it to be at the ad group or > ad level then the error message should no longer appear. > > Best, > - Eric Koleda, AdWords API Team > > On May 2, 10:56 pm, PPL wrote: > > > Hello, > > > Could anyone help on this issue? > > It is urgent for me at this moment. > > > Thanks and best regards, > > PPL > > > On Apr 30, 1:09 pm, PPL wrote: > > > > Hello Google, > > > > I'm getting the following error message starting from yesterday > > > afternoon when I access the get method of Campaign Service. I was ok > > > before. > > > Could any one help me? > > > Thanks > > > > AxisFault > > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > > > faultSubcode: > > > faultString: Enum > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level > > > does not have a constant corresponding to CAMPAIGN while invoking > > > public abstract > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignP > > > age > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignS > > > > > > erviceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v2009 > > > 09.jaxbgen.CampaignSelector) > > > throws > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiExcept > > > ion_Exception > > > with params > > > [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Campaign > > > selec...@5139b]. > > > faultActor: > > > faultNode: > > > faultDetail: > > > {http://xml.apache.org/axis/}stackTrace:Enum > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level > > > does not have a constant corresponding to CAMPAIGN while invoking > > > public abstract > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignP > > > age > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignS > > > > > > erviceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v2009 > > > 09.jaxbgen.CampaignSelector) > > > throws > > > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiExcept > > > ion_Exception > > > with params > > > [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Campaign > > > selec...@5139b]. > > > 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(Unk > > > nown > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan > > > EndElement(Unknown > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > > > $FragmentContentDriver.next(Unknown Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unkno > > > wn > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan > > > Document(Unknown > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > > > Source) > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configu
Is there any relationship between Position preference (on UI) of Campaign and the ManualCPCAdGroupCriterionBids' PositionPreferenceBids?
Hello, Is there any relationship between Position preference (on UI) of Campaign and the ManualCPCAdGroupCriterionBids' PositionPreferenceBids? If so, could anyone explain me about the relationship between these two? And what is the field name of Position Preference (on UI) of Campaign in API ? And one last question, when shall we set the value of ManualCPCAdGroupCriterionBids' PositionPreferenceBids and how to set that value from UI so that I can get clear understanding about it? Thanks and best regards, PPL -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: What's wrong with CAMPAIGN SERVICE GET METHOD?
Hello, Could anyone help on this issue? It is urgent for me at this moment. Thanks and best regards, PPL On Apr 30, 1:09 pm, PPL wrote: > Hello Google, > > I'm getting the following error message starting from yesterday > afternoon when I access the get method of Campaign Service. I was ok > before. > Could any one help me? > Thanks > > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > faultSubcode: > faultString: Enum > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level > does not have a constant corresponding to CAMPAIGN while invoking > public abstract > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector) > throws > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception > with params > [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@5139b]. > faultActor: > faultNode: > faultDetail: > {http://xml.apache.org/axis/}stackTrace:Enum > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level > does not have a constant corresponding to CAMPAIGN while invoking > public abstract > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector) > throws > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception > with params > [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@5139b]. > 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(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDriver.next(Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown > Source) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown > Source) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown > Source) > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl > $JAXPSAXParser.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(Unknown Source) > 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.v200909.cm.CampaignServiceSoapBindingStub.get(CampaignServiceSoapBindingStub.java: > 922) > at v200909.GetAllCampaigns.main(GetAllCampaigns.java:57) > > {http://xml.apache.org/axis/}hostname:Phyo-PC > > Enum > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level > does not have a constant corresponding to CAMPAIGN while invoking > public abstract > com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage > com.google.ads.api.services.campaignmgmt.c
What's wrong with CAMPAIGN SERVICE GET METHOD?
Hello Google, I'm getting the following error message starting from yesterday afternoon when I access the get method of Campaign Service. I was ok before. Could any one help me? Thanks AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Enum com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level does not have a constant corresponding to CAMPAIGN while invoking public abstract com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector) throws com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception with params [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@5139b]. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Enum com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level does not have a constant corresponding to CAMPAIGN while invoking public abstract com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector) throws com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception with params [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@5139b]. 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(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl $JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) 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.v200909.cm.CampaignServiceSoapBindingStub.get(CampaignServiceSoapBindingStub.java: 922) at v200909.GetAllCampaigns.main(GetAllCampaigns.java:57) {http://xml.apache.org/axis/}hostname:Phyo-PC Enum com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.Level does not have a constant corresponding to CAMPAIGN while invoking public abstract com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignPage com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.CampaignSelector) throws com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.ApiException_Exception with params [com.google.ads.api.services.campaignmgmt.campaign.v200909.jaxbgen.campaignselec...@5139b]. 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.pa
AdWords API Re: Why Keyword Estimation result are not the same from Google interface and from API.
Yes, I've got it with estimateCampaignList() method. Thanks a lot. PPL. On Oct 7, 2:44 am, AdWords API Advisor wrote: > Hi PPL, > > Which method of the TrafficEstimatorService are you using? The > estimateKeywordList() method doesn't allow you to enter geo or > language targeting information, so this could be affecting the > results. If you use the estimateCampaignList() method you can set > this targeting information and should be able to get the same results > as the web version. If you haven't seen it already, this blog post > has some good information on the > service:http://adwordsapi.blogspot.com/2008/07/traffic-estimator-service-expl... > > Best, > - Eric Koleda, AdWords API Team > > On Oct 2, 6:47 am, PPL wrote: > > > Hello, > > > I'm using Adwords version 13. > > When I made the keyword traffic estimation in Google interface for a > > particular keyword with specific Max CPC, Potential Clicks/ Day is > > something like 961 - 1082, Estimated Avg. CPC is like 75-113, > > Estimated Ad Position is like 1 - 3. > > And the notes "Because your campaigns do not yet have a performance > > history, keyword estimates are based on system-wide performance > > information." is showing so there will be no different upon different > > campaigns and different ad groups I supposed. > > > But when I made keyword traffic estimation from API, the result was > > Estimated Avg. CPC is like 75-113, Estimated Ad Position is like 1 - > > 3, Potential Clicks/ Day is something like 21739.861 - 25254.19 for > > the same Max CPC of the same keyword. > > > Why the Clicks/ Day are not the same from Google interface and from > > API? > > How do I have to take it to get the same value? > > > Thanks and best regards, > > PPL --~--~-~--~~~---~--~~ 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 Why Keyword Estimation result are not the same from Google interface and from API.
Hello, I'm using Adwords version 13. When I made the keyword traffic estimation in Google interface for a particular keyword with specific Max CPC, Potential Clicks/ Day is something like 961 - 1082, Estimated Avg. CPC is like 75-113, Estimated Ad Position is like 1 - 3. And the notes "Because your campaigns do not yet have a performance history, keyword estimates are based on system-wide performance information." is showing so there will be no different upon different campaigns and different ad groups I supposed. But when I made keyword traffic estimation from API, the result was Estimated Avg. CPC is like 75-113, Estimated Ad Position is like 1 - 3, Potential Clicks/ Day is something like 21739.861 - 25254.19 for the same Max CPC of the same keyword. Why the Clicks/ Day are not the same from Google interface and from API? How do I have to take it to get the same value? Thanks and best regards, PPL --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Maximum Quota
Hello, Could anyone tell me where can I take a look the maximum no. of campaigns in one account, maximum no. of ad groups in a campaign. Maximum no. of ads in an ad group and maximum no. of keywords in an ad? I couldn't find it in adwords help center. Thanks and best regards, PPL On Jul 14, 10:27 pm, ReedP wrote: > This is an adWords question, not an API one, but here is the info: > > The published limit on campaigns is 25 per account. If you call your > Google Rep is can be bumped to 100 on a case by case basis > I believe that the limit on adGroups is 2500 per campaign. > Not as sure about the keyword limit, but I seem to remember it being > 50,000 per adGroup > -reed > > On Jul 14, 1:54 am, deep wrote: > > > Hi.. > > > Can any one let us know the maximum campaigns we can create in an > > account. > > > Similarly maximum adgroups in a campaing. Maximum ads in an adgroup > > and maximum keywords in an ad. > > > Thank you.. --~--~-~--~~~---~--~~ 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: Totally confused with AdGroup.keywordContentMaxCpc vs content auto max cpc and content managed max cpc in UI
Hello, I"m also confusing about those bid values in those UIs. I'll appreciate if you can make us clear about them. Thanks and best regards, PPL On Jul 18, 1:10 am, "trent...@gmail.com" wrote: > I'm a bit confused with how all these fields interrelated. There are 4 > things I'm looking at, and I can't understand how the values work > across the four: > > Adwords API: AdGroup.keywordContentMaxCpc > This seems to be the only content-related field for setting bids. > > Adwords Editor: max cpc content bid, placement max cpc bid > > New web UI: content managed max cpc, content auto max cpc > > Old web UI: placements you've targeted max cpc, other placements on > content network max cpc > > As near as I can tell, the AdGroup.keywordContentMaxCpc corresponds > to: > > * Adwords Editor: placement max cpc bid > * New web UI: content managed max cpc > * Old web UI: placements you've targeted max cpc > > However, I don't think it used to work this way. I was pretty sure > that I didn't have to have any placements set and I could use > AdGroup.keywordContentMaxCpc to set a bid for all of content. How does > this all work? I wasn't able to find a way to access "content auto max > cpc" via the API, so not sure how I could even set this > programmatically. > > What's doubly confusing is that you can edit content auto max cpc, > even though the field is defined as being an average of all keyword > bids. How can you edit an average? If you do edit it, how can you tell > that you've "overridden" the average and it's not an average anymore? > > Thanks. > > *trenton --~--~-~--~~~---~--~~ 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: scheduleReportJob - number of report jobs allowed concurrently?
Hello Jeff, Did you want to mean that 15 concurrent report jobs can be scheduling at the same time? Or is 15 just the number of active reports in the report center? I also want to know how many concurrent report jobs can be scheduling at the same time. Thanks and best regards, PPL On Jul 18, 4:24 am, AdWords API Advisor wrote: > Hello, > > I believe that the limit is 15, which is the limit on the number of > active reports you can have in an account's Report Center before the > oldest report is automatically deleted. > > Cheers, > -Jeff Posnick, AdWords API Team > > On Jul 17, 3:45 pm, jnickfl1 wrote: > > > I receive the following error: > > > SoapException: You have too many report jobs already running, please > > wait until one of them finishes before scheduling another job. > > > I can't find any documentation on what the concurrent limit is on > > scheduled report jobs. Does anyone know? > > > Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: api unit cost
Hello khan, How can I get the unit cost from google when I make the service call? I'm using the java to access the adwords services. Thanks and regards, PPL On Jul 27, 5:43 pm, khan_ajaz wrote: > Hello > > Dear Harroot > > Can you please describe what kind of fails of services call may be i > can help you out > what i have in my mind you can saved your Unit cost in db after call > each and services > you are calling. > > Regards > Ajaz Khan > > On Jul 23, 1:18 pm, harroot wrote: > > > Hi all > > > In my application I want to save the the unit cost for any service > > call, but when call fails, I can not know which elements are caused > > the request to fail, to save unit count. > > > best regards. > > Harroot. --~--~-~--~~~---~--~~ 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: Mutually exclusive in columns error when report downloading.
rtners AdGroup AdGroupId AdGroupMaxCpa AdGroupStatus AdWordsType AverageConversionValue AverageInteractions AvgPercentOfVideoPlayed BottomPosition Campaign CampaignId CampaignStatus Clicks ConversionCategory ConversionDescription ConversionName ConversionRate Conversions Cost CostPerConverstion CostPerTransaction CostPerVideoPlayback CustomerName CustomerTimeZone DailyBudget ExternalCustomerId FirstPageCpc InteractedImpressionRate InteractedImpressions InteractionEnabledImpressions InteractionRate InteractionValue KeywordDestUrlDisplay KeywordMinCPC KeywordStatus KeywordTypeDisplay MaxContentCPC MaximumCPC MaximumCPM PreferredCPC PreferredCPM QualityScore TopPosition TotalConversionValue TotalInteractions Transactions ValuePerClick ValuePerCost VideoPlaybackRate VideoPlaybacks VideoPlaybacksThrough100Percent VideoPlaybacksThrough25Percent VideoPlaybacksThrough50Percent VideoPlaybacksThrough75Percent VideoSkips Keyword May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: HTTP/1.0 500 Internal Server Error May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Content-Type text/xml; charset=utf-8 May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Date Thu, 28 May 2009 03:39:02 GMT May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Expires Thu, 28 May 2009 03:39:02 GMT May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Cache-Control private, max-age=0 May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: X-Content-Type-Options nosniff May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Content-Length 1450 May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readHeadersFromSocket FINE: Server GFE/2.0 May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readFromSocket FINE: XML received: May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readFromSocket FINE: --- May 28, 2009 11:39:02 AM org.apache.axis.transport.http.HTTPSender readFromSocket FINE: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"> http://schemas.xmlsoap.org/soap/actor/ next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ adwords/v13">46 http://schemas.xmlsoap.org/soap/actor/ next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ adwords/v13">1 http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ adwords/v13">1 http://schemas.xmlsoap.org/soap/actor/ next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ adwords/v13">c3c4ea8c6cc23fe0d2ac617cc7a7774e soapenv:Server.userException wrote: > Hello Jeff, > > The following is the requestId of the SOAP header. > > http://schemas.xmlsoap.org/soap/actor/next"; > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">c3c4ea8c6cc23fe0d2ac617cc7a7774e > > I'm looking forward to your reply. > Thanks a lot. > > On May 28, 3:50 am, AdWords API Advisor > wrote: > > > > > Hello, > > > Could you turn on logging in the Java client library (as per the > > instructions > > athttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/...) > > and take a look at the SOAP response you get back with the error > > message in it. Could you let us know what the value of the "requestId" > > SOAP header is in that response? > > > Cheers, > > -Jeff Posnick, AdWords API Team > > > On May 27, 2:39 pm, Keporio wrote: > > > > I am a member of PPL above. Here is additional info > > > > We are using java library "com.google.api.adwords.lib ver 2.2.0" > > > provided by Google > > > > We use the below method to create the request header so that the > > > client_email won't be setted in the header, (we suppose using this > > > method excludes client_email from the header..) > > > > Method: > > > com.google.api.adwords.lib.AdWordsUser.AdWordsUser(String email, > > > String password, String useragent, String developerToken, String > > > applicationToken, String version, URL alternateUrl) > > > > email is MCC email > > > password is MCC password > > > Developer Token and Application Token is valid > > > version is "v13" > > &g
AdWords API Re: Mutually exclusive in columns error when report downloading.
Hello Jeff, The following is the requestId of the SOAP header. http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ adwords/v13">c3c4ea8c6cc23fe0d2ac617cc7a7774e I'm looking forward to your reply. Thanks a lot. On May 28, 3:50 am, AdWords API Advisor wrote: > Hello, > > Could you turn on logging in the Java client library (as per the > instructions > athttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/...) > and take a look at the SOAP response you get back with the error > message in it. Could you let us know what the value of the "requestId" > SOAP header is in that response? > > Cheers, > -Jeff Posnick, AdWords API Team > > On May 27, 2:39 pm, Keporio wrote: > > > > > I am a member of PPL above. Here is additional info > > > We are using java library "com.google.api.adwords.lib ver 2.2.0" > > provided by Google > > > We use the below method to create the request header so that the > > client_email won't be setted in the header, (we suppose using this > > method excludes client_email from the header..) > > > Method: > > com.google.api.adwords.lib.AdWordsUser.AdWordsUser(String email, > > String password, String useragent, String developerToken, String > > applicationToken, String version, URL alternateUrl) > > > email is MCC email > > password is MCC password > > Developer Token and Application Token is valid > > version is "v13" > > alternateUrl is null > > > for DefineReportJob object > > We set as described below so that we can get a report for all MCC > > client accounts set > > job.setClientEmails(null); > > job.setCrossClient(true); > > > We tried to comment out the " job.setClientEmails(null);", but still > > comes the error message mutually > > exclusive error. > > > > > Even the same error occurs when we used method below to specify the > > client account and excluded ClientEmails and > > CrossClient fields from the DefineReportJob object. > > > Method: > > com.google.api.adwords.lib.AdWordsUser.AdWordsUser(String email, > > String password, String clientId, String useragent, String > > developerToken, String applicationToken) > > > Without "Clicks", getting Report function works. > > Although it is not only "Clicks" which causes the mutually exclusive > > problem, we think once we find out what's wrong with "Clicks" the > > others will be no problem. > > > Thank you for your help- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-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 Mutually exclusive in columns error when report downloading.
Hello, I'm facing the error message "The following columns are mutually exclusive : [Clicks]" when I scheduled the Creative and Keyword reports. I'm downloading the report from the context of MCC account. I didn't provided any client email in the request header. I set crossClient field to true and do'nt set any client email to clientEmails field of the reportJob so that all of the client account's data will be included in the report. Since I'm downloading the report from the context of the MCC account I included the columns which footnote are 1 and 2 in the selectedColumns. How can I solve that problem? I've seen such kind of problems in this forum previously so I tried all of the possible ways of the suggesions. We are urgent at this moment. So please help me to find out the solution. Thanks a lot. --~--~-~--~~~---~--~~ 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: Can't execute KeywordToolService function and TrafficeEstimatorService function.
Those functions were ok last week, but start from yesterday that error message appear suddenly. I'm directly using from java library so I can't see any request header and other xml codes. Thanks. On May 26, 12:07 pm, PPL wrote: > Hello, > I'm facing the problem whenever I execute the KeywordToolService > funcations, like getKeywordVariations and TrafficeEstimatorService > function, like estimateKeywordList. > The same error message is "Either this object does not exist, or this > user does not have permission to access it." > although the email, password, clientEmail, developerToken and > applicationToken are all correct. > And at the same time the execution of other function of > CampiagnService, AdgroupService are ok. > Could you please help me to figure out that error? > Thanks a lot. --~--~-~--~~~---~--~~ 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 Can't execute KeywordToolService function and TrafficeEstimatorService function.
Hello, I'm facing the problem whenever I execute the KeywordToolService funcations, like getKeywordVariations and TrafficeEstimatorService function, like estimateKeywordList. The same error message is "Either this object does not exist, or this user does not have permission to access it." although the email, password, clientEmail, developerToken and applicationToken are all correct. And at the same time the execution of other function of CampiagnService, AdgroupService are ok. Could you please help me to figure out that error? Thanks a lot. --~--~-~--~~~---~--~~ 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: Error in validating report with real mcc account.
Hello Jeff, We've found the problem now. Although the developer token has been approved the application token hasn't been approved yet. My PM will do accordingly. Sorry to trouble you. Thanks, PPL On Apr 24, 3:46 am, AdWords API Advisor wrote: > Hello, > > Are you sure you're using a valid and approved Developer and > Application token? Did you receive an email from Google indicating > that your requested tokens had been activated? > > Cheers, > -Jeff Posnick, AdWords API Team > > On Apr 23, 12:00 am, PPL wrote: > > > > > Hi, > > I'm testing with real developer token and application token to > > schedule and download the report of the MCC account. > > The following are my codes. > > > String email=""; > > String password=""; > > String useragent="JST"; > > String developerToken=""; > > String applicationToken=""; > > > AdWordsUser user = new AdWordsUser > > (email,password,useragent,developerToken,applicationToken); > > ReportInterface service = > > (ReportInterface) user.getService > > (AdWordsUser.REPORT_SERVICE); > > > DefinedReportJob job = new DefinedReportJob(); > > job.setSelectedReportType("Keyword"); > > job.setAggregationTypes(new String[] {"Daily"}); > > > job.setStartDay(new ReportDate(2008, 1, 1).toDate()); > > job.setEndDay(new ReportDate(2008, 2, 28).toDate()); > > job.setName("Demo Keyword Daily Report"); > > job.setSelectedColumns(new String[] { > > All possible columns of Daily aggregation of Keyword report > > type except the mutually exclusive columns}); > > job.setCrossClient(true); > > > // Validate report job. > > service.validateReportJob(job); > > > //Schedule report job. > > long jobId = service.scheduleReportJob(job); > > System.out.println("report id is = "+jobId); > > //Wait for report to finish. > > ReportJobStatus status = service.getReportJobStatus(jobId); > > while (status != ReportJobStatus.Completed && > > status != ReportJobStatus.Failed) { > > try { > > Thread.sleep(3); > > > } catch (InterruptedException e) {} > > > status = service.getReportJobStatus(jobId); > > System.out.println("Report job status is " + status.toString()); > > } > > if (status == ReportJobStatus.Failed) { > > System.out.println("Job failed!"); > > } else { > > System.out.println("The report is ready!"); > > > // Get report download url. > > String url = service.getGzipReportDownloadUrl(jobId); > > System.out.println("Report url is " + url); > > > } > > > It's showing the following error when validating the report. > > > Exception in thread "main" AxisFault > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > > Server.userException > > faultSubcode: > > faultString: Application information rejected. > > faultActor: > > faultNode: > > faultDetail: > > {https://adwords.google.com/api/adwords/v13}fault: > > 129 > > Application information rejected. > > > Application information rejected. > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > > Source) > > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > > Source) > > at java.lang.reflect.Constructor.newInstance(Unknown Source) > > at java.lang.Class.newInstance0(Unknown Source) > > at java.lang.Class.newInstance(Unknown Source) > > at org.apache.axis.encoding.ser.BeanDeserializer. > > (BeanDeserializer.java:104) > > at org.apache.axis.encoding.ser.BeanDeserializer. > > (BeanDeserializer.java:90) > > at com.google.api.adwords.v13.ApiException.getDeserializer > > (ApiException.java:264) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > Although it was fine with sandbox with the same codes except the user. > > > AdWordsUser user= new AdWordsUser(email, password, > > useragent,developerToken, > > applicationToken, version,new > > URL(alternateUrl)); > > > Could someone help me?- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-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 Error in validating report with real mcc account.
Hi, I'm testing with real developer token and application token to schedule and download the report of the MCC account. The following are my codes. String email=""; String password=""; String useragent="JST"; String developerToken=""; String applicationToken=""; AdWordsUser user = new AdWordsUser (email,password,useragent,developerToken,applicationToken); ReportInterface service = (ReportInterface) user.getService (AdWordsUser.REPORT_SERVICE); DefinedReportJob job = new DefinedReportJob(); job.setSelectedReportType("Keyword"); job.setAggregationTypes(new String[] {"Daily"}); job.setStartDay(new ReportDate(2008, 1, 1).toDate()); job.setEndDay(new ReportDate(2008, 2, 28).toDate()); job.setName("Demo Keyword Daily Report"); job.setSelectedColumns(new String[] { All possible columns of Daily aggregation of Keyword report type except the mutually exclusive columns}); job.setCrossClient(true); // Validate report job. service.validateReportJob(job); //Schedule report job. long jobId = service.scheduleReportJob(job); System.out.println("report id is = "+jobId); //Wait for report to finish. ReportJobStatus status = service.getReportJobStatus(jobId); while (status != ReportJobStatus.Completed && status != ReportJobStatus.Failed) { try { Thread.sleep(3); } catch (InterruptedException e) {} status = service.getReportJobStatus(jobId); System.out.println("Report job status is " + status.toString()); } if (status == ReportJobStatus.Failed) { System.out.println("Job failed!"); } else { System.out.println("The report is ready!"); // Get report download url. String url = service.getGzipReportDownloadUrl(jobId); System.out.println("Report url is " + url); } It's showing the following error when validating the report. Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: Application information rejected. faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/v13}fault: 129 Application information rejected. Application information rejected. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.axis.encoding.ser.BeanDeserializer. (BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer. (BeanDeserializer.java:90) at com.google.api.adwords.v13.ApiException.getDeserializer (ApiException.java:264) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Although it was fine with sandbox with the same codes except the user. AdWordsUser user= new AdWordsUser(email, password, useragent,developerToken, applicationToken, version,new URL(alternateUrl)); Could someone help me? --~--~-~--~~~---~--~~ 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 What kind of Scheduler do you use to downlod report regularly?
Hi all, Can any one give me an idea of what kind of scheduler do you use to download report regularly? I want to schedule the report and want to store those report data in my database regularly. Could you pls help me? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Can anyone use campaign service on SandBox?
Hello Jeff, KeywordMaxCpc is ok now. The following is the code about adding the website criterion into adGroup. String alternateUrl = "https://sandbox.google.com";; AdWordsUser user=new AdWordsUser(loginEmail, loginPassword, clientEmail, "", devToken, "", "v13",new URL(alternateUrl)); CampaignInterface campaignService = (CampaignInterface) user.getService (AdWordsUser.CAMPAIGN_SERVICE); AdGroupInterface adgroupService = (AdGroupInterface) user.getService (AdWordsUser.AD_GROUP_SERVICE); AdInterface adService = (AdInterface) user.getService(AdWordsUser.AD_SERVICE); CriterionInterface criterionService = (CriterionInterface) user.getService (AdWordsUser.CRITERION_SERVICE); Campaign newCampaign = new Campaign(); newCampaign.setBudgetAmount(new Long(1)); newCampaign.setBudgetPeriod(BudgetPeriod.Daily); GeoTarget g_target = new GeoTarget(); String[] countries = {"FR", "ES"}; CountryTargets country = new CountryTargets(); country.setCountries(countries); g_target.setCountryTargets(country); newCampaign.setGeoTargeting(g_target); String[] languages = {"en", "fr", "es"}; newCampaign.setLanguageTargeting(languages); newCampaign.setStatus(CampaignStatus.Paused); newCampaign = campaignService.addCampaign(newCampaign); int campaign_id = newCampaign.getId(); AdGroup myAdGroup = new AdGroup(); myAdGroup.setKeywordMaxCpc(new Long(100)); AdGroup newAdGroup = adgroupService.addAdGroup(campaign_id, myAdGroup); long adgroup_id = newAdGroup.getId(); TextAd myAd = new TextAd(); myAd.setHeadline("AdWords API Dev Guide"); myAd.setDescription1("Access your AdWords"); myAd.setDescription2("accounts programmatically"); myAd.setDisplayUrl("blog.chanezon.com"); myAd.setDestinationUrl("http://blog.chanezon.com/";); myAd.setAdGroupId(adgroup_id); Ad[] ads = new Ad[1]; ads[0] = myAd; ads = adService.addAds(ads); Website website1 = new Website(); website1.setCriterionType(CriterionType.Website); website1.setUrl("example.com"); boolean noError = false; Criterion[] newWebsite ; String[] languageTarget = new String[] {"en"}; GeoTarget geoTarget = new GeoTarget(); geoTarget.setCountryTargets(new CountryTargets(new String[] {"US"},new String[]{})); ApiError[] errors = criterionService.checkCriteria(new Criterion[] {website1}, languageTarget, geoTarget); if (errors == null) { noError = true; } if(noError) newWebsite = criterionService.addCriteria(new Criterion[] {website1}); The null error appears at this sentence whether I checked criteria or not. if(noError) newWebsite = criterionService.addCriteria(new Criterion [] {website1}); Adding keyword and Ad are ok. I used the same infomation about account. Thanks and best regards, PPL On Apr 2, 11:16 pm, AdWords API Advisor wrote: > Hello PPL, > > You can use JPY as your currency, but I don't think you can specify > 1/10 of a Yen as a valid bid. Try specifying a number that's a > multiple of 100--for example, 500 would be a bid of 5 Yen. > > As I mentioned upthread, in order to troubleshoot, could you please > post the XML from a SOAP request to the Sandbox and response (with > your email and password information X-ed out) illustrating the issue > you're having? > > Cheers, > -Jeff Posnick, AdWords API Team > > On Apr 2, 5:50 am, PPL wrote: > > > > > Hello Jeff, > > > Now I'm using JPY at the end of the Sandbox Developer token. > > Do I need to use specific currency code like USD or whatever? > > And there is one more question about adding Website Criterion into the > > adgroup. > > Whenever I add the website criterion into the adgroup it leads to null > > exception, > > although I can add keyword criterion into the adgroup and I'm not > > adding both keyword and website in the same adgroup. > > Could you please help me? > > > Thanks and best regards, > > PPL > > > On Apr 2, 1:44 am, AdWords API Advisor > > wrote: > > > > Hello, > > > > Which currency code are you using after the '++' at the end of your > > >
AdWords API Re: Can anyone use campaign service on SandBox?
Hello Jeff, Now I'm using JPY at the end of the Sandbox Developer token. Do I need to use specific currency code like USD or whatever? And there is one more question about adding Website Criterion into the adgroup. Whenever I add the website criterion into the adgroup it leads to null exception, although I can add keyword criterion into the adgroup and I'm not adding both keyword and website in the same adgroup. Could you please help me? Thanks and best regards, PPL On Apr 2, 1:44 am, AdWords API Advisor wrote: > Hello, > > Which currency code are you using after the '++' at the end of your > Sandbox Developer token? It sounds like whichever one you're using > can't be easily broken down into tenths for billing purposes. (10 > micros = 1/10 of one unit of currency.) > > Cheers, > -Jeff Posnick, AdWords API Team > > On Apr 1, 12:22 am, PPL wrote: > > > > > Now I've got it Jeff. > > It was because of the database refresh. > > Thank you for your care. > > > And I have one more question about keyword max cpc. > > Whenever I add adgroup into the campaign, the following error was > > appeared. > > > Exception in thread "main" AxisFault > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > > Server.userException > > faultSubcode: > > faultString: One or more input elements failed validation. > > faultActor: > > faultNode: > > faultDetail: > > {https://adwords.google.com/api/adwords/v13}fault: > > 122 > > > One or more input elements failed validation. > ns1:message> > > > > > 0 > > > keywordMaxCpc > > > 10 > > > 75 > > > false > > > The bid must be a multiple of the billable unit. > ns1:detail> > > > > > > So, could you please tell me what should be the multiple of the > > billable unit about the keywordMaxCpc. > > > Thanks and best regards, > > PPL > > > On Mar 31, 10:33 pm, AdWords API Advisor > > > wrote: > > > Hello, > > > > Before debugging this further, I wanted to point out that the > > > Sandbox's backend database had its monthly refresh this past Friday > > > (seehttp://groups.google.com/group/adwords-api/browse_thread/thread/92e92...), > > > so any existing campaigns created before then will have to be > > > recreated. > > > > If that's not the issue, could you please post the XML from a SOAP > > > request to the Sandbox and response (with your email and password > > > information X-ed out) illustrating the issue you're having? > > > > Cheers, > > > -Jeff Posnick, AdWords API Team > > > > On Mar 31, 2:32 am, PPL wrote: > > > > > Hi, > > > > I'm facing a problem in using getAllAdWordsCampaigns() and getCampaign > > > > () methods of Campaign Service on SandBox. Whenever I called those > > > > methods it leads to exception of null although I set everything about > > > > the AdwordsUser correctly. I use the following constructor to create > > > > AdwordsUser. > > > > AdWordsUser user=new AdWordsUser(loginEmail, loginPassword, > > > > clientEmail, > > > > userAgent, developerToken, "", > > > > "v13",new URL("https://sandbox.google.com";)); > > > > > And I've already add campaigns by using addCampaign() method. > > > > campaignService.addCampaign(newCampaign). > > > > and I got the id of the new campaign. But when I get back the campaign > > > > by passing that id to getCampaign() method it also ends up to null > > > > exception. Could u please help me? I'm facing the same exception in > > > > adding adgroups into sandbox too. > > > > Thanks > > > > PPL- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-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: Can anyone use campaign service on SandBox?
Now I've got it Jeff. It was because of the database refresh. Thank you for your care. And I have one more question about keyword max cpc. Whenever I add adgroup into the campaign, the following error was appeared. Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: One or more input elements failed validation. faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/v13}fault: 122 One or more input elements failed validation. 0 keywordMaxCpc 10 75 false The bid must be a multiple of the billable unit. So, could you please tell me what should be the multiple of the billable unit about the keywordMaxCpc. Thanks and best regards, PPL On Mar 31, 10:33 pm, AdWords API Advisor wrote: > Hello, > > Before debugging this further, I wanted to point out that the > Sandbox's backend database had its monthly refresh this past Friday > (seehttp://groups.google.com/group/adwords-api/browse_thread/thread/92e92...), > so any existing campaigns created before then will have to be > recreated. > > If that's not the issue, could you please post the XML from a SOAP > request to the Sandbox and response (with your email and password > information X-ed out) illustrating the issue you're having? > > Cheers, > -Jeff Posnick, AdWords API Team > > On Mar 31, 2:32 am, PPL wrote: > > > > > Hi, > > I'm facing a problem in using getAllAdWordsCampaigns() and getCampaign > > () methods of Campaign Service on SandBox. Whenever I called those > > methods it leads to exception of null although I set everything about > > the AdwordsUser correctly. I use the following constructor to create > > AdwordsUser. > > AdWordsUser user=new AdWordsUser(loginEmail, loginPassword, > > clientEmail, > > userAgent, developerToken, "", > > "v13",new URL("https://sandbox.google.com";)); > > > And I've already add campaigns by using addCampaign() method. > > campaignService.addCampaign(newCampaign). > > and I got the id of the new campaign. But when I get back the campaign > > by passing that id to getCampaign() method it also ends up to null > > exception. Could u please help me? I'm facing the same exception in > > adding adgroups into sandbox too. > > Thanks > > PPL- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-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 Can anyone use campaign service on SandBox?
Hi, I'm facing a problem in using getAllAdWordsCampaigns() and getCampaign () methods of Campaign Service on SandBox. Whenever I called those methods it leads to exception of null although I set everything about the AdwordsUser correctly. I use the following constructor to create AdwordsUser. AdWordsUser user=new AdWordsUser(loginEmail, loginPassword, clientEmail, userAgent, developerToken, "", "v13",new URL("https://sandbox.google.com";)); And I've already add campaigns by using addCampaign() method. campaignService.addCampaign(newCampaign). and I got the id of the new campaign. But when I get back the campaign by passing that id to getCampaign() method it also ends up to null exception. Could u please help me? I'm facing the same exception in adding adgroups into sandbox too. Thanks PPL --~--~-~--~~~---~--~~ 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 Error concern with adwords-api-3.0.0.jar
Hello.. I'm facing the problem when I run my application. Currently I'm using Tomcat 6.0.18. This happened when I'm using the adwords-api-3.0.0.jar. INFO: validateJarFile(G:\JavaWorkSpace\.metadata\.plugins \org.eclipse.wst.server.core\tmp0\wtpwebapps\IGAS3\WEB-INF\lib\adwords- api-3.0.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Could you please help me? Thank you. --~--~-~--~~~---~--~~ 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: How to test in sand box with sample code provided by Google?
Thank you Jaap and Jeff, Now I've got it by using adwords-api-3.0.0.jar. :) Thank you very much for your time. On Mar 13, 12:09 am, AdWords API Advisor wrote: > Hello, > > After consulting with the Java client library's maintainer, I think > what is happening here is that you downloaded and are using the > awapi_java_lib_3.0.0_src.tar.gz package. This is fine in an of itself, > but the package requires post-processing with AspectJ in order to > manipulate the classes a bit. It also requires downloading a separate > set of dependency .jars and including them in your project. > > What he says is much easier is if you use > > http://google-api-adwords-java.googlecode.com/files/adwords-api-3.0.0... > > which is the compiled and post-processed client library, together with > the dependency .jars, together in one large .jar. This is the version > of the client library that we'll be steering users towards in the > future, and we're going to remove the link to the source-only version > from the main page to prevent further confusion. Given that there are > people out there who do need to compile the .jar from source to > incorporate their own modifications, or because they need to supply > their own dependencies, we'll still be making the source-only > distribution available (and you could always check out the code from > SVN). > > Can you download adwords-api-3.0.0.tar.gz and give things a try with > that? > > Cheers, > -Jeff Posnick, AdWords API Team > > On Mar 12, 8:08 am, Jaap wrote: > > > > > Dear PPL, > > > I have copy-pasted all your codes, filled in my credentials and ran > > the program. It worked immediately, not giving me the exception that > > occurs in your code. The only thing that might be different between > > your and my code might be the library we are using. I am using adwords- > > api-3.0.0.jar as a library. > > > If the problem isn't the library I'm afraid I'm out of ideas. Your > > code is correct and the error you are describing is something that as > > far as I can tell is a result of something going wrong in the library > > code. > > > Sorry I can't be of further help. > > > On 12 mrt, 12:17, PPL wrote: > > > > Dear Jaap, > > > > The following is my complete code. > > > > import java.net.URL; > > > > import com.google.api.adwords.lib.AdWordsUser; > > > import com.google.api.adwords.v13.AccountInfo; > > > import com.google.api.adwords.v13.AccountInterface; > > > > public class AccountServiceDemo { > > > public static void main(String args[]) throws Exception { > > > String email="a...@gmail.com"; > > > String password=""; > > > String userAgent="JIT"; > > > String clientEmail="client_1+...@gmail.com"; > > > String developerToken="a...@gmail.com++jpy"; > > > String appToken=""; > > > > AdWordsUser user=new AdWordsUser(email, password, > > > clientEmail, > > > userAgent, developerToken, appToken, > > > "v13",new > > > URL("https://sandbox.google.com";)); > > > > AccountInterface service = > > > (AccountInterface) > > > user.getService(user.ACCOUNT_SERVICE); > > > > AccountInfo info = service.getAccountInfo(); > > > > System.out.println("Account name is \"" + > > > info.getDescriptiveName > > > () > > > + "\", id is \"" + info.getCustomerId() + "\", timezone is > > > \"" > > > + info.getTimeZoneId() + "\", language is \"" > > > + info.getLanguagePreference() + "\", and currency is \"" > > > + info.getCurrencyCode() + "\"."); > > > } > > > > } > > > > But I'm still getting the same error. > > > > Exception in thread "main" javax.xml.rpc.ServiceException: > > > java.lang.ClassCastException: > > > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > > > cast to com.google.api.adwords.lib.AdWordsService > > > at com.google.api.adwords.lib.BaseCredentials.getService > > > (BaseCredentials.java:178) > > > at main.AccountSer
AdWords API Re: How to test in sand box with sample code provided by Google?
Dear Jaap, The following is my complete code. import java.net.URL; import com.google.api.adwords.lib.AdWordsUser; import com.google.api.adwords.v13.AccountInfo; import com.google.api.adwords.v13.AccountInterface; public class AccountServiceDemo { public static void main(String args[]) throws Exception { String email="a...@gmail.com"; String password=""; String userAgent="JIT"; String clientEmail="client_1+...@gmail.com"; String developerToken="a...@gmail.com++jpy"; String appToken=""; AdWordsUser user=new AdWordsUser(email, password, clientEmail, userAgent, developerToken, appToken, "v13",new URL("https://sandbox.google.com";)); AccountInterface service = (AccountInterface) user.getService(user.ACCOUNT_SERVICE); AccountInfo info = service.getAccountInfo(); System.out.println("Account name is \"" + info.getDescriptiveName () + "\", id is \"" + info.getCustomerId() + "\", timezone is \"" + info.getTimeZoneId() + "\", language is \"" + info.getLanguagePreference() + "\", and currency is \"" + info.getCurrencyCode() + "\"."); } } But I'm still getting the same error. Exception in thread "main" javax.xml.rpc.ServiceException: java.lang.ClassCastException: com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be cast to com.google.api.adwords.lib.AdWordsService at com.google.api.adwords.lib.BaseCredentials.getService (BaseCredentials.java:178) at main.AccountServiceDemo.main(AccountServiceDemo.java:42) Sorry to bother you time and again. Thank you. On Mar 12, 6:35 pm, Jaap wrote: > Hi PPL, > > I copied your code to try it out. > The first error I get is: Exception in thread "main" > java.lang.ClassCastException: > com.google.api.adwords.v12.AccountServiceSoapBindingStub > > This happens because I have imported the v13 classes and it is trying > to cast to v12. To fix this either switch to v12 (which you shouldn't > do because that version is no longer supported) or provide the code > with an explicit version. I assume this will be fixed in future > version of the toolkit. As far as I can see there are two AdWordsUser > constructors that support version directly, and otherwise you will > need to use a map with certain string-value pairs: > > AdWordsUser user = new AdWordsUser > (email,password,userAgent,developerToken,appToken, "v13", null); > > However you are now communicating with the production servers and not > with the sandbox as you indicated you wanted in the subject title. The > sandbox requires the clientid header to be set, and requires an > alternate url. > > The complete call to create an adwords user object would now be: > > AdWordsUser user = new AdWordsUser(email, password, clientEmail, > userAgent, developerToken, appToken, "v13", new URL("https:// > sandbox.google.com")); > > The rest of your code should work, however while testing I'm getting > an error with code 0 meaning the sandbox is currently not working > properly. So I can't test your code further. Also your clientEmail > string is malformed it should be client_1+...@gmail.com > > On 12 mrt, 10:56, PPL wrote: > > > > > Dear Jaap, > > > Could you please send me the small working code(project) of that API, > > if possible? > > I'm facing the same error when I test other services. > > I want to know the usage of those services. > > Otherwise I can't even step further. > > :( > > > Thank you. > > > On Mar 12, 5:30 pm, PPL wrote: > > > > Dear Jaap, > > > > Thank you very much for your suggesstion. > > > Below is my code. > > > > public static void main(String args[]) throws Exception { > > > // Get credentials and service > > > String email="a...@gmail.com"; > > > String password="a"; > > > String userAgent="JIT"; > > > String clientEmail="client1+...@gmail.com"; > > > String developerToken="a...@gmail.com++jpy"; > > > String appToken=""; > > > // Get credentials and service > > > > AdWordsUser user = new AdWordsUser > > > (email,password,userA
AdWords API Re: How to test in sand box with sample code provided by Google?
Dear Jaap, Could you please send me the small working code(project) of that API, if possible? I'm facing the same error when I test other services. I want to know the usage of those services. Otherwise I can't even step further. :( Thank you. On Mar 12, 5:30 pm, PPL wrote: > Dear Jaap, > > Thank you very much for your suggesstion. > Below is my code. > > public static void main(String args[]) throws Exception { > // Get credentials and service > String email="a...@gmail.com"; > String password="a"; > String userAgent="JIT"; > String clientEmail="client1+...@gmail.com"; > String developerToken="a...@gmail.com++jpy"; > String appToken=""; > // Get credentials and service > > AdWordsUser user = new AdWordsUser > (email,password,userAgent,developerToken,appToken); > > AccountInterface service = > (AccountInterface) user.getService(user.ACCOUNT_SERVICE); > > // Diplays the account's name, timezone, language, and currency. > AccountInfo info = service.getAccountInfo(); > > System.out.println("Account name is \"" + info.getDescriptiveName > () > + "\", id is \"" + info.getCustomerId() + "\", timezone is \"" > + info.getTimeZoneId() + "\", language is \"" > + info.getLanguagePreference() + "\", and currency is \"" > + info.getCurrencyCode() + "\"."); > } > > But I still got the same error. > I've already import all of the dependencies according to the Readme of > java client library. > Could you please point out the source of the error? > > Thank you. > > On Mar 12, 4:18 pm, Jaap wrote: > > > > > Hi PPL, > > > According to the google adwords API, AccountServiceSoapBindingStub > > extends org.apache.axis.client.Stub, and implements AccountInterface. > > The ClassCastException occurs because you are try to cast to a class > > which is not implemented nor extended by > > AccountServiceSoapBindingStub. Presumably you got the service by doing > > something like this: > > AdWordsService service = (AdWordsService)user.getService > > (AdWordsUser.ACCOUNT_SERVICE); > > > This should be > > AccountInterface interface = (AccountInterface)user.getService > > (AdWordsUser.ACCOUNT_SERVICE); > > > The interface can be used to communicate with the API. > > > Hope this helps. > > > On 12 mrt, 03:38, PPL wrote: > > > > Hi anybody, > > > > Could you please help me to find out the answer of that error? > > > > Exception in thread "main" javax.xml.rpc.ServiceException: > > > java.lang.ClassCastException: > > > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > > > cast to com.google.api.adwords.lib.AdWordsService > > > at com.google.api.adwords.lib.BaseCredentials.getService > > > (BaseCredentials.java:178) > > > at main.AccountServiceDemo.main(AccountServiceDemo.java:44) > > > > I can't even step forward cause of it. > > > > I'm looking forward to you. > > > Thank you. > > > > On Mar 11, 1:12 pm, PPL wrote: > > > > > Dear Jeff, > > > > When I tried to run the AccountServiceDemo from the java client > > > > library, the following error appeared. > > > > > Exception in thread "main" javax.xml.rpc.ServiceException: > > > > java.lang.ClassCastException: > > > > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > > > > cast to com.google.api.adwords.lib.AdWordsService > > > > at com.google.api.adwords.lib.BaseCredentials.getService > > > > (BaseCredentials.java:178) > > > > at main.AccountServiceDemo.main(AccountServiceDemo.java:44) > > > > > I replaced the default constructor of AdWordsUser() with AdWordsUser > > > > user = new AdWordsUser > > > > (email,password,userAgent,developerToken,appToken); > > > > > I do'nt know why the AccountServiceSoapBindingStub can't cast to > > > > AdWordsService. > > > > Could you please tell me the answer? > > > > > I'm looking forward to your reply. > > > > Thank you. > > > > > On Mar 11, 11:38 am, PPL wrote: > > > > > > Thank you very much Jeff. > > > > > I'll try to use the J
AdWords API Re: How to test in sand box with sample code provided by Google?
Dear Jaap, Thank you very much for your suggesstion. Below is my code. public static void main(String args[]) throws Exception { // Get credentials and service String email="a...@gmail.com"; String password="a"; String userAgent="JIT"; String clientEmail="client1+...@gmail.com"; String developerToken="a...@gmail.com++jpy"; String appToken=""; // Get credentials and service AdWordsUser user = new AdWordsUser (email,password,userAgent,developerToken,appToken); AccountInterface service = (AccountInterface) user.getService(user.ACCOUNT_SERVICE); // Diplays the account's name, timezone, language, and currency. AccountInfo info = service.getAccountInfo(); System.out.println("Account name is \"" + info.getDescriptiveName () + "\", id is \"" + info.getCustomerId() + "\", timezone is \"" + info.getTimeZoneId() + "\", language is \"" + info.getLanguagePreference() + "\", and currency is \"" + info.getCurrencyCode() + "\"."); } But I still got the same error. I've already import all of the dependencies according to the Readme of java client library. Could you please point out the source of the error? Thank you. On Mar 12, 4:18 pm, Jaap wrote: > Hi PPL, > > According to the google adwords API, AccountServiceSoapBindingStub > extends org.apache.axis.client.Stub, and implements AccountInterface. > The ClassCastException occurs because you are try to cast to a class > which is not implemented nor extended by > AccountServiceSoapBindingStub. Presumably you got the service by doing > something like this: > AdWordsService service = (AdWordsService)user.getService > (AdWordsUser.ACCOUNT_SERVICE); > > This should be > AccountInterface interface = (AccountInterface)user.getService > (AdWordsUser.ACCOUNT_SERVICE); > > The interface can be used to communicate with the API. > > Hope this helps. > > On 12 mrt, 03:38, PPL wrote: > > > > > Hi anybody, > > > Could you please help me to find out the answer of that error? > > > Exception in thread "main" javax.xml.rpc.ServiceException: > > java.lang.ClassCastException: > > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > > cast to com.google.api.adwords.lib.AdWordsService > > at com.google.api.adwords.lib.BaseCredentials.getService > > (BaseCredentials.java:178) > > at main.AccountServiceDemo.main(AccountServiceDemo.java:44) > > > I can't even step forward cause of it. > > > I'm looking forward to you. > > Thank you. > > > On Mar 11, 1:12 pm, PPL wrote: > > > > Dear Jeff, > > > When I tried to run the AccountServiceDemo from the java client > > > library, the following error appeared. > > > > Exception in thread "main" javax.xml.rpc.ServiceException: > > > java.lang.ClassCastException: > > > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > > > cast to com.google.api.adwords.lib.AdWordsService > > > at com.google.api.adwords.lib.BaseCredentials.getService > > > (BaseCredentials.java:178) > > > at main.AccountServiceDemo.main(AccountServiceDemo.java:44) > > > > I replaced the default constructor of AdWordsUser() with AdWordsUser > > > user = new AdWordsUser > > > (email,password,userAgent,developerToken,appToken); > > > > I do'nt know why the AccountServiceSoapBindingStub can't cast to > > > AdWordsService. > > > Could you please tell me the answer? > > > > I'm looking forward to your reply. > > > Thank you. > > > > On Mar 11, 11:38 am, PPL wrote: > > > > > Thank you very much Jeff. > > > > I'll try to use the Java client library and I'll tell you it works out > > > > or not.. > > > > > Thank you. > > > > > On Mar 10, 11:14 pm, AdWords API Advisor > > > > > wrote: > > > > > If you're just getting started with the AdWords API I'd strongly > > > > > recommend that you make use of the Java client library instead of just > > > > > using the standalone sample code. The client library includes > > > > > instructions on how to download all of the dependencies and has > > > > > examples packaged along with it that illustrate how to create > > > > > campaign
AdWords API Re: How to test in sand box with sample code provided by Google?
Hi anybody, Could you please help me to find out the answer of that error? Exception in thread "main" javax.xml.rpc.ServiceException: java.lang.ClassCastException: com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be cast to com.google.api.adwords.lib.AdWordsService at com.google.api.adwords.lib.BaseCredentials.getService (BaseCredentials.java:178) at main.AccountServiceDemo.main(AccountServiceDemo.java:44) I can't even step forward cause of it. I'm looking forward to you. Thank you. On Mar 11, 1:12 pm, PPL wrote: > Dear Jeff, > When I tried to run the AccountServiceDemo from the java client > library, the following error appeared. > > Exception in thread "main" javax.xml.rpc.ServiceException: > java.lang.ClassCastException: > com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be > cast to com.google.api.adwords.lib.AdWordsService > at com.google.api.adwords.lib.BaseCredentials.getService > (BaseCredentials.java:178) > at main.AccountServiceDemo.main(AccountServiceDemo.java:44) > > I replaced the default constructor of AdWordsUser() with AdWordsUser > user = new AdWordsUser > (email,password,userAgent,developerToken,appToken); > > I do'nt know why the AccountServiceSoapBindingStub can't cast to > AdWordsService. > Could you please tell me the answer? > > I'm looking forward to your reply. > Thank you. > > On Mar 11, 11:38 am, PPL wrote: > > > > > Thank you very much Jeff. > > I'll try to use the Java client library and I'll tell you it works out > > or not.. > > > Thank you. > > > On Mar 10, 11:14 pm, AdWords API Advisor > > > wrote: > > > If you're just getting started with the AdWords API I'd strongly > > > recommend that you make use of the Java client library instead of just > > > using the standalone sample code. The client library includes > > > instructions on how to download all of the dependencies and has > > > examples packaged along with it that illustrate how to create > > > campaigns, ad groups, ads, and criteria. > > > > The standalone sample code that you're trying to use should work if > > > you satisfy the proper dependencies, but it's intended more as a > > > reference implementation to show the syntax for a particular API call > > > than as something you should build an application around. > > > > The Java client library is available from > > > > http://code.google.com/p/google-api-adwords-java/ > > > > Cheers, > > > -Jeff Posnick, AdWords API Team > > > > On Mar 10, 7:07 am, PPL wrote: > > > > > Hello, > > > > I'm new to adwrods. > > > > I want to test to create new campaign by using the following sample > > > > codes. > > > > But when I run it, the following error appeared. > > > > > java.lang.NullPointerException > > > > at > > > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign_aroundBody1$advice > > > > (CampaignServiceSoapBindingStub.java:146) > > > > at > > > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign > > > > (CampaignServiceSoapBindingStub.java:1) > > > > at main.AddCampaign.main(AddCampaign.java:76) > > > > > I'm running in Windows OS. > > > > Could u pls help me how to start testing in sand box? > > > > With sample codes and procedure will be more helpful. > > > > The following is the testing codes. > > > > Thanks > > > > > import com.google.api.adwords.v13.AdSchedule; > > > > import com.google.api.adwords.v13.AdScheduleStatus; > > > > import com.google.api.adwords.v13.BudgetPeriod; > > > > import com.google.api.adwords.v13.Campaign; > > > > import com.google.api.adwords.v13.CampaignInterface; > > > > import com.google.api.adwords.v13.CampaignServiceLocator; > > > > import com.google.api.adwords.v13.CountryTargets; > > > > import com.google.api.adwords.v13.DayOfWeek; > > > > import com.google.api.adwords.v13.GeoTarget; > > > > import com.google.api.adwords.v13.SchedulingInterval; > > > > import org.apache.axis.client.Stub; > > > > public class AddCampaign { > > > > // Provide AdWords login information. > > > > private static final String email = "a...@gmail.com"; > > > > private static final String password = "aa"; > >
AdWords API Is there Adwords API Local Database in Java with mysql or oracle?
Hello, I'm not familier with python so could you pls help me with java code for local database structure or whatever. Thank you. --~--~-~--~~~---~--~~ 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: How to test in sand box with sample code provided by Google?
Dear Jeff, When I tried to run the AccountServiceDemo from the java client library, the following error appeared. Exception in thread "main" javax.xml.rpc.ServiceException: java.lang.ClassCastException: com.google.api.adwords.v13.AccountServiceSoapBindingStub cannot be cast to com.google.api.adwords.lib.AdWordsService at com.google.api.adwords.lib.BaseCredentials.getService (BaseCredentials.java:178) at main.AccountServiceDemo.main(AccountServiceDemo.java:44) I replaced the default constructor of AdWordsUser() with AdWordsUser user = new AdWordsUser (email,password,userAgent,developerToken,appToken); I do'nt know why the AccountServiceSoapBindingStub can't cast to AdWordsService. Could you please tell me the answer? I'm looking forward to your reply. Thank you. On Mar 11, 11:38 am, PPL wrote: > Thank you very much Jeff. > I'll try to use the Java client library and I'll tell you it works out > or not.. > > Thank you. > > On Mar 10, 11:14 pm, AdWords API Advisor > > > > wrote: > > If you're just getting started with the AdWords API I'd strongly > > recommend that you make use of the Java client library instead of just > > using the standalone sample code. The client library includes > > instructions on how to download all of the dependencies and has > > examples packaged along with it that illustrate how to create > > campaigns, ad groups, ads, and criteria. > > > The standalone sample code that you're trying to use should work if > > you satisfy the proper dependencies, but it's intended more as a > > reference implementation to show the syntax for a particular API call > > than as something you should build an application around. > > > The Java client library is available from > > > http://code.google.com/p/google-api-adwords-java/ > > > Cheers, > > -Jeff Posnick, AdWords API Team > > > On Mar 10, 7:07 am, PPL wrote: > > > > Hello, > > > I'm new to adwrods. > > > I want to test to create new campaign by using the following sample > > > codes. > > > But when I run it, the following error appeared. > > > > java.lang.NullPointerException > > > at > > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign_aroundBody1$advice > > > (CampaignServiceSoapBindingStub.java:146) > > > at > > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign > > > (CampaignServiceSoapBindingStub.java:1) > > > at main.AddCampaign.main(AddCampaign.java:76) > > > > I'm running in Windows OS. > > > Could u pls help me how to start testing in sand box? > > > With sample codes and procedure will be more helpful. > > > The following is the testing codes. > > > Thanks > > > > import com.google.api.adwords.v13.AdSchedule; > > > import com.google.api.adwords.v13.AdScheduleStatus; > > > import com.google.api.adwords.v13.BudgetPeriod; > > > import com.google.api.adwords.v13.Campaign; > > > import com.google.api.adwords.v13.CampaignInterface; > > > import com.google.api.adwords.v13.CampaignServiceLocator; > > > import com.google.api.adwords.v13.CountryTargets; > > > import com.google.api.adwords.v13.DayOfWeek; > > > import com.google.api.adwords.v13.GeoTarget; > > > import com.google.api.adwords.v13.SchedulingInterval; > > > import org.apache.axis.client.Stub; > > > public class AddCampaign { > > > // Provide AdWords login information. > > > private static final String email = "a...@gmail.com"; > > > private static final String password = "aa"; > > > private static final String clientEmail = > > > "client_1+...@gmail.com"; > > > private static final String useragent = "JJJ: AdWords API Java > > > Sample > > > Code"; > > > private static final String developerToken = > > > "a...@gmail.com++jpy"; > > > private static final String applicationToken = ""; > > > private static final String namespace = > > > "https://sandbox.google.com/ > > > api/adwords/v13"; > > > > public static void main(String[] args) > > > { > > > try > > > { > > > // Set up service connection. > > > CampaignInterface service = new > > > CampaignServiceLocator > > &
AdWords API Re: How to test in sand box with sample code provided by Google?
Thank you very much Jeff. I'll try to use the Java client library and I'll tell you it works out or not.. Thank you. On Mar 10, 11:14 pm, AdWords API Advisor wrote: > If you're just getting started with the AdWords API I'd strongly > recommend that you make use of the Java client library instead of just > using the standalone sample code. The client library includes > instructions on how to download all of the dependencies and has > examples packaged along with it that illustrate how to create > campaigns, ad groups, ads, and criteria. > > The standalone sample code that you're trying to use should work if > you satisfy the proper dependencies, but it's intended more as a > reference implementation to show the syntax for a particular API call > than as something you should build an application around. > > The Java client library is available from > > http://code.google.com/p/google-api-adwords-java/ > > Cheers, > -Jeff Posnick, AdWords API Team > > On Mar 10, 7:07 am, PPL wrote: > > > > > Hello, > > I'm new to adwrods. > > I want to test to create new campaign by using the following sample > > codes. > > But when I run it, the following error appeared. > > > java.lang.NullPointerException > > at > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign_aroundBody1$advice > > (CampaignServiceSoapBindingStub.java:146) > > at > > com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign > > (CampaignServiceSoapBindingStub.java:1) > > at main.AddCampaign.main(AddCampaign.java:76) > > > I'm running in Windows OS. > > Could u pls help me how to start testing in sand box? > > With sample codes and procedure will be more helpful. > > The following is the testing codes. > > Thanks > > > import com.google.api.adwords.v13.AdSchedule; > > import com.google.api.adwords.v13.AdScheduleStatus; > > import com.google.api.adwords.v13.BudgetPeriod; > > import com.google.api.adwords.v13.Campaign; > > import com.google.api.adwords.v13.CampaignInterface; > > import com.google.api.adwords.v13.CampaignServiceLocator; > > import com.google.api.adwords.v13.CountryTargets; > > import com.google.api.adwords.v13.DayOfWeek; > > import com.google.api.adwords.v13.GeoTarget; > > import com.google.api.adwords.v13.SchedulingInterval; > > import org.apache.axis.client.Stub; > > public class AddCampaign { > > // Provide AdWords login information. > > private static final String email = "a...@gmail.com"; > > private static final String password = "aa"; > > private static final String clientEmail = > > "client_1+...@gmail.com"; > > private static final String useragent = "JJJ: AdWords API Java > > Sample > > Code"; > > private static final String developerToken = "a...@gmail.com++jpy"; > > private static final String applicationToken = ""; > > private static final String namespace = "https://sandbox.google.com/ > > api/adwords/v13"; > > > public static void main(String[] args) > > { > > try > > { > > // Set up service connection. > > CampaignInterface service = new > > CampaignServiceLocator > > ().getCampaignService(); > > // Define SOAP headers. > > ((Stub) service).setHeader(namespace, "email", > > email); > > ((Stub) service).setHeader(namespace, "password", > > password); > > ((Stub) service).setHeader(namespace, "clientEmail", > > clientEmail); > > ((Stub) service).setHeader(namespace, "useragent", > > useragent); > > ((Stub) service).setHeader(namespace, > > "developerToken", > > developerToken); > > ((Stub) service).setHeader(namespace, > > "applicationToken", > > applicationToken); > > // BEGIN CampaignService.addCampaign: v13 > > // Create new campaign structure with ad scheduling > > set to show ads > > on > > // Monday, Wednesday, and Friday from 8:00am to > > 5:00pm. Each bid > > is > > // multiplied by 1.0. > >
AdWords API How to test in sand box with sample code provided by Google?
Hello, I'm new to adwrods. I want to test to create new campaign by using the following sample codes. But when I run it, the following error appeared. java.lang.NullPointerException at com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign_aroundBody1$advice (CampaignServiceSoapBindingStub.java:146) at com.google.api.adwords.v13.CampaignServiceSoapBindingStub.addCampaign (CampaignServiceSoapBindingStub.java:1) at main.AddCampaign.main(AddCampaign.java:76) I'm running in Windows OS. Could u pls help me how to start testing in sand box? With sample codes and procedure will be more helpful. The following is the testing codes. Thanks import com.google.api.adwords.v13.AdSchedule; import com.google.api.adwords.v13.AdScheduleStatus; import com.google.api.adwords.v13.BudgetPeriod; import com.google.api.adwords.v13.Campaign; import com.google.api.adwords.v13.CampaignInterface; import com.google.api.adwords.v13.CampaignServiceLocator; import com.google.api.adwords.v13.CountryTargets; import com.google.api.adwords.v13.DayOfWeek; import com.google.api.adwords.v13.GeoTarget; import com.google.api.adwords.v13.SchedulingInterval; import org.apache.axis.client.Stub; public class AddCampaign { // Provide AdWords login information. private static final String email = "a...@gmail.com"; private static final String password = "aa"; private static final String clientEmail = "client_1+...@gmail.com"; private static final String useragent = "JJJ: AdWords API Java Sample Code"; private static final String developerToken = "a...@gmail.com++jpy"; private static final String applicationToken = ""; private static final String namespace = "https://sandbox.google.com/ api/adwords/v13"; public static void main(String[] args) { try { // Set up service connection. CampaignInterface service = new CampaignServiceLocator ().getCampaignService(); // Define SOAP headers. ((Stub) service).setHeader(namespace, "email", email); ((Stub) service).setHeader(namespace, "password", password); ((Stub) service).setHeader(namespace, "clientEmail", clientEmail); ((Stub) service).setHeader(namespace, "useragent", useragent); ((Stub) service).setHeader(namespace, "developerToken", developerToken); ((Stub) service).setHeader(namespace, "applicationToken", applicationToken); // BEGIN CampaignService.addCampaign: v13 // Create new campaign structure with ad scheduling set to show ads on // Monday, Wednesday, and Friday from 8:00am to 5:00pm. Each bid is // multiplied by 1.0. SchedulingInterval intervalMonday = new SchedulingInterval (); intervalMonday.setDay(DayOfWeek.Monday); intervalMonday.setEndHour(17); intervalMonday.setEndMinute(0); intervalMonday.setMultiplier(1.0); intervalMonday.setStartHour(8); intervalMonday.setStartMinute(0); SchedulingInterval intervalWednesday = new SchedulingInterval (); intervalWednesday.setDay(DayOfWeek.Wednesday); intervalWednesday.setEndHour(17); intervalWednesday.setEndMinute(0); intervalWednesday.setMultiplier(1.0); intervalWednesday.setStartHour(8); intervalWednesday.setStartMinute(0); SchedulingInterval intervalFriday = new SchedulingInterval (); intervalFriday.setDay(DayOfWeek.Friday); intervalFriday.setEndHour(17); intervalFriday.setEndMinute(0); intervalFriday.setMultiplier(1.0); intervalFriday.setStartHour(8); intervalFriday.setStartMinute(0); AdSchedule schedule = new AdSchedule(); schedule.setIntervals(new SchedulingInterval[]{intervalMonday, intervalWednesday, intervalFriday}); schedule.setStatus(AdScheduleStatus.Enabled); // Create new campaign structure. Campaign campaign = new Campaign(); campaign.setName("Sample Campaign"); campaign.setBudgetAmount(new Long(10)); campaign.setBudgetPeriod(BudgetPeriod.Daily); GeoTarget geoTargeting = new GeoTarget(); geoTargeting.setCountryTargets(new CountryTargets(new String[
AdWords API How can I run the Google Adwords Starter Kit in Windows OS?
How can I run the Google Adwords Starter Kit in Windows OS? Regards, PPL --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---