Maximize conversions

78 views
Skip to first unread message

Trang chan

unread,
Aug 27, 2020, 5:58:28 AM8/27/20
to adwor...@googlegroups.com
Hi,


We are trying to get the "Maximize conversions" bid strategy at campaign level through the API. Unfortunately we don't how to use this. Plz give us some advices

Thanks in advance,



Google Ads API Forum Advisor Prod

unread,
Aug 27, 2020, 3:17:29 PM8/27/20
to trangc...@gmail.com, adwor...@googlegroups.com

Hi Trang,

Thank you for reaching out. You could set the biddingStrategyType field to MAXIMIZE_CONVERSIONS and set the biddingScheme field to MaximizeConversionsBiddingScheme in the BiddingStrategyConfiguration object to specify the bidding type. You could refer to this code example on how to set the bidding strategy at the campaign level.

Thanks and regards,
Xiaoming, Google Ads API Team





Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q23v6Fm:ref

Trang chan

unread,
Aug 27, 2020, 11:10:00 PM8/27/20
to AdWords API and Google Ads API Forum
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:

Đinh Ngọc Quý

unread,
Aug 28, 2020, 5:42:38 AM8/28/20
to AdWords API and Google Ads API Forum
code example không liên quan gì đến cau hỏi cả.

Google Ads API Forum Advisor Prod

unread,
Aug 28, 2020, 12:17:08 PM8/28/20
to trangc...@gmail.com, adwor...@googlegroups.com
Hello,

Since you are using an existing campaign, please try using the SET operator instead of ADD. If you continue to face issues, please reply privately to author your SOAP request and response.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q23v6Fm:ref
Reply all
Reply to author
Forward
0 new messages