Reputation: 1710
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
Upvotes: 3
Views: 947
Reputation: 6192
In Google Analytics the dimension ga:adwordsCreativeID
(API Reference) is equivalent to AdWords API Ad.id
and is likely to match your requirements
Upvotes: 2
Reputation: 116868
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
Upvotes: 1