<soap:Header>
<n1:RequestHeader>
<n1:clientCustomerId>????</n1:clientCustomerId>
<n1:developerToken>????</n1:developerToken>
</n1:RequestHeader>
</soap:Header>
<soap:Body>
<n1:mutate>
<n1:operations>
<n1:operator>SET</n1:operator>
<n1:operand>
<n1:id>????</n1:id>
<n1:name>NEW CAMPAIGN NAME</n1:name>
<n1:budget>
<n1:budgetId>????</n1:budgetId>
<n1:amount>
<n1:microAmount>NEW CAMPAIGN MICRO AMOUNT</n1:microAmount>
</n1:amount>
</n1:budget>
</n1:operand>
</n1:operations>
</n1:mutate>
</soap:Body>

El martes, 8 de diciembre de 2015, 17:39:25 (UTC-6), 
[email protected] escribió:
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/00f8dae2-f8a8-45d3-bda5-6c9266c47993%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to