Does ad_group_ad_asset_view supports UAC ?

63 views
Skip to first unread message

Yang Wenjun

unread,
Jul 23, 2019, 2:22:12 AM7/23/19
to AdWords API and Google Ads API Forum
Hi Team,

I searched and found that there is a ad_group_ad_asset_view seems could fetch adasset metrics report. 

I also tried with GAQL. the  result is : no error and no data .

Not sure why. Please help. 

Below is the code I used to fetch data. 


def download_adasset_report(ga_client, customer_id):
    ga_service
= ga_client.get_service('GoogleAdsService', version='v2')
    query
= """
    select
        ad_group_ad_asset_view.performance_label,
        asset.id
    from
        ad_group_ad_asset_view
    where
        segments.date during LAST_7_DAYS
    """
    page_size = 10000
    results = ga_service.search(str(customer_id), query=query, page_size=page_size)
   
for result in results:
       
print(result)
       
break


customer_id = "4760203915"
rows = download_adasset_report(ga_client, customer_id)  



Many thanks!
Wenjun

Google Ads API Forum Advisor Prod

unread,
Jul 23, 2019, 5:52:26 PM7/23/19
to yang.ra...@gmail.com, adwor...@googlegroups.com
Hi Yang,

I suspect this is because that account has not been migrated yet to the new and improved version of App campaigns , but I'm checking with the reporting team and will get back to you once I have confirmation.

Thanks,
Josh, Google Ads API Team

ref:_00D1U1174p._5001UEG53Y:ref

Google Ads API Forum Advisor Prod

unread,
Jul 24, 2019, 7:13:35 PM7/24/19
to yang.ra...@gmail.com, adwor...@googlegroups.com
Hi Yang,

I confirmed that this is because the account in question has not been migrated to the new App campaign settings. Once the account is migrated, its assets will appear in the asset view you mentioned.
Reply all
Reply to author
Forward
0 new messages