MutateAction (ADD) requires CREATE_CAMPAIGN Getting on Create campaign

309 views
Skip to first unread message

chriss Moyle

unread,
Mar 28, 2014, 3:10:15 AM3/28/14
to adwor...@googlegroups.com
Hi,

I am creating campaign using below API.
https://developers.google.com/adwords/api/docs/reference/v201402/CampaignService

Now, i am getting below issue very time. i have already passed information of "CampaignOperation" parameter as showing below.
// Create the operation.
CampaignOperation operation = new CampaignOperation();
operation.@operator = Operator.ADD;
operation.operand = campaign;
operation.OperationType = "CREATE_CAMPAIGN";

Error got.
[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN]

Please advice, how to  create campaign and set the location and language to created campaign.

Thanks,

chriss Moyle

unread,
Mar 31, 2014, 12:23:12 AM3/31/14
to adwor...@googlegroups.com
Hi,

Please advice on this, help needed asap.

Thankyou in advance.

Josh Radcliff (AdWords API Team)

unread,
Mar 31, 2014, 4:10:36 PM3/31/14
to adwor...@googlegroups.com
Hi,

This appears to be a duplicate of your other post on campaign criteria.  Please see that post for my answer to your question.

Thanks,
Josh, AdWords API Team

autoc...@gmail.com

unread,
Dec 12, 2014, 8:48:51 AM12/12/14
to adwor...@googlegroups.com
 I have the same error message [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN] and I solved it setting the clientCustomerId.

My c# code was:

            // Get the CampaignService.
           
CampaignService campaignService =
               
(CampaignService)_user.GetService(AdWordsService.v201409.CampaignService);

           
// Set ClientCustomerId
            campaignService
.RequestHeader.clientCustomerId = myClientCustomerId;




Reply all
Reply to author
Forward
0 new messages