Thanks :)

22 Ekim 2012 Pazartesi 17:07:20 UTC+3 tarihinde kes0 yazdı:
>
> I saw the same thing yesterday, you have to use BudgetService now :) 
> its not commented in migration notes either! 
>
> https://developers.google.com/adwords/api/docs/reference/latest/BudgetService 
>
> And you can see example from example code in php at 
>
> http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201209/BasicOperations/AddCampaigns.php
>  
>
> 2012/10/22 Seval Zirve <seval...@gmail.com <javascript:>>: 
> > Hi, 
> > 
> > I want change my campaign daily budget with API 201209 but i cant... How 
> can 
> > i? 
> > 
> > $campaignService = $user->GetService('CampaignService', 201209); 
> > 
> > $campaignId = (float) "XXXXXXXX"; 
> > $campaign = new Campaign(); 
> > $campaign->id = $campaignId; 
> > 
> > $budget = new Budget(); 
> > $budget->budgetId = "XXXXXXXX"; 
> > $budget->amount->microAmount = "15000000"; 
> > 
> > $campaign->budget = $budget; 
> > 
> > $operation = new CampaignOperation(); 
> > $operation->operand = $campaign; 
> > $operation->operator = 'SET'; 
> > 
> > $operations = array($operation); 
> > 
> > $result = $campaignService->mutate($operations); 
> > 
> > 
> > This codes not give an error! 
> > 
> > -- 
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
> > 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 adwor...@googlegroups.com<javascript:> 
> > To unsubscribe from this group, send email to 
> > adwords-api...@googlegroups.com <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/adwords-api?hl=en 
>
>
>
> -- 
>
> // 
> MVH / Regards 
>
> Fredrik Gustafsson 
> 070-2833674 
>

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

Reply via email to