• Resolved gerritelbrink

    (@gerritelbrink)


    Hi Thomas!

    Thanks again for the great plugin, it’s still working pretty smooth. I have a question regarding the impressions, this one is a bit more in depth:

    I have programmed a shortcode item in PHP in order to display multiple ads in our result lists. So far so good, but I get some weird results with the impressions. I have created an ad group (main), which itself contains a couple of ad groups. It seems however that the “main” group gets about half the impressions as the ads it contains.

    Because of this, I get the impression that when I call an ad group using “new Advanced_Ads_Group()”, and after that use the “get_ad()” function to retrieve some extra information about the ads, this counts as 2 impressions for the ad.

    My question is: is this correct, and if yes, is it possible to call the “get_ad()” function without invoking an impression?

    Thanks in advance,

    Gerrit

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi Gerrit,

    thanks for reaching out.

    get_ad() would indeed count an impression. In order to get access to additional ad information, you could use new Advanced_Ads_Ad( AD_ID ). Would that help?

    Best regards,
    Thomas

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Gerrit,

    were you able to update your code so that it doesn’t count the impression multiple times or is there anything else I can help you with?

    Thomas

    Thread Starter gerritelbrink

    (@gerritelbrink)

    Hi Thomas!

    Sorry, I didn’t see the reply. Indeed, this helps. Thanks!

    Best wishes,

    Gerrit

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Retrieving Ad information without adding an impression’ is closed to new replies.