Native Ad

81 views
Skip to first unread message

Ali

unread,
Sep 20, 2022, 12:08:02 PM9/20/22
to Google Mobile Ads SDK Developers
Hi, 

Could you please verify this implementation for native ad image, is this correct or not ? 

if (this.nativeAd.GetImageTextures().Count > 0)
{
List<Texture2D> imageList = this.nativeAd.GetImageTextures();
mainAdImage.texture = imageList[0];
List<GameObject> regList = new List<GameObject>();
regList.Add(mainAdImage.gameObject);
this.nativeAd.RegisterImageGameObjects(regList);
}
 
thanks 

Mobile Ads SDK Forum Advisor

unread,
Sep 20, 2022, 10:14:31 PM9/20/22
to shehr...@gmail.com, google-adm...@googlegroups.com

Hi Ali,

Thank you for reaching out to us.

With regard to your concern, you may check this documentation for reference in implementing your native ads. Then, if you're not experiencing any error in this implementation, then it is safe to say that your implementation is correct. But, if you encounter any error on this, kindly provide us the whole implementation or sample project file so we can have a better look into the whole application process. You can provide it at the link below if you encounter any error.

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=5004Q00002eddsJQAQ&entry.80707362=00130814

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.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eddsJ:ref
Reply all
Reply to author
Forward
0 new messages