Google AdWords API [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN]
2 answers
I solved this problem by using the client ID and not the manager ID.
- The customer ID is in the upper left corner next to
{Client Center Logo} Account Name (Client ID: 123456789)
- Manager ID : Located in the upper right corner just above your email address
Manager ID: 987654321
email.address@gmail.com
+4
source to share
I decided to set the campaignService-> clientCustomerId setting. Google AdWords account manages multiple customer accounts for multiple campaigns. You must set the clientCustomerId on the campaignService to add a new campaign.
My C # code:
// Get the CampaignService.
CampaignService campaignService =
(CampaignService)_user.GetService(AdWordsService.v201409.CampaignService);
// Set ClientCustomerId
campaignService.RequestHeader.clientCustomerId = myClientCustomerId;
+1
source to share