Hello
$budget = new Budget(); $budget->setIsExplicitlyShared(false); $budget->setName('sample name'); $money = new Money(); $money->setMicroAmount(2000000000); $budget->setAmount($money); $budget->setDeliveryMethod(BudgetBudgetDeliveryMethod::STANDARD); $operations = []; // Create a budget operation. $operation = new BudgetOperation(); $operation->setOperand($budget); $operation->setOperator(Operator::ADD); $operations[] = $operation; // Create the budget on the server. $result = $budgetService->mutate($operations); $budget = $result->getValue()[0]; $budget_id = $budget->getBudgetId(); $budget->setIsExplicitlyShared(false); BudgetId is not included. In this case, how can I update Amount? $campaignService = $adWordsServices->get($session, CampaignService::class); $operations = []; // Create a campaign with PAUSED status. $campaign = new Campaign(); $campaign->setBudget(new Budget()); $money = new Money(); $money->setMicroAmount(2040000000); $campaign->getBudget()->setAmount($money); $campaign->setId($campaignId); $campaign->setStatus(CampaignStatus::PAUSED); // Create a campaign operation and add it to the list. $operation = new CampaignOperation(); $operation->setOperand($campaign); $operation->setOperator(Operator::SET); $operations[] = $operation; // Update the campaign on the server. $result = $campaignService->mutate($operations); I tried writing such a code, but it was not updated. Please teach. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/770f5f25-1374-48bc-b566-35eae643d390%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.