I'm not sure to be honest as I use only the Java library to create these requests. There is an example of how to set this at line 111 here:
http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201206/basicoperations/AddCampaigns.java On Monday, December 31, 2012 9:54:14 AM UTC, Noah wrote: > > Since this is currently mandatory, can you help me with how to set the > value directly in the SOAP XML? > > I've tried with no success: > <settings> > <KeywordMatchSetting> > <optIn>false</optIn> > </KeywordMatchSetting> > <settings> > > AND > > <settings > xmlns:cm="https://adwords.google.com/api/adwords/cm/v201209" > xsi:type="cm:KeywordMatchSetting"> > <optIn>false</optIn> > <settings> > > > On Monday, December 31, 2012 3:46:59 PM UTC+8, Oliver wrote: >> >> I noticed this as well but I'm not sure it makes sense. Keyword Match >> Settings is a setting relevant to Search Campaigns only and not Display >> campaigns. Making it a mandatory input field will cause lot of confusion. >> >> Oliver >> >> On Monday, December 31, 2012 3:34:42 AM UTC, Noah wrote: >>> >>> Hello, >>> >>> I'm following, step-by-step, the documentation at: >>> https://developers.google.com/adwords/api/docs/ >>> >>> 1) Get an auth token using CURL. Works fine >>> >>> 2) Send manual SOAP request with supplied auth, client id, etc. FAILS >>> >>> I get an error back from google that says (from the SOAP response): >>> >>> MUST_SPECIFY_KEYWORD_MATCH_SETTINGS >>> >>> However, the example in the docs doesn't say anything about keyword >>> match settings. My guess is that Google updated some rules for creating >>> campaigns, but failed to update the documentation. >>> >>> Suggestions? >>> >>> >>> >>> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope >>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> >>> <soap:Header> >>> <ResponseHeader >>> xmlns="https://adwords.google.com/api/adwords/cm/v201209"> >>> <requestId>0004d21d2c0c80800a42b6a8000037e3</requestId> >>> <serviceName>CampaignService</serviceName> >>> <methodName>mutate</methodName> >>> <operations>0</operations> >>> <responseTime>698</responseTime> >>> <units>0</units> >>> </ResponseHeader> >>> </soap:Header> >>> <soap:Body> >>> <soap:Fault> >>> <faultcode>soap:Server</faultcode> >>> <faultstring>[CampaignError.MUST_SPECIFY_KEYWORD_MATCH_SETTINGS @ >>> operations[0].operand.settings]</faultstring> >>> <detail> >>> <ApiExceptionFault >>> xmlns="https://adwords.google.com/api/adwords/cm/v201209"> >>> <message>[CampaignError.MUST_SPECIFY_KEYWORD_MATCH_SETTINGS >>> @ operations[0].operand.settings]</message> >>> >>> <ApplicationException.Type>ApiException</ApplicationException.Type> >>> <errors >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:type="CampaignError"> >>> <fieldPath>operations[0].operand.settings</fieldPath> >>> <trigger /> >>> >>> <errorString>CampaignError.MUST_SPECIFY_KEYWORD_MATCH_SETTINGS</errorString> >>> <ApiError.Type>CampaignError</ApiError.Type> >>> <reason>MUST_SPECIFY_KEYWORD_MATCH_SETTINGS</reason> >>> </errors> >>> </ApiExceptionFault> >>> </detail> >>> </soap:Fault> >>> </soap:Body></soap:Envelope> >>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
