Hello aminotsukasa,
I believe in case 2 as the campaign set up specific range, TargetContentContextual still has meaning and can not be null. Set this to true to enable Specific Reach and to false to enable Broad Reach. -Danial, AdWords API Team. Original Message Follows: ------------------------ From: aminotsukasa <aminotsuk...@gmail.com> Subject: Re: Changing TargetContentContextual fail with CANNNOT MODIFY NETWORK CONTEXUAL Date: Fri, 28 Sep 2012 03:47:10 -0700 (PDT) > Hello Daniel > > I already know a campaign with flexible reach don't have a > meaningful TargetContentContextual value. > Because getTargetContentContextual() returns null value. When I get a > campaign from CampaignServiceInterface#get. > > Case 1 > I modify a campaign with display network and flexible reach to without > display network. > I send a campaign to adwords server with setTargetContentContextual(null). > It's OK > > Case 2 > I modify a campaign with display network and specific range to without > display network. > I send a campaign to adwords server with setTargetContentContextual(null). > It's failed. > > With both 2 case I modify a campaign to without display network. I send a > same value of setTargetContentContextual() and > setTargetContentContextual() in both case. > Why only case 2 is failed? > > > 2012年9月28日金曜日 18時49分17秒 UTC+9 Danial Klimkin: > > > > 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 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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