ad_group_ad_asset_view not returns any results

78 views
Skip to first unread message

yc

unread,
Sep 18, 2019, 3:56:21 AM9/18/19
to AdWords API and Google Ads API Forum
I am trying to use ad_group_ad_asset_view to get assets report per ad group but I can't get any results back from ad_group_ad_asset_view. btw I can only query asset by asset. Could you suggest where do I do wrong?
here is my code snippet:

''''
ga_service = client.get_service('GoogleAdsService', version='v2')
                                                                                                                                                                               
    query = ("SELECT ad_group_ad_asset_view.performance_label, asset.id FROM ad_group_ad_asset_view")
                                                                                                                                 
    results = ga_service.search(customer_id, query=query, page_size=page_size)
    print('%s' %results)              
    try:                                        
        print('test')                          
        for row in results:                
            print('ID %s' % (row.asset.id))
''''

Google Ads API Forum Advisor Prod

unread,
Sep 18, 2019, 11:23:52 AM9/18/19
to adwor...@googlegroups.com
Hi, 

The ad_group_ad_asset_view return the assets details associated with the specific ad group ad. If the asset is not associated with any ad, this might not return any results. Could you please share the client customer Id for the account using Reply privately to author, to investigate further?

Thanks,
Bharani, Google Ads API Team

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