Re: AFMC problem

58 views
Skip to first unread message

Sérgio Gomes (AdSense API Team)

unread,
Jan 2, 2013, 8:26:04 AM1/2/13
to adsen...@googlegroups.com
Hi there!

It should be very similar to AFC, but using the properties in "mobileContentAdsSettings" instead. You can take a look at https://developers.google.com/adsense/host/v4.1/accounts/adunits for the list of properties.

Cheers,
Sérgio

---
Sérgio Gomes
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902

On Wednesday, 2 January 2013 10:06:08 UTC, sorry chou wrote:
HELLO:

does anyone knows how to use AdUnit.insert api to insert AFMC adunit?

where can find document or example?

thanks!

Sérgio Gomes (AdSense API Team)

unread,
Jan 3, 2013, 6:48:44 AM1/3/13
to adsen...@googlegroups.com
Hi there,

Hmm, that's a good point, we should add that information to our documentation, thanks. In the meantime, I'm attaching the list below, for all the ad unit properties:

customStyle.corners
SQUARE
SLIGHTLY_ROUNDED
VERY_ROUNDED


customStyle.font.family
ACCOUNT_DEFAULT_FAMILY
ADSENSE_DEFAULT_FAMILY
ARIAL
TIMES
VERDANA
 

customStyle.font.size
ACCOUNT_DEFAULT_SIZE
ADSENSE_DEFAULT_SIZE
SMALL
MEDIUM
LARGE

 
contentAdsSettings.type
TEXT
TEXT_IMAGE
IMAGE
LINK
 

contentAdsSettings.size
Regular ad unit sizes:

SIZE_728_90
SIZE_468_60
SIZE_336_280
SIZE_320_50
SIZE_300_600
SIZE_300_250
SIZE_250_250
SIZE_200_200
SIZE_234_60
SIZE_180_150
SIZE_160_600
SIZE_125_125
SIZE_120_600
SIZE_120_240
SIZE_970_90

Link ad unit sizes:
SIZE_728_15
SIZE_468_15
SIZE_200_90
SIZE_180_90
SIZE_160_90
SIZE_120_90

And for mobile ad units:
WAP_SINGLE
WAP_DOUBLE

 
mobileContentAdsSettings.markupLanguage
XHTML
WML
CHTML

 
mobileContentAdsSettings.scriptingLanguage
PHP
CGI
JSP
ASP


Hope I didn't forget anything!

Cheers,
Sérgio

---
Sérgio Gomes
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


On Thursday, 3 January 2013 07:47:05 UTC, sorry chou wrote:
Hello:

Thanks for your quickly response!

mobileContentAdsSettings.type (TEXT/IMAGE/?)
mobileContentAdsSettings.size string (SIZE_320_50 ?)
mobileContentAdsSettings.markupLanguage (XHTML ?)
mobileContentAdsSettings.scriptingLanguage (PHP ?)

i try to set value to those fields but don't work, do you know the available value of each field?

thanks!!

Sérgio Gomes (AdSense API Team)於 2013年1月2日星期三UTC+8下午9時26分04秒寫道:

sorry chou

unread,
Jan 3, 2013, 7:25:58 AM1/3/13
to adsen...@googlegroups.com
HIHI:

you saved my life :)

thank you~

Sérgio Gomes (AdSense API Team)於 2013年1月3日星期四UTC+8下午7時48分44秒寫道:
Reply all
Reply to author
Forward
0 new messages