Cannot set BiddingStrategyConfiguration Manual_cpm -> pay for Viewable Impressions

42 views
Skip to first unread message

g...@axregio3.de

unread,
Jan 30, 2019, 9:56:38 AM1/30/19
to AdWords API and Google Ads API Forum

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

googleadsapi...@google.com

unread,
Jan 30, 2019, 4:59:15 PM1/30/19
to AdWords API and Google Ads API Forum
Hello,

You won't be able to set the value for viewableCpmEnabled field since this field is read-only as indicated in the link. Its value should default to true after setting a campaign's BiddingStrategyType to MANUAL_CPM. However, you can set the Viewable CPM bidding using Google Ads interface. Please find the attachment. Let me know if you have any further questions.

Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

ViewableCPM.png

g...@axregio3.de

unread,
Jan 31, 2019, 9:16:19 AM1/31/19
to AdWords API and Google Ads API Forum

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:

https://groups.google.com/forum/?nomobile=true#!searchin/adwords-api/viewable$20cpm%7Csort:date/adwords-api/hp98C2hoQxg/Swxt4MCzCQAJ


Thanks,
geo

googleadsapi...@google.com

unread,
Jan 31, 2019, 3:54:06 PM1/31/19
to AdWords API and Google Ads API Forum
Hello Geo,

Thanks for the details. I'm sharing your concern to the team. I will get back to you once I have more information. 


Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.

Take Survey

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.
Reply all
Reply to author
Forward
0 new messages