OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN

2014-12-19 Thread devteam
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.


Migrating v200909 to v201109: campaigns missing

2012-03-12 Thread devteam
I am in the process of migrating from v200909 to v201109.
I use https://www.google.com/accounts/ClientLogin with my email and 
password to get the authentication token.
But when I try to get the list of all ad words campaigns (using 
CampaignService get), the list is empty (totalNumEntries = 0).

Any clue?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


AdWords API How to send an array of IDs (using XML) for getCampaignStats

2009-07-13 Thread devteam

Hi!

We're having difficulties finding the right XML syntax for sending an
array of campaign IDs when using the CampaignService getCampaignStats
call.
An XML code example including several campaign IDS will be very
helpful.

Best regards,
DevTeam

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---