openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 78 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://www.googleapis.com/adsense/v1.4"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Accesses AdSense publishers' inventory and generates performance reports.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"AdSense Management API","version":"v1.4","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"format":"google","url":"https://adsense.googleapis.com/$discovery/rest?version=v1.4","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"adsense"},"externalDocs":{"url":"https://developers.google.com/adsense/management/"},"tags":[{"name":"accounts"},{"name":"adclients"},{"name":"adunits"},{"name":"alerts"},{"name":"customchannels"},{"name":"metadata"},{"name":"payments"},{"name":"reports"},{"name":"savedadstyles"},{"name":"urlchannels"}],"paths":{"/accounts":{"get":{"description":"List all accounts available to this AdSense account.","operationId":"adsense.accounts.list","parameters":[{"description":"The maximum number of accounts to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accounts"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}":{"get":{"description":"Get information about the selected AdSense account.","operationId":"adsense.accounts.get","parameters":[{"description":"Account to get information about.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Whether the tree of sub accounts should be returned.","in":"query","name":"tree","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients":{"get":{"description":"List all ad clients in the specified account.","operationId":"adsense.accounts.adclients.list","parameters":[{"description":"Account for which to list ad clients.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of ad clients to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdClients"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/adcode":{"get":{"description":"Get Auto ad code for a given ad client.","operationId":"adsense.accounts.adclients.getAdCode","parameters":[{"description":"Account which contains the ad client.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client to get the code for.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Tag partner to include in the ad code snippet.","in":"query","name":"tagPartner","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCode"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/adunits":{"get":{"description":"List all ad units in the specified ad client for the specified account.","operationId":"adsense.accounts.adunits.list","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client for which to list ad units.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Whether to include inactive ad units. Default: true.","in":"query","name":"includeInactive","schema":{"type":"boolean"}},{"description":"The maximum number of ad units to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnits"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}":{"get":{"description":"Gets the specified ad unit in the specified ad client for the specified account.","operationId":"adsense.accounts.adunits.get","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client for which to get the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit to retrieve.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnit"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode":{"get":{"description":"Get ad code for the specified ad unit.","operationId":"adsense.accounts.adunits.getAdCode","parameters":[{"description":"Account which contains the ad client.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client with contains the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit to get the code for.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCode"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels":{"get":{"description":"List all custom channels which the specified ad unit belongs to.","operationId":"adsense.accounts.adunits.customchannels.list","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client which contains the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit for which to list custom channels.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of custom channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/customchannels":{"get":{"description":"List all custom channels in the specified ad client for the specified account.","operationId":"adsense.accounts.customchannels.list","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client for which to list custom channels.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of custom channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}":{"get":{"description":"Get the specified custom channel from the specified ad client for the specified account.","operationId":"adsense.accounts.customchannels.get","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client which contains the custom channel.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Custom channel to retrieve.","in":"path","name":"customChannelId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits":{"get":{"description":"List all ad units in the specified custom channel.","operationId":"adsense.accounts.customchannels.adunits.list","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client which contains the custom channel.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Custom channel for which to list ad units.","in":"path","name":"customChannelId","required":true,"schema":{"type":"string"}},{"description":"Whether to include inactive ad units. Default: true.","in":"query","name":"includeInactive","schema":{"type":"boolean"}},{"description":"The maximum number of ad units to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnits"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/adclients/{adClientId}/urlchannels":{"get":{"description":"List all URL channels in the specified ad client for the specified account.","operationId":"adsense.accounts.urlchannels.list","parameters":[{"description":"Account to which the ad client belongs.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Ad client for which to list URL channels.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of URL channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/alerts":{"get":{"description":"List the alerts for the specified AdSense account.","operationId":"adsense.accounts.alerts.list","parameters":[{"description":"Account for which to retrieve the alerts.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.","in":"query","name":"locale","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alerts"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/alerts/{alertId}":{"delete":{"description":"Dismiss (delete) the specified alert from the specified publisher AdSense account.","operationId":"adsense.accounts.alerts.delete","parameters":[{"description":"Account which contains the ad unit.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Alert to delete.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/payments":{"get":{"description":"List the payments for the specified AdSense account.","operationId":"adsense.accounts.payments.list","parameters":[{"description":"Account for which to retrieve the payments.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payments"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/reports":{"get":{"description":"Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.","operationId":"adsense.accounts.reports.generate","parameters":[{"description":"Account upon which to report.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.","in":"query","name":"startDate","required":true,"schema":{"type":"string"}},{"description":"End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.","in":"query","name":"endDate","required":true,"schema":{"type":"string"}},{"description":"Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.","in":"query","name":"currency","schema":{"type":"string"}},{"description":"Dimensions to base the report on.","explode":true,"in":"query","name":"dimension","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Filters to be run on the report.","explode":true,"in":"query","name":"filter","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.","in":"query","name":"locale","schema":{"type":"string"}},{"description":"The maximum number of rows of report data to return.","in":"query","name":"maxResults","schema":{"maximum":50000,"minimum":0,"type":"integer"}},{"description":"Numeric columns to include in the report.","explode":true,"in":"query","name":"metric","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.","explode":true,"in":"query","name":"sort","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Index of the first row of report data to return.","in":"query","name":"startIndex","schema":{"maximum":5000,"minimum":0,"type":"integer"}},{"description":"Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used.","in":"query","name":"useTimezoneReporting","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdsenseReportsGenerateResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/reports/saved":{"get":{"description":"List all saved reports in the specified AdSense account.","operationId":"adsense.accounts.reports.saved.list","parameters":[{"description":"Account to which the saved reports belong.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of saved reports to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":100,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReports"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/reports/{savedReportId}":{"get":{"description":"Generate an AdSense report based on the saved report ID sent in the query parameters.","operationId":"adsense.accounts.reports.saved.generate","parameters":[{"description":"Account to which the saved reports belong.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"The saved report to retrieve.","in":"path","name":"savedReportId","required":true,"schema":{"type":"string"}},{"description":"Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.","in":"query","name":"locale","schema":{"type":"string"}},{"description":"The maximum number of rows of report data to return.","in":"query","name":"maxResults","schema":{"maximum":50000,"minimum":0,"type":"integer"}},{"description":"Index of the first row of report data to return.","in":"query","name":"startIndex","schema":{"maximum":5000,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdsenseReportsGenerateResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/savedadstyles":{"get":{"description":"List all saved ad styles in the specified account.","operationId":"adsense.accounts.savedadstyles.list","parameters":[{"description":"Account for which to list saved ad styles.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of saved ad styles to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedAdStyles"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/accounts/{accountId}/savedadstyles/{savedAdStyleId}":{"get":{"description":"List a specific saved ad style for the specified account.","operationId":"adsense.accounts.savedadstyles.get","parameters":[{"description":"Account for which to get the saved ad style.","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},{"description":"Saved ad style to retrieve.","in":"path","name":"savedAdStyleId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedAdStyle"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["accounts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients":{"get":{"description":"List all ad clients in this AdSense account.","operationId":"adsense.adclients.list","parameters":[{"description":"The maximum number of ad clients to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdClients"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["adclients"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/adunits":{"get":{"description":"List all ad units in the specified ad client for this AdSense account.","operationId":"adsense.adunits.list","parameters":[{"description":"Ad client for which to list ad units.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Whether to include inactive ad units. Default: true.","in":"query","name":"includeInactive","schema":{"type":"boolean"}},{"description":"The maximum number of ad units to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnits"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["adunits"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/adunits/{adUnitId}":{"get":{"description":"Gets the specified ad unit in the specified ad client.","operationId":"adsense.adunits.get","parameters":[{"description":"Ad client for which to get the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit to retrieve.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnit"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["adunits"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/adunits/{adUnitId}/adcode":{"get":{"description":"Get ad code for the specified ad unit.","operationId":"adsense.adunits.getAdCode","parameters":[{"description":"Ad client with contains the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit to get the code for.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCode"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["adunits"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/adunits/{adUnitId}/customchannels":{"get":{"description":"List all custom channels which the specified ad unit belongs to.","operationId":"adsense.adunits.customchannels.list","parameters":[{"description":"Ad client which contains the ad unit.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Ad unit for which to list custom channels.","in":"path","name":"adUnitId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of custom channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["adunits"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/customchannels":{"get":{"description":"List all custom channels in the specified ad client for this AdSense account.","operationId":"adsense.customchannels.list","parameters":[{"description":"Ad client for which to list custom channels.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of custom channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["customchannels"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/customchannels/{customChannelId}":{"get":{"description":"Get the specified custom channel from the specified ad client.","operationId":"adsense.customchannels.get","parameters":[{"description":"Ad client which contains the custom channel.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Custom channel to retrieve.","in":"path","name":"customChannelId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomChannel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["customchannels"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/customchannels/{customChannelId}/adunits":{"get":{"description":"List all ad units in the specified custom channel.","operationId":"adsense.customchannels.adunits.list","parameters":[{"description":"Ad client which contains the custom channel.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"Custom channel for which to list ad units.","in":"path","name":"customChannelId","required":true,"schema":{"type":"string"}},{"description":"Whether to include inactive ad units. Default: true.","in":"query","name":"includeInactive","schema":{"type":"boolean"}},{"description":"The maximum number of ad units to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdUnits"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["customchannels"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/adclients/{adClientId}/urlchannels":{"get":{"description":"List all URL channels in the specified ad client for this AdSense account.","operationId":"adsense.urlchannels.list","parameters":[{"description":"Ad client for which to list URL channels.","in":"path","name":"adClientId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of URL channels to include in the response, used for paging.","in":"query","name":"maxResults","schema":{"maximum":10000,"minimum":0,"type":"integer"}},{"description":"A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlChannels"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["urlchannels"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/alerts":{"get":{"description":"List the alerts for this AdSense account.","operationId":"adsense.alerts.list","parameters":[{"description":"The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.","in":"query","name":"locale","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alerts"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/alerts/{alertId}":{"delete":{"description":"Dismiss (delete) the specified alert from the publisher's AdSense account.","operationId":"adsense.alerts.delete","parameters":[{"description":"Alert to delete.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/metadata/dimensions":{"get":{"description":"List the metadata for the dimensions available to this AdSense account.","operationId":"adsense.metadata.dimensions.list","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Metadata"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["metadata"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/metadata/metrics":{"get":{"description":"List the metadata for the metrics available to this AdSense account.","operationId":"adsense.metadata.metrics.list","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Metadata"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["metadata"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/payments":{"get":{"description":"List the payments for this AdSense account.","operationId":"adsense.payments.list","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payments"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/adsense"],"Oauth2c":["https://www.googleapis.com/auth/adsense"]},{"Oauth2":["https://www.googleapis.com/auth/adsense.readonly"],"Oauth2c":["https://www.googleapis.com/auth/adsense.readonly"]}],"tags":["payments"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/reports":{"get":{"description":"Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.","operationId":"adsense.reports.generate","parameters":[{"description":"Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.","in":"query","name":"startDate","required":true,"schema":{"type":"string"}},{"description":"End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.","in":"query","name":"endDate","required":true,"schema":{"type":"string"}},{"description":"Accounts upon which to report.","explode":true,"in":"query","name":"accountId","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.","in":"query","name":"currency","schema":{"type":"string"}},{"desc