Update DFA reporting from 2.1 -> 2.3

This commit is contained in:
Steve Bazyl 2016-01-22 11:23:05 -08:00
parent 010094a78b
commit 5e0ca266df
27 changed files with 25522 additions and 2335 deletions

View File

@ -675,6 +675,61 @@
"/dfareporting:v2.1/UserRolesListResponse": list_user_roles_response
"/dfareporting:v2.1/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
"/dfareporting:v2.1/dfareporting.placements.generatetags": generate_placement_tags
"/dfareporting:v2.3/AccountPermissionGroupsListResponse": list_account_permission_groups_response
"/dfareporting:v2.3/AccountPermissionsListResponse": list_account_permissions_response
"/dfareporting:v2.3/AccountUserProfilesListResponse": list_account_user_profiles_response
"/dfareporting:v2.3/AccountsListResponse": list_accounts_response
"/dfareporting:v2.3/AdsListResponse": list_ads_response
"/dfareporting:v2.3/AdvertiserGroupsListResponse": list_advertiser_groups_response
"/dfareporting:v2.3/AdvertisersListResponse": list_advertisers_response
"/dfareporting:v2.3/BrowsersListResponse": list_browsers_response
"/dfareporting:v2.3/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
"/dfareporting:v2.3/CampaignsListResponse": list_campaigns_response
"/dfareporting:v2.3/ChangeLog/objectId": obj_id
"/dfareporting:v2.3/ChangeLogsListResponse": list_change_logs_response
"/dfareporting:v2.3/CitiesListResponse": list_cities_response
"/dfareporting:v2.3/ConnectionTypesListResponse": list_connection_types_response
"/dfareporting:v2.3/ContentCategoriesListResponse": list_content_categories_response
"/dfareporting:v2.3/CountriesListResponse": list_countries_response
"/dfareporting:v2.3/CreativeFieldValuesListResponse": list_creative_field_values_response
"/dfareporting:v2.3/CreativeFieldsListResponse": list_creative_fields_response
"/dfareporting:v2.3/CreativeGroupsListResponse": list_creative_groups_response
"/dfareporting:v2.3/CreativesListResponse": list_creatives_response
"/dfareporting:v2.3/DimensionValueRequest": dimension_value_request
"/dfareporting:v2.3/DirectorySiteContactsListResponse": list_directory_site_contacts_response
"/dfareporting:v2.3/DirectorySitesListResponse": list_directory_sites_response
"/dfareporting:v2.3/EventTagsListResponse": list_event_tags_response
"/dfareporting:v2.3/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
"/dfareporting:v2.3/FloodlightActivitiesListResponse": list_floodlight_activities_response
"/dfareporting:v2.3/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
"/dfareporting:v2.3/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
"/dfareporting:v2.3/InventoryItemsListResponse": list_inventory_items_response
"/dfareporting:v2.3/LandingPagesListResponse": list_landing_pages_response
"/dfareporting:v2.3/MetrosListResponse": list_metros_response
"/dfareporting:v2.3/MobileCarriersListResponse": list_mobile_carriers_response
"/dfareporting:v2.3/ObjectFilter/objectIds/object_id": obj_id
"/dfareporting:v2.3/OperatingSystemVersionsListResponse": list_operating_system_versions_response
"/dfareporting:v2.3/OperatingSystemsListResponse": list_operating_systems_response
"/dfareporting:v2.3/OrderDocumentsListResponse": list_order_documents_response
"/dfareporting:v2.3/OrdersListResponse": list_orders_response
"/dfareporting:v2.3/PlacementGroupsListResponse": list_placement_groups_response
"/dfareporting:v2.3/PlacementStrategiesListResponse": list_placement_strategies_response
"/dfareporting:v2.3/PlacementsGenerateTagsResponse": generate_placements_tags_response
"/dfareporting:v2.3/PlacementsListResponse": list_placements_response
"/dfareporting:v2.3/PlatformTypesListResponse": list_platform_types_response
"/dfareporting:v2.3/PostalCodesListResponse": list_postal_codes_response
"/dfareporting:v2.3/ProjectsListResponse": list_projects_response
"/dfareporting:v2.3/RegionsListResponse": list_regions_response
"/dfareporting:v2.3/RemarketingListsListResponse": list_remarketing_lists_response
"/dfareporting:v2.3/SitesListResponse": list_sites_response
"/dfareporting:v2.3/SizesListResponse": list_sizes_response
"/dfareporting:v2.3/SubaccountsListResponse": list_subaccounts_response
"/dfareporting:v2.3/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
"/dfareporting:v2.3/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
"/dfareporting:v2.3/UserRolePermissionsListResponse": list_user_role_permissions_response
"/dfareporting:v2.3/UserRolesListResponse": list_user_roles_response
"/dfareporting:v2.3/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
"/dfareporting:v2.3/dfareporting.placements.generatetags": generate_placement_tags
"/discovery:v1/RestDescription/methods": api_methods
"/discovery:v1/RestResource/methods": api_methods
"/discovery:v1/discovery.apis.getRest": get_rest_api

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/web/api/states
module AppstateV1
VERSION = 'V1'
REVISION = '20160111'
REVISION = '20160119'
# View and manage your data for this application
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/monitoring/v2beta2/
module CloudmonitoringV2beta2
VERSION = 'V2beta2'
REVISION = '20160110'
REVISION = '20160120'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -0,0 +1,37 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/dfareporting_v2_3/service.rb'
require 'google/apis/dfareporting_v2_3/classes.rb'
require 'google/apis/dfareporting_v2_3/representations.rb'
module Google
module Apis
# DCM/DFA Reporting And Trafficking API
#
# Manage your DoubleClick Campaign Manager ad campaigns and reports.
#
# @see https://developers.google.com/doubleclick-advertisers/reporting/
module DfareportingV2_3
VERSION = 'V2_3'
REVISION = '20151109'
# View and manage DoubleClick for Advertisers reports
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20150925'
REVISION = '20160120'
end
end
end

