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
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/cd1a09ec-a6d3-4d73-9868-fb37256f0839%40googlegroups.com.