Hello aminotsukasa,
Once TargetContentContextual setting can not be modified for any new campaign. It only had meaning before Flexible Targeting was introduced. Please see this article for more details: http://support.google.com/adwords/bin/answer.py?hl=en&answer=1209882&from=2575708&rd=1 In short: don't send networkSetting.setTargetContentContextual for any new campaign. -Danial, AdWords API Team. On Wednesday, September 26, 2012 12:57:07 PM UTC+4, aminotsukasa wrote: > > Hi all > > I'm now creating a program with google-ads-lib 1.8. > Now I found a strange *behavior. > * > This behavior occurred with Changing a Campaign with display network.(not > registering)* > > *First I create a campaign with display network > (Because My customer has some campaigns with display network created by > 201109 Adwords-lib) > It is a fragment of campaign creation program. > > networkSetting.setTargetContentNetwork(true) > > networkSetting.setTargetContentContextual(true); > > Second I change this campaign setting from with display network to without > display network. > **> networkSetting.setTargetContentNetwork(false) > > networkSetting.setTargetContentContextual(null); > and send content with CampaignServiceInterface#mutate > > Adwords Server returns these fault code. > > > AxisFault > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > > faultSubcode: > > faultString: [TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL @ > operations[0].operand.networkSetting] > > faultActor: > > faultNode: > > faultDetail: > > > But I change campaign with display network and flexible reach. This error > is not occurred. > I create a campaign with this code. > > networkSetting.setTargetContentNetwork(true) > > networkSetting.setTargetContentContextual(null); > > and I change campaign setting with this code. > **> networkSetting.setTargetContentNetwork(false) > > networkSetting.setTargetContentContextual(null); > It's Ok! > > Is this a correct specification ? > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en