Unknown token encountered when using the new Ad SDK

I have moved to using the new SDK and was hitting an issue with the AdControl I was using from there (in silverlight)– the control would raise the ErrorOccurred event and give “Unknown token encountered” as the description of the error..

Took me a bit, but the problem is that I am dynamically (programmatically) putting the control and am not setting the width/height on it (something that was not required before).

Once you manually set .Width to be 480 and .Height to be 80, it starts working again. Joy.

Advertisements
This entry was posted in Dev. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s