video取数据一直返回这个,是有变动么?

51 views
Skip to first unread message

kyoo hk

unread,
Aug 17, 2021, 5:19:51 AM8/17/21
to AdWords API and Google Ads API Forum

之前可以获取数据;现在只返回这个
array (
  'fieldMask' => 'video.id,video.title,video.resourceName,video.durationMillis,video.channelId,metrics.impressions,metrics.costMicros,metrics.clicks,metrics.engagements,segments.date,metrics.allConversions,metrics.conversions,metrics.allConversionsValue,metrics.conversionsValue,campaign.id,customer.id',
)

GAQL语句是:
SELECT video.id, video.title, video.resource_name, video.duration_millis, video.channel_id, metrics.impressions, metrics.cost_micros, metrics.clicks, metrics.engagements, segments.date, metrics.all_conversions, metrics.conversions, metrics.all_conversions_value, metrics.conversions_value, campaign.id, customer.id FROM video

Google Ads API Forum Advisor

unread,
Aug 18, 2021, 1:31:48 AM8/18/21
to kyooga...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to us.

Upon checking the GAQL you’ve provided with us, it appears that your query don’t have the filtering conditions in the WHERE clause. Note that the WHERE clause must combine to form a valid, finite date range composed of the core date segments 'segments.date', 'segments.week', 'segments.month', 'segments.quarter', 'segments.year' if a core date segment is present in a query. Once you fix your query, you may try to run against your Google Ads account.

Also, to help you build your query, we suggest that you use the Query Builder specific to the keyword_view instead or use the Query Validator.

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 



 

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