Hello everybody,
I have a problem with the BiddingStrategyConfiguration. when I send manual_cpm to the api. it is set to adwords under campagne> settings> bit
Viewable CPM (right)
Pay for Clicks (wrong)
But it should be set Viewable CPM pay for Viewable Impressions.
Is there any other way to put it as a pay for Viewable Impressions?
function
private function _getBiddingStrategyConfiguration() :BiddingStrategyConfiguration
{
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration->setBiddingStrategyType($this->biddingStrategyConfiguration_biddingStrategyType);
if ($this->biddingStrategyConfiguration_biddingStrategyType == 'MANUAL_CPC' ) {
$biddingScheme = new ManualCpcBiddingScheme();
$biddingScheme->setEnhancedCpcEnabled(FALSE);
$biddingStrategyConfiguration->setBiddingScheme($biddingScheme);
}elseif ($this->biddingStrategyConfiguration_biddingStrategyType == 'MANUAL_CPM' ) {
$biddingScheme = new ManualCpmBiddingScheme();
//$biddingScheme->setViewableCpmEnabled(TRUE);
$biddingStrategyConfiguration->setBiddingScheme($biddingScheme);
}
return $biddingStrategyConfiguration;
}
SOAP
Google\AdsApi\AdWords\v201806\cm\BiddingStrategyConfiguration::__set_state(array(
'biddingStrategyId' => NULL,
'biddingStrategyName' => NULL,
'biddingStrategyType' => 'MANUAL_CPM',
'biddingStrategySource' => NULL,
'biddingScheme' =>
Google\AdsApi\AdWords\v201806\cm\ManualCpmBiddingScheme::__set_state(array(
'viewableCpmEnabled' => true,
'BiddingSchemeType' => NULL,
'parameterMap' =>
array (
'BiddingScheme.Type' => 'BiddingSchemeType',
),
)),
'bids' => NULL,
'targetRoasOverride' => NULL,
)),
best regards
geo
Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
Hello,
i think this is an error on the api.
i have already try to send it without the $biddingScheme->setViewableCpmEnabled(TRUE);
and also without any $biddingScheme.
In the original code, only the biddingStrategyConfiguration was created without even creating a biddingScheme.
And pass manual_cpm and set it wrong. I also tested it with both versions (v201806 / v201809). It is set wrong every time.
The same error is described with the version 201802.
Unfortunately, it is not exactly what needs to be done to solve the problem.
The solution proposals that were delivered always lead to the same error. can you please check it?
see link:
Thanks,
geo
Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d22e9895-056f-44d8-8953-ad8d58bf8645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.