OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/adexchange.buyer": { | 5 "https://www.googleapis.com/auth/adexchange.buyer": { |
6 "description": "Manage your Ad Exchange buyer account config
uration" | 6 "description": "Manage your Ad Exchange buyer account config
uration" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/adexchangebuyer/v1.4/", | 11 "basePath": "/adexchangebuyer/v1.4/", |
12 "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/", | 12 "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Ad Exchange Buyer", | 14 "canonicalName": "Ad Exchange Buyer", |
15 "description": "Accesses your bidding-account information, submits creatives
for validation, finds available direct deals, and retrieves performance reports
.", | 15 "description": "Accesses your bidding-account information, submits creatives
for validation, finds available direct deals, and retrieves performance reports
.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", | 17 "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", |
18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/gBf-L8hU2vSAjlFpvr_ZRh1Vf_I\"", | 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/XJ8vjwOJUtuz-unNR2L_5stMJIc\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", | 20 "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", |
21 "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" | 21 "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" |
22 }, | 22 }, |
23 "id": "adexchangebuyer:v1.4", | 23 "id": "adexchangebuyer:v1.4", |
24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
25 "name": "adexchangebuyer", | 25 "name": "adexchangebuyer", |
26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 27 "ownerName": "Google", |
28 "parameters": { | 28 "parameters": { |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1248 "response": { | 1248 "response": { |
1249 "$ref": "GetPublisherProfilesByAccountIdResponse" | 1249 "$ref": "GetPublisherProfilesByAccountIdResponse" |
1250 }, | 1250 }, |
1251 "scopes": [ | 1251 "scopes": [ |
1252 "https://www.googleapis.com/auth/adexchange.buyer" | 1252 "https://www.googleapis.com/auth/adexchange.buyer" |
1253 ] | 1253 ] |
1254 } | 1254 } |
1255 } | 1255 } |
1256 } | 1256 } |
1257 }, | 1257 }, |
1258 "revision": "20170118", | 1258 "revision": "20170215", |
1259 "rootUrl": "https://www.googleapis.com/", | 1259 "rootUrl": "https://www.googleapis.com/", |
1260 "schemas": { | 1260 "schemas": { |
1261 "Account": { | 1261 "Account": { |
1262 "description": "Configuration data for an Ad Exchange buyer account.
", | 1262 "description": "Configuration data for an Ad Exchange buyer account.
", |
1263 "id": "Account", | 1263 "id": "Account", |
1264 "properties": { | 1264 "properties": { |
1265 "bidderLocation": { | 1265 "bidderLocation": { |
1266 "description": "Your bidder locations that have distinct URL
s.", | 1266 "description": "Your bidder locations that have distinct URL
s.", |
1267 "items": { | 1267 "items": { |
1268 "properties": { | 1268 "properties": { |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 "type": "string" | 1573 "type": "string" |
1574 }, | 1574 }, |
1575 "type": "array" | 1575 "type": "array" |
1576 }, | 1576 }, |
1577 "advertiserName": { | 1577 "advertiserName": { |
1578 "annotations": { | 1578 "annotations": { |
1579 "required": [ | 1579 "required": [ |
1580 "adexchangebuyer.creatives.insert" | 1580 "adexchangebuyer.creatives.insert" |
1581 ] | 1581 ] |
1582 }, | 1582 }, |
1583 "description": "The name of the company being advertised in
the creative.", | 1583 "description": "The name of the company being advertised in
the creative. The value provided must exist in the advertisers.txt file.", |
1584 "type": "string" | 1584 "type": "string" |
1585 }, | 1585 }, |
1586 "agencyId": { | 1586 "agencyId": { |
1587 "description": "The agency id for this creative.", | 1587 "description": "The agency id for this creative.", |
1588 "format": "int64", | 1588 "format": "int64", |
1589 "type": "string" | 1589 "type": "string" |
1590 }, | 1590 }, |
1591 "apiUploadTimestamp": { | 1591 "apiUploadTimestamp": { |
1592 "description": "The last upload timestamp of this creative i
f it was uploaded via API. Read-only. The value of this field is generated, and
will be ignored for uploads. (formatted RFC 3339 timestamp).", | 1592 "description": "The last upload timestamp of this creative i
f it was uploaded via API. Read-only. The value of this field is generated, and
will be ignored for uploads. (formatted RFC 3339 timestamp).", |
1593 "format": "date-time", | 1593 "format": "date-time", |
1594 "type": "string" | 1594 "type": "string" |
1595 }, | 1595 }, |
1596 "attribute": { | 1596 "attribute": { |
1597 "description": "All attributes for the ads that may be shown
from this snippet.", | 1597 "description": "List of buyer selectable attributes for the
ads that may be shown from this snippet. Each attribute is represented by an int
eger as defined in buyer-declarable-creative-attributes.txt.", |
1598 "items": { | 1598 "items": { |
1599 "format": "int32", | 1599 "format": "int32", |
1600 "type": "integer" | 1600 "type": "integer" |
1601 }, | 1601 }, |
1602 "type": "array" | 1602 "type": "array" |
1603 }, | 1603 }, |
1604 "buyerCreativeId": { | 1604 "buyerCreativeId": { |
1605 "annotations": { | 1605 "annotations": { |
1606 "required": [ | 1606 "required": [ |
1607 "adexchangebuyer.creatives.insert" | 1607 "adexchangebuyer.creatives.insert" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 "reasons": { | 1698 "reasons": { |
1699 "description": "The filtering reasons.", | 1699 "description": "The filtering reasons.", |
1700 "items": { | 1700 "items": { |
1701 "properties": { | 1701 "properties": { |
1702 "filteringCount": { | 1702 "filteringCount": { |
1703 "description": "The number of times the
creative was filtered for the status. The count is aggregated across all publish
ers on the exchange.", | 1703 "description": "The number of times the
creative was filtered for the status. The count is aggregated across all publish
ers on the exchange.", |
1704 "format": "int64", | 1704 "format": "int64", |
1705 "type": "string" | 1705 "type": "string" |
1706 }, | 1706 }, |
1707 "filteringStatus": { | 1707 "filteringStatus": { |
1708 "description": "The filtering status cod
e. Please refer to the creative-status-codes.txt file for different statuses.", | 1708 "description": "The filtering status cod
e as defined in creative-status-codes.txt.", |
1709 "format": "int32", | 1709 "format": "int32", |
1710 "type": "integer" | 1710 "type": "integer" |
1711 } | 1711 } |
1712 }, | 1712 }, |
1713 "type": "object" | 1713 "type": "object" |
1714 }, | 1714 }, |
1715 "type": "array" | 1715 "type": "array" |
1716 } | 1716 } |
1717 }, | 1717 }, |
1718 "type": "object" | 1718 "type": "object" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1848 "type": "string" | 1848 "type": "string" |
1849 } | 1849 } |
1850 }, | 1850 }, |
1851 "type": "object" | 1851 "type": "object" |
1852 }, | 1852 }, |
1853 "openAuctionStatus": { | 1853 "openAuctionStatus": { |
1854 "description": "Top-level open auction status. Read-only. Th
is field should not be set in requests. If disapproved, an entry for auctionType
=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this ma
y be nuanced with other contextual restrictions, in which case it may be prefera
ble to read from ServingRestrictions directly.", | 1854 "description": "Top-level open auction status. Read-only. Th
is field should not be set in requests. If disapproved, an entry for auctionType
=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this ma
y be nuanced with other contextual restrictions, in which case it may be prefera
ble to read from ServingRestrictions directly.", |
1855 "type": "string" | 1855 "type": "string" |
1856 }, | 1856 }, |
1857 "productCategories": { | 1857 "productCategories": { |
1858 "description": "Detected product categories, if any. Read-on
ly. This field should not be set in requests.", | 1858 "description": "Detected product categories, if any. Each ca
tegory is represented by an integer as defined in ad-product-categories.txt. Re
ad-only. This field should not be set in requests.", |
1859 "items": { | 1859 "items": { |
1860 "format": "int32", | 1860 "format": "int32", |
1861 "type": "integer" | 1861 "type": "integer" |
1862 }, | 1862 }, |
1863 "type": "array" | 1863 "type": "array" |
1864 }, | 1864 }, |
1865 "restrictedCategories": { | 1865 "restrictedCategories": { |
1866 "description": "All restricted categories for the ads that m
ay be shown from this snippet.", | 1866 "description": "All restricted categories for the ads that m
ay be shown from this snippet. Each category is represented by an integer as def
ined in the ad-restricted-categories.txt.", |
1867 "items": { | 1867 "items": { |
1868 "format": "int32", | 1868 "format": "int32", |
1869 "type": "integer" | 1869 "type": "integer" |
1870 }, | 1870 }, |
1871 "type": "array" | 1871 "type": "array" |
1872 }, | 1872 }, |
1873 "sensitiveCategories": { | 1873 "sensitiveCategories": { |
1874 "description": "Detected sensitive categories, if any. Read-
only. This field should not be set in requests.", | 1874 "description": "Detected sensitive categories, if any. Each
category is represented by an integer as defined in ad-sensitive-categories.txt
. Read-only. This field should not be set in requests.", |
1875 "items": { | 1875 "items": { |
1876 "format": "int32", | 1876 "format": "int32", |
1877 "type": "integer" | 1877 "type": "integer" |
1878 }, | 1878 }, |
1879 "type": "array" | 1879 "type": "array" |
1880 }, | 1880 }, |
1881 "servingRestrictions": { | 1881 "servingRestrictions": { |
1882 "description": "The granular status of this ad in specific c
ontexts. A context here relates to where something ultimately serves (for exampl
e, a physical location, a platform, an HTTPS vs HTTP request, or the type of auc
tion). Read-only. This field should not be set in requests.", | 1882 "description": "The granular status of this ad in specific c
ontexts. A context here relates to where something ultimately serves (for exampl
e, a physical location, a platform, an HTTPS vs HTTP request, or the type of auc
tion). Read-only. This field should not be set in requests.", |
1883 "items": { | 1883 "items": { |
1884 "properties": { | 1884 "properties": { |
1885 "contexts": { | 1885 "contexts": { |
1886 "description": "All known contexts/restrictions.
", | 1886 "description": "All known contexts/restrictions.
", |
1887 "items": { | 1887 "items": { |
1888 "properties": { | 1888 "properties": { |
1889 "auctionType": { | 1889 "auctionType": { |
1890 "description": "Only set when contex
tType=AUCTION_TYPE. Represents the auction types this restriction applies to.", | 1890 "description": "Only set when contex
tType=AUCTION_TYPE. Represents the auction types this restriction applies to.", |
1891 "items": { | 1891 "items": { |
1892 "type": "string" | 1892 "type": "string" |
1893 }, | 1893 }, |
1894 "type": "array" | 1894 "type": "array" |
1895 }, | 1895 }, |
1896 "contextType": { | 1896 "contextType": { |
1897 "description": "The type of context
(e.g., location, platform, auction type, SSL-ness).", | 1897 "description": "The type of context
(e.g., location, platform, auction type, SSL-ness).", |
1898 "type": "string" | 1898 "type": "string" |
1899 }, | 1899 }, |
1900 "geoCriteriaId": { | 1900 "geoCriteriaId": { |
1901 "description": "Only set when contex
tType=LOCATION. Represents the geo criterias this restriction applies to.", | 1901 "description": "Only set when contex
tType=LOCATION. Represents the geo criterias this restriction applies to. Impres
sions are considered to match a context if either the user location or publisher
location matches a given geoCriteriaId.", |
1902 "items": { | 1902 "items": { |
1903 "format": "int32", | 1903 "format": "int32", |
1904 "type": "integer" | 1904 "type": "integer" |
1905 }, | 1905 }, |
1906 "type": "array" | 1906 "type": "array" |
1907 }, | 1907 }, |
1908 "platform": { | 1908 "platform": { |
1909 "description": "Only set when contex
tType=PLATFORM. Represents the platforms this restriction applies to.", | 1909 "description": "Only set when contex
tType=PLATFORM. Represents the platforms this restriction applies to.", |
1910 "items": { | 1910 "items": { |
1911 "type": "string" | 1911 "type": "string" |
(...skipping 28 matching lines...) Expand all Loading... |
1940 "reason": { | 1940 "reason": { |
1941 "description": "Why the creative is ineligible t
o serve in this context (e.g., it has been explicitly disapproved or is pending
review).", | 1941 "description": "Why the creative is ineligible t
o serve in this context (e.g., it has been explicitly disapproved or is pending
review).", |
1942 "type": "string" | 1942 "type": "string" |
1943 } | 1943 } |
1944 }, | 1944 }, |
1945 "type": "object" | 1945 "type": "object" |
1946 }, | 1946 }, |
1947 "type": "array" | 1947 "type": "array" |
1948 }, | 1948 }, |
1949 "vendorType": { | 1949 "vendorType": { |
1950 "description": "All vendor types for the ads that may be sho
wn from this snippet.", | 1950 "description": "List of vendor types for the ads that may be
shown from this snippet. Each vendor type is represented by an integer as defin
ed in vendors.txt.", |
1951 "items": { | 1951 "items": { |
1952 "format": "int32", | 1952 "format": "int32", |
1953 "type": "integer" | 1953 "type": "integer" |
1954 }, | 1954 }, |
1955 "type": "array" | 1955 "type": "array" |
1956 }, | 1956 }, |
1957 "version": { | 1957 "version": { |
1958 "description": "The version for this creative. Read-only. Th
is field should not be set in requests.", | 1958 "description": "The version for this creative. Read-only. Th
is field should not be set in requests.", |
1959 "format": "int32", | 1959 "format": "int32", |
1960 "type": "integer" | 1960 "type": "integer" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 "nextPageToken": { | 2030 "nextPageToken": { |
2031 "description": "Continuation token used to page through crea
tives. To retrieve the next page of results, set the next request's \"pageToken\
" value to this.", | 2031 "description": "Continuation token used to page through crea
tives. To retrieve the next page of results, set the next request's \"pageToken\
" value to this.", |
2032 "type": "string" | 2032 "type": "string" |
2033 } | 2033 } |
2034 }, | 2034 }, |
2035 "type": "object" | 2035 "type": "object" |
2036 }, | 2036 }, |
2037 "DealServingMetadata": { | 2037 "DealServingMetadata": { |
2038 "id": "DealServingMetadata", | 2038 "id": "DealServingMetadata", |
2039 "properties": { | 2039 "properties": { |
| 2040 "alcoholAdsAllowed": { |
| 2041 "description": "True if alcohol ads are allowed for this dea
l (read-only). This field is only populated when querying for finalized orders u
sing the method GetFinalizedOrderDeals", |
| 2042 "type": "boolean" |
| 2043 }, |
2040 "dealPauseStatus": { | 2044 "dealPauseStatus": { |
2041 "$ref": "DealServingMetadataDealPauseStatus", | 2045 "$ref": "DealServingMetadataDealPauseStatus", |
2042 "description": "Tracks which parties (if any) have paused a
deal. (readonly, except via PauseResumeOrderDeals action)" | 2046 "description": "Tracks which parties (if any) have paused a
deal. (readonly, except via PauseResumeOrderDeals action)" |
2043 } | 2047 } |
2044 }, | 2048 }, |
2045 "type": "object" | 2049 "type": "object" |
2046 }, | 2050 }, |
2047 "DealServingMetadataDealPauseStatus": { | 2051 "DealServingMetadataDealPauseStatus": { |
2048 "description": "Tracks which parties (if any) have paused a deal. Th
e deal is considered paused if has_buyer_paused || has_seller_paused. Each of th
e has_buyer_paused or the has_seller_paused bits can be set independently.", | 2052 "description": "Tracks which parties (if any) have paused a deal. Th
e deal is considered paused if has_buyer_paused || has_seller_paused. Each of th
e has_buyer_paused or the has_seller_paused bits can be set independently.", |
2049 "id": "DealServingMetadataDealPauseStatus", | 2053 "id": "DealServingMetadataDealPauseStatus", |
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3603 "type": "string" | 3607 "type": "string" |
3604 } | 3608 } |
3605 }, | 3609 }, |
3606 "type": "object" | 3610 "type": "object" |
3607 } | 3611 } |
3608 }, | 3612 }, |
3609 "servicePath": "adexchangebuyer/v1.4/", | 3613 "servicePath": "adexchangebuyer/v1.4/", |
3610 "title": "Ad Exchange Buyer API", | 3614 "title": "Ad Exchange Buyer API", |
3611 "version": "v1.4" | 3615 "version": "v1.4" |
3612 } | 3616 } |
OLD | NEW |