Additional info - I just successfully updated a shopping campaign through the Google Ads API to switch to tROAS with specified value, and I saw the campaign Target ROAS change in the Google Ads UI. However, when I queried the Google Ads API for the same campaign, I again get "Unspecified" bidding type and 0.0 tROAS value.
On Wednesday, May 19, 2021 at 12:00:40 PM UTC+2 Vidak Kazic wrote: > When I query Google Ads API (v7) for bidding_strategy, either for multiple > campaigns or specific campaign, I get empty (unspecified) data in response, > while I see the data in the UI normally. I have built the query using the > query builder and am pretty sure it's correct, as it's very simple. > > Sample query (customer_id and campaign_id redacted): > "SELECT bidding_strategy.type, bidding_strategy.name, > bidding_strategy.status, bidding_strategy.resource_name, > bidding_strategy.target_roas.target_roas FROM campaign WHERE > campaign.resource_name = 'customers/<CUSTOMER_ID>/campaigns/<CAMPAIGN_ID>'" > > Response: > In [41]: c.bidding_strategy.type_ > Out[41]: <BiddingStrategyType.UNSPECIFIED: 0> > > In [42]: c.bidding_strategy.name > Out[42]: '' > > In [43]: c.bidding_strategy.target_roas.target_roas > Out[43]: 0.0 > > UI data for the same campaign: > [image: Screenshot 2021-05-19 at 11.54.58.png][image: Screenshot > 2021-05-19 at 11.57.55.png] > > Thanks in advance, > Vidak > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/43d16d1d-2d20-4a5c-840e-289b0edbe5bdn%40googlegroups.com.