AdWords API Re: The request failed with HTTP status 405: Method Not Allowed
Hi, I remember I had an issue like this when I used an app.config that didn't have the AdWordsApi config section. This resulted in the servicefactory creating services with URLs equal null and hence your SOAP requests gets sends to http://localhost which respond with this 405. Cheers -- 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: InfoService.get() fails in v200909
Hi, This error message isn't clear, but the cause is that you are making the request with an account that doesn't have an MCC token. Please see the following thread for more information: http://groups.google.com/group/adwords-api/browse_thread/thread/f1c3a451602aa328/ Best, - Eric Koleda, AdWords API Team On Feb 3, 6:08 am, Zweitze wrote: > When calling InfoService.get() using v200909 I consistently get an > exception "INVALID_ID @ selector". Everything is OK when I use v13. > > I use the .NET client 6.2.0. Sample log: > -BEGIN API CALL- > > Request > --- > > POST /api/adwords/info/v200909/InfoService > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 2.0.50727.3603) > VsDebuggerCausalityData: > uIDPoxrjfdr4NJlHvNRnKBWvas0Ah7t27qE2X0iJ72K0cj7Ior/OyWO/ > 551Lp48ta8PiM0kACAAA > Content-Type: text/xml; charset=utf-8 > SOAPAction: "" > Host: adwords.google.com > Content-Length: 1032 > Expect: 100-continue > Connection: Keep-Alive > > 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"> xmlns="https://adwords.google.com/api/adwords/cm/ > v200909">KaHA authToken>https://adwords.google.com/api/ > adwords/cm/v200909">qg_g soap:Header>https://adwords.google.com/api/ > adwords/info/ > v200909">TOTAL_USAGE_API_UNITS_PER_MONTH apiUsageType> > > Response > > > Transfer-Encoding: chunked > X-Content-Type-Options: nosniff > X-XSS-Protection: 0 > X-Frame-Options: SAMEORIGIN > Cache-Control: private, max-age=0 > Content-Type: text/xml; charset=UTF-8 > Date: Wed, 03 Feb 2010 10:52:06 GMT > Expires: Wed, 03 Feb 2010 10:52:06 GMT > Server: GFE/2.0 > > http://schemas.xmlsoap.org/soap/ > envelope/">7c9547e71d4001bc5db04b9b41d8edc7 ns2:requestId>1371 ns2:responseTime>1 soap:Header>soap:Server faultcode>[EntityNotFound.INVALID_ID @ selector] faultstring> > [EntityNotFound.INVALID_ID @ selector] ns2:message>ApiException ns2:ApplicationException.Type>http://www.w3.org/ > 2001/XMLSchema-instance" > xsi:type="ns2:EntityNotFound">selector ns2:fieldPath> ns2:trigger>EntityNotFound ns2:ApiError.Type>INVALID_ID ApiExceptionFault> > > -END API CALL--- -- 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: what does this option AutoKeywordMatchingStatus ?
Hi Nicolas, This field allows you to opt in or out of the Automatic Matching feature: http://adwords.google.com/support/aw/bin/answer.py?hl=en&topic=13738&answer=63323 If this feature isn't available to you in the AdWords web interface then setting it in the API will have no effect. Best, - Eric Koleda, AdWords API Team On Feb 3, 4:31 am, kolok wrote: > Hi Eric, > > I do not understand what does this option AutoKeywordMatchingStatus ? > What it does when I opted in automatic status ? > How work automatic status ? > > Thank you > Nicolas -- 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 sandbox doesnt return AVERAGE_TARGETED_MONTHLY_SEARCHES
Hello team I am pulling some keyword suggestions from Google adwords api. It works fine in sandbox environment until I pass "AVERAGE_TARGETED_MONTHLY_SEARCHES". In production mode it works but sandbox.. it never returns anything.. now I have to test functionality in production mode.. which is causing some pain on my budget :) Please suggest a way to test this under sandbox environment. Thanks in advance. Ajit -- 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: RelatedToKeywordSearchParameter - Related to all keywords in list or related to a given keyword in list?
Hi Eric, I don't think I was quite clear on the issue. I'm not trying to exactly reproduce the results of the Keyword Tool. I am trying to understand why a TargetingIdeaService search using PHRASE matching would return results that are not PHRASE matches. For example, running the keywords "chess programs" and "programs chess" returns results that are not PHRASE matches. i.e. chess strategy chess strategies chess pawn chess tournament chess move But if I add just two more keywords (i.e. "chess programs", "programs chess", "chess program", "program chess") I get the proper PHRASE matches i.e. programs chess chess program school chess programs online chess programs online chess program You can see from the SOAP calls in my original post that the queries are identical except for the number of keywords submitted. Shane On Feb 3, 12:24 pm, AdWords API Advisor wrote: > Hi Shane, > > Using the available SearchParameters it is not currently possible to > exactly reproduce the results of the Search-based Keyword Tool using > the TargetingIdeaService. You can come closer by using the > NGramGroupsSearchParameter, but it is not a complete solution. More > information is available in this thread: > > https://groups.google.com/group/adwords-api/browse_thread/thread/b246... > > Best, > - Eric Koleda, AdWords API Team > > On Feb 2, 5:12 pm, Shane wrote: > > > > > I have a script that uses the TargetingIdeaService and we have been > > getting good results from it for the most part. Generally we submit a > > dozen or so keywords looking for PHRASE matches and the results we get > > back are consistent with the keyword tool. For some reason using a > > smaller dataset (1-3 keywords) seems to come back with much broader > > results. > > > For example if we use: > > chess programs > > programs chess > > chess program > > program chess > > > We get back matching phrases: > > programs chess > > chess program > > school chess programs > > online chess programs > > online chess program > > chess training program > > chess tournament program > > chess training programs > > program chess > > chess study program > > chess teaching programs > > old chess programs > > strong chess programs > > ... > > > If we only search on two keywords: > > chess programs > > programs chess > > > We get back phrases that are loosely related: > > chess strategy > > chess strategies > > chess pawn > > chess tournament > > chess move > > championship chess > > chess federation > > chess tactics > > chess rules > > online chess programs > > chess programs fritz > > chess downloads > > chess freeware > > ... > > > The Keyword Tool returns appropriate PHRASE results for those two > > keywords so I am wondering if I'm missing a parameter to narrow down > > the results or if maybe the RelatedToKeywordSearchParameter is looking > > at the keywords as a group rather than as individual keywords. > > > Here's the working SOAP call: > > > > > > > > > > > > > > > > false > > > > > > > > > > > > > > > > chess programs > > PHRASE > > > > > > programs chess > > PHRASE > > > > > > chess program > > PHRASE > > > > > > program chess > > PHRASE > > > > > > > > > > EN > > > > > > > > PHRASE > > > > KEYWORD > > IDEAS > > KEYWORD > > GLOBAL_MONTHLY_SEARCHES > requestedAttributeTypes> > > NGRAM_GROUP > > > > 1 > > 400 > > > > en_US > > USD > > > > > > > > > > > Here's the same call but with only two keywords that returns results > > that are not PHRASE related: > > > > > > > > > > > > lKzbm3OF6YVno48Wgx2nTw > > > > false > > > > > > > > > > > > > > > > chess programs > > PHRASE > > > > > > programs chess > > PHRASE > > > > > > > > > > > EN > > > > > > > > > PHRASE > > > > KEYWORD > > IDEAS > > KEYWORD > > GLOBAL_MONTHLY_SEARCHES > requestedAttributeTypes> > > NGRAM_GROUP > > > > > 1 > > 400 > > > > en_US > > USD > > > > > > > > -- 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: The request failed with HTTP status 405: Method Not Allowed
Hi, Your snippet of code does not include the creation of the targetingIdeaService variable. Where is this set? Best, - Eric On Feb 3, 2:09 am, shiraazz wrote: > I downloaded the .NET client library 6.2.0 from > > http://code.google.com/p/google-api-adwords-dotnet/ > > I am using the targetingidea service. > > TargetingIdeaSelector selector = new TargetingIdeaSelector(); > selector.searchParameters = new SearchParameter[] > {searchParameter}; > selector.ideaTypeSpecified = true; > selector.ideaType = IdeaType.KEYWORD; > selector.requestTypeSpecified = true; > selector.requestType = RequestType.IDEAS; > > Paging paging = new Paging(); > paging.startIndex = 0; > paging.startIndexSpecified = true; > paging.numberResults = 10; > paging.numberResultsSpecified = true; > > selector.paging = paging; > TargetingIdeaPage page = targetingIdeaService.get(selector); // > Throws error here > > On Feb 2, 5:21 pm, AdWords API Advisor > wrote: > > > > > Hi, > > > Can you provide the code you are using to generate the service? Can > > you double check that you are using the correct URL endpoint? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Feb 2, 9:50 am, shiraazz wrote: > > > > *bump* > > > > On Feb 1, 12:38 pm, shiraazz wrote: > > > > > When I debug I get this error. > > > > > 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 com.google.api.adwords.lib.SoapServiceBase.Call(String > > > > methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool > > > > \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 135 > > > > at com.google.api.adwords.lib.SoapServiceBase.Invoke(String > > > > methodName, Object[] parameters) in D:\Dotslash\Web Projects\SEO Tool > > > > \Libraries\GoogleAPI\src\lib\SoapServiceBase.cs:line 86 > > > > at com.google.api.adwords.v200909.TargetingIdeaService.get > > > > (TargetingIdeaSelector selector) in D:\Dotslash\Web Projects\SEO Tool > > > > \Libraries\GoogleAPI\src\v200909\AdWordsApi.cs:line 12259 > > > > at TermService.GetKeyWords_NEW(String kw) in d:\Dotslash\Web > > > > Projects\SEO Tool\Website\App_Code\Web Services\TermService.cs:line > > > > 170 > > > > > // > > > > > Am I missing something? > > > > // > > > > > TargetingIdeaSelector selector = new TargetingIdeaSelector(); > > > > selector.searchParameters = new SearchParameter[] > > > > {searchParameter}; > > > > selector.ideaTypeSpecified = true; > > > > selector.ideaType = IdeaType.KEYWORD; > > > > selector.requestTypeSpecified = true; > > > > selector.requestType = RequestType.IDEAS; > > > > > Paging paging = new Paging(); > > > > paging.startIndex = 0; > > > > paging.startIndexSpecified = true; > > > > paging.numberResults = 10; > > > > paging.numberResultsSpecified = true; > > > > > selector.paging = paging; > > > > TargetingIdeaPage page = targetingIdeaService.get(selector); -- 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: Network type values for a campaign
Hi Raghavendra, Unfortunately it isn't possible to determine if a campaign is targeting all placements or only managed placements in the content network using the v13 version of the API. This is only possible using the v2009 version of the API. Here is the relationship between the web interface, v13, and v2009 values: UI: Google search v13: GoogleSearch v2009: GOOGLE_SEARCH UI: Google search + Search partners v13: SearchNetwork v2009: GOOGLE_SEARCH, SEARCH_NETWORK UI: Content network w/ Relevant pages across the entire network v13: ContentNetwork v2009: CONTENT_NETWORK, CONTENT_CONTEXTUAL UI: Content network w/ Relevant pages only on the placements I manage v13: ContentNetwork v2009: CONTENT_NETWORK Best, - Eric Koleda, AdWords API Team On Feb 3, 2:04 am, RAGHAVENDRA SUDHA wrote: > Hi, > > i need some information regarding the network types in Google campaigns, > from what i can understand whenever i create an campaign, i can select > whether to target content network or search network or both. > when i select > > 1. serach and content then the network is shown as -- *"ALL"* > 2. search along with partner serach providers then network is shown as -- > *"Search"* > 3. Content network with automatic type of placements then -- it is shown > as -- *"Content"* > 4. Content network with managed placements then it is shown as -- *"Content > managed placements"* > > when i retreive the campaigns using getcampaign method of camapiagn service, > i get a Campaign[] object. > this object contains a object of type *NetworkType[]*, which contains a list > of network types. > > what i need to find out whether my campaign is targeting *"ALL" *networks or > *"Search" *or *"Content" *or *"Content managed placements". > > * but these options are not provided in the NetworkType enum provided ( it > has only search, googlesearch, content). > this is what i am doing at the moment > > *if (campaign.getNetworkTargeting() != null){ > boolean > AllSelectedNetworks=false,SearchOnly=false,ContentOnly=false; > for (NetworkType network : > campaign.getNetworkTargeting()){ > if (network.ContentNetwork == > NetworkType.ContentNetwork ){ > //content networks > ContentOnly = true; > } if (network.SearchNetwork == > NetworkType.SearchNetwork ){ > //serach networks > AllSelectedNetworks =true; > } > } > if (**AllSelectedNetworks **&& SearchOnly){ > > channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_ALL); > }else if (**AllSelectedNetworks **){ > > channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_SEARCH); > }else if (ContentOnly){ > > channelCampEntity.setNetworktype(Constants.NETWORK_TYPE_CONTENT); > } > } > > * but i am not getting the right results, is this the correct way of doing > this or is there any way i need to do it. > please help me out on this one. > > Thank you, > Raghavendra. > * > > * -- 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: content bid at the keyword level
Hi, This is possible by setting the BiddableAdGroupCriterion's "bids" field: http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.BiddableAdGroupCriterion.html#bids Best, - Eric Koleda, AdWords API Team On Feb 2, 11:46 pm, PHP Developer wrote: > Is content bidding at the keyword level discontinued? We are still > able to set the network type of campaigns to CONTEN_SEARCH but no > indication of setting content bids at the keyword level in the > documentations. -- 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: Bidding strategy for v200909
Hi, The value reported in the AdWords API will correlate with the value in the AdWords web interface under "Bidding option". You can look at this field now to determine the behavior. Best, - Eric Koleda, AdWords API Team On Feb 2, 11:46 pm, PHP Developer wrote: > Now that the concept of bidding strategy is introduced for v200909, > will mixed cpm/cpc ad groups within a campaign still function properly > if not transitioned? Basically what will happen to campaigns that > already have ad groups with their cpm and cpc set? Which bidding > strategy will be assigned to their campaigns? -- 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: RelatedToKeywordSearchParameter - Related to all keywords in list or related to a given keyword in list?
Hi Shane, Using the available SearchParameters it is not currently possible to exactly reproduce the results of the Search-based Keyword Tool using the TargetingIdeaService. You can come closer by using the NGramGroupsSearchParameter, but it is not a complete solution. More information is available in this thread: https://groups.google.com/group/adwords-api/browse_thread/thread/b246a23087f946f1?pli=1 Best, - Eric Koleda, AdWords API Team On Feb 2, 5:12 pm, Shane wrote: > I have a script that uses the TargetingIdeaService and we have been > getting good results from it for the most part. Generally we submit a > dozen or so keywords looking for PHRASE matches and the results we get > back are consistent with the keyword tool. For some reason using a > smaller dataset (1-3 keywords) seems to come back with much broader > results. > > For example if we use: > chess programs > programs chess > chess program > program chess > > We get back matching phrases: > programs chess > chess program > school chess programs > online chess programs > online chess program > chess training program > chess tournament program > chess training programs > program chess > chess study program > chess teaching programs > old chess programs > strong chess programs > ... > > If we only search on two keywords: > chess programs > programs chess > > We get back phrases that are loosely related: > chess strategy > chess strategies > chess pawn > chess tournament > chess move > championship chess > chess federation > chess tactics > chess rules > online chess programs > chess programs fritz > chess downloads > chess freeware > ... > > The Keyword Tool returns appropriate PHRASE results for those two > keywords so I am wondering if I'm missing a parameter to narrow down > the results or if maybe the RelatedToKeywordSearchParameter is looking > at the keywords as a group rather than as individual keywords. > > Here's the working SOAP call: > > > > > > > > false > > > > > > > > chess programs > PHRASE > > > programs chess > PHRASE > > > chess program > PHRASE > > > program chess > PHRASE > > > > > EN > > > > PHRASE > > KEYWORD > IDEAS > KEYWORD > GLOBAL_MONTHLY_SEARCHES requestedAttributeTypes> > NGRAM_GROUP > > 1 > 400 > > en_US > USD > > > > > > Here's the same call but with only two keywords that returns results > that are not PHRASE related: > > > > > > lKzbm3OF6YVno48Wgx2nTw > > false > > > > > > > > chess programs > PHRASE > > > programs chess > PHRASE > > > > > > EN > > > > > PHRASE > > KEYWORD > IDEAS > KEYWORD > GLOBAL_MONTHLY_SEARCHES requestedAttributeTypes> > NGRAM_GROUP > > > 1 > 400 > > en_US > USD > > > > -- 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: Order of Returned Operations Through Criterion Service
Hi Kyle, Just like in v13, if there are any errors then the entire request will fail. Best, - Eric On Feb 2, 4:37 pm, Kyle LeNeau wrote: > Hi Eric, > > What happens if one of the keywords fails to be added does the whole > mutate request fail like batch transactions or will one fail at a time > and return something else in the index place? > > Thanks, > Kyle > > On Feb 2, 9:28 am, AdWords API Advisor > wrote: > > > > > Hi Kyle, > > > Order is maintained between operations and results, so you can use a > > form of logic like you outlined. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Feb 1, 6:38 pm, Kyle LeNeau wrote: > > > > Hello, > > > > I am developing a process to bulk add/purchase keywords. I need to > > > maintain what is added and what I need to add or save to my database. > > > Will the operations that I send in the mutate request be returned to > > > me in the same order as I sent them (based on index)? Here is my code > > > and expectation. > > > > m_adGroupCriterionService.mutate(new AdGroupCriterionOperation[] > > > { operation1, operation2 }); > > > if (result != null && result.value != null && result.value.Length > 0) > > > { > > > // expecting: > > > // result.value[0] = operation1 > > > // result.value[1] = operation2 > > > > } > > > > Thanks, > > > Kyle LeNeau -- 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: KeywordToolExternal
Hi, I'm not sure, you may want to post the question to the general AdWords support forum: http://www.google.com/support/forum/p/AdWords Best, - Eric Koleda, AdWords API Team On Feb 2, 4:33 pm, kingsob wrote: > Ishttps://adwords.google.com/select/KeywordToolExternalgoing to be > shut down on April 22, 2010 along with AdWords API v13? -- 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: Unable to update destination URL using the AdGroupCriterionService
Hi Robert, Using your existing XML example, you would want to set the xsi:type to "Criterion": https://adwords.google.com/api/adwords/cm/v200906/ AdGroupCriterionService?wsdl"> SET X XX Best, - Eric On Feb 3, 12:22 pm, Ralph Heimburger <1stpo...@gmail.com> wrote: > solve my issue. the destinationUrl has to be outside the identifier. > > operations = [{'operator': 'SET', > 'operand': { > 'type': 'BiddableAdGroupCriterion', > 'adGroupId': adgroup_id, > 'criterion': { > 'id': keywordid, > }, > 'destinationUrl': destUrl > > } > }] > > On Feb 3, 12:06 pm, Ralph Heimburger <1stpo...@gmail.com> wrote: > > > > > I am having the same issue. Here is my code: > > > keywordObject = { > > 'type': 'BiddableAdGroupCriterion', > > 'adGroupId': adgroup_id, > > 'criterion': { > > 'id': keywordid, > > 'destinationUrl': destUrl > > } > > } > > > When I run this using V200909, I get no errors and the destinationUrl > > is still blank -- 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: Please post an example of handling PolicyViolationError
Hi Semdev, This type of example is on our list of priorities, but I don't have an exact time frame about when it will be available. Best, - Eric On Feb 2, 1:43 pm, SEM wrote: > Eric: > > When do you guys plan on posting OGNL examples w.r.t. error handling? > e.g. submitting a request to create multiple ads of which 1 ad fails > due to a policy violation. > > How do we... > > a] Extract the index of the erroneous ad(s). > > b] Obtain a meaningful error code / error message for presentation > purposes? > > Let me know. > > Thanks. > > - Semdev > > On Dec 17 2009, 8:51 am, AdWords API Advisor > > > > wrote: > > Hi, > > > Thank you for the feedback. We understand this is a gap in our > > current examples, and it is something we are working on. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Dec 16, 3:37 am, Maxim wrote: > > > > ...usingOGNL, preferrably in Java. > > > > If I'm passing an array of AdGroupAd[] to mutate() operation in > > > AdGroupAdService, and some ads violate a policy, it's not clear how to > > > evaluate ApiError.fieldPath withOGNLlibrary - what should be passed > > > as parameter toOgnl.getValue() - array of AdGroupAd[], array of Ad[], > > > individual Ad objects??? > > > > Thanks.- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@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: AdParams - INVALID_INSERTION_TEXT_FORMAT
Hi Adam, There is a known issue with the validation of insertionText where the value is more than 3 digits. The commas or period separators should be optional, but currently the system returns an error if there are no separators and also sometimes returns an error if there are separators. There is no workaround for the issue at this time, but we hope to have the problem resolved shortly. Best, - Eric Koleda, AdWords API Team On Feb 2, 3:37 pm, "Peer Jakobsen (AdWords API Guru)" wrote: > Hi, > > The AdParam.insertionText need to follow a very specific format. You > can see it > here:http://code.google.com/apis/adwords/v2009/docs/reference/AdParamServi... > > If you still can't get it working then post the SOAP trace here. > > Cheers -- 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: InfoService with API 200909
Hi Ralph, One of the caveats of the new InfoService is that it currently only works if your email and password used to generate the authToken is for the MCC account that owns the developer token (has the AdWords API Center tab in the web interface). Please ensure that you are using this MCC user when generating your authToken and try again. Best, - Eric Koleda, AdWords API Team On Feb 2, 10:20 am, "ralf.s" wrote: > We still get have problems with the InfoService of Version V200909. > V13 works fine here. > We do exactly whats listed in the Per-Call Migration Guide. > We use java and the adwords-api-6.3.0-loner.jar lib. > > Example 1: > InfoSelector selector = new InfoSelector(); > selector.setApiUsageType(ApiUsageType.UNIT_COUNT); > selector.setDateRange(new DateRange("20100101", "20100201")); > ApiUsageInfo res = service.get(selector); > > always return 0 costs, while V13 Version getUnitCount(startDate, > endDate) works fine. > > Example 2: > > InfoSelector selector = new InfoSelector(); > selector.setClientEmails(new String[] { "" }); > selector.setApiUsageType(ApiUsageType.UNIT_COUNT_FOR_CLIENTS); > selector.setDateRange(new DateRange("20100101", "20100201")); > ApiUsageInfo res = service.get(selector); > > throws an error [ApiUsageError.INVALID_CLIENT_EMAIL @ selector] also > the specified email is a valid account in the mcc-acount. > > Any suggestions? > > Thanks > Ralf > > By the way. Sample Code for Java is still for V200906 and not all > Services are included. -- 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: This adgroup is accessible to the user, but does not belong to the current customer
Hi, This error is usually caused by using the wrong clientEmail or clientCustomerId header in the request. Please ensure that the ad group is in the account that is specified in this header. Best, - Eric Koleda, AdWords API Team On Feb 2, 12:02 pm, fafa16 wrote: > Today i tried to read only one Group with a specific id i'll get the > following error: > > "This campaign is accessible to the user, but does not belong to the > current customer. If you wish to access this campaign, you must set > the clientEmail header to an appropriate login." > > I don't have any problem with the other groups. > > What can I do?? > > Help :-) -- 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: Too much criterias?
Hi Fabien, What is the error you are receiving? Can you provide some more detail about when this problem occurs in the process? Best, - Eric Koleda, AdWords API Team On Feb 2, 9:40 am, "fabien.beur...@adweb-media.com" wrote: > Hello, > > I have a problem importing all data of an account. > I ‘ve a thousands criterias and ads in my account but when I try to > import them into my database I have an internal server error. The PHP > script goes well with small account (I have a MCC). > > I use the V13 with the examples given > here:http://code.google.com/intl/fr/apis/adwords/docs/clients.html > > What can I do? > > 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: Cost
Hi Dane, It looks like the selectedColumns field is being marshalled correctly, but the aggregationTypes field is still being created with a ur-type. If you apply the same fix to that field it should resolve the issue. For the benefit of the community, can you post some sample code that shows how you made this fix? Best, - Eric On Feb 2, 1:04 pm, Dane wrote: > since I only have problems with reports in API and other testscripts > works fine, I feel tempted to just schedule the GUI to email me > reports, and let my script capture the emails. > > That is unless you tell me that requestId > f9b4e37c33a080c8202b2111b9f8da9b > > only have minor flaws > > regards > Dane -- 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 passing an array of keywords
Hello All related_search = ti_srv.module::RelatedToKeywordSearchParameter.new base_kwd = ti_srv.module::Keyword.new base_kwd.text = ['google', 'yahoo'] base_kwd.matchType = 'EXACT' related_search.keywords = [base_kwd] is it possible to pass an array of keywords in base_kwd.text? thanks in advance Ajit -- 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: Unable to update destination URL using the AdGroupCriterionService
solve my issue. the destinationUrl has to be outside the identifier. operations = [{'operator': 'SET', 'operand': { 'type': 'BiddableAdGroupCriterion', 'adGroupId': adgroup_id, 'criterion': { 'id': keywordid, }, 'destinationUrl': destUrl } }] On Feb 3, 12:06 pm, Ralph Heimburger <1stpo...@gmail.com> wrote: > I am having the same issue. Here is my code: > > keywordObject = { > 'type': 'BiddableAdGroupCriterion', > 'adGroupId': adgroup_id, > 'criterion': { > 'id': keywordid, > 'destinationUrl': destUrl > } > } > > When I run this using V200909, I get no errors and the destinationUrl > is still blank -- 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: Unable to update destination URL using the AdGroupCriterionService
I am having the same issue. Here is my code: keywordObject = { 'type': 'BiddableAdGroupCriterion', 'adGroupId': adgroup_id, 'criterion': { 'id': keywordid, 'destinationUrl': destUrl } } When I run this using V200909, I get no errors and the destinationUrl is still blank -- 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 UNEXPECTED_INTERNAL_API_ERROR Trying to Add one or more Criterion
Hello, I am getting a very generic error when I try to add new criterion. I am trying to add multiple operations at one time except I am getting an UNEXPECTED_INTERNAL_API_ERROR returned. I have tried reducing the number of operations per call all they way down to one and am consistently getting this error. Here are my request and responses that I have traced. Request --- POST /api/adwords/cm/v200909/AdGroupCriterionService User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4927) VsDebuggerCausalityData: uIDPo43de8ScpjJArhaHqjPGyb0A3gH8qt6H9kCDw0hbeo1ILfa6k1gts0FBs8B9zzFv/ TcACQAA Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: adwords.google.com Content-Length: 1217 Expect: 100-continue Connection: Keep-Alive http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> https://adwords.google.com/api/adwords/ cm/v200909"> 493-624-2678 iRFg AWAPI DotNetLib 6.2 - WhereToLive.com https://adwords.google.com/api/adwords/cm/ v200909"> ADD 1044065073 5 Private Drive 1617 PHRASE ACTIVE http:// www.coldwellbankerlegacy.com/100174?utm_source=gaw&utm_medium=ppc&utm_campaign=addresses Response Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-XSS-Protection: 0 X-Frame-Options: SAMEORIGIN Cache-Control: private, max-age=0 Content-Type: text/xml; charset=UTF-8 Date: Wed, 03 Feb 2010 15:50:45 GMT Expires: Wed, 03 Feb 2010 15:50:45 GMT Server: GFE/2.0 http://schemas.xmlsoap.org/soap/envelope/";> soap:Server InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ https://adwords.google.com/ api/adwords/cm/v200909"> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ApiException http://www.w3.org/2001/ XMLSchema-instance" xsi:type="InternalApiError"> InternalApiError UNEXPECTED_INTERNAL_API_ERROR -- 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 UNEXPECTED_INTERNAL_API_ERROR Trying to Add one or more Criterion
Hello, I am getting a very generic error when I try to add new criterion. I am trying to add multiple operations at one time except I am getting an UNEXPECTED_INTERNAL_API_ERROR returned. I have tried reducing the number of operations per call all they way down to one and am consistently getting this error. Here are my request and responses that I have traced. Request --- POST /api/adwords/cm/v200909/AdGroupCriterionService User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4927) VsDebuggerCausalityData: uIDPo43de8ScpjJArhaHqjPGyb0A3gH8qt6H9kCDw0hbeo1ILfa6k1gts0FBs8B9zzFv/ TcACQAA Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: adwords.google.com Content-Length: 1217 Expect: 100-continue Connection: Keep-Alive http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> https://adwords.google.com/api/adwords/ cm/v200909"> 493-624-2678 iRFg AWAPI DotNetLib 6.2 - WhereToLive.com https://adwords.google.com/api/adwords/cm/ v200909"> ADD 1044065073 5 Private Drive 1617 PHRASE ACTIVE http:// www.coldwellbankerlegacy.com/100174?utm_source=gaw&utm_medium=ppc&utm_campaign=addresses Response Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-XSS-Protection: 0 X-Frame-Options: SAMEORIGIN Cache-Control: private, max-age=0 Content-Type: text/xml; charset=UTF-8 Date: Wed, 03 Feb 2010 15:50:45 GMT Expires: Wed, 03 Feb 2010 15:50:45 GMT Server: GFE/2.0 http://schemas.xmlsoap.org/soap/envelope/";> soap:Server InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ https://adwords.google.com/ api/adwords/cm/v200909"> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ApiException http://www.w3.org/2001/ XMLSchema-instance" xsi:type="InternalApiError"> InternalApiError UNEXPECTED_INTERNAL_API_ERROR -- 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: can I make report using more than one aggregation type but running the report only once?
Hi Eric thanks a lot for the response.Your response helped me a lot to solve a big problem.So many many thanks for that important information. Now I need another help. I found another error that some of the fields are mutually Exclusive in nature.Hence they cant be used at a time. Now my query is how to programmatically validate my interface to avoid such error to occur?I can solve it by manually checking the mutually Exclusive options and restrict my user not to check the mutually Exclusive combinations.But it'll be very combursome and time taking .I want to know ,is there any other option to avoid manually checking the mutually exclusive combinations? Plz reply. On Jan 29, 9:47 pm, AdWords API Advisor wrote: > Hi, > > Please see my response in your other thread: > > http://groups.google.com/group/adwords-api/browse_thread/thread/4871b... > > Best, > - Eric Koleda, AdWords API Team > > On Jan 29, 8:41 am, ipsita rout wrote: > > > > > can I make report using more than one aggregation type but running the > > report only once? > > I mean, > > as like I can get report for more than one clients of an MCC > > registered A/c by using in $report_job , > > again as like I can get report for more than one options by using > > in $report_job > > Exactly as above..can I get report for more than one > > aggregation type ? > > I can do it by run it through a loop.But it'll give as many reports as > > the number of aggregation types are there. > > But I need everything in one report. > > Like in or > clientEmails>, we don't need to run reports separately for each > > client's email or for each options. > > So is there ant tags or any other option to run the report once for > > more than one aggregation type? > > Please reply- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@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 InfoService.get() fails in v200909
When calling InfoService.get() using v200909 I consistently get an exception "INVALID_ID @ selector". Everything is OK when I use v13. I use the .NET client 6.2.0. Sample log: -BEGIN API CALL- Request --- POST /api/adwords/info/v200909/InfoService User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.3603) VsDebuggerCausalityData: uIDPoxrjfdr4NJlHvNRnKBWvas0Ah7t27qE2X0iJ72K0cj7Ior/OyWO/ 551Lp48ta8PiM0kACAAA Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: adwords.google.com Content-Length: 1032 Expect: 100-continue Connection: Keep-Alive http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/ XMLSchema">https://adwords.google.com/api/adwords/cm/ v200909">KaHAhttps://adwords.google.com/api/ adwords/cm/v200909">qg_ghttps://adwords.google.com/api/ adwords/info/ v200909">TOTAL_USAGE_API_UNITS_PER_MONTH Response Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-XSS-Protection: 0 X-Frame-Options: SAMEORIGIN Cache-Control: private, max-age=0 Content-Type: text/xml; charset=UTF-8 Date: Wed, 03 Feb 2010 10:52:06 GMT Expires: Wed, 03 Feb 2010 10:52:06 GMT Server: GFE/2.0 http://schemas.xmlsoap.org/soap/ envelope/">7c9547e71d4001bc5db04b9b41d8edc713711soap:Server[EntityNotFound.INVALID_ID @ selector] [EntityNotFound.INVALID_ID @ selector]ApiExceptionhttp://www.w3.org/ 2001/XMLSchema-instance" xsi:type="ns2:EntityNotFound">selectorEntityNotFoundINVALID_ID -END API CALL--- -- 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 what does this option AutoKeywordMatchingStatus ?
Hi Eric, I do not understand what does this option AutoKeywordMatchingStatus ? What it does when I opted in automatic status ? How work automatic status ? Thank you Nicolas -- 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.