Hi,

You can not set the value for viewableCpmEnabled 
<https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupCriterionService.ManualCpmBiddingScheme#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. Could you confirm if it didn't default to true after setting 
its BiddingStrategyType to MANUAL_CPM during CampaignService add operation?

If so, kindly provide the complete SOAP request and response logs generated 
after making the API request. In case you don't know how to enable logging 
in PHP client library, you may refer to this guide 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%23logging&sa=D&sntz=1&usg=AFQjCNHbvvNyz9DRDsQKZgVDM-015bzsYw>.
 
Kindly reply via the *Reply privately to author*.

Best regards,
Peter
AdWords API Team

On Tuesday, December 18, 2018 at 2:27:33 AM UTC+8, 饒義忠 wrote:
>
> [image: default pay for.png]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Adwords api version v201802
>
> I want to set Viewable CPM pay for to Viewable Impressions
> I don't know why I post to google api always set pay for to clicks.
> I have tried many ways.
>
>  
>
>> // Set bidding strategy (required).
> $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
> $biddingStrategyConfiguration->setBiddingStrategyType(MANUAL_CPM);
>
> // You can optionally provide a bidding scheme in place of the type.
> $biddingScheme = new ManualCpmBiddingScheme();
> $biddingScheme->setViewableCpmEnabled(true);
> $biddingStrategyConfiguration->setBiddingScheme($biddingScheme);
>
> // Set bidding strategy (required).
> $campaign->setBiddingStrategyConfiguration($biddingStrategyConfiguration);
>
> Above code not working.
> Any idea? thanks 大大
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/b0cf72c1-0046-480c-905d-13bae4c25829%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... 饒義忠
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... 饒義忠
        • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... 饒義忠

Reply via email to