Hi Michael, Thank you for the reply and I can create "Search Network Only" campaign using but when I set targetPartnerSearchNetwork = true end up with an error as TargetError.CANNOT_TARGET_PARTNER_SEARCH_NETWORK @ operations[0].operand.networkSetting.
Is it true? Thank you. On Friday, May 23, 2014 6:30:37 PM UTC+5:30, Michael Cloonan (AdWords API Team) wrote: > > Hello, > > The displaySelect flag is a little confusing right now, but we are > actively working on updating our documentation on it to clarify. For now, I > will give you a quick overview here. > > You can see (and set) what networks a campaign is targeting using the > campaign's > NetworkSetting<https://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.NetworkSetting>. > > If the NetworkSetting has targetSearchNetwork set to true and the other > fields set to false, then you are safely targeting the search network only, > regardless of the state of the displaySelect flag. So in order to create a > "search network only" campaign, you would simply set up the NetworkSetting > the same way you always have for such a campaign. > > The displaySelect flag is true (and cannot be set false) for all new > campaigns, as an indicator that *if* that campaign targets display > network, *then* it will do so using Search Networks with Display Select > rather than the old way. Starting in September, we will migrate all > existing display network campaigns to Search Network with Display Select, > after which we will remove this flag from the API since it will no longer > be necessary. > > The only time you should interact with the flag via the API is if you want > to voluntarily migrate your display campaigns to Search Network with > Display Select early, in which case you would set the flag to true. > > Regards, > Mike, AdWords API Team > > On Thursday, May 22, 2014 12:25:57 PM UTC-4, usaw...@gmail.com wrote: >> >> Hi, >> >> I have posted new campaign Request as follows: >> <?xml version="1.0" encoding="UTF-8"?> >> <SOAP-ENV:Envelope xmlns:SOAP-ENV=" >> http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1=" >> https://adwords.google.com/api/adwords/cm/v201402" xmlns:xsi=" >> http://www.w3.org/2001/XMLSchema-instance"> >> <SOAP-ENV:Header> >> <ns1:RequestHeader> >> <ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId> >> <ns1:developerToken>MNTMFwDdvmrVJxxxxxxxx</ns1:developerToken> >> <ns1:userAgent>Adword Account (AwApi-PHP/5.2.3, Common-PHP/5.2.3, >> PHP/5.4.7)</ns1:userAgent> >> </ns1:RequestHeader> >> </SOAP-ENV:Header> >> <SOAP-ENV:Body> >> <ns1:mutate> >> <ns1:operations> >> <ns1:operator>ADD</ns1:operator> >> <ns1:operand> >> <ns1:name>My Campaign 3</ns1:name> >> <ns1:status>PAUSED</ns1:status> >> <ns1:startDate>20140523</ns1:startDate> >> <ns1:endDate>20140622</ns1:endDate> >> <ns1:budget> >> <ns1:budgetId>xxxxx</ns1:budgetId> >> </ns1:budget> >> >> <ns1:adServingOptimizationStatus>ROTATE</ns1:adServingOptimizationStatus> >> <ns1:frequencyCap> >> <ns1:impressions>5</ns1:impressions> >> <ns1:timeUnit>DAY</ns1:timeUnit> >> <ns1:level>ADGROUP</ns1:level> >> </ns1:frequencyCap> >> <ns1:settings xsi:type="ns1:KeywordMatchSetting"> >> <ns1:optIn>true</ns1:optIn> >> </ns1:settings> >> <ns1:settings xsi:type="ns1:DynamicSearchAdsSetting"> >> <ns1:domainName>www.usaweb.net</ns1:domainName> >> <ns1:languageCode>en</ns1:languageCode> >> </ns1:settings> >> <ns1:settings xsi:type="ns1:GeoTargetTypeSetting"> >> >> <ns1:positiveGeoTargetType>DONT_CARE</ns1:positiveGeoTargetType> >> >> <ns1:negativeGeoTargetType>DONT_CARE</ns1:negativeGeoTargetType> >> </ns1:settings> >> <ns1:advertisingChannelType>SEARCH</ns1:advertisingChannelType> >> <ns1:networkSetting> >> <ns1:targetGoogleSearch>true</ns1:targetGoogleSearch> >> <ns1:targetSearchNetwork>true</ns1:targetSearchNetwork> >> <ns1:targetContentNetwork>true</ns1:targetContentNetwork> >> >> <ns1:targetPartnerSearchNetwork>false</ns1:targetPartnerSearchNetwork> >> </ns1:networkSetting> >> <ns1:biddingStrategyConfiguration> >> <ns1:biddingStrategyType>MANUAL_CPC</ns1:biddingStrategyType> >> <ns1:biddingScheme xsi:type="ns1:ManualCpcBiddingScheme"> >> <ns1:enhancedCpcEnabled>false</ns1:enhancedCpcEnabled> >> </ns1:biddingScheme> >> </ns1:biddingStrategyConfiguration> >> <ns1:displaySelect>false</ns1:displaySelect> >> </ns1:operand> >> </ns1:operations> >> </ns1:mutate> >> </SOAP-ENV:Body> >> </SOAP-ENV:Envelope> >> ------------------------------------------------- >> And get the response as follows: >> ----------------------------------------------- >> <?xml version="1.0"?> >> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> >> <soap:Header> >> <ResponseHeader xmlns=" >> https://adwords.google.com/api/adwords/cm/v201402"> >> <requestId>0004f9fe15977b080a42db8900002b15</requestId> >> <serviceName>CampaignService</serviceName> >> <methodName>mutate</methodName> >> <operations>1</operations> >> <responseTime>348</responseTime> >> </ResponseHeader> >> </soap:Header> >> <soap:Body> >> <soap:Fault> >> <faultcode>soap:Server</faultcode> >> <faultstring>[CampaignError.CANNOT_UNSET_DISPLAY_SELECT_CAMPAIGN @ >> operations[0].operand.displaySelect]</faultstring> >> <detail> >> <ApiExceptionFault xmlns=" >> https://adwords.google.com/api/adwords/cm/v201402"> >> <message>[CampaignError.CANNOT_UNSET_DISPLAY_SELECT_CAMPAIGN @ >> operations[0].operand.displaySelect]</message> >> >> <ApplicationException.Type>ApiException</ApplicationException.Type> >> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:type="CampaignError"> >> <fieldPath>operations[0].operand.displaySelect</fieldPath> >> <trigger/> >> >> <errorString>CampaignError.CANNOT_UNSET_DISPLAY_SELECT_CAMPAIGN</errorString> >> <ApiError.Type>CampaignError</ApiError.Type> >> <reason>UNKNOWN</reason> >> </errors> >> </ApiExceptionFault> >> </detail> >> </soap:Fault> >> </soap:Body> >> </soap:Envelope> >> >> Please let me know what I am doing wrong and how to create "search >> network only" campaign through adwords api. >> >> Thank you. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.