Re: API V201302 - Problem on configuring campaign for Mobile and Tablet devices
Thank you Alexander Nitschke, Your answer helped me a lot. Best regards L. Fernandes Sexta-feira, 5 de Abril de 2013 0:12:04 UTC-1, live_ines escreveu: Hi, I have a problem and I need your help. I'm implementing a project using adword api to create and configure online campaigns using Dot.Net Client Library of AdWords API V201302. I need to create a content network campaign just for mobile devices (Mobile and Tablet), but when I create the campaign is active by default for all devives: Desktop, Mobile and Tablet. I read in this forum that the solution for this is removing the Desktop Platform, instead of adding Mobile and Tablet Plataform. Using the CampaignCriretionService with Plataform id = 3 and operator Remove I get the following error: CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN. How can I solve this problem? Best resgards, L. Fernandes -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
API V201302 - Problem on configuring campaign for Mobile and Tablet devices
Hi, I have a problem and I need your help. I'm implementing a project using adword api to create and configure online campaigns using Dot.Net Client Library of AdWords API V201302. I need to create a content network campaign just for mobile devices (Mobile and Tablet), but when I create the campaign is active by default for all devives: Desktop, Mobile and Tablet. I read in this forum that the solution for this is removing the Desktop Platform, instead of adding Mobile and Tablet Plataform. Using the CampaignCriretionService with Plataform id = 3 and operator Remove I get the following error: CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN. How can I solve this problem? Best resgards, L. Fernandes -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
AuthenticationError.CLIENT_EMAIL_INVALID with a specific client email
Hi, We have a set of clients and each client have a set of campaigns. For three specific clients we are unable to obtain information of the campaign and we have the following error: AuthenticationError.CLIENT_EMAIL_INVALID For all other clients work fine. In API v13 we could obtain information from the campaigns of those clients. We have experienced both the API v200909 and v201008 and we always get the same error. It seems that there is something wrong with these emails, but we're not seeing what can be. These emails exists and in the Adwords site we have access to the information of campaigns of those clients. These three emails are the first clients emails we created on the Adwords. Does something change about the first email created? Here is the answer Soap: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/ v201008requestIdeed65a2e03e009539866955b9dc957f8/requestId operations0/operations responseTime1375/responseTime units0/units /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringAuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'***clientEmail***' Service[CampaignService.get]/faultstring detail ApiExceptionFault xmlns=https://adwords.google.com/api/adwords/cm/ v201008messageAuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'***clientEmail***' Service[CampaignService.get]/ messageApplicationException.TypeApiException/ ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=AuthenticationErrorfieldPath/fieldPath trigger***clientEmail***/trigger errorStringAuthenticationError.CLIENT_EMAIL_INVALID/ errorStringApiError.TypeAuthenticationError/ApiError.Type reasonCLIENT_EMAIL_INVALID/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope I appreciate any help. Best regards, lfernandes -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Problem on Getting Statistics of Campaign
Hi, Can someone help me please. I'm working on migration of my aplication from API V13 to API V200909. I would like to get the statistical information of the campaign (clicks and imprissions). I have the following Soap Request: ?xml version='1.0' encoding='utf-8'? soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' soap:Header RequestHeader xmlns='https://adwords.google.com/api/adwords/cm/ v200909'applicationTokenn6VOntbwmcNLI1Ez5Ad6Aw/ applicationTokenauthTokenDQAAAJoAAADiqVT68o_SOIUpdRQnE3VXqaFCDOaFRn0claqT3gScTO6MACgeVH8VuxKjI2an5tmQXyRoiffMtjkYi7SH5- BQqUyVsTgT1WI_MMiBwlxQXUSlW9NKINalDpsR0ShtRtPxM- uuvap8ib6p4KSUjkEPzBjYPUSoVEvYWG7RwMHSXgmhiFd8ODmIVaxcsNn9kxn0ACeWERvbGV8woMG8sUq_ /authToken clientEmailinest...@gmail.com/ clientEmaildeveloperTokenn6VOntbwmcNLI1Ez5Ad6Aw/developerToken userAgentInesting/userAgent validateOnlyTrue/validateOnly /RequestHeader /soap:Header soap:Body get xmlns='https://adwords.google.com/api/adwords/cm/v200909' selector ids5827209/ids statsSelector dateRangemin20100901/min max20100930/max /dateRange /statsSelector /selector /get /soap:Body /soap:Envelope The response is: ?xml version=1.0 encoding=Windows-1252 ? soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/ envelope/soap:HeaderResponseHeader xmlns=https:// adwords.google.com/api/adwords/cm/ v200909requestId669b7f0e54c37c71cf1b09e989e5fafa/requestId operations1/operations responseTime453/responseTime units1/units/ResponseHeader /soap:Headersoap:Body getResponse xmlns=https://adwords.google.com/api/adwords/cm/ v200909 rval totalNumEntries0/totalNumEntries Page.TypeCampaignPage/Page.Type totalBudget periodDAILY/period amount ComparableValue.TypeMoney/ComparableValue.Type microAmount0/microAmount /amount deliveryMethodSTANDARD/deliveryMethod /totalBudget /rval /getResponse /soap:Body /soap:Envelope I'm doing something wrong? I realy don't understand why I don't have the statistical information of a camapaign. Have have been doing some teste on Sandbox using Dot.Net Client Library. In the Sandbox when I run the exemple getCampaing.cs a don't have statistical information. Neither on Sandbox neither on my application i have got the statistical information. I really appreciate any help. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: AuthenticationError.CLIENT_EMAIL_INVALID
Thank you very much for your help. The aplication that I'm migrating to v2009 was developed using no client Library. It was develop on vb.NET. I have fixed the problem with the AuthenticationError.CLIENT_EMAIL_INVALID and them I have another error when I try to get the stats on campaignService I'm using the folowing code : Public Function ObtemStatsCampanha(ByVal idCampanha As Integer, ByVal inicio As Date, ByVal fim As Date) As CampaignService.Stats Dim res As CampaignService.Stats = Nothing Dim campaignSelector As New CampaignService.CampaignSelector Dim statsSelector As New CampaignService.StatsSelector Dim id_campanhas() As Long = {idCampanha} Dim statsDateRange As New DateRange Dim resCampanha As New CampaignService.CampaignPage campaignSelector.ids = id_campanhas statsDateRange.min = inicio.Year.ToString (IIf(Len(inicio.Month.ToString) = 1, 0, )) inicio.Month.ToString (IIf(Len(inicio.Day.ToString) = 1, 0, )) inicio.Day.ToString statsDateRange.max = fim.Year.ToString (IIf(Len(fim.Month.ToString) = 1, 0, )) fim.Month.ToString (IIf(Len(fim.Day.ToString) = 1, 0, )) fim.Day.ToString statsSelector.dateRange = statsDateRange campaignSelector.statsSelector = statsSelector erro = False Try myCampaignService.RequestHeader = mySoapHeader resCampanha = myCampaignService.get(campaignSelector) Catch ex As System.Web.Services.Protocols.SoapException erro = True erroXML = ex.Detail Me.GeraErroString(erroXML) Catch ex As System.Net.WebException erro = True erroXML = ex.Data Me.GeraErroString(erroXML) End Try ObtemStatsCampanha = resCampanha.entries(0).stats I have the following error: System.NullReferenceException: Object reference not set to an instance of an object on the ObtemStatsCampanha = resCampanha.entries(0).stats I'm doing something wrong? I really appreciate any help. Best regards, lfernandes On 18 Out, 13:12, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi, The error indicates that the clientEmail you are setting in your service's RequestHeader is incorrect. Seehttp://code.google.com/apis/adwords/docs/headers.html for details. If you are writing your application for the first time, then the AdWords API .NET library (http://code.google.com/p/google-api-adwords- dotnet/) is a good alternative to generating your own stub classes and dealing with SOAP errors. The library has code examples, as well as workarounds to several issues that wsdl.exe generated code has with AdWords API wsdls. Cheers, Anash P. Oommen, AdWords API Advisor. On Oct 18, 4:07 pm, live_ines inest...@gmail.com wrote: Hi, I'm new in using Adwords api. I'm tring to migrate my aplication to v2009 but I have following error: System.Web.Services.Protocols.SoapException: AuthenticationError.CLIENT_EMAIL_INVALID Could someone help me please- Ocultar texto citado - - Mostrar texto citado - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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