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;
>>>
>>> List<CampaignOperation> operations = new List<CampaignOperation>();
>>> 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.

Reply via email to