I am trying to retrieve all campaigns in my account and their associated bidding strategy using Google Ads API however I am running into issues with specifically the TARGET_SPEND (Maximize Click) bidding strategy. I am selecting the bidding_strategy attributed resource as well as the "bidding_strategy" resource field. For all campaigns these both return the associated bidding strategy, however for campaigns associated with a TARGET_SPEND strategy they are empty. The resource field "bidding_strategy_type" does however show that there is an associated strategy of type TARGET_SPEND, however I cannot see which strategy it is. Example output:
campaign {
resource_name: "customers/xxx/campaigns/xxx"
status: REMOVED
ad_serving_optimization_status: OPTIMIZE
advertising_channel_type: SEARCH
serving_status: SERVING
bidding_strategy_type: TARGET_SPEND
dynamic_search_ads_setting {
domain_name: xxx
language_code: xxx
}
name: xxx
id: xxx
start_date: xxx
end_date: xxx
}
campaign_budget {
resource_name: "customers/xxx/campaignBudgets/xxx"
id: xxx
}
I am able to retrieve these strategies from the bidding_strategy view however I cannot get the campaign relationships from that direction.
Any help would be appreciated. Thanks.