Hi Thao,
Thanks for providing further details.
I am afraid that it is currently not possible to associate shared budget to the campaigns using Google Ads scripts. What is currently possible is to only update the attributes of existing shared budgets such as budget amount using
AdsApp.Budget.
That said, allow me to bring this is up with the rest of the team; however, there is no guarantee if this will be supported soon in the Google Ads Scripts. In the meantime, please follow our
blog for updates and new releases.
As for associating portfolio bidding strategy to campaigns, you can use this
sample code and update the value inside the
setStrategy() method with the name of portfolio bidding strategy that is existing in your Google Ads account.
Regards,
 |
Ernie John Blanca Tacata |
Google Ads Scripts Team |
|
|
|

ref:_00D1U1174p._5004Q24Zh1W:ref