Pass/Overwrite "npa" value on every ad request

172 views
Skip to first unread message

Matthew Lu

unread,
Jun 6, 2022, 5:29:46 AM6/6/22
to Interactive Media Ads SDK
Hi Team,

I am using the Android DAI SDK, want to find a way to pass/overwrite the "npa" value
for every ad requests.


I understand we could use "adTagParameters" to overwrite "npa" value when requesting a video,  but after that when requesting ads,  I am not able to see the "npa" value get passed to "https://pubads.g.doubleclick.net/gampad/ads?ad_rule=1&an=xxxxx&cmsid=xxx&correlator=1050530719017148&cust_params=cxid%3D51f87965-a92b-47ec-8353-xxx"

so is there way to pass/overwrite the "npa" value in every ad request?

I had looked at the below link:


Regards,
Matthew

IMA SDK

unread,
Jun 7, 2022, 12:58:18 AM6/7/22
to ima...@googlegroups.com

Hello Matthew,

 

Michael here from IMA SDK Team. Thank you for reaching out to us.

 

I believe adTagParameters is the correct way of overriding some of the parameters of your stream request, including the npa value. However, would you be able to share with us the sample project implementation where you are attempting to override the npa value through adTagParameters but is not being reflected after all? Kindly indicate what SDK version you are using for testing, although we highly recommend using the latest version of the SDK. Kindly include the navigation steps to reproduce the behavior on our end. A screen recording / screenshot of the issue will help for better illustration of the problem.

Regards,

Google Logo
Michael Angelo
IMA SDK Team
 


ref:_00D1U1174p._5004Q2bcYsu:ref

IMA SDK

unread,
Jun 7, 2022, 12:59:46 AM6/7/22
to ima...@googlegroups.com

Hello Matthew,

 

In addition to my previous response, please share the requested details by following the upload form below.

 

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=IMA+SDK&entry.460850823=5004Q00002bcYsuQAE&entry.80707362=00110044

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.

Matthew Lu

unread,
Jun 7, 2022, 2:30:23 AM6/7/22
to Interactive Media Ads SDK
Hi Team,

It's working on the first request after adding "NPA" to  adTagParameters, but all the subsequent requests to ""https://pubads.g.doubleclick.netxxxx" are not seeing the "NPA" value. 


Is it suppose like that or we will have a way to add "npa" to all ""https://pubads.g.doubleclick.net" requests. ?

IMA SDK

unread,
Jun 7, 2022, 11:50:22 PM6/7/22
to ima...@googlegroups.com

Hello Matthew,

 

Thank you for your response.

 

I believe the npa value should show up at every request you make (one per vast ad tag). It means, that if you make another ad request call, and set the npa parameter, then it should be reflected and all the ads that will be returned are considered non-personalized.

 

However, to reiterate, should you need us to further investigate the issue, would you be able to share with us the sample project implementation where you are attempting to override the npa value through adTagParameters but is not being reflected after all? Kindly indicate what SDK version you are using for testing, although we highly recommend using the latest version of the SDK. Kindly include the navigation steps to reproduce the behavior on our end. A screen recording / screenshot of the issue will help for better illustration of the problem.

 

Reply all
Reply to author
Forward
0 new messages