View File

@ -158,6 +158,92 @@ module Google
end
end
# Publisher comment from Rubicon.
class Note
include Google::Apis::Core::Hashable
# Note id.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Message from publisher.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
# Equals "publisher" for notification from Rubicon.
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
# Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00".
# Corresponds to the JSON property `timestamp`
# @return [String]
attr_accessor :timestamp
# Publisher user name.
# Corresponds to the JSON property `username`
# @return [String]
attr_accessor :username
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] unless args[:id].nil?
@message = args[:message] unless args[:message].nil?
@source = args[:source] unless args[:source].nil?
@timestamp = args[:timestamp] unless args[:timestamp].nil?
@username = args[:username] unless args[:username].nil?
end
end
# NotifyProposalChange request.
class NotifyProposalChangeRequest
include Google::Apis::Core::Hashable
# Action taken by publisher. One of: Accept, Decline, Append
# Corresponds to the JSON property `action`
# @return [String]
attr_accessor :action
# URL to access proposal detail.
# Corresponds to the JSON property `href`
# @return [String]
attr_accessor :href
# Below are contents of notification from Rubicon. Proposal id.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Notes from publisher
# Corresponds to the JSON property `notes`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::Note>]
attr_accessor :notes
# Deal token, available when proposal is accepted by publisher.
# Corresponds to the JSON property `token`
# @return [String]
attr_accessor :token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action = args[:action] unless args[:action].nil?
@href = args[:href] unless args[:href].nil?
@id = args[:id] unless args[:id].nil?
@notes = args[:notes] unless args[:notes].nil?
@token = args[:token] unless args[:token].nil?
end
end
# Parameters of a query or report.
class Parameters
include Google::Apis::Core::Hashable

View File

@ -42,6 +42,14 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Note
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class NotifyProposalChangeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Parameters
class Representation < Google::Apis::Core::JsonRepresentation; end
end
@ -141,6 +149,29 @@ module Google
end
end
class Note
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :message, as: 'message'
property :source, as: 'source'
property :timestamp, as: 'timestamp'
property :username, as: 'username'
end
end
class NotifyProposalChangeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :href, as: 'href'
property :id, as: 'id'
collection :notes, as: 'notes', class: Google::Apis::DoubleclickbidmanagerV1::Note, decorator: Google::Apis::DoubleclickbidmanagerV1::Note::Representation
property :token, as: 'token'
end
end
class Parameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -328,6 +328,39 @@ module Google
execute_or_queue_command(command, &block)
end
# Update proposal upon actions of Rubicon publisher.
# @param [Google::Apis::DoubleclickbidmanagerV1::NotifyProposalChangeRequest] notify_proposal_change_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def notifyproposalchange_rubicon(notify_proposal_change_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'rubicon/notifyproposalchange', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::NotifyProposalChangeRequest::Representation
command.request_object = notify_proposal_change_request_object
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/doubleclick-search/
module DoubleclicksearchV2
VERSION = 'V2'
REVISION = '20160108'
REVISION = '20160113'
# View and manage your advertising data in DoubleClick Search
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'

View File

@ -218,7 +218,9 @@ module Google
# @return [String]
attr_accessor :quantity_millis
# The revenue amount of this TRANSACTION conversion, in micros.
# The revenue amount of this TRANSACTION conversion, in micros (value multiplied
# by 1000, no decimal). For example, to specify a revenue value of "10" enter "
# 10000" in your request.
# Corresponds to the JSON property `revenueMicros`
# @return [String]
attr_accessor :revenue_micros

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20160107'
REVISION = '20160114'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20160107'
REVISION = '20160114'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesConfigurationV1configuration
VERSION = 'V1configuration'
REVISION = '20160111'
REVISION = '20160119'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20160111'
REVISION = '20160119'
# Share your Google+ profile information and view and manage your game activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20160111'
REVISION = '20160119'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

View File

@ -28,7 +28,7 @@ module Google
# @see
module GenomicsV1
VERSION = 'V1'
REVISION = '20160115'
REVISION = '20160120'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/identity-toolkit/v3/
module IdentitytoolkitV3
VERSION = 'V3'
REVISION = '20160108'
REVISION = '20160120'
end
end
end

View File

@ -26,6 +26,11 @@ module Google
class CreateAuthUriResponse
include Google::Apis::Core::Hashable
# all providers the user has once used to do federated login
# Corresponds to the JSON property `allProviders`
# @return [Array<String>]
attr_accessor :all_providers
# The URI used by the IDP to authenticate the user.
# Corresponds to the JSON property `authUri`
# @return [String]
@ -70,6 +75,7 @@ module Google
# Update properties of this object
def update!(**args)
@all_providers = args[:all_providers] unless args[:all_providers].nil?
@auth_uri = args[:auth_uri] unless args[:auth_uri].nil?
@captcha_required = args[:captcha_required] unless args[:captcha_required].nil?
@for_existing_provider = args[:for_existing_provider] unless args[:for_existing_provider].nil?
@ -461,6 +467,12 @@ module Google
# @return [String]
attr_accessor :captcha_response
# GCP project number of the requesting delegated app. Currently only intended
# for Firebase V1 migration.
# Corresponds to the JSON property `delegatedProjectNumber`
# @return [String]
attr_accessor :delegated_project_number
# Whether to disable the user.
# Corresponds to the JSON property `disableUser`
# @return [Boolean]
@ -532,6 +544,7 @@ module Google
def update!(**args)
@captcha_challenge = args[:captcha_challenge] unless args[:captcha_challenge].nil?
@captcha_response = args[:captcha_response] unless args[:captcha_response].nil?
@delegated_project_number = args[:delegated_project_number] unless args[:delegated_project_number].nil?
@disable_user = args[:disable_user] unless args[:disable_user].nil?
@display_name = args[:display_name] unless args[:display_name].nil?
@email = args[:email] unless args[:email].nil?
@ -730,6 +743,12 @@ module Google
# @return [String]
attr_accessor :captcha_response
# GCP project number of the requesting delegated app. Currently only intended
# for Firebase V1 migration.
# Corresponds to the JSON property `delegatedProjectNumber`
# @return [String]
attr_accessor :delegated_project_number
# The email of the user.
# Corresponds to the JSON property `email`
# @return [String]
@ -758,6 +777,7 @@ module Google
def update!(**args)
@captcha_challenge = args[:captcha_challenge] unless args[:captcha_challenge].nil?
@captcha_response = args[:captcha_response] unless args[:captcha_response].nil?
@delegated_project_number = args[:delegated_project_number] unless args[:delegated_project_number].nil?
@email = args[:email] unless args[:email].nil?
@instance_id = args[:instance_id] unless args[:instance_id].nil?
@password = args[:password] unless args[:password].nil?

View File

@ -149,6 +149,7 @@ module Google
class CreateAuthUriResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :all_providers, as: 'allProviders'
property :auth_uri, as: 'authUri'
property :captcha_required, as: 'captchaRequired'
property :for_existing_provider, as: 'forExistingProvider'
@ -269,6 +270,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :captcha_challenge, as: 'captchaChallenge'
property :captcha_response, as: 'captchaResponse'
property :delegated_project_number, as: 'delegatedProjectNumber'
property :disable_user, as: 'disableUser'
property :display_name, as: 'displayName'
property :email, as: 'email'
@ -337,6 +339,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :captcha_challenge, as: 'captchaChallenge'
property :captcha_response, as: 'captchaResponse'
property :delegated_project_number, as: 'delegatedProjectNumber'
property :email, as: 'email'
property :instance_id, as: 'instanceId'
property :password, as: 'password'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/
module PlusDomainsV1
VERSION = 'V1'
REVISION = '20160118'
REVISION = '20160120'
# View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/api/
module PlusV1
VERSION = 'V1'
REVISION = '20160118'
REVISION = '20160120'
# Know your basic profile info and list of people in your circles.
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'

View File

@ -674,7 +674,7 @@ module Google
# The estimated regression value (Regression models only).
# Corresponds to the JSON property `outputValue`
# @return [String]
# @return [Float]
attr_accessor :output_value
# A URL to re-request this resource.

View File

@ -38,7 +38,7 @@ APIS=(adexchangebuyer:v1.3 \
customsearch:v1 \
datastore:v1beta2 \
deploymentmanager:v2 \
dfareporting:v2.1 \
dfareporting:v2.3 \
discovery:v1 \
dns:v1 \
doubleclickbidmanager:v1 \