Hello,
We set tup with your guide but have a error

OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ 
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'SEARCH'




*Our code*
Array
(
    [0] => Google\AdsApi\AdWords\v201809\cm\AdGroupOperation Object
        (
            [operand:protected] => Google\AdsApi\AdWords\v201809\cm\AdGroup 
Object
                (
                    [id:protected] => 
                    [campaignId:protected] => 10970421249
                    [campaignName:protected] => 
                    [name:protected] => Nhóm quảng cáo [campaign_abc_123]
                    [status:protected] => ENABLED
                    [settings:protected] => 
                    [labels:protected] => 
                    [forwardCompatibilityMap:protected] => 
                    [biddingStrategyConfiguration:protected] => 
Google\AdsApi\AdWords\v201809\cm\BiddingStrategyConfiguration Object
                        (
                            [biddingStrategyId:protected] => 
                            [biddingStrategyName:protected] => 
                            [biddingStrategyType:protected] => 
MAXIMIZE_CONVERSIONS
                            [biddingStrategySource:protected] => CAMPAIGN
                            [biddingScheme:protected] => 
                            [bids:protected] => 
                            [targetRoasOverride:protected] => 
                        )

                    [contentBidCriterionTypeGroup:protected] => 
                    [baseCampaignId:protected] => 
                    [baseAdGroupId:protected] => 
                    [trackingUrlTemplate:protected] => 
                    [finalUrlSuffix:protected] => 
                    [urlCustomParameters:protected] => 
                    [adGroupType:protected] => 
                    [adGroupAdRotationMode:protected] => 
                )

            [operator:protected] => ADD
            [OperationType:protected] => 
            
[parameterMap:Google\AdsApi\AdWords\v201809\cm\Operation:private] => Array
                (
                    [Operation.Type] => OperationType
                )

        )

)

Vào lúc 02:17:29 UTC+7 ngày Thứ Sáu, 28 tháng 8, 2020, adsapiforumadvisor 
đã viết:

> Hi Trang,
>
> Thank you for reaching out. You could set the biddingStrategyType field to 
> MAXIMIZE_CONVERSIONS and set the biddingScheme field to 
> MaximizeConversionsBiddingScheme 
> <https://developers.google.com/adwords/api/docs/reference/latest/BiddingStrategyService.MaximizeConversionsBiddingScheme>
>  
> in the BiddingStrategyConfiguration 
> <https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.BiddingStrategyConfiguration>
>  
> object to specify the bidding type. You could refer to this code example 
> <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#add-campaigns>
>  
> on how to set the bidding strategy at the campaign level.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
>
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q23v6Fm:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f08fc340-6c8f-4a6e-b256-98bb39b7f010n%40googlegroups.com.

Reply via email to