Hi Rukeith,
Thank you for reaching out. In order to set the TARGET_SPEND bidding strategy
to a campaign you need to create the bidding strategy first and then set the
bidding_strategy_id to campaign.bidding_strategy. Please refer to this sample
code on how to implement it.
Thanks and regards,
Hi,
I have tried a few ways to enable TARGET_SPEND, but it still not work.
1.
campaign.target_spend.target_spend_micros = 1000
2.
campaign.target_spend = Ture
3.
campaign.target_spend = Ture
fm = protobuf_helpers.field_mask(None, campaign)
fm.paths.append("target_spend")
campaign_oper
Hi Rukeith,
Thank you for reaching out. For the Google Ads API, you could refer to this
code snippet on how to enable the TARGET_SPEND bidding strategy.
Thanks and regards,
Xiaoming, Google Ads API Team
Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q27uO3F:ref
--
--
=~=~=~=~=~=~=~=~=~=~
Sorry about my description.
I am using the Google Ads API not the old Adwords API.
I could not figure out the method to set the bidding strategy from the code
snippet.
adsapiforumadvisor 在 2020年11月18日 星期三上午4:15:50 [UTC+8] 的信中寫道:
> Hi Rukeith,
>
> Thank you for reaching out. This code snippet
>
Hi Rukeith,
Thank you for reaching out. This code snippet shows where you could set the
TARGET_SPEND as the bidding strategy.
Thanks and regards,
Xiaoming, Google Ads API Team
Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q27uO3F:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
I want to set my campaing's bidding strategy to TARGET_SPEND.
Unfortunately, I couldn't find any examples for this.
I set
campaign.bidding_strategy_type = client.get_type("BiddingStrategyTypeEnum",
version="v6").TARGET_SPEND
But it didn't work.
How could I s