Not Getting Native ad Impression in case Of GAM Mediation setup

206 views
Skip to first unread message

Harsh Shrivastava

unread,
Sep 12, 2023, 5:28:27 AM9/12/23
to Google Mobile Ads SDK Developers
Hello ,

I created a library for GAM Ads unit implementation and I created one more package for GAM Mediation inside the GAM Mediation package . I'm not able to track Impressions of Native Ad in my GAM Dashboard while on the Client side it shows I delivered Ad via Mediation. 

I read the whole Documentation and Example code for Mediation Setup , Here I attached same links that I already go through while developing that package.

Mobile Ads SDK Forum Advisor

unread,
Sep 12, 2023, 11:55:04 AM9/12/23
to harsh.sh...@z1tech.com, google-adm...@googlegroups.com

Hi Harsh,

Thank you for reaching out to us.

For us to have a better view of your concern, can you provide us additional information so we can further check it in our end?

  • Sample app project where the behavior is reproducible
  • Steps to replicate
  • Screen recording of the behavior
  • Charles Log
  • SDK version
  • Device name and version affected
  • Mediation network used

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002okVztQAE&entry.80707362=00198056

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

This message is in relation to case "ref:_00D1U1174p._5004Q2okVzt:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Harsh Shrivastava

unread,
Sep 14, 2023, 3:05:30 AM9/14/23
to Google Mobile Ads SDK Developers
Hi Google Teams,

I attached all documents with Google Form , that you provided for fill. 
Please take a Look and provide me solution. I'm getting impression in Publisher side GAM , but I want impression count in my GAM Dashboard.  

Mobile Ads SDK Forum Advisor

unread,
Sep 14, 2023, 6:48:54 AM9/14/23
to harsh.sh...@z1tech.com, google-adm...@googlegroups.com
Hi Harsh,

Thank you for getting back to us.

I've checked the project file that you provided and I can confirm that its implementation is fine. In order for us to accurately identify the issue at hand, we would need a Charles Log (https://www.charlesproxy.com/documentation/getting-started/) - Instructions (https://support.google.com/admanager/answer/6206401?hl=en) capturing the ad request. This will greatly help us to check if the impression ping was indeed sent to the ad-server (GAM).

Harsh Shrivastava

unread,
Sep 14, 2023, 7:24:54 AM9/14/23
to Google Mobile Ads SDK Developers
Hi Google Teams,
I already send you a Charles log file in the Google Form.
Can you check it . 

Harsh Shrivastava

unread,
Sep 14, 2023, 7:59:31 AM9/14/23
to Google Mobile Ads SDK Developers
Hi Google team ,
I attached again Charles Log file with this reply. 

NativeSampleAdLogs.chls

Mobile Ads SDK Forum Advisor

unread,
Sep 14, 2023, 1:50:11 PM9/14/23
to harsh.sh...@z1tech.com, google-adm...@googlegroups.com

Hi Harsh,

Thank you for your response.

Allow us to share this to the wider team to further investigate. Rest assured that one of our team will reach out to you. 

Harsh Shrivastava

unread,
Sep 14, 2023, 2:18:53 PM9/14/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Hi Google team ,
I'm allowing to your team . Please provide me solution for above issue as soon as possible. 

Thanks & Regards

Harsh Shrivastava

unread,
Sep 16, 2023, 4:31:10 AM9/16/23
to Google Mobile Ads SDK Developers
Hi Google Team ,

Please update me regarding that issue.

Thanks and Regards

Mobile Ads SDK Forum Advisor

unread,
Sep 18, 2023, 2:48:35 AM9/18/23
to harsh.sh...@z1tech.com, google-adm...@googlegroups.com
Hello Harsh,

Thanks for reaching out.

Through looking at the attached Charles log, I can see impression is being recorded by the Google Mobile Ads SDK for the custom event with the class `z1tech.android.mediation.bidder.adapters.MediationNativeEventAdapter`.

I would suggest reaching out to Ad Manager product support and provide them the link of the report that isn't showing the impressions for that custom event ad source.


Regards,
Joshua

ref:_00D1U1174p._5004Q2okVzt:ref

Harsh Shrivastava

unread,
Sep 18, 2023, 8:43:35 AM9/18/23
to Google Mobile Ads SDK Developers
Hi Joshua,

Indeed it's reporting an ad impression for the customEvent class for the publisher. However, we were trying to test the setup by sending the ad request to our GAM internally when we are receiving the ad request from publisher's mediation setup. While our GAM (which we are using internally to cater to the publisher's ad request) is receiving the ad request and is able to respond back with the native ad's elements as well, it's not able to report an impression when the creative is finally rendered on the publisher's mobile app.

GIST :
Publisher's GAM is reporting an ad request
Publisher's GAM is reporting an ad impression
Publisher's App is displaying the native adOur GAM is reporting an ad request
Our GAM is reporting a code serve count
Our GAM is not reporting an ad impression

Regards,
Harsh 

Mobile Ads SDK Forum Advisor

unread,
Sep 19, 2023, 7:51:42 PM9/19/23
to harsh.sh...@z1tech.com, google-adm...@googlegroups.com
Hello Harsh,

Thanks for the information.

A few follow-ups:
  • Can you clarify what is "our GAM" referring to?
  • Regarding "our GAM is not reporting an ad impression", would you mean when publisher shows an ad rendered by the custom event adapter, an impression is being recorded, but it's not the case on your end?
  • Were the previous Charles logs captured by the publisher?

Harsh Shrivastava

unread,
Sep 20, 2023, 2:06:12 AM9/20/23
to Google Mobile Ads SDK Developers
Hi Google Team,
  • 1st : Publisher's GAM through which they are generating the mediation ad request and passing it to our custom event class
  • 2nd : Our organization's GAM which we are using to serve the demand for the ad request generated by the publisher's end. This is the one which we are referring to as "Our GAM"
  • In Charles Log file there are 2 requests one is from Publisher Side GAM SDK send and another Request send by Our Custom Event Class GAM ,Team can differentiate the requests by tags :
    • Publisher End Tag : /22100121508/montest/net_one97_paytm/ellipsis_dfp_in_app_paytm_secure_n_ellipsis_pre_1
    • Our GAM Tag : /26001828/montest/net_one97_paytm/z1_dfp_in_app_paytm_secure_n_Z1_pre_2
Regards,
Harsh

Reply all
Reply to author
Forward
0 new messages