简体   繁体   中英

How to get the unique id of an ad from google analytics api

I am newcomer to the Google Analytics API , there is any way to extract the AdId form this api, Google adwords api provides a unique id of each Ad.

I have been able to extract ga:adwordsCampaignID and ga:adwordsAdGroupID from Google Analytics API. I am having trouble finding an option for Ad Id

在Google Analytics中,维度ga:adwordsCreativeID (API参考)等同于AdWords API Ad.id ,可能符合您的要求

At this time the Ad id is not available though the Google analytics API. Currently only the following are available to you to extract though the Google Analytics api:

ga:adGroup ga:adSlot ga:adSlotPosition ga:adDistributionNetwork ga:adMatchType ga:adKeywordMatchType ga:adMatchedQuery ga:adPlacementDomain ga:adPlacementUrl ga:adFormat ga:adTargetingType ga:adTargetingOption ga:adDisplayUrl ga:adDestinationUrl ga:adwordsCustomerID ga:adwordsCampaignID ga:adwordsAdGroupID ga:adwordsCreativeID ga:adwordsCriteriaID ga:adQueryWordCount ga:isTrueViewVideoAd

New dimensions and metrics are being added from time to time. You may want to check this page and see if it is added in the future. Adwords - Dimensions & Metrics Reference

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