简体   繁体   中英

How to separate Video campaigns from Display campaigns in Google Analytics via the PHP API

I'm using the PHP API to pull in data from analytics and separating out the results via the display and google search like so:

ga:adDistributionNetwork=@Content

and for search:

ga:adDistributionNetwork=@Google Search

The problem is the ad distribution network for content is putting together all the Display campaign results and Video campaign results into one calculation under content.

In adwords this data is separated as expected:

在此处输入图片说明

In Google Analytics the data is only split via search and display but display includes the video data as well.

在此处输入图片说明

Doe's anyone know how to separate the data in Google Analytics, therefore, being able to access the data via the API?

I believe what you're looking for is the ga:istrueviewvideoad dimension, which to my knowledge is the only AdWords video-related dimension/metric available via the GA API .

If this doesn't include all video content, it seems your workaround would be to include a keywords (eg "vid" ) in your campaigns or ad groups and filter based on that keyword.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM