Hi, I'm trying to update the campaign name and the campaign budget, I don't 
have problems when updating the campaign name
But the budget has not been updating


    PPC2CampaignServiceSoapBinding *service = [[
PPC2CampaignServiceSoapBinding alloc] init];

    PPC2SoapHeader *soapHeader = (PPC2SoapHeader*)[self 
getSoapHeaderForRequestWithMCCAccount:NO];

    PPC2mutate *mutate = [[PPC2mutate alloc] init];

    PPC2CampaignOperation *operation = [[PPC2CampaignOperation alloc] init];

    PPC2Campaign *campaign = [[PPC2Campaign alloc] init];

    campaign._id = [NSNumber numberWithDouble:[campaignId doubleValue]];

    campaign.name = newName;

    PPC2Budget *newBudget= [[PPC2Budget alloc] init];

    newBudget.budgetId = [NSNumber numberWithDouble:[budgedId doubleValue] 
];

    PPC2Money *newMoney = [[PPC2Money alloc] init];

    newMoney.microAmount = [NSNumber numberWithDouble:([newBudged 
doubleValue]*1000000) ];

    newBudget.amount = newMoney;

    campaign.budget = newBudget;

    operation.operand = campaign;

    operation._operator = [PPC2Operator SET];

    [mutate.items addObject:operation];


I don't get error, but the budget is not updated. Do i need to use another 
service ? 


Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3485230a-8c6a-4084-a8bb-ff2c192cf812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to