技术求助(获取资源位campaign_asset的数据为空)

109 views
Skip to first unread message

kyoo hk

unread,
Oct 28, 2021, 3:44:11 AM10/28/21
to AdWords API and Google Ads API Forum
SELECT asset.idasset.namecustomer.id, metrics.clicks FROM campaign_asset WHERE segments.date = '2021-10-27' LIMIT 10
这个GAQL语句对应的肯定是有数据的,但是执行时取不到数据;希望帮忙看下;是否需要获得其他权限才能使用这个GAQL语句;执行这个GAQL语句的返回值:



返回值一直是这个:
string(68) "{ "fieldMask": "asset.id,asset.name,customer.id,metrics.clicks" } "

Google Ads API Forum Advisor

unread,
Oct 28, 2021, 3:19:50 PM10/28/21
to kyooga...@gmail.com, adwor...@googlegroups.com
Hi there,

Thank you for reaching out to Google Ads API support. This product only officially offers support in English.  It would be best to reply in English if you can.  If not, we will try to use Google Translate to support you as best as we can.

To assist you, could you provide us privately with logs of request and response to the API, along with a screenshot of the metrics in the UI that so that we can replicate the discrepancy between the API and the UI? 

The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". The logs can be generated when setting the logger to 'DEBUG'.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2QFvXS:ref
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Google Ads API Forum Advisor

unread,
Nov 2, 2021, 9:04:46 AM11/2/21
to kyooga...@gmail.com, adwor...@googlegroups.com
Hi there,

I had to delete your public posts because they contain logs. I received your logs sent privately.  Could you privately send a screenshot in English?
Reply all
Reply to author
Forward
0 new messages