Skip to content

Commit

Permalink
google-api-go-client: update all APIs
Browse files Browse the repository at this point in the history
Change-Id: Id6810acd3d721a0c8ed0360b43cbf681ddfc92d9
Reviewed-on: https://code-review.googlesource.com/5451
Reviewed-by: Jaana Burcu Dogan <[email protected]>
Reviewed-by: Chris Broadfoot <[email protected]>
  • Loading branch information
broady committed Aug 2, 2016
1 parent fa0566a commit 593853e
Show file tree
Hide file tree
Showing 86 changed files with 34,081 additions and 8,370 deletions.
12 changes: 6 additions & 6 deletions acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
],
"enumDescriptions": [
"Not specified error.",
"Indicates the requested URL is not found for some reason -- for example,\nwe receive an HTTP error code 404 when it is crawled.",
"Indicates no AMP URL has been found in the HTML of the requested URL.",
"Indicates the requested URL is not found in the index, possibly because\nit's unable to be found, not able to be accessed by Googlebot, or some\nother error.",
"Indicates no AMP URL has been found that corresponds to the requested\nURL.",
"Indicates some kind of application error occurred at the server.\nClient advised to retry.",
"Indicates the requested URL is a valid AMP URL.\nDEPRECATED: API no longer returns URL_IS_INVALID_AMP error code and will\nbe removed in API version 2. Instead of returning error, the requested\nURL is returned as an AMP URL in AmpUrl response.",
"Indicates that the requested URL is an invalid AMP URL."
"DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a\nnon-error state, should not be relied upon as a sign of success or\nfailure. It will be removed in future versions of the API.",
"Indicates that an AMP URL has been found that corresponds to the request\nURL, but it is not valid AMP HTML."
],
"type": "string"
},
Expand Down Expand Up @@ -96,7 +96,7 @@
"type": "string"
},
"urls": {
"description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 10 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
"description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -127,7 +127,7 @@
"id": "BatchGetAmpUrlsResponse"
}
},
"revision": "20160621",
"revision": "20160728",
"basePath": "",
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",
Expand Down
32 changes: 17 additions & 15 deletions acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,25 @@ type AmpUrlError struct {
//
// Possible values:
// "ERROR_CODE_UNSPECIFIED" - Not specified error.
// "INPUT_URL_NOT_FOUND" - Indicates the requested URL is not found
// for some reason -- for example,
// we receive an HTTP error code 404 when it is crawled.
// "NO_AMP_URL" - Indicates no AMP URL has been found in the HTML of
// the requested URL.
// "INPUT_URL_NOT_FOUND" - Indicates the requested URL is not found in
// the index, possibly because
// it's unable to be found, not able to be accessed by Googlebot, or
// some
// other error.
// "NO_AMP_URL" - Indicates no AMP URL has been found that corresponds
// to the requested
// URL.
// "APPLICATION_ERROR" - Indicates some kind of application error
// occurred at the server.
// Client advised to retry.
// "URL_IS_VALID_AMP" - Indicates the requested URL is a valid AMP
// URL.
// DEPRECATED: API no longer returns URL_IS_INVALID_AMP error code and
// will
// be removed in API version 2. Instead of returning error, the
// requested
// URL is returned as an AMP URL in AmpUrl response.
// "URL_IS_INVALID_AMP" - Indicates that the requested URL is an
// invalid AMP URL.
// "URL_IS_VALID_AMP" - DEPRECATED: Indicates the requested URL is a
// valid AMP URL. This is a
// non-error state, should not be relied upon as a sign of success
// or
// failure. It will be removed in future versions of the API.
// "URL_IS_INVALID_AMP" - Indicates that an AMP URL has been found
// that corresponds to the request
// URL, but it is not valid AMP HTML.
ErrorCode string `json:"errorCode,omitempty"`

// ErrorMessage: An optional descriptive error message.
Expand Down Expand Up @@ -177,7 +179,7 @@ type BatchGetAmpUrlsRequest struct {
LookupStrategy string `json:"lookupStrategy,omitempty"`

// Urls: List of URLs to look up for the paired AMP URLs.
// The URLs are case-sensitive. Up to 10 URLs per lookup
// The URLs are case-sensitive. Up to 50 URLs per lookup
// (see [Usage Limits](/amp/cache/reference/limits)).
Urls []string `json:"urls,omitempty"`

Expand Down
68 changes: 57 additions & 11 deletions adexchangebuyer/v1.4/adexchangebuyer-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tKpytEjguJTF-o5VbDt6Z-bTBvE\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/OxFhwmXVMAvezu3DksziaPGZ_dY\"",
"discoveryVersion": "v1",
"id": "adexchangebuyer:v1.4",
"name": "adexchangebuyer",
"canonicalName": "Ad Exchange Buyer",
"version": "v1.4",
"revision": "20160606",
"revision": "20160721",
"title": "Ad Exchange Buyer API",
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -501,6 +501,13 @@
"type": "string",
"description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly."
},
"detectedDomains": {
"type": "array",
"description": "Detected domains for this creative. Read-only. This field should not be set in requests.",
"items": {
"type": "string"
}
},
"filteringReasons": {
"type": "object",
"description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.",
Expand Down Expand Up @@ -818,6 +825,9 @@
"type": "object",
"description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.",
"properties": {
"buyerPauseReason": {
"type": "string"
},
"firstPausedBy": {
"type": "string",
"description": "If the deal is paused, records which party paused the deal first."
Expand All @@ -827,6 +837,9 @@
},
"hasSellerPaused": {
"type": "boolean"
},
"sellerPauseReason": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -863,6 +876,10 @@
"$ref": "DealTermsNonGuaranteedFixedPriceTerms",
"description": "The terms for non-guaranteed fixed price deals."
},
"rubiconNonGuaranteedTerms": {
"$ref": "DealTermsRubiconNonGuaranteedTerms",
"description": "The terms for rubicon non-guaranteed deals."
},
"sellerTimeZone": {
"type": "string",
"description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)"
Expand Down Expand Up @@ -891,7 +908,12 @@
},
"guaranteedLooks": {
"type": "string",
"description": "Count of guaranteed looks. Required for deal, optional for product.",
"description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.",
"format": "int64"
},
"minimumDailyLooks": {
"type": "string",
"description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.",
"format": "int64"
}
}
Expand All @@ -912,7 +934,7 @@
},
"originalContractedQuantity": {
"type": "string",
"description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes publisher will book the deal with a impression buffer, however clients are billed using the original contracted quantity.",
"description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.",
"format": "int64"
},
"price": {
Expand Down Expand Up @@ -951,6 +973,20 @@
}
}
},
"DealTermsRubiconNonGuaranteedTerms": {
"id": "DealTermsRubiconNonGuaranteedTerms",
"type": "object",
"properties": {
"priorityPrice": {
"$ref": "Price",
"description": "Optional price for Rubicon priority access in the auction."
},
"standardPrice": {
"$ref": "Price",
"description": "Optional price for Rubicon standard access in the auction."
}
}
},
"DeleteOrderDealsRequest": {
"id": "DeleteOrderDealsRequest",
"type": "object",
Expand Down Expand Up @@ -1139,7 +1175,7 @@
"properties": {
"notes": {
"type": "array",
"description": "The list of matching notes.",
"description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.",
"items": {
"$ref": "MarketplaceNote"
}
Expand Down Expand Up @@ -1196,7 +1232,7 @@
},
"dealId": {
"type": "string",
"description": "A unique deal=id for the deal (readonly)."
"description": "A unique deal-id for the deal (readonly)."
},
"dealServingMetadata": {
"$ref": "DealServingMetadata",
Expand Down Expand Up @@ -1756,6 +1792,11 @@
"type": "string",
"description": "The currency code for the price."
},
"expectedCpmMicros": {
"type": "number",
"description": "In case of CPD deals, the expected CPM in micros.",
"format": "double"
},
"pricingType": {
"type": "string",
"description": "The pricing type for the deal/product."
Expand Down Expand Up @@ -1923,7 +1964,7 @@
},
"buyerContacts": {
"type": "array",
"description": "Optional contact information fort the buyer. (seller-readonly)",
"description": "Optional contact information of the buyer. (seller-readonly)",
"items": {
"$ref": "ContactInformation"
}
Expand All @@ -1934,7 +1975,7 @@
},
"hasBuyerSignedOff": {
"type": "boolean",
"description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)"
"description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)"
},
"hasSellerSignedOff": {
"type": "boolean",
Expand Down Expand Up @@ -2008,7 +2049,7 @@
},
"sellerContacts": {
"type": "array",
"description": "Optional contact information for the seller (buyer-readonly).",
"description": "Optional contact information of the seller (buyer-readonly).",
"items": {
"$ref": "ContactInformation"
}
Expand Down Expand Up @@ -2814,7 +2855,7 @@
},
"proposalId": {
"type": "string",
"description": "The proposalId to get deals for. To search across proposals specify order_id = '-' as part of the URL.",
"description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.",
"required": true,
"location": "path"
}
Expand Down Expand Up @@ -2891,9 +2932,14 @@
"httpMethod": "GET",
"description": "Get all the notes associated with a proposal",
"parameters": {
"pqlQuery": {
"type": "string",
"description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"",
"location": "query"
},
"proposalId": {
"type": "string",
"description": "The proposalId to get notes for.",
"description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.",
"required": true,
"location": "path"
}
Expand Down
Loading

0 comments on commit 593853e

Please sign in to comment.