Re: Update budget money amount for campaigns

2021-12-19 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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

Re: Update budget money amount for campaigns

2021-12-17 Thread Jurijs P.
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

RE: Update budget money amount for campaigns

2021-12-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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

Update budget money amount for campaigns

2021-12-15 Thread Jurijs P.
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