Hello, how can i manipulate the following setting "Bezahlen für" / "Pay
for" through the API?
[image: pay for conversions.png] <about:invalid#zClosurez>
Currently, Campaigns are created with "Pay for Clicks" but i want to change
this to "Pay for Conversion" through GoogleAds API Code (php).
The Code currently looks like this:
switch ($opt_target) {
case FeedObj::OPT_TARGET_CLICKS:
$bidding_strategy_configuration = new
BiddingStrategyConfiguration();
$bidding_strategy_configuration->setBiddingStrategyType(
BiddingStrategyType::MANUAL_CPC
);
$bidding_scheme = new ManualCpcBiddingScheme();
$bidding_strategy_configuration->setBiddingScheme($bidding_scheme);
$campaign->setBiddingStrategyConfiguration($bidding_strategy_configuration);
break;
case FeedObj::OPT_TARGET_CONVERSIONS:
//@todo: can we do something to select "pay for conversions" ?
// Set bidding strategy: Target CPA
$bidding_scheme = new TargetCpaBiddingScheme();
$money = new Money();
$money->setMicroAmount($mysterious_micro_amount);
$bidding_scheme->setTargetCpa($money);
$bidding_strategy_configuration = new
BiddingStrategyConfiguration();
$bidding_strategy_configuration->setBiddingScheme($bidding_scheme);
$campaign->setBiddingStrategyConfiguration($bidding_strategy_configuration);
break;
}
How can i accomplish this? Which Objects/Attributes/Constants are needed to
create Campaigns with "Pay for Conversions" instead of "Pay for Clicks"?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/064d80b5-4635-4414-a579-61e51a72e27f%40googlegroups.com.