Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hi, Glad to hear you got the fix. Thanks, Joyce, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9e4a6332-2ecc-4e98-b2be-8b3afd940527%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
I've created new managed user with ManagedCustomerService. And it started to work. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/df8c979d-52f8-43b0-ac74-5ea6c6e2f174%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hi, Could you please send to me the SOAP request and response when you encountered this issue: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED? Please use *reply privately to author* when responding. Also, when generating the credentials, you may log in as your MCC account (e.g. *account2* in your case). Thanks, Joyce, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9be821bb-f3fd-43d2-965e-ee412f3050b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
I have 3 AdWords accounts: Live MCC *account1*: for developerToken. Test MCC *account2*: main account. Test *account3*: for creating campaigns (using clientCustomerId from this account). After line $campaignService->mutate($operations); I receive an exception with message: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN How can I solve this issue? P.S. What account should I use for refresh_token generation? I've tried both *account2 *and *account3.* -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/081d8f89-6879-4d64-bd7e-adc54420f2ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Thanks Josh and Danial, finally able to create campaign succesfully. Cheers, Abhinash On Wednesday, December 24, 2014 3:55:47 PM UTC+5:30, Danial Klimkin wrote: Hello Abhinash, You need to create a non-MCC account under the test MCC. You can use the ManagedCustomerService https://developers.google.com/adwords/api/docs/reference/v201409/ManagedCustomerService or do this via the user interface. -Danial, AdWords API Team. On Wednesday, December 24, 2014 9:00:46 AM UTC+3, Abhinash Dora wrote: Hello, Can you suggest me which clientCustomerId I should use to create campaigns in the test account. Regards, Abhinash On Monday, December 22, 2014 6:53:48 PM UTC+5:30, Danial Klimkin wrote: Hello Abhinash, Please make sure the clientCustomerId you are setting is not for an MCC account. You can't create campaigns on the MCC level. -Danial, AdWords API Team. On Monday, December 22, 2014 12:52:39 PM UTC+3, Abhinash Dora wrote: Hi Josh, I have tried without setting *operation.OperationType, *but still getting the same error. My Code is: CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignOperation operation = new CampaignOperation(); operation.@operator = Operator.ADD; operation.operand = campaign; ListCampaignOperation operations = new ListCampaignOperation(); operations.Add(operation); CampaignReturnValue retVal = campaignService.mutate(operations.ToArray()); Last line gives error. Can you have any other solution. On Friday, December 19, 2014 8:47:46 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4fa6a940-a64e-457b-873e-e01f1a821e49%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hello Abhinash, You need to create a non-MCC account under the test MCC. You can use the ManagedCustomerService https://developers.google.com/adwords/api/docs/reference/v201409/ManagedCustomerService or do this via the user interface. -Danial, AdWords API Team. On Wednesday, December 24, 2014 9:00:46 AM UTC+3, Abhinash Dora wrote: Hello, Can you suggest me which clientCustomerId I should use to create campaigns in the test account. Regards, Abhinash On Monday, December 22, 2014 6:53:48 PM UTC+5:30, Danial Klimkin wrote: Hello Abhinash, Please make sure the clientCustomerId you are setting is not for an MCC account. You can't create campaigns on the MCC level. -Danial, AdWords API Team. On Monday, December 22, 2014 12:52:39 PM UTC+3, Abhinash Dora wrote: Hi Josh, I have tried without setting *operation.OperationType, *but still getting the same error. My Code is: CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignOperation operation = new CampaignOperation(); operation.@operator = Operator.ADD; operation.operand = campaign; ListCampaignOperation operations = new ListCampaignOperation(); operations.Add(operation); CampaignReturnValue retVal = campaignService.mutate(operations.ToArray()); Last line gives error. Can you have any other solution. On Friday, December 19, 2014 8:47:46 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/89ffd5c0-21ed-4a3f-be0f-8dc9f75d446a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hello, Can you suggest me which clientCustomerId I should use to create campaigns in the test account. Regards, Abhinash On Monday, December 22, 2014 6:53:48 PM UTC+5:30, Danial Klimkin wrote: Hello Abhinash, Please make sure the clientCustomerId you are setting is not for an MCC account. You can't create campaigns on the MCC level. -Danial, AdWords API Team. On Monday, December 22, 2014 12:52:39 PM UTC+3, Abhinash Dora wrote: Hi Josh, I have tried without setting *operation.OperationType, *but still getting the same error. My Code is: CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignOperation operation = new CampaignOperation(); operation.@operator = Operator.ADD; operation.operand = campaign; ListCampaignOperation operations = new ListCampaignOperation(); operations.Add(operation); CampaignReturnValue retVal = campaignService.mutate(operations.ToArray()); Last line gives error. Can you have any other solution. On Friday, December 19, 2014 8:47:46 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e277a7a1-0f4c-4953-87d8-0c1dd37e520e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hi Josh, I have tried without setting *operation.OperationType, *but still getting the same error. My Code is: CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignOperation operation = new CampaignOperation(); operation.@operator = Operator.ADD; operation.operand = campaign; ListCampaignOperation operations = new ListCampaignOperation(); operations.Add(operation); CampaignReturnValue retVal = campaignService.mutate(operations.ToArray()); Last line gives error. Can you have any other solution. On Friday, December 19, 2014 8:47:46 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c0856193-9ee5-45ec-82e1-f0c82cd5118e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hello Abhinash, Please make sure the clientCustomerId you are setting is not for an MCC account. You can't create campaigns on the MCC level. -Danial, AdWords API Team. On Monday, December 22, 2014 12:52:39 PM UTC+3, Abhinash Dora wrote: Hi Josh, I have tried without setting *operation.OperationType, *but still getting the same error. My Code is: CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignOperation operation = new CampaignOperation(); operation.@operator = Operator.ADD; operation.operand = campaign; ListCampaignOperation operations = new ListCampaignOperation(); operations.Add(operation); CampaignReturnValue retVal = campaignService.mutate(operations.ToArray()); Last line gives error. Can you have any other solution. On Friday, December 19, 2014 8:47:46 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote: Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4b24fc14-e5e9-4104-b22a-42fb25f20927%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/70a558f9-d04f-441a-b988-dbdc72a613d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Hi, Have you tried *not* setting *operation.OperationType*? That value isn't required, and by setting it to a value that the API doesn't recognize you may be triggering that error. You may want to check out the AddCampaigns.cs example https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/AddCampaigns.cs and compare it to how you are setting up your operations. Thanks, Josh, AdWords API Team On Friday, December 19, 2014 7:36:00 AM UTC-5, Abhinash Dora wrote: I have searched for the error but didn't find any solution. CampaignOperation operation = new CampaignOperation(); operation.OperationType = CREATE_CAMPAIGN; operation.@operator = Operator.ADD; operation.operand = campaign; CampaignOperation[] operations = new CampaignOperation[] { operation }; CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201409.CampaignService); campaignService.RequestHeader.clientCustomerId = ConfigurationManager.AppSettings[ClientCustomerId]; CampaignReturnValue retVal = campaignService.mutate(operations); When I tried to execute the last line CampaignReturnValue retVal = campaignService.mutate(operations);, It gives error OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN . Please help me to resolve me this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ccc8ff9d-c206-4045-8caf-20c55904a6cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.