forked from jaanauati/react-dfp-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.json
55 lines (55 loc) · 2.25 KB
/
api.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"Examples": {
"basic": { "sidebarTitle": "Basic Example", "title": "Basic Example" },
"refreshing": { "sidebarTitle": "Refreshable ads 1", "title": "Refreshable ads 1", "example": "refreshable" },
"refreshing-params": { "sidebarTitle": "Refreshable ads 2", "title": "Refreshable ads 2", "example": "refreshableParams" }
},
"AdSlot": {
"dfpNetworkId": {},
"adUnit": {},
"slotId": {},
"sizes": {},
"sizeMapping": {},
"adSenseAttributes": {},
"targetingArguments": {},
"onSlotRender": {},
"onSlotIsViewable": {},
"onSlotVisibilityChanged": {},
"renderOutOfThePage": {},
"shouldRefresh": {}
},
"DFPSlotsProvider": {
"dfpNetworkId": {},
"personalizedAds": {},
"cookieOption": {},
"singleRequest": {},
"disableInitialLoad": {},
"lazyLoad": {},
"adUnit": {},
"autoLoad": {},
"autoReload": {},
"sizeMapping": {},
"adSenseAttributes": {},
"targetingArguments": {},
"collapseEmptyDivs": {}
},
"DFPManager": {
"getGoogletag": { "sidebarTitle": "getGoogletag()" },
"load": { "sidebarTitle": "load(...slotId)" },
"refresh": {
"title": "refresh(...slotId)",
"sidebarTitle": "refresh(...slotId)"
},
"reload": { "sidebarTitle": "reload(...slotId)" },
"configureSingleRequest": { "sidebarTitle": "configureSingleRequest(bool)" },
"configureLazyLoad": { "sidebarTitle": "configureLazyLoad(bool, object)" },
"singleRequestIsEnabled": { "sidebarTitle": "singleRequestIsEnabled()" },
"configurePersonalizedAds": { "sidebarTitle": "configurePersonalizedAds(bool)" },
"setAdSenseAttributes": { "sidebarTitle": "setAdSenseAttributes({...attrs})" },
"getAdSenseAttributes": { "sidebarTitle": "getAdSenseAttributes()" },
"setAdSenseAttribute": { "sidebarTitle": "setAdSenseAttribute(name, val)" },
"getAdSenseAttribute": { "sidebarTitle": "getAdSenseAttribute(name)" },
"setTargetingArguments": { "sidebarTitle": "setTargetingArguments({...args})" },
"setCollapseEmptyDivs" : { "sidebarTitle": "setCollapseEmptyDivs(arg)" }
}
}