Hi Gourav,
Thank you for reaching out to us. You can add custom parameters when you generate your ad tag via your Ad Manager account or by using cust_params keyword. You can refer to this documentation for more information. I would also suggest reaching out to your ad provider for further assistance with regard to adding custom parameters in ad tag URLs.
Regards,
Sherwin Diesta
IMA SDK Team
Hi Sergio,
Thank you for reaching out to us.
If you're going to override a limited set of ad tag parameters on your stream request via the IMA SDK for Android then you should not url-encode the strings for cust_params. On the other hand, if you're going to add key-values to a master video ad tag in Ad Manager then you should use the encoded values for your cust_params.
I would suggest reaching out to your ad provider or you can visit the Google Ad Manager help center for further assistance regarding your concern.
Regards,
Sherwin Diesta
IMA SDK Team
Hi Sergio,
Thank you for your response and for sharing this information. I'm afraid, we do not have a sample code for testing at the moment.
However, based on the options that you've shared, the option #3 would be the best option to add key-values into your master video ad tag using the encoded values, as this will coincide with the recommendation in this Google Ad Manager documentation.
The non-encoded value is used for DAI IMA SDK for Android to override the cust_parameter through setAdTagParameters method during the stream request. The setExtraParameter on the other hand is not intended for overriding ad parameters, but instead for extra features within the SDK.
Regards,
Sherwin Diesta
IMA SDK Team