Hi All,
According to the last post on the Google Ads Developer Blog the target
spend strategy will be deprecated by the 31 of July.
My question is How can I use mu budgets to specify how much I'd like to
spend for maximize clicks?
You can find bellow how I'm using the target spend as bidding strategy.
Campaign:
BiddingStrategyConfiguration biddingStrategyConfiguration = new
BiddingStrategyConfiguration();
if(is_autobid)
{
biddingStrategyConfiguration.biddingStrategyType =
BiddingStrategyType.TARGET_SPEND;
}
else
{
if(billing_event == "IMPRESSIONS")
{
biddingStrategyConfiguration.biddingStrategyType =
BiddingStrategyType.MANUAL_CPM;
}
else if(billing_event == "LINK_CLICKS")
{
biddingStrategyConfiguration.biddingStrategyType =
BiddingStrategyType.MANUAL_CPC;
}
}
campaign.biddingStrategyConfiguration = biddingStrategyConfiguration;
AdGroup:
BiddingStrategyConfiguration biddingStrategyConfiguration = new
BiddingStrategyConfiguration();
if (is_autobid == false && billing_event == "IMPRESSIONS")
{
biddingStrategyConfiguration.bids = new Bids[]
{
new CpmBid()
{
bid = new Money()
{
microAmount = long.Parse((bid_amount * 1000000).ToString())
}
}
};
}
else if (is_autobid == false && billing_event == "LINK_CLICKS")
{
biddingStrategyConfiguration.bids = new Bids[]
{
new CpcBid()
{
bid = new Money()
{
microAmount = long.Parse((bid_amount * 1000000).ToString())
}
}
};
}
is_autobid, billing_event and bid_amount are local variable I'm using into
my code.
Many thanks,
Zied
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/4041e76c-734f-49e1-89f7-e5f36886c6c6%40googlegroups.com.