Thank you for your reply.

I added the following code so that I can acquire the Budget Id.
Thank you very much.
     
     $budgetService = $adWordsServices->get($session, BudgetService::class);
   $selector = new Selector();
   $selector->setFields(['BudgetId', 'BudgetName']);  
   $selector->setPredicates([ new Predicate('BudgetName', PredicateOperator
::IN, [$BudgetName]) ]);
   $budget = $budgetService->get($selector);
   $BudgetId = $budget->getEntries()[0]->getBudgetId();


2017年10月11日水曜日 16時11分59秒 UTC+9 Peter Oliquino:
>
> Hi Hideichi,
>
> If you wish to update the Amount of an existing Budget object, you may 
> first retrieve its ID by using the BudgetService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201710/BudgetService#get>.
>  
> Then pass that same ID in the SET operator of the BudgetService.mutate() to 
> update the specific budget's amount.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19344295-6e06-4a54-b79d-2e6e0f6732c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to