Getting null value with the BiddingStrategy

94 views
Skip to first unread message

Anil

unread,
Jul 1, 2022, 5:46:34 AM7/1/22
to Google Ads API and AdWords API Forum
Hi Team,

Getting BiddingStrategy as null in Campaign
I am using Google Ads API V10 PHP Libray.

please provide the example on how we can get the bidding_strategy details because we are currently getting it as null using the below query.
SELECT campaign.id, campaign.network_settings.target_content_network, campaign.network_settings.target_google_search, campaign.network_settings.target_partner_search_network, campaign.network_settings.target_search_network, campaign_budget.delivery_method, campaign.ad_serving_optimization_status, campaign_budget.amount_micros, campaign_budget.id, campaign.frequency_caps,campaign.bidding_strategy,campaign.bidding_strategy_type, bidding_strategy.type, bidding_strategy.id, bidding_strategy.enhanced_cpc, bidding_strategy.name, bidding_strategy.maximize_conversion_value.cpc_bid_ceiling_micros, campaign_budget.name, campaign.advertising_channel_sub_type, bidding_strategy.currency_code, campaign_budget.explicitly_shared, bidding_strategy.campaign_count, campaign.geo_target_type_setting.negative_geo_target_type, campaign.geo_target_type_setting.positive_geo_target_type FROM campaign WHERE campaign.id IN (16693978983)

All these giving the null values

$googleAdsRow->getBiddingStrategy()->getId();
$googleAdsRow->getBiddingStrategy()->getName();
$googleAdsRow->getBiddingStrategy()->getType();
$googleAdsRow->getBiddingStrategy()->getTargetSpend();
$googleAdsRow->getBiddingStrategy()->getEnhancedCpc();
$googleAdsRow->getBiddingStrategy()->getScheme();

Can someone please help on this?

Thanks

Google Ads API Forum Advisor

unread,
Jul 1, 2022, 6:29:56 AM7/1/22
to anilv.pr...@gmail.com, adwor...@googlegroups.com

Hi Anil,

Thanks for reaching out to the Google Ads API Forum.

I can see that some of your campaigns have ​​bidding strategy type MANUAL_CPC. This is a standard that is embedded into the campaign. Note that you may retrieve the bidding strategy type using the bidding_strategy.type field if you have created a portfolio bidding strategy via BiddingStrategy service where you use an existing BiddingStrategy. For the standard bidding strategies, we do not set the bidding_strategy field.

Regards,

Google Logo
Yasar
Google Ads API Team
 

 

 



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