AdWords API Re: Campaigns Assigned Long Id Rather Than Int
Hi Pete, I'm not able to find a campaign in the AdWords system with this ID. Are you sure this is the correct value? Best, - Eric On Nov 3, 2:50 pm, "Pete Lavetsky (AdWords API Guru)" wrote: > The value that was returned to us was 3437766218, which is larger than > an int > > Pete > > On Nov 3, 1:32 pm, AdWords API Advisor > wrote: > > > > > Hi Pete, > > > Although the data type for a campaign ID is now a long in v2009, the > > numbers returned should still be in the int range. That is, you > > should be able to convert the long to an int safely. In the future > > the IDs may be larger than ints, but not until v13 is sunset. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" > > > wrote: > > > We recently came across an issue where a Campaign created through the > > > API was given an Id that needed a primitive type of long rather than > > > int ( we're using the Java library ). We're currently using the v13 > > > library and noticed that in the v2009 library the id field of Campaign > > > is of type long rather than int. > > > > package com.google.api.adwords.v13; > > > > public class Campaign implements java.io.Serializable{ > > > private int id; > > > > package com.google.api.adwords.v200909.cm; > > > > public class Campaign implements java.io.Serializable{ > > > private java.lang.Long id; > > > > There's currently no way to use the v13 library and retrieve Campaign > > > info if the id is a long: > > > > public interface CampaignInterface extends java.rmi.Remote { > > > com.google.api.adwords.v13.reseller.Campaign getCampaign(int i) > > > throws java.rmi.RemoteException, > > > com.google.api.adwords.v13.reseller.ApiException; > > > > Was the Id we were given a mistake? If not, what route do I take to > > > work with this Campaign. Using v2009 at this point is not an option. > > > v13 documentation still states that you get a Campaign by passing an > > > int parameter > > > >http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
Re: Managing more accounts using AdWords API DotNet Client Library
Hi Marian, My apologies, the link I sent previously was for the .NET sample code, not the .NET client library which is located here: http://code.google.com/p/google-api-adwords-dotnet/issues/list. There is already an issue opened for this problem on that tracker: http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=21. Best, - Eric On Nov 3, 1:09 pm, AdWords API Advisor wrote: > Hi Marian, > > Yes, this is an issue that was previously reported. Please follow the > AdWords APU .NET client library issue tracker for updates on this > issue:http://code.google.com/p/adwords-api-dotnet-samples/issues/list. > > Best, > - Eric Koleda, AdWords API Team > > On Nov 3, 4:10 am, Tiny wrote: > > > > > I found that this is actually a problem of the library 5.0.0 which was > > already reported by somebody > > else:http://groups.google.com/group/adwords-api/browse_thread/thread/7903c... > > > On Nov 2, 1:29 pm, Tiny wrote: > > > > Hi, > > > > I'm trying to use your AdWords API DotNet Client Library to work with > > > AdWords API services and I got into problem with managing more client > > > accounts. > > > > Credentials, which are set to header of each request, are specified in > > > application config file. In our company we are managing more client > > > accounts which differ in ClientEmail. So I need to be able to specify > > > ClientEmail dynamically when creating instance of service. > > > > I know that I can comply my requirements by doing changes to your > > > library (changing Service Factories and AdWordsUser class) but I want > > > to avoid changing external libraries. So I want to ask whether there > > > are some best practices how to handle this situation? > > > > Thanks, Marian -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: checkAds response problem .net2
Hi Albert, The API is returning exceptions indicating that the images are not sized correctly, and it appears the .NET client library isn't able to marshal those errors into the appropriate objects. Since this is an issue with how the .NET client library is handling the errors, please create a bug on the library's issue tracker: http://code.google.com/p/google-api-adwords-dotnet/issues/list Best, - Eric Koleda, AdWords API Team On Nov 3, 5:37 am, Albert wrote: > hi, > > in the enclosed soap trace, you can see a call to the checkAds > service. our environment (.net2) throws an error when trying to parse > the response. the parser tries to convert something (null?) to number > and fails. those could be: textIndex or textLength. both are marked > nullable in the auto-generated class, so here is where i am out of > ideas. > > thanks in advance, > albert > > here is the part for the parse error: > > .net error stack > -- > > System.InvalidOperationException: There is an error in XML document > (16, 32). ---> System.FormatException: Input string was not in a > correct format. at System.Number.StringToNumber(String str, > NumberStyles options, NumberBuffer& number, NumberFormatInfo info, > Boolean parseDecimal) at System.Number.ParseInt32(String s, > NumberStyles style, NumberFormatInfo info) at > System.Xml.XmlConvert.ToInt32(String s) at > Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdServi > ce.Read42_ApiError > (Boolean isNullable, Boolean checkType) at > Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdServi > ce.Read45_checkAdsResponse > () at > Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer1.Dese > rialize > (XmlSerializationReader reader) at > System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader > xmlReader, String encodingStyle, XmlDeserializationEvents events) --- > End of inner exception stack trace --- at > System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader > xmlReader, String encodingStyle, XmlDeserializationEvents events) at > System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader > xmlReader, String encodingStyle) at > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse > (SoapClientMessage message, WebResponse response, Stream > responseStream, Boolean asyncCall) at > System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String > methodName, Object[] parameters) at > Service.ref_AdWords.AdService.checkAds(Ad[] ads, String[] > languageTarget, GeoTarget geoTarget) in C:\Inetpub\wwwroot\webServices > \Service\Web References\ref_AdWords\AdWordsService.cs:line 1648 at > Service.API.AdWords.AdService.<>c__DisplayClass17.<>c__DisplayClass19.b__16 > () in C:\Inetpub\wwwroot\webServices\Service\API\AdWords > \AdService_CheckAds.cs:line 42 at ... > > -- > and here is the stack trace > > soap trace > -- > > ... > > -SoapRequest at 03/11/2009 04:31:27 > 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">xxx xmlns="https://adwords.google.com/api/adwords/v13";>xxx clientEmail>https://adwords.google.com/api/ > adwords/v13">xx xmlns="https://adwords.google.com/api/adwords/v13";>xxx password>https://adwords.google.com/api/adwords/ > v13">xxx xsi:type="ImageAd">1169568098ImageAd adType>http://www.cameras.com destinationUrl>false disapproved>www.cameras.com xsi:nil="true" />0Enabled status>iVBORw0KGgoNSUhEUgAAAMYAAADGCAMAAAC > +RQ9vAAADAFBMVEUAAABJREqGwjxQZjD/AP/IycV8hkP// > wAiIRqhyX17jmRWkyZOTE2Cbpuzwpx5rT7s8OUmVQRqnDOUwl4MDAyMqmlNhCS03JV9rEtrlES0 > 3ntqik2qtGyq2F2TnFOlqJzD5qNchTpeai1dmiu9xH88bhlOVKHN0pJrqy2UonYyMjGOrFd6o0H 9/ > f3W5MiSyEVRiySxsrFLdCOBtT2iy2RfaFTS2ZWepWQUExPb3qa1wnS8yLCAAIBloyxxo0OAgX3E > 6oNslD1DUD2FmEmLvEyJk0xxd3Cs2Gzk6cpyrTWaw3AWMAeRj47GzItdlDH1+/ > RGfiGDtUyzu3STtnVRfS1OgihemTGazFN0mVXK7ZLN37ZWiy1fejU0O2KotovO0q8qKiu03oXCx > 5J6kFOy3HIYFhp7tzWbvGc6TyKNtFtkij5EbCd0qzup04F7nFTe86tpZ2aXo4ucpFludzeRm2tZ > jS6bzFtkkj6DtUOjzGvs9NKMw0xKeyRppC1vpDqOtGdUgzKpuJnE55jQ2sd7tDyUx1MKBglynEb 2/ > OtLWENJUWhmmjp1o02DtVKsx4e > +u72Co1VxgjxrpDOEj02lrHiMjoHP66xjmzOq0JWcu3xmojLExrxgeES85HxWlyiArFXT1p3DyY R > +uT1inC3a7s2czWMoKTVxiVhjjDKgq11hljK74odpZZtGcymiq2Wss3Y7ODm34nNxpTWDkkWDl2 > tMeyzQ7LUyWx2/ > zKWLw0Ss13R3sjqRvFyk1GElNiCEvEKbn5g8YyJ0sjWMlVaMulRzaXbZ19pili2RvWalsmVchDW > uuaRCQUV8pFd6n0wZFhaWrHxTfDT7/ > fSjyImGjcXE6oqTm1t9s0G2vHpQQX0bGhye0lJRZz5tqjNcky7D1axajjFnqSuDvDxsjUBUhS3L > 0Y3k6dXN6KOTx0x3k3HW2p08ayS84pWezW5YWVg0YhfO7Ztzk0htnD21z5t2q0JKdSul1G0SDhD > t9dycxGCGtFolJCSr2GSNmlFZgyxViTJ > +7zDKCXBIWXMAAAsTAAALEwEAmpwYAAASL0lEQVR4nO2bD1gT15qHXV21qCsuAgJSEIMX/ > HMUFWvUBrRFMVQiCBUKrEIFeoFAEU1Qkb8mhK6gNlRSUDfViCgURAUVJDeC3ApWUNJV2SgpBips > pRajgAjW/ > c5MUGtttbdPo > +49L8kMmcDznJff950zSYZBgwgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQHjlePvP > 51// > fIjGP6EG+jMhGkSDaBANokE0iAbR+KfUUKYBy5cvVyqV8ECpO/ > j46VdfQ5m2f3yDebpTev2OelH9iBH
AdWords API Re: Campaigns Assigned Long Id Rather Than Int
It's the ID that was returned to us on addition through the API and it's a parameter value seen in the browser when using the Adwords API center to browse the campaign ... maybe ?c=3437766218, I don't recall at the moment ... if the incorrect value was returned to us, I at least need to know what the correct ID of this campaign is, as currently we have no way of interacting with it through the API More account details can be provided if you'd like to take discussion off list. Pete On Nov 3, 3:34 pm, AdWords API Advisor wrote: > Hi Pete, > > I'm not able to find a campaign in the AdWords system with this ID. > Are you sure this is the correct value? > > Best, > - Eric > > On Nov 3, 2:50 pm, "Pete Lavetsky (AdWords API Guru)" > > wrote: > > The value that was returned to us was 3437766218, which is larger than > > an int > > > Pete > > > On Nov 3, 1:32 pm, AdWords API Advisor > > wrote: > > > > Hi Pete, > > > > Although the data type for a campaign ID is now a long in v2009, the > > > numbers returned should still be in the int range. That is, you > > > should be able to convert the long to an int safely. In the future > > > the IDs may be larger than ints, but not until v13 is sunset. > > > > Best, > > > - Eric Koleda, AdWords API Team > > > > On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" > > > > wrote: > > > > We recently came across an issue where a Campaign created through the > > > > API was given an Id that needed a primitive type of long rather than > > > > int ( we're using the Java library ). We're currently using the v13 > > > > library and noticed that in the v2009 library the id field of Campaign > > > > is of type long rather than int. > > > > > package com.google.api.adwords.v13; > > > > > public class Campaign implements java.io.Serializable{ > > > > private int id; > > > > > package com.google.api.adwords.v200909.cm; > > > > > public class Campaign implements java.io.Serializable{ > > > > private java.lang.Long id; > > > > > There's currently no way to use the v13 library and retrieve Campaign > > > > info if the id is a long: > > > > > public interface CampaignInterface extends java.rmi.Remote { > > > > com.google.api.adwords.v13.reseller.Campaign getCampaign(int i) > > > > throws java.rmi.RemoteException, > > > > com.google.api.adwords.v13.reseller.ApiException; > > > > > Was the Id we were given a mistake? If not, what route do I take to > > > > work with this Campaign. Using v2009 at this point is not an option. > > > > v13 documentation still states that you get a Campaign by passing an > > > > int parameter > > > > >http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > > > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Cannot serve any requests for the specified account. Please contact support.
Hi All, The most common cause of this error is not having accurate billing information in your MCC account. Please ensure your billing information is up to date and try using the API again. You can access your billing information by logging in with your MCC credentials and navigating to "My Account" -> "Billing Preferences". Best, - Eric Koleda, AdWords API Team On Nov 2, 10:52 am, Alican Yenidogan wrote: > I recently got approved by Google to use Google Adwords API but my > calls end up with the following error: > > Cannot serve any requests for the specified account. Please contact > support. > > I don't know what the problem is and would love some help. > > My account is activated and I've entered my billing information too. > > My Adwords account is :rov...@gmail.com > This account is connected to a master account which > is:alican.yenido...@gmail.com > > Looking forward to your reply, > > Thank you, > Alican Yenidogan -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Possible values for TargetList targetListType
Hi Ursula, Unfortunately it isn't possible to limit the results to select types of targets, all targets types are returned. The value of targetListType is one of the subtypes, such as "AdScheduleTargetList", etc. The full list is shown in the Inheritance" box on this page: http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTargetService.TargetList.html. Best, - Eric Koleda, AdWords API Team On Nov 3, 11:34 am, Ursula wrote: > I have a question about how the CampaignTargetService works. I’m > looking for a way to filter for only a certain type of Campaign > target. I only see a way to get all targets for a particular > campaignID using the CampaignTargetSelector. Is there a way to just > get one targetType? Also, can you provide me with the possible > values for the String property targetListType of the Target List > object please? I can’t seem to find them in the docs. > > Thanks, > Ursula Kellmann -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Campaigns Assigned Long Id Rather Than Int
Hi Pete, Do you have the SOAP XML request and response that shows this ID being returned? Best, - Eric On Nov 3, 4:00 pm, "Pete Lavetsky (AdWords API Guru)" wrote: > It's the ID that was returned to us on addition through the API and > it's a parameter value seen in the browser when using the Adwords API > center to browse the campaign ... maybe ?c=3437766218, I don't recall > at the moment ... if the incorrect value was returned to us, I at > least need to know what the correct ID of this campaign is, as > currently we have no way of interacting with it through the API > > More account details can be provided if you'd like to take discussion > off list. > > Pete > > On Nov 3, 3:34 pm, AdWords API Advisor > wrote: > > > > > Hi Pete, > > > I'm not able to find a campaign in the AdWords system with this ID. > > Are you sure this is the correct value? > > > Best, > > - Eric > > > On Nov 3, 2:50 pm, "Pete Lavetsky (AdWords API Guru)" > > > wrote: > > > The value that was returned to us was 3437766218, which is larger than > > > an int > > > > Pete > > > > On Nov 3, 1:32 pm, AdWords API Advisor > > > wrote: > > > > > Hi Pete, > > > > > Although the data type for a campaign ID is now a long in v2009, the > > > > numbers returned should still be in the int range. That is, you > > > > should be able to convert the long to an int safely. In the future > > > > the IDs may be larger than ints, but not until v13 is sunset. > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" > > > > > wrote: > > > > > We recently came across an issue where a Campaign created through the > > > > > API was given an Id that needed a primitive type of long rather than > > > > > int ( we're using the Java library ). We're currently using the v13 > > > > > library and noticed that in the v2009 library the id field of Campaign > > > > > is of type long rather than int. > > > > > > package com.google.api.adwords.v13; > > > > > > public class Campaign implements java.io.Serializable{ > > > > > private int id; > > > > > > package com.google.api.adwords.v200909.cm; > > > > > > public class Campaign implements java.io.Serializable{ > > > > > private java.lang.Long id; > > > > > > There's currently no way to use the v13 library and retrieve Campaign > > > > > info if the id is a long: > > > > > > public interface CampaignInterface extends java.rmi.Remote { > > > > > com.google.api.adwords.v13.reseller.Campaign getCampaign(int > > > > > i) > > > > > throws java.rmi.RemoteException, > > > > > com.google.api.adwords.v13.reseller.ApiException; > > > > > > Was the Id we were given a mistake? If not, what route do I take to > > > > > work with this Campaign. Using v2009 at this point is not an option. > > > > > v13 documentation still states that you get a Campaign by passing an > > > > > int parameter > > > > > >http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > > > > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Serah Keword Idea
Hi Shiv, The AdWords API PHP client library is brand new, and the decision was made to release it to the public as soon as possible, even if all of the examples weren't finished yet. We are working on writing more examples and should have those available soon. Best, - Eric On Nov 2, 3:43 pm, Shiv Bhaduri wrote: > Hi Adwords team, > > If you guys have written the whole API why just partial examples and > jumping programming language? This would save lot of people's time and > effort, especially when you own the API. > > Best > > On Oct 29, 4:30 pm, AdWords API Advisor > wrote: > > > > > Hi Priyantha, > > > Unfortunately there is noexamplefor the TargetingIdeaService using > > the AdWords API PHP client library. There is .NETexamplethough that > > you might find > > helpful:http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun > > > Looking at your code, you should use an instance of > > RelatedToKeywordSearchParameter not KeywordMatchTypeSearchParameter > > for passing in the seed keywords. Also, I'm not sure that your > > TargetingIdeaSelector is being constructed correctly. Please refer to > > the developer documentation for the available > > fields:http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde > > > Best, > > - Eric Koleda, AdWords API Team > > > On Oct 29, 4:17 am, Priyantha Gunawardena > > wrote: > > > > Hi Any one has anexamplehow togetkeyword search Ideas in v200909. given > > > below is my code sample but having error in it. > > > > try { > > > //GetAdWordsUser from credentials in "../auth.ini" > > > // relative to the AdWordsUser.php file's directory. > > > $user = new AdWordsUser(); > > > > // Log SOAP XML request and response. > > > $user->LogDefaults(); > > > > //Getthe CampaignService. > > > $targettingIdeaService = $user->GetTargetingIdeaService(); > > > $searchParameters = array ( > > > new KeywordMatchTypeSearchParameter(array('PHRASE'), 'key word here') > > > ); > > > //Getallcampaigns. > > > $targettingIdeaPage = $targettingIdeaService->get(new > > > TargetingIdeaSelector( > > > $searchParameters, 'KEYWORD', 'IDEAS', array('KEYWORD')), 100 ) ; > > > // Displaycampaigns. > > > if (isset($targettingIdeaPage->entries)) { > > > foreach ($targettingIdeaPage->entries as $targettingIdea) { > > > var_dump($targettingIdea); > > > }} else { > > > > print "Nocampaignsfound.\n"; > > > > } > > > } catch (Exception $e) { > > > print_r($e); > > > } > > > > -- > > > ... > > > Priyantha Gunawardena > > > __ > > > {Web Designer / Developer} > > > Tel: +94 038-228-4323 > > > Mobi: +94 077-393-8516 > > > Blog:http://www.pgdesigning.com > > > IM : pgdesigning > > > ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Sample code to get keywords in PHP
Guys Thanks again !! you just made my day Rgds Shiv On Nov 3, 7:20 pm, AdWords API Advisor wrote: > Hi Priyantha, > > Thanks for sharing your work with the community, it's great to see > developers getting excited about the new PHP client library. > > and Shiv, > > The error indicates that you are using PHP 3.0, which currently isn't > supported by library. More information is available in my response in > this > thread:http://groups.google.com/group/adwords-api/browse_thread/thread/3d13b > > Best, > - Eric Koleda, AdWords API Team > > On Nov 3, 9:50 am, Shiv Bhaduri wrote: > > > > > Hi Priya, > > > This is a big help, could you please help me with the below error > > > Strict Standards: Declaration of AdsSoapClient::__doRequest() should > > be compatible with that of SoapClient::__doRequest() in adword\src > > \Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 402 > > > Thanks..Shiv > > > On Nov 3, 8:42 am, Priyantha Gunawardena > > wrote: > > > > Hi All, > > > > I hope you guys find this helpful. > > > >http://www.pgdesigning.com/php/2009/11/03/get-all-keywords-in-adword-... > > > > Cheers, > > > -- > > > ... > > > Priyantha Gunawardena > > > __ > > > {Web Designer / Developer} > > > Tel: +94 038-228-4323 > > > Mobi: +94 077-393-8516 > > > Blog:http://www.pgdesigning.com > > > IM : pgdesigning > > > ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: To many connection failures
Hi Eric, Here is a sample API call that Failed. We didn't get any response back apart from the "Bad Gateway/502" error. As I mentioned, we keep trying even after the failure and it may work for a while. We were not able to download the entire campaign data yet. Please let me know if this help you identify the problem. thanks Santhosh - XXX xxx xxx xxx xxx 1241093xxx On Nov 3, 9:08 am, AdWords API Advisor wrote: > Hi Santhosh, > > The account appears to be in good standing, and I was able to make > some requests against it without a problem. Can you please provide > the SOAP XML for a specific request which fails? > > Best, > - Eric > > On Oct 29, 7:38 pm, Santhosh Nair wrote: > > > > > Hi Eric, > > I emailed the customer id > > > thanks, > > Santhosh > > > On Oct 29, 7:21 am, AdWords API Advisor > > wrote: > > > > Hi Santhosh, > > > > In order to further troubleshoot the problem I will need to get the > > > customer ID for this account. Please don't post it to the forum, but > > > instead email me the information at adwordsapiadvi...@google.com. > > > > Best, > > > - Eric > > > > On Oct 28, 6:28 pm, Santhosh Nair wrote: > > > > > Thanks Eric. It looks like the error occours randomly (on this > > > > particular account) . API returned these errors while retrieving list > > > > of Keywords as well as Ads. > > > > This error is easily reproducible on this account. It is been 5 days > > > > since we tried to download campaign data, it fails even after more > > > > than 100 retries. > > > > > regards, > > > > Santhosh > > > > > On Oct 28, 7:37 am, AdWords API Advisor > > > > wrote: > > > > > > Hi Santhosh, > > > > > > 502 errors are usually returned when a timeout has occurred between > > > > > internal Google servers. Are you noticing that there certain services > > > > > or method that are triggering this error? Is the error consistent or > > > > > reproducible? > > > > > > Best, > > > > > - Eric > > > > > > On Oct 27, 8:22 pm, Santhosh Nair wrote: > > > > > > > Hello Eric, > > > > > > Thank you for you response. We do not experience any network > > > > > > issues > > > > > > and in fact API access to all other accounts (to other seach > > > > > > engines > > > > > >too) works with out errors. > > > > > > Here is the stack trace from last exception. Please let's know > > > > > > whether > > > > > > some particular accounts may experienceconnectionissues at this > > > > > > moment. > > > > > > > org.jboss.remoting.CannotConnectException: Can not connect http > > > > > > client > > > > > > invoker. Invalid HTTP server response > > > > > > [502] - Bad Gateway. Response: Bad Gateway/502. > > > > > > at > > > > > > org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection > > > > > > (HTTPClientInvoker.java:368) > > > > > > at org.jboss.remoting.transport.http.HTTPClientInvoker.transport > > > > > > (HTTPClientInvoker.java:148) > > > > > > at org.jboss.remoting.MicroRemoteClientInvoker.invoke > > > > > > (MicroRemoteClientInvoker.java:141) > > > > > > at org.jboss.remoting.Client.invoke(Client.java:1858) > > > > > > at org.jboss.remoting.Client.invoke(Client.java:718) > > > > > > at org.jboss.ws.core.client.RemotingConnectionImpl.invoke > > > > > > (RemotingConnectionImpl.java:190) > > > > > > ... 94 more > > > > > > Caused by: org.jboss.ws.WSException: Invalid HTTP server response > > > > > > [502] - Bad Gateway > > > > > > at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read > > > > > > (SOAPMessageUnMarshaller.java:77) > > > > > > at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse > > > > > > (HTTPClientInvoker.java:548) > > > > > > at > > > > > > org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection > > > > > > (HTTPClientInvoker.java:322) > > > > > > ... 99 more > > > > > > > thanks, > > > > > > Santhosh -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Creatives with unexpected destination URLs
Hi, Unfortunately I wasn't able to get any further information about the ad type values that are returned. It appears that various ad types are listed as richMediaAd in the reports, and it is not possible to determine the exact type using reports alone. Best, - Eric On Nov 3, 8:11 am, Zweitze wrote: > Hi, > > Do you have any updates on the issues raised in this thread? > > Thanks. -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
Re: AdWords API v2009: DotNet ClientLibrary Authentication
Hi, My apologies, but I previously sent you the link to the .NET samples issues, not the .NET client library issues. The correct issue tracker is located here: http://code.google.com/p/google-api-adwords-dotnet/issues/list. There was already an issue created for this problem, which you can find here: http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=21. Best, - Eric On Nov 3, 1:40 pm, AdWords API Advisor wrote: > Hi, > > There is no set turnaround time on these types of defects, but we make > an effort to address them quickly. I'll reach out to the owners of > that library and ask them to update the status of that issue. > > Best, > - Eric > > On Nov 2, 5:32 pm, alal wrote: > > > > > Hi Eric, > > > I logged the issue at the location below and also under the dot net > > issue list but have not had response on the issue as yet. > > > I'm new to using the forum and posting questions or defects. Is there > > a set turn around time to response to defects? The priority for the > > issue is set at the default medium level. > > > Thanks > > > On Oct 26, 11:44 pm, AdWords API Advisor > > > wrote: > > > Hi, > > > > Thank you for bringing this to our attention. Please create a bug for > > > this issue on the AdWords API .NET Client Library issue > > > tracker:http://code.google.com/p/adwords-api-dotnet-samples/issues/list. > > > The > > > maintainers of that library will follow up with you there. > > > > Best, > > > - Eric Koleda, AdWords API Team > > > > On Oct 26, 3:30 am,alal wrote: > > > > > I have just switched over to v200909 and have the same issue as I > > > > store my credentials in web.config. Previously, the AdWordsUser class > > > > had a constructor to pass in headers created from data in web.config > > > > (or anywhere other than App.config). There does not appear to be an > > > > option to do this and we run into he issue described by letot. > > > > > What should I use as a workaround or does this need to be fixed to > > > > allow passing a header object in? > > > > > Cheers > > > > > On Oct 24, 1:56 am, letot wrote: > > > > > > Hello, > > > > > > I'm using the dotNet ClientLibrary v5.0.0 and when I try to > > > > > authenticate my user by passing a dictionary with my credentials, the > > > > > library (AdWordsApiServiceFactory constructor) is reading > > > > > configuration file to get those credentials. Of course, the > > > > > authentication fails after not getting that info within the config > > > > > file. It should use the credentials passed as parameter and not > > > > > configuration. > > > > > > Thanks, -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Error while calling updateCriteria
Hi Hari, We have seen this behavior with a few other campaigns, and the core engineering team is currently looking into the cause. Do you have any information about what type of campaign this is, when it was created, etc? Best, - Eric Koleda, AdWords API Team On Nov 2, 8:46 pm, SEM wrote: > Hi, > > I am getting the following error when I try to updateCriteria. > > 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> > > > 42 > > 16388288 > > 4 > > false > > The API does not support this type of campaign. ns1:detail> > > > > > 43 > > 16388288 > > 4 > > false > > The API does not support this type of campaign. ns1:detail> > > > > Can you shed some light on what this error means and if this is an API > Error which can be obtained from APIException or some other type of > error. How can we fix this error? > > thanks, > Hari -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
Re: AdWords API v2009: DotNet ClientLibrary Authentication
Hi, There is no set turnaround time on these types of defects, but we make an effort to address them quickly. I'll reach out to the owners of that library and ask them to update the status of that issue. Best, - Eric On Nov 2, 5:32 pm, alal wrote: > Hi Eric, > > I logged the issue at the location below and also under the dot net > issue list but have not had response on the issue as yet. > > I'm new to using the forum and posting questions or defects. Is there > a set turn around time to response to defects? The priority for the > issue is set at the default medium level. > > Thanks > > On Oct 26, 11:44 pm, AdWords API Advisor > > > > wrote: > > Hi, > > > Thank you for bringing this to our attention. Please create a bug for > > this issue on the AdWords API .NET Client Library issue > > tracker:http://code.google.com/p/adwords-api-dotnet-samples/issues/list. > > The > > maintainers of that library will follow up with you there. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Oct 26, 3:30 am,alal wrote: > > > > I have just switched over to v200909 and have the same issue as I > > > store my credentials in web.config. Previously, the AdWordsUser class > > > had a constructor to pass in headers created from data in web.config > > > (or anywhere other than App.config). There does not appear to be an > > > option to do this and we run into he issue described by letot. > > > > What should I use as a workaround or does this need to be fixed to > > > allow passing a header object in? > > > > Cheers > > > > On Oct 24, 1:56 am, letot wrote: > > > > > Hello, > > > > > I'm using the dotNet ClientLibrary v5.0.0 and when I try to > > > > authenticate my user by passing a dictionary with my credentials, the > > > > library (AdWordsApiServiceFactory constructor) is reading > > > > configuration file to get those credentials. Of course, the > > > > authentication fails after not getting that info within the config > > > > file. It should use the credentials passed as parameter and not > > > > configuration. > > > > > Thanks, -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Conversion Tracking Status using API
Hi Diwakar, Unfortunately this information isn't available through the API. Best, - Eric Koleda, AdWords API Team On Nov 3, 5:20 am, Diwakar wrote: > Hi, > I would like to check the status of Conversion Tracking through API. > How can it be done? > > -Diwakar -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Sample code to get keywords in PHP
Hi Priyantha, Thanks for sharing your work with the community, it's great to see developers getting excited about the new PHP client library. and Shiv, The error indicates that you are using PHP 3.0, which currently isn't supported by library. More information is available in my response in this thread: http://groups.google.com/group/adwords-api/browse_thread/thread/3d13bf6988efb8c0/. Best, - Eric Koleda, AdWords API Team On Nov 3, 9:50 am, Shiv Bhaduri wrote: > Hi Priya, > > This is a big help, could you please help me with the below error > > Strict Standards: Declaration of AdsSoapClient::__doRequest() should > be compatible with that of SoapClient::__doRequest() in adword\src > \Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 402 > > Thanks..Shiv > > On Nov 3, 8:42 am, Priyantha Gunawardena > wrote: > > > > > Hi All, > > > I hope you guys find this helpful. > > >http://www.pgdesigning.com/php/2009/11/03/get-all-keywords-in-adword-... > > > Cheers, > > -- > > ... > > Priyantha Gunawardena > > __ > > {Web Designer / Developer} > > Tel: +94 038-228-4323 > > Mobi: +94 077-393-8516 > > Blog:http://www.pgdesigning.com > > IM : pgdesigning > > ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Error: function Split() is deprecated in PHP api
Hi rwhite35, Unfortunately the AdWords API PHP client library is not yet compatible with PHP 3.0. Currently the library only supports PHP 5.2.X. We are very interested in what PHP versions customers are using, so please add a comment to the PHP Compatibility page with your information: http://code.google.com/p/google-api-adwords-php/wiki/PhpCompatibility. Best, - Eric Koleda, AdWords API Team On Nov 1, 4:57 pm, rwhite35 wrote: > I changed the function in AuthToken.php (line 70) from split() to > explode() and this changed the error from the "deprecated split()" to > the following: > > Strict Standards: Declaration of AdsSoapClient::__doRequest() should > be compatible with that of SoapClient::__doRequest() in /path/to/ > adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 403 > > Also, I'm still getting the SOAP Parse error either way, with split() > or explode() functions. > > SOAP-ERROR: Parsing WSDL: Couldn't load from 'https:// > adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl' : > Extra content at the end of the document > > However, the authentication token is returned and my MCC information > is displayed, but non of my campaigns are present. > > Any thoughts, anyone? > rwhite35 > > On Oct 31, 8:37 am, rwhite35 wrote: > > > > > Hello, > > > I'm migrating from APIlity v13 to v200909 and tried to run examples/ > > v200909/GetAllCampaignsExample.php with mixed results. It seems that > > the WSDL is returning an authToken, however, non of my campaign info > > returns. I'm making the request on our production account and not the > > sandbox either. Also, I get two errors: > > > First error: Deprecated: Function split() is deprecated in /path/to/ > > adwords/src/Google/Api/Ads/Common/Util/AuthToken.php on line 70 > > > Second error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https:// > > adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl' : > > Extra content at the end of the document > > > The following (in addition to functions and methods) is returned: > > ... > > [2] => AdWordsUser Object > > ( > > [email:AdWordsUser:private] => > > myem...@mydomain.com > > [password:AdWordsUser:private] => > > 1234567890 > > > [requestHeaderElements:AdsUser:private] => Array > > ( > > [userAgent] => AdWords API > > PHP Client LIbrary - v1.1.0 - 123-123-1234 > > [clientEmail] => > > em...@domain.com > > [developerToken] => > > 112233445566778899 > > [applicationToken] => > > 1234567890 > > [authToken] => 1234567890- > > long string of alphnumerics > > ) > > > [defaultServer:AdsUser:private] > > =>https://adwords.google.com > > [defaultVersion:AdsUser:private] > > => v200909 > > [logsDirectory:AdsUser:private] > > => /path/to/adwords/logs > > ) > > > [3] => CampaignService > > ) > > > ) > > ... > > > My development server is a personal webserver running Mac OSX 10.6, > > Apache 2, PHP 5.3 with SOAP enabled. > > > Any thoughts would be appreciated. Thanks in advance! > > rwhite35 -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Campaigns Assigned Long Id Rather Than Int
The value that was returned to us was 3437766218, which is larger than an int Pete On Nov 3, 1:32 pm, AdWords API Advisor wrote: > Hi Pete, > > Although the data type for a campaign ID is now a long in v2009, the > numbers returned should still be in the int range. That is, you > should be able to convert the long to an int safely. In the future > the IDs may be larger than ints, but not until v13 is sunset. > > Best, > - Eric Koleda, AdWords API Team > > On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" > > wrote: > > We recently came across an issue where a Campaign created through the > > API was given an Id that needed a primitive type of long rather than > > int ( we're using the Java library ). We're currently using the v13 > > library and noticed that in the v2009 library the id field of Campaign > > is of type long rather than int. > > > package com.google.api.adwords.v13; > > > public class Campaign implements java.io.Serializable{ > > private int id; > > > package com.google.api.adwords.v200909.cm; > > > public class Campaign implements java.io.Serializable{ > > private java.lang.Long id; > > > There's currently no way to use the v13 library and retrieve Campaign > > info if the id is a long: > > > public interface CampaignInterface extends java.rmi.Remote { > > com.google.api.adwords.v13.reseller.Campaign getCampaign(int i) > > throws java.rmi.RemoteException, > > com.google.api.adwords.v13.reseller.ApiException; > > > Was the Id we were given a mistake? If not, what route do I take to > > work with this Campaign. Using v2009 at this point is not an option. > > v13 documentation still states that you get a Campaign by passing an > > int parameter > > >http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: keyword report returning multiple rows for a unique adgroupID/CriterionID
Hi Crosby, In general, reports will be returned with multiple rows for an object when one of the column values has changed over the time period of the report, and the value is an input (such as maxCpc, maxCpa, etc). This is not new, but you may not have seen it before (if you hadn't changed CPA targets often). Best, - Eric Koleda, AdWords API Team On Oct 30, 9:27 pm, crosby wrote: > using v13 on .net. -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Duplicate Rows in Ad Performance report
Hi Vijay, Please see my response in this related thread: http://groups.google.com/group/adwords-api/browse_thread/thread/f007835934d58dad/. Best, - Eric Koleda, AdWords API Team On Nov 2, 3:17 pm, Reed wrote: > Are you specifying the match type ("keyword type") in the report > request? It might be that the multiple lines are for differing match > types on the same ad. > > On Nov 2, 3:39 pm, semdev wrote: > > > > > Hi, > > > We see for many of our clients that in the Ad Performance report > > (DefinedReportJob.selectedReportType set to “Creative”), the rows are > > repeated (duplicate set of rows) for same KeywordId and CreativeId > > combinations with exactly same values for all metrics including > > Clicks, Impressions, CTR, etc. > > > We see this happening randomly for different days (which varies for > > different accounts for different clients) when we retrieve the > > performance data daily. > > > Can you let us know if any other API customers are experiencing this > > issue and if there is a specific use case that causes this? > > > Thanks, > > Vijay -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
Re: Managing more accounts using AdWords API DotNet Client Library
Hi Marian, Yes, this is an issue that was previously reported. Please follow the AdWords APU .NET client library issue tracker for updates on this issue: http://code.google.com/p/adwords-api-dotnet-samples/issues/list. Best, - Eric Koleda, AdWords API Team On Nov 3, 4:10 am, Tiny wrote: > I found that this is actually a problem of the library 5.0.0 which was > already reported by somebody > else:http://groups.google.com/group/adwords-api/browse_thread/thread/7903c... > > On Nov 2, 1:29 pm, Tiny wrote: > > > > > Hi, > > > I'm trying to use your AdWords API DotNet Client Library to work with > > AdWords API services and I got into problem with managing more client > > accounts. > > > Credentials, which are set to header of each request, are specified in > > application config file. In our company we are managing more client > > accounts which differ in ClientEmail. So I need to be able to specify > > ClientEmail dynamically when creating instance of service. > > > I know that I can comply my requirements by doing changes to your > > library (changing Service Factories and AdWordsUser class) but I want > > to avoid changing external libraries. So I want to ask whether there > > are some best practices how to handle this situation? > > > Thanks, Marian -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: API v2009 NetworkType[], GeoTarget, RegionTargets, CountryTargets, setLanguageTargeting
THANX ERIC IT WORKED FIIINE!!! Now I can continue with groups, keywords, adsMaybe I will call u again...LOL Tks! Inah On 3 nov, 14:28, AdWords API Advisor wrote: > Hi, > > I looked at the internal error message, and it appears that you are > not authenticating correctly. If you use the authentication of an MCC > user, then you must include either a clientEmail or clientCustomerId > header to specify which child AdWords account to operate on. More > information about the request headers can be found > here:http://code.google.com/apis/adwords/docs/developer/index.html#adwords > > Best, > - Eric > > On Oct 29, 3:21 pm, Inah from Brazil wrote: > > > Hi Eric!!Look what I found > > [29 Out 2009 18:05:25,101 - DEBUG] > > > > http://schemas.xmlsoap.org/soap/ > > envelope/"> > > https://adwords.google.com/api/adwords/cm/ > > v200909"> > > 0895006c6f0c52ea1d74b6647dadc9d3 > > 1 > > 299 > > 1 > > > > soap:Server > faultcode>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > > @ InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > message>ApiException > ApplicationException.Type> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>InternalApiError > > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR > ApiExceptionFault> > > > Is that good for u??? > > Luck me!!!Please, help me with that...TKS! > > > On 29 out, 17:36, Inah from Brazil wrote: > > > > Unfortunately I don t have de ID..everything I have I showed hereI > > > got this error on my Console(StackTrace)...there's any way to see my > > > envelop SOAP in xml anywhere? > > > But my team used my Main Class in other computer and they r connecting > > > with no problems at allstrange isn't? > > > I tried something with our support but they dont have any clues > > > too > > > Any ideas Eric? > > > TKS for your att! > > > On 29 out, 17:09, AdWords API Advisor > > > wrote: > > > > > Hi, > > > > > This appears to be an internal error in the AdWords system. Do you > > > > have the request ID for this request? > > > > > Best, > > > > - Eric > > > > > On Oct 29, 2:49 pm, Inah from Brazil wrote: > > > > > > Hi Eric! Thanks for your answer! > > > > > I understood now how it works!TKS! > > > > > But now I tryin to add campaigns and I gettin another error... > > > > > > AxisFault > > > > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > > > > > faultSubcode: > > > > > faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > > > faultActor: > > > > > faultNode: > > > > > faultDetail: > > > > > {https://adwords.google.com/api/adwords/cm/v200909} > > > > > ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > > > > > @ ApiException > > > > ApplicationException.Type>http://www.w3.org/2001/ > > > > > XMLSchema-instance" > > > > > xsi:type="InternalApiError">InternalAp > > > > > iError > > > > > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR > > > > > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > > > 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.v200909.cm.ApiException.getDeserializer > > > > > (ApiException.java:142) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > > > > Source) > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > at > > > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized > > > > > (BaseDeserializerFactory.java:154) > > > > > at > > > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs > > > > > (BaseDeserializerFactory.java:84) > > > > > at > > > > > org.apache.axis.encoding.DeserializationContext.getDeserializer > > > > > (DeserializationContext.java:464) > > > > > at > > > > > org.apache.axis.encoding.DeserializationContext.getDeserializerForType > > > > > (DeserializationContext.java:547) > > > > > at > > > > > org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild > > > > > (SOAPFaultDetailsBuilder.java:157) > > > > > at > > > > > org.apache.axis.encoding.DeserializationContext.startElement > > > >
AdWords API Re: Campaigns Assigned Long Id Rather Than Int
Hi Pete, Although the data type for a campaign ID is now a long in v2009, the numbers returned should still be in the int range. That is, you should be able to convert the long to an int safely. In the future the IDs may be larger than ints, but not until v13 is sunset. Best, - Eric Koleda, AdWords API Team On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" wrote: > We recently came across an issue where a Campaign created through the > API was given an Id that needed a primitive type of long rather than > int ( we're using the Java library ). We're currently using the v13 > library and noticed that in the v2009 library the id field of Campaign > is of type long rather than int. > > package com.google.api.adwords.v13; > > public class Campaign implements java.io.Serializable{ > private int id; > > package com.google.api.adwords.v200909.cm; > > public class Campaign implements java.io.Serializable{ > private java.lang.Long id; > > There's currently no way to use the v13 library and retrieve Campaign > info if the id is a long: > > public interface CampaignInterface extends java.rmi.Remote { > com.google.api.adwords.v13.reseller.Campaign getCampaign(int i) > throws java.rmi.RemoteException, > com.google.api.adwords.v13.reseller.ApiException; > > Was the Id we were given a mistake? If not, what route do I take to > work with this Campaign. Using v2009 at this point is not an option. > v13 documentation still states that you get a Campaign by passing an > int parameter > > http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Campaigns Assigned Long Id Rather Than Int
No, we do not log that enormous amount of XML unless we have an error we can reproduce Pete On Nov 3, 5:02 pm, AdWords API Advisor wrote: > Hi Pete, > > Do you have the SOAP XML request and response that shows this ID being > returned? > > Best, > - Eric > > On Nov 3, 4:00 pm, "Pete Lavetsky (AdWords API Guru)" > > wrote: > > It's the ID that was returned to us on addition through the API and > > it's a parameter value seen in the browser when using the Adwords API > > center to browse the campaign ... maybe ?c=3437766218, I don't recall > > at the moment ... if the incorrect value was returned to us, I at > > least need to know what the correct ID of this campaign is, as > > currently we have no way of interacting with it through the API > > > More account details can be provided if you'd like to take discussion > > off list. > > > Pete > > > On Nov 3, 3:34 pm, AdWords API Advisor > > wrote: > > > > Hi Pete, > > > > I'm not able to find a campaign in the AdWords system with this ID. > > > Are you sure this is the correct value? > > > > Best, > > > - Eric > > > > On Nov 3, 2:50 pm, "Pete Lavetsky (AdWords API Guru)" > > > > wrote: > > > > The value that was returned to us was 3437766218, which is larger than > > > > an int > > > > > Pete > > > > > On Nov 3, 1:32 pm, AdWords API Advisor > > > > wrote: > > > > > > Hi Pete, > > > > > > Although the data type for a campaign ID is now a long in v2009, the > > > > > numbers returned should still be in the int range. That is, you > > > > > should be able to convert the long to an int safely. In the future > > > > > the IDs may be larger than ints, but not until v13 is sunset. > > > > > > Best, > > > > > - Eric Koleda, AdWords API Team > > > > > > On Nov 2, 3:06 pm, "Pete Lavetsky (AdWords API Guru)" > > > > > > wrote: > > > > > > We recently came across an issue where a Campaign created through > > > > > > the > > > > > > API was given an Id that needed a primitive type of long rather than > > > > > > int ( we're using the Java library ). We're currently using the > > > > > > v13 > > > > > > library and noticed that in the v2009 library the id field of > > > > > > Campaign > > > > > > is of type long rather than int. > > > > > > > package com.google.api.adwords.v13; > > > > > > > public class Campaign implements java.io.Serializable{ > > > > > > private int id; > > > > > > > package com.google.api.adwords.v200909.cm; > > > > > > > public class Campaign implements java.io.Serializable{ > > > > > > private java.lang.Long id; > > > > > > > There's currently no way to use the v13 library and retrieve > > > > > > Campaign > > > > > > info if the id is a long: > > > > > > > public interface CampaignInterface extends java.rmi.Remote { > > > > > > com.google.api.adwords.v13.reseller.Campaign > > > > > > getCampaign(int i) > > > > > > throws java.rmi.RemoteException, > > > > > > com.google.api.adwords.v13.reseller.ApiException; > > > > > > > Was the Id we were given a mistake? If not, what route do I take to > > > > > > work with this Campaign. Using v2009 at this point is not an > > > > > > option. > > > > > > v13 documentation still states that you get a Campaign by passing an > > > > > > int parameter > > > > > > >http://code.google.com/apis/adwords/docs/developer/CampaignService.ht... > > > > > > > Pete -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Java samples working?
Hi, Please see my response on your original thread: http://groups.google.com/group/adwords-api/browse_thread/thread/19f08c14ad8f30c3/. Best, - Eric Koleda, AdWords API Team On Nov 2, 11:22 am, "i...@larseggert.de" wrote: > Hi all, > i just tried to use the java-samples-api (http:// > code.google.com/p/adwords-api-java-samples/, > examples:EstimateKeyword.java) and changed the values for > email,password,clientEmail,developerToken and applicationToken. > > As i know from eric the java-samples are configured to use the sandbox > so it should work.. > > But unfortunatly all i get is a: > > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > Server.userException > faultSubcode: > faultString: Must specify a client in order to do traffic estimates. > faultActor: > faultNode: > faultDetail: > {https://adwords.google.com/api/adwords/v13}fault: > 94 > > Must specify a client in order to do traffic > estimates. > > Must specify a client in order to do traffic estimates. > 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:267) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized > (BaseDeserializerFactory.java:154) > at > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs > (BaseDeserializerFactory.java:84) > at > org.apache.axis.encoding.DeserializationContext.getDeserializer > (DeserializationContext.java:464) > at > org.apache.axis.encoding.DeserializationContext.getDeserializerForType > (DeserializationContext.java:547) > at > org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild > (SOAPFaultDetailsBuilder.java:157) > at > org.apache.axis.encoding.DeserializationContext.startElement > (DeserializationContext.java:1035) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE > lement > (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.scan > Document > (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.v13.TrafficEstimatorServiceSoapBindingStub.estimateK > eywordList > (TrafficEstimatorServiceSoapBindingStub.java:563) > at EstimateKeyword.main(EstimateKeyword.java:52) -- You receive
AdWords API Re: Error EstimateKeyword.java using sandbox
Hi, The clientEmail header is not formatted correctly. Please read the section on clientEmail here: http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders. Best, - Eric On Oct 30, 9:49 am, "i...@larseggert.de" wrote: > Hi Eric, > ok. I tried the following: > > private static final String email = "i...@larseggert.de"; > private static final String password = "MY_PASS"; > private static final String clientEmail = "i...@larseggert.de"; > private static final String useragent = "orange-seo: AdWords API > Java Sample Code"; > private static final String developerToken = "MY_TOKEN"; > private static final String applicationToken = "MY_APP_TOKEN"; > > private static final String namespace = "https://adwords.google.com/ > api/adwords/v13"; > > But still get: > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > Server.userException > faultSubcode: > faultString: Must specify a client in order to do traffic estimates. > faultActor: > faultNode: > faultDetail: > {https://adwords.google.com/api/adwords/v13}fault: > 94 > > Must specify a client in order to do traffic > estimates. > > Must specify a client in order to do traffic estimates. > 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:267) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized > (BaseDeserializerFactory.java:154) > at > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs > (BaseDeserializerFactory.java:84) > at org.apache.axis.encoding.DeserializationContext.getDeserializer > (DeserializationContext.java:464) > at > org.apache.axis.encoding.DeserializationContext.getDeserializerForType > (DeserializationContext.java:547) > at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild > (SOAPFaultDetailsBuilder.java:157) > at org.apache.axis.encoding.DeserializationContext.startElement > (DeserializationContext.java:1035) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement > (Unknown Source) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE > lement > (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.scan > Document > (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:18
AdWords API Re: creative structure report error : BusinessName, BusinessAddress
Hi Saurabh, Those columns are only valid for accounts with Local Business Ads. If the account doesn't have any Local Business Ads the columns will be rejected. Best, - Eric Koleda, AdWords API Team On Oct 30, 5:52 am, saurabh purnaye wrote: > Hi, > I have two accounts setup for adwords. I am trying to fetch the > creative structure report. This is failing with the issue of > The following columns are not supported by the Report Type Structure : > [BusinessName, BusinessAddress] > I have checked with both of the accounts, the setting seems to be > same, but one account fails for the fast fetch while other account > works well. > This is the request I am sending and getting failed > > > - http://www.w3.org/2001/XMLSchema- > instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; SOAP- > ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";> > - > X > X > Test user agent > X developerToken> > X applicationToken> > > - > - > - https://adwords.google.com/api/adwords/v13"; > xsi:type="DefinedReportJob"> > - ENC:arrayType="xsd:string[19]"> > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">CampaignId > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">Campaign > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">CampaignStatus > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdGroupId > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdGroup > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdGroupMaxContentCpc > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdGroupMaxCpc > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdGroupStatus > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">CreativeId > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">CreativeType > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">DescriptionLine1 > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">DescriptionLine2 > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">DescriptionLine3 > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">BusinessAddress > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">BusinessName > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">PhoneNo > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">VisibleUrl > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">CreativeDestUrl > https://adwords.google.com/api/adwords/v13"; > xsi:type="xsd:string">AdStatus > > Structure selectedReportType> > - > XX > > Structure Report > - ENC:arrayType="AdGroupStatus[3]"> > https://adwords.google.com/api/adwords/v13"; > xsi:type="AdGroupStatus">Enabled > https://adwords.google.com/api/adwords/v13"; > xsi:type="AdGroupStatus">Paused > https://adwords.google.com/api/adwords/v13"; > xsi:type="AdGroupStatus">Deleted > > Creative > > > > > > -- > Thanks and Regards > Saurabh Purnaye > +91-9922071155 > skype: sorab_pune > yahoo & gtalk: saurabh.purnaye > msn: psaur...@live.com -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Error: One or more input elements failed validation.
Hi Eric, The response XML includes all the information you need. Specifically, look at these three fields: startDay Tue May 26 22:00:00 PDT 2009 Campaign start day must not be in the past. Best, - Eric On Oct 31, 6:53 pm, icv_adwords wrote: > Any help on this? > > On Oct 30, 9:15 am, icv_adwords wrote: > > > > > On developer site, I don't get this message (same campaign, same > > adword account) > > > On Oct 30, 9:12 am, icv_adwords wrote: > > > > After change ending date, I got another error message. See xml > > > response below. Please note that, this is a update campaign. I just > > > get campaign and add or update proximityTargets. > > > > - 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">89 > > > 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">f560e218ee1c72c1d535ac3e9a0d1a80 > > > > > > - > > > - > > > soapenv:Server.userException > > > One or more input elements failed validation. > > faultstring> > > > - > > > - https://adwords.google.com/api/adwords/v13";> > > > 122 > > > One or more input elements failed validation. > > ns1:message> > > > - > > > 0 > > > startDay > > > Tue May 26 22:00:00 PDT 2009 > > > 35 > > > false > > > Campaign start day must not be in the past. > > ns1:detail> > > > > > > > > > > > > > > > > > > > > > > On Oct 30, 8:58 am, icv_adwords wrote: > > > > > See XML response below: > > > > 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">291 > > > > 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">6577a0a6ac371763fb3f67bce16d7cfc > > > > > > > > > > > > > > > > soapenv:Server.userException > > > > One or more input elements failed validation. > > > faultstring> > > > > > > > > https://adwords.google.com/api/adwords/v13";> > > > > 122 > > > > One or more input elements failed validation. > > > ns1:message> > > > > > > > > 0 > > > > endDay > > > > Mon Dec 28 22:00:00 PST 2037 > > > > 35 > > > > false > > > > Date must be in or before year 2036 or exactly > > > > 2037-12-30 (indicating no end) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Oct 29, 10:11 pm, AdWords API Advisor > > > > > wrote: > > > > > Hi Eric, > > > > > > Do you have the SOAP XML response that includes the error message? > > > > > The trigger field should provide more information about why the > > > > > request failed. > > > > > > Best, > > > > > - Eric Koleda, AdWords API Team > > > > > > On Oct 29, 6:34 am, icv_adwords wrote: > > > > > > > Hi, > > > > > > > I got that message when try to import proximityTargets to one adword > > > > > > account. Please see my xml post string: > > > > > > > -- > > > > > > > > > > > > > > > > > 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";> > > > > > > > > > > > > https://adwords.google.com/api/adwords/ > > > > > > v13">xxx > > > > > > > > > > > xmlns="https://adwords.google.com/api/adwords/v13";>xxx > > > > > clientEmail> > > > > > > https://adwords.google.com/api/adwords/ > > > > > > v13">xxx > > > > > > https://adwords.google.com/api/adwords/v13";>xxx > > > > > email> > > > > > > > > > > > xmlns="https://adwords.google.com/api/adwords/v13";>x > > > > > password> > > > > > > > > > > > xmlns="https://adwords.google.com/api/adwords/v13";>AWAPI > > > > > > DotNetLib 4.1.0 - > > > > > > > > > > > > > > > > > > https://adwords.google.com/api/adwords/ > > > > > > v13"> > > > > > > > > > > > > 8400 > > > > > > > > > > > > false > > > > > > > > > > > > Daily > > > > > > AllPlacements > > > > > > > >
AdWords API Re: To many connection failures
Hi Santhosh, The account appears to be in good standing, and I was able to make some requests against it without a problem. Can you please provide the SOAP XML for a specific request which fails? Best, - Eric On Oct 29, 7:38 pm, Santhosh Nair wrote: > Hi Eric, > I emailed the customer id > > thanks, > Santhosh > > On Oct 29, 7:21 am, AdWords API Advisor > wrote: > > > > > Hi Santhosh, > > > In order to further troubleshoot the problem I will need to get the > > customer ID for this account. Please don't post it to the forum, but > > instead email me the information at adwordsapiadvi...@google.com. > > > Best, > > - Eric > > > On Oct 28, 6:28 pm, Santhosh Nair wrote: > > > > Thanks Eric. It looks like the error occours randomly (on this > > > particular account) . API returned these errors while retrieving list > > > of Keywords as well as Ads. > > > This error is easily reproducible on this account. It is been 5 days > > > since we tried to download campaign data, it fails even after more > > > than 100 retries. > > > > regards, > > > Santhosh > > > > On Oct 28, 7:37 am, AdWords API Advisor > > > wrote: > > > > > Hi Santhosh, > > > > > 502 errors are usually returned when a timeout has occurred between > > > > internal Google servers. Are you noticing that there certain services > > > > or method that are triggering this error? Is the error consistent or > > > > reproducible? > > > > > Best, > > > > - Eric > > > > > On Oct 27, 8:22 pm, Santhosh Nair wrote: > > > > > > Hello Eric, > > > > > Thank you for you response. We do not experience any network issues > > > > > and in fact API access to all other accounts (to other seach engines > > > > >too) works with out errors. > > > > > Here is the stack trace from last exception. Please let's know whether > > > > > some particular accounts may experience connection issues at this > > > > > moment. > > > > > > org.jboss.remoting.CannotConnectException: Can not connect http client > > > > > invoker. Invalid HTTP server response > > > > > [502] - Bad Gateway. Response: Bad Gateway/502. > > > > > at > > > > > org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection > > > > > (HTTPClientInvoker.java:368) > > > > > at org.jboss.remoting.transport.http.HTTPClientInvoker.transport > > > > > (HTTPClientInvoker.java:148) > > > > > at org.jboss.remoting.MicroRemoteClientInvoker.invoke > > > > > (MicroRemoteClientInvoker.java:141) > > > > > at org.jboss.remoting.Client.invoke(Client.java:1858) > > > > > at org.jboss.remoting.Client.invoke(Client.java:718) > > > > > at org.jboss.ws.core.client.RemotingConnectionImpl.invoke > > > > > (RemotingConnectionImpl.java:190) > > > > > ... 94 more > > > > > Caused by: org.jboss.ws.WSException: Invalid HTTP server response > > > > > [502] - Bad Gateway > > > > > at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read > > > > > (SOAPMessageUnMarshaller.java:77) > > > > > at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse > > > > > (HTTPClientInvoker.java:548) > > > > > at > > > > > org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection > > > > > (HTTPClientInvoker.java:322) > > > > > ... 99 more > > > > > > thanks, > > > > > Santhosh -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Google Adwords API v2009/09 .net Serializzation Issue
Hi Francesco, This looks like it may be an issue with the .NET client library. Please open a bug on the issue tracker for that library: http://code.google.com/p/google-api-adwords-dotnet/issues/list. Best, - Eric On Oct 30, 5:45 am, phatzimo wrote: > This is the code that I'm using to make the call. You will not see any > specific XML handling code because I'm using WCF and it hides all the > SOAP/XML logic. > > string auth = GetAuthToken(email, password); > > SoapHeader header = new SoapHeader(); > header.authToken = auth; > header.clientEmail = clientEmail; > header.developerToken = developerToken; > header.applicationToken = applicationToken; > header.userAgent = useragent; > > List parameters = new > List(); > > RelatedToKeywordSearchParameter relatedSearchParameter = > new RelatedToKeywordSearchParameter() > > { > > keywords = > > keywords.Select(x => new Keyword() > > { > > text = x, > > matchType > > = > > matchType > > > }).ToArray > () > > }; > > parameters.Add(relatedSearchParameter); > > if(includeAdultContent) > { > IncludeAdultContentSearchParameter > adultContentSearchParameter = new IncludeAdultContentSearchParameter > (); > parameters.Add(adultContentSearchParameter); > } > > LanguageTargetSearchParameter > languageTargetSearchParameter = new LanguageTargetSearchParameter() > > { > > languageTargets = > > languages.Select( > > x => new LanguageTarget() > > { > > languageCode = x > > }).ToArray > () > > }; > parameters.Add(languageTargetSearchParameter); > > CountryTargetSearchParameter countryTargetSearchParameter > = new CountryTargetSearchParameter() > > { > > countryTargets = > > countries.Select( > > x => new CountryTarget() > > { > > countryCode = x > > }).ToArray > () > }; > parameters.Add(countryTargetSearchParameter); > > TargetingIdeaSelector ideaSelector = new > TargetingIdeaSelector() > { > > searchParameters = parameters.ToArray(), > ideaType = > IdeaType.KEYWORD, > requestType = > RequestType.IDEAS, > paging = > null, > localeCode = > "en_US", > currencyCode > = "USD" > }; > > GoogleAdWords2009Api.TargetingIdeaServiceInterfaceClient > client = new TargetingIdeaServiceInterfaceClient > ("TargetingIdeaServiceInterfacePort"); > TargetingIdeaPage ret; > > // This is the method that throw the Serialization > Exception > client.get(header, ideaSelector, out ret); > > I hope this will be useful to solve this problem. > > Best, > > Francesco > > On Oct 29, 8:34 pm, AdWords API Advisor > wrote: > > > > > Hi Francesco, > > > Can you post some of the code you are using the build your request? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Oct 29, 1:56 pm, phatzimo wrote: > > > > Hi, > > > > I'm trying to call the new API using c# and WCF. I'm able to create a > > > service reference using the Visual Studio WCF wizard and the program > > > is compiling gracefully. The issue is showing at runtime. When I try > > > to call the "get" method for a "TargetingIdeaService" I recive the > > > following Exception: > > > > There was an error in serializing one of the headers in message > > > getRequest: 'Unable to generate a temporary class (result=1). > > > error CS0030: Cannot convert type > > > 'GoogleAdwordsClient.GoogleAdWords2009Api.Type_AttributeMapEntry[]' to > > > 'GoogleAdwordsClient.GoogleAdWords2009Api.Type_AttributeMapEntry' > > > error CS0029: Cannot implicitly convert type > > > 'GoogleAdwordsClient.GoogleAdWords2009Api.Type_AttributeMapEntry' to > > > 'GoogleAdwordsClient.GoogleAdWords2009Api.Type_AttributeMapEntry[]' > > > > Anyone knows how to solve this issue? > > > > P.S.: I was looking at the .net client library too but I prefer to use > > > the WCF implementation if possible. > > > > Thanks, > > > > Francesco -- You received this message because you are subscribed to the Google Group
AdWords API Possible values for TargetList targetListType
I have a question about how the CampaignTargetService works. I’m looking for a way to filter for only a certain type of Campaign target. I only see a way to get all targets for a particular campaignID using the CampaignTargetSelector. Is there a way to just get one targetType? Also, can you provide me with the possible values for the String property targetListType of the Target List object please? I can’t seem to find them in the docs. Thanks, Ursula Kellmann -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: API v2009 NetworkType[], GeoTarget, RegionTargets, CountryTargets, setLanguageTargeting
Hi, I looked at the internal error message, and it appears that you are not authenticating correctly. If you use the authentication of an MCC user, then you must include either a clientEmail or clientCustomerId header to specify which child AdWords account to operate on. More information about the request headers can be found here: http://code.google.com/apis/adwords/docs/developer/index.html#adwords_api_intro_request. Best, - Eric On Oct 29, 3:21 pm, Inah from Brazil wrote: > Hi Eric!!Look what I found > [29 Out 2009 18:05:25,101 - DEBUG] > > http://schemas.xmlsoap.org/soap/ > envelope/"> > https://adwords.google.com/api/adwords/cm/ > v200909"> > 0895006c6f0c52ea1d74b6647dadc9d3 > 1 > 299 > 1 > > soap:Server faultcode>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > @ InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ message>ApiException ApplicationException.Type> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>InternalApiError > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR ApiExceptionFault> > > Is that good for u??? > Luck me!!!Please, help me with that...TKS! > > On 29 out, 17:36, Inah from Brazil wrote: > > > > > Unfortunately I don t have de ID..everything I have I showed hereI > > got this error on my Console(StackTrace)...there's any way to see my > > envelop SOAP in xml anywhere? > > But my team used my Main Class in other computer and they r connecting > > with no problems at allstrange isn't? > > I tried something with our support but they dont have any clues > > too > > Any ideas Eric? > > TKS for your att! > > On 29 out, 17:09, AdWords API Advisor > > wrote: > > > > Hi, > > > > This appears to be an internal error in the AdWords system. Do you > > > have the request ID for this request? > > > > Best, > > > - Eric > > > > On Oct 29, 2:49 pm, Inah from Brazil wrote: > > > > > Hi Eric! Thanks for your answer! > > > > I understood now how it works!TKS! > > > > But now I tryin to add campaigns and I gettin another error... > > > > > AxisFault > > > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > > > > faultSubcode: > > > > faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > > faultActor: > > > > faultNode: > > > > faultDetail: > > > > {https://adwords.google.com/api/adwords/cm/v200909} > > > > ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > > > > @ ApiException > > > ApplicationException.Type>http://www.w3.org/2001/ > > > > XMLSchema-instance" > > > > xsi:type="InternalApiError">InternalAp > > > > iError > > > > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR > > > > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ > > > > 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.v200909.cm.ApiException.getDeserializer > > > > (ApiException.java:142) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > > > Source) > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > at > > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized > > > > (BaseDeserializerFactory.java:154) > > > > at > > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs > > > > (BaseDeserializerFactory.java:84) > > > > at > > > > org.apache.axis.encoding.DeserializationContext.getDeserializer > > > > (DeserializationContext.java:464) > > > > at > > > > org.apache.axis.encoding.DeserializationContext.getDeserializerForType > > > > (DeserializationContext.java:547) > > > > at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild > > > > (SOAPFaultDetailsBuilder.java:157) > > > > at org.apache.axis.encoding.DeserializationContext.startElement > > > > (DeserializationContext.java:1035) > > > > at > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement > > > > (Unknown Source) > > > > at > > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE > > > > lement > > > > (Unknown Source) > > > > at > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > > > > $Fra
AdWords API Re: Budget return NULL in CampaignReport
Hi Thiago, If you see the same behavior through the AdWords web interface then the problem must be caused by something outside the API. You may want to try posting your problem to the general AdWords forum: http://www.google.com/support/forum/p/AdWords. Best, - Eric On Oct 30, 12:16 pm, "tsmthi...@gmail.com" wrote: > In a few hours ago, i created a new report with all of my clients > through API, and some clients return the correct values from budget, > but the almost part of then return EMPTY. > > Can you see what happen for me? I need this information to make some > actions on my system. I don't see any differences between clients that > return and clients that don't. > > Regards, > Thiago. > > On Oct 29, 3:13 pm, "tsmthi...@gmail.com" wrote: > > > > > Hi, > > > The problem happen in both: > > > I have scheduled through API: JobID: 1053976258 > > I have scheduled through web Interface: JobID: 1054436158 > > > This reports have created from my MCC account, but i tried to create > > then directly from the client account and the problem is the same. > > > Can you try to create a new report from any account and select the > > field "budget" to see if the values return correctly? > > > regards, > > Thiago. > > > On Oct 29, 2:26 pm, AdWords API Advisor > > wrote: > > > > Hi, > > > > Did you schedule that report through the AdWords web interface or the > > > API? > > > > Best, > > > - Eric > > > > On Oct 29, 12:28 pm, "tsmthi...@gmail.com" > > > wrote: > > > > > Yes, I have created right now a new report manualy, and the problem is > > > > the same (the problem happen when I create the report manualy or from > > > > API). > > > > > Can you see the reportID 1054436158 on production? > > > > > Thanks. > > > > > On Oct 29, 1:18 pm, AdWords API Advisor > > > > wrote: > > > > > > Hi, > > > > > > I am not aware of any known issues with that field. Are you still > > > > > seeing this behavior today? > > > > > > Best, > > > > > - Eric Koleda, AdWords API Team > > > > > > On Oct 29, 9:39 am, "tsmthi...@gmail.com" wrote: > > > > > > > Hi, in a few days ago the budget field (DailyBudget) in > > > > > > CampaignReport > > > > > > don't return the correct values any more. > > > > > > > There are any problem with this field? > > > > > > > Regards. -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Sample code to get keywords in PHP
Hi Priya, This is a big help, could you please help me with the below error Strict Standards: Declaration of AdsSoapClient::__doRequest() should be compatible with that of SoapClient::__doRequest() in adword\src \Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 402 Thanks..Shiv On Nov 3, 8:42 am, Priyantha Gunawardena wrote: > Hi All, > > I hope you guys find this helpful. > > http://www.pgdesigning.com/php/2009/11/03/get-all-keywords-in-adword-... > > Cheers, > -- > ... > Priyantha Gunawardena > __ > {Web Designer / Developer} > Tel: +94 038-228-4323 > Mobi: +94 077-393-8516 > Blog:http://www.pgdesigning.com > IM : pgdesigning > ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Serah Keword Idea
Hi Adwords team, If you guys have written the whole API why just partial examples and jumping programming language? This would save lot of people's time and effort, especially when you own the API. Best On Oct 29, 4:30 pm, AdWords API Advisor wrote: > Hi Priyantha, > > Unfortunately there is noexamplefor the TargetingIdeaService using > the AdWords API PHP client library. There is .NETexamplethough that > you might find > helpful:http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun > > Looking at your code, you should use an instance of > RelatedToKeywordSearchParameter not KeywordMatchTypeSearchParameter > for passing in the seed keywords. Also, I'm not sure that your > TargetingIdeaSelector is being constructed correctly. Please refer to > the developer documentation for the available > fields:http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde > > Best, > - Eric Koleda, AdWords API Team > > On Oct 29, 4:17 am, Priyantha Gunawardena > wrote: > > > > > Hi Any one has anexamplehow togetkeyword search Ideas in v200909. given > > below is my code sample but having error in it. > > > try { > > //GetAdWordsUser from credentials in "../auth.ini" > > // relative to the AdWordsUser.php file's directory. > > $user = new AdWordsUser(); > > > // Log SOAP XML request and response. > > $user->LogDefaults(); > > > //Getthe CampaignService. > > $targettingIdeaService = $user->GetTargetingIdeaService(); > > $searchParameters = array ( > > new KeywordMatchTypeSearchParameter(array('PHRASE'), 'key word here') > > ); > > //Getallcampaigns. > > $targettingIdeaPage = $targettingIdeaService->get(new TargetingIdeaSelector( > > $searchParameters, 'KEYWORD', 'IDEAS', array('KEYWORD')), 100 ) ; > > // Displaycampaigns. > > if (isset($targettingIdeaPage->entries)) { > > foreach ($targettingIdeaPage->entries as $targettingIdea) { > > var_dump($targettingIdea); > > }} else { > > > print "Nocampaignsfound.\n"; > > > } > > } catch (Exception $e) { > > print_r($e); > > } > > > -- > > ... > > Priyantha Gunawardena > > __ > > {Web Designer / Developer} > > Tel: +94 038-228-4323 > > Mobi: +94 077-393-8516 > > Blog:http://www.pgdesigning.com > > IM : pgdesigning > > ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Cannot serve any requests for the specified account. Please contact support.
I recently got approved by Google to use Google Adwords API but my calls end up with the following error: Cannot serve any requests for the specified account. Please contact support. I don't know what the problem is and would love some help. My account is activated and I've entered my billing information too. My Adwords account is :rov...@gmail.com This account is connected to a master account which is:alican.yenido...@gmail.com Looking forward to your reply, Thank you, Alican Yenidogan -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Cannot serve any requests for the specified account. Please contact support.
Since mid-Sept, we got error "Cannot serve any requests for the specified account. Please contact support." whenever trying to use API token. We have contacted AdWords support and was told it could be our account under review. But it's been 1.5 months since then and we still cannot use the API token, or nor do we heard back from AdWords support regarding what is happening. Is there a way we can solve this issue quickly? Or use API token during the account review? 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-...@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 Traditional ASP
Hello, Does anyone have a traditional ASP sample for using the google adwords KeywordServiceTool? I mostly use vbscript and Msxml or mshtml dlls to retrieve and process feeds. Thanks, Jay -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Re: Creatives with unexpected destination URLs
Hi, Do you have any updates on the issues raised in this thread? Thanks. -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API checkAds response problem .net2
hi, in the enclosed soap trace, you can see a call to the checkAds service. our environment (.net2) throws an error when trying to parse the response. the parser tries to convert something (null?) to number and fails. those could be: textIndex or textLength. both are marked nullable in the auto-generated class, so here is where i am out of ideas. thanks in advance, albert here is the part for the parse error: .net error stack -- System.InvalidOperationException: There is an error in XML document (16, 32). ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Xml.XmlConvert.ToInt32(String s) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdService.Read42_ApiError (Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdService.Read45_checkAdsResponse () at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer1.Deserialize (XmlSerializationReader reader) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse (SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Service.ref_AdWords.AdService.checkAds(Ad[] ads, String[] languageTarget, GeoTarget geoTarget) in C:\Inetpub\wwwroot\webServices \Service\Web References\ref_AdWords\AdWordsService.cs:line 1648 at Service.API.AdWords.AdService.<>c__DisplayClass17.<>c__DisplayClass19.b__16 () in C:\Inetpub\wwwroot\webServices\Service\API\AdWords \AdService_CheckAds.cs:line 42 at ... -- and here is the stack trace soap trace -- ... -SoapRequest at 03/11/2009 04:31:27 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/ XMLSchema">xxxhttps://adwords.google.com/api/adwords/v13";>xxxhttps://adwords.google.com/api/ adwords/v13">xxhttps://adwords.google.com/api/adwords/v13";>xxxhttps://adwords.google.com/api/adwords/ v13">xxx1169568098ImageAdhttp://www.cameras.comfalsewww.cameras.com0EnablediVBORw0KGgoNSUhEUgAAAMYAAADGCAMAAAC +RQ9vAAADAFBMVEUAAABJREqGwjxQZjD/AP/IycV8hkP// wAiIRqhyX17jmRWkyZOTE2Cbpuzwpx5rT7s8OUmVQRqnDOUwl4MDAyMqmlNhCS03JV9rEtrlES03ntqik2qtGyq2F2TnFOlqJzD5qNchTpeai1dmiu9xH88bhlOVKHN0pJrqy2UonYyMjGOrFd6o0H9/ f3W5MiSyEVRiySxsrFLdCOBtT2iy2RfaFTS2ZWepWQUExPb3qa1wnS8yLCAAIBloyxxo0OAgX3E6oNslD1DUD2FmEmLvEyJk0xxd3Cs2Gzk6cpyrTWaw3AWMAeRj47GzItdlDH1+/ RGfiGDtUyzu3STtnVRfS1OgihemTGazFN0mVXK7ZLN37ZWiy1fejU0O2KotovO0q8qKiu03oXCx5J6kFOy3HIYFhp7tzWbvGc6TyKNtFtkij5EbCd0qzup04F7nFTe86tpZ2aXo4ucpFludzeRm2tZjS6bzFtkkj6DtUOjzGvs9NKMw0xKeyRppC1vpDqOtGdUgzKpuJnE55jQ2sd7tDyUx1MKBglynEb2/ OtLWENJUWhmmjp1o02DtVKsx4e +u72Co1VxgjxrpDOEj02lrHiMjoHP66xjmzOq0JWcu3xmojLExrxgeES85HxWlyiArFXT1p3DyYR +uT1inC3a7s2czWMoKTVxiVhjjDKgq11hljK74odpZZtGcymiq2Wss3Y7ODm34nNxpTWDkkWDl2tMeyzQ7LUyWx2/ zKWLw0Ss13R3sjqRvFyk1GElNiCEvEKbn5g8YyJ0sjWMlVaMulRzaXbZ19pili2RvWalsmVchDWuuaRCQUV8pFd6n0wZFhaWrHxTfDT7/ fSjyImGjcXE6oqTm1t9s0G2vHpQQX0bGhye0lJRZz5tqjNcky7D1axajjFnqSuDvDxsjUBUhS3L0Y3k6dXN6KOTx0x3k3HW2p08ayS84pWezW5YWVg0YhfO7Ztzk0htnD21z5t2q0JKdSul1G0SDhDt9dycxGCGtFolJCSr2GSNmlFZgyxViTJ +7zDKCXBIWXMAAAsTAAALEwEAmpwYAAASL0lEQVR4nO2bD1gT15qHXV21qCsuAgJSEIMX/ HMUFWvUBrRFMVQiCBUKrEIFeoFAEU1Qkb8mhK6gNlRSUDfViCgURAUVJDeC3ApWUNJV2SgpBipspRajgAjW/ c5MUGtttbdPo +49L8kMmcDznJff950zSYZBgwgEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQHjlePvP51// fIjGP6EG+jMhGkSDaBANokE0iAbR+KfUUKYBy5cvVyqV8ECpO/ j46VdfQ5m2f3yDebpTev2OelH9iBHrJ19MXrDlRpoSKWmfJx1e0Ef/ Gsot1zxi083MzJzys7+eOWeO88yZ1tanT69daz06GTjp57cpLe2VT0O5trKQ5wQWnpL/ ckpMXnJryZIlp4FlO7+K3r5rwa6hu4ZuSV510eTitpPTb7ywjr41lDsjTJ2qx46tqAirqL7L1oR6hmWPHv31zlvF55fsGrp95vbtp2+dPh29bJU0/35GhpnT7SivO/ shnef46FsjOYIn5go0CoUiLq5dKBTGKTRl7XJXi6DIbcDo0aMXrD1tvev06m0uRtwMzwxPCjOpdIfXN98u/ fVw9KxxZxKHK9i3TwB3DMiAC58vFLbTxMWBoLC88+NOC74ntsiYcMcv28BTet8zA8KprzPJ/ nb6mF/a6Fdjele1vP/NI8H98qs+7WVlgzWAIs4FVHJzu+Xyblcg+MiegoLI3moXl +pqSCJDGlbjtqHDL8urwyAsQ+p5xdPMrP72jmy/ e09mo1eNtKQfOlOOwDgXLrwELFy4Z0+wq1zu44NjABcfvlzuGhxsgdkTXO66sXdsdbULTiUDbBKzEzvGST0rtJPumnlmLKotWr/ +s9XKl6BRkvvBHvmMGVcB+Zv9/cHB4LPwA+DSpSNH +vvlPtAsUGIbIZVgiz00FiCaO3YsDgZkYKPVGm329JROXQEcrj2zfoyeNZRp4RauPjPKysriymb4wF/ +TYp+DBQSJITjwfnk8vm9/ FzHfiiwIyC68EhwsOvGjRsdeytcFHTTex7EFo0rLIus1pxU6jeNbyvkV6EjFIqyweCigHtZu5Avh9HCM
AdWords API Conversion Tracking Status using API
Hi, I would like to check the status of Conversion Tracking through API. How can it be done? -Diwakar -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
Re: Managing more accounts using AdWords API DotNet Client Library
I found that this is actually a problem of the library 5.0.0 which was already reported by somebody else: http://groups.google.com/group/adwords-api/browse_thread/thread/7903cd2711c26b1c On Nov 2, 1:29 pm, Tiny wrote: > Hi, > > I'm trying to use your AdWords API DotNet Client Library to work with > AdWords API services and I got into problem with managing more client > accounts. > > Credentials, which are set to header of each request, are specified in > application config file. In our company we are managing more client > accounts which differ in ClientEmail. So I need to be able to specify > ClientEmail dynamically when creating instance of service. > > I know that I can comply my requirements by doing changes to your > library (changing Service Factories and AdWordsUser class) but I want > to avoid changing external libraries. So I want to ask whether there > are some best practices how to handle this situation? > > Thanks, Marian -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
AdWords API Sample code to get keywords in PHP
Hi All, I hope you guys find this helpful. http://www.pgdesigning.com/php/2009/11/03/get-all-keywords-in-adword-v200909-in-php/ Cheers, -- ... Priyantha Gunawardena __ {Web Designer / Developer} Tel: +94 038-228-4323 Mobi: +94 077-393-8516 Blog: http://www.pgdesigning.com IM : pgdesigning ... -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.