I did query google client of type SearchGoogleAdsStreamRequest with a customer id and a query value. My query text is - query_text = """ SELECT asset.promotion_asset.ad_schedule_targets, asset.promotion_asset.discount_modifier, asset.promotion_asset.end_date, asset.promotion_asset.language_code, asset.promotion_asset.money_amount_off.amount_micros, asset.promotion_asset.money_amount_off.currency_code, asset.promotion_asset.occasion, asset.promotion_asset.orders_over_amount.amount_micros, asset.promotion_asset.orders_over_amount.currency_code, asset.promotion_asset.percent_off, asset.promotion_asset.promotion_code, asset.promotion_asset.promotion_target, asset.promotion_asset.redemption_end_date, asset.promotion_asset.redemption_start_date, asset.promotion_asset.start_date FROM asset """ The search stream returns me response object and when I check it its result, I get results like this - asset { resource_name: "customers/1734******/assets/39213******" }
So, I think it returns me asset ids of that customer. How to retreive the promotion details from the asset id? Regards, Sudeep On Friday, 12 August 2022 at 17:43:36 UTC-4 Sudeep Datta wrote: > Hi Team, > > > > I would like to know if we can query all accounts with all promotion > status which is present under Billing using Google Ads API? I want to query > the account name, Id, promotion status, date redeemed, and If yes, then > please guide me with link from the API docs. > > > > Regards, > > Sudeep > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/503cdab6-c60d-47a5-8168-30d3f90b6f58n%40googlegroups.com.