Hi,
I have a problem with inserting an AdUnit for an AFMC.
Here is an AdUnit (AFMC) I am trying to insert...
{
"name": "Test Mobile",
"customStyle": {
"colors": {
"background": "ffffff",
"border": "000000",
"text": "000000",
"title": "000000",
"url": "0000ff"
},
"corners": "SQUARE",
"font": {
"family": "ARIAL",
"size": "MEDIUM"
},
"kind": "adsensehost#adStyle"
},
"kind": "adsensehost#adUnit",
"mobileContentAdsSettings": {
"markupLanguage": "XHTML",
"scriptingLanguage": "PHP",
"size": "SIZE_320_50",
"type": "TEXT"
}
}
...and it is the response I got.
400 Bad Request
- Show headers -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid ad unit type."
}
],
"code": 400,
"message": "Invalid ad unit type."
}
}
Could you please give me an exact working example of JSON for AFMC?
Thank you,
Dmitry