Reputation: 41
I am trying to make our ad-network integration to amp now.
So I am troubled with the in-view
tracking method of amp-ad
.
If anyone has a good solution, would you please help me?
Our ad-network works as follows:
ad-info
and token
ad-info
to display adtoken
to tracking in-view
amp-ad
is handled inside an iframe when displaying ad.
Therefore, I can not give a token to in-view-tracking-url
to fire with amp-analytics
.
Would you please solve this?
I'm sorry that my English is not good. Thanks.
Upvotes: 1
Views: 744
Reputation: 41
Since it solved, I reported.
amp-ad
toamp-analytics
.in-view
ofamp-ad
, use:
https://github.com/ampproject/amphtml/blob/63e58efb2099a5ff819c3486bfa65a63d017273e/ads/README.md#ad-viewabilityYay !
Upvotes: 2