Hi Jurijs,
I am also a member of the Google Ads API team and let me provide support to
your concern.
To get the campaign budget information, you can use the campaign_budget report
type. As for the editing the campaign budget, then you can use the update
operation of the CampaignBudgetOperation
I'm struggling to get a budget object using such approach:
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$query = "SELECT campaign.id, campaign.name,
campaign.campaign_budget, label.id, label.name " .
"FROM campaign_label LIMIT 2";
$response
Hi Jurijs,
Thanks for reaching out. You can use the Get Campaign by Label example and use
the CampaignService to update the budget of that campaign after retrieving each
campaign. This is discussed in the campaign budgets guide.
Regards,
Matt
Google Ads API Team
Reminder: Share your feedback
I have a need to sort campaigns by labels and change the money amount of
the campaign budget. I'm using google-ads-php. Ideally I want to loop
through the campaigns selected by label like in "Get Campaigns By Label"
example and mutate the Budget amount.
Budget example only shows how to create