Expand description
This documentation was generated from dfareporting crate version 1.0.6+20170818, where 20170818 is the exact revision of the dfareporting:v2.7 schema built by the mako code generator v1.0.6.
Everything else about the dfareporting v2d7 API can be found at the official documentation site. The original source code is on github.
§Features
Handle the following Resources with ease from the central hub …
- account active ad summaries
- get
- account permission groups
- get and list
- account permissions
- get and list
- account user profiles
- get, insert, list, patch and update
- accounts
- get, list, patch and update
- ads
- get, insert, list, patch and update
- advertiser groups
- delete, get, insert, list, patch and update
- advertisers
- get, insert, list, patch and update
- browsers
- list
- campaign creative associations
- insert and list
- campaigns
- get, insert, list, patch and update
- change logs
- get and list
- cities
- list
- connection types
- get and list
- content categories
- delete, get, insert, list, patch and update
- conversions
- batchinsert
- countries
- get and list
- creative assets
- insert
- creative field values
- delete, get, insert, list, patch and update
- creative fields
- delete, get, insert, list, patch and update
- creative groups
- get, insert, list, patch and update
- creatives
- get, insert, list, patch and update
- dimension values
- query
- directory site contacts
- get and list
- directory sites
- get, insert and list
- dynamic targeting keys
- delete, insert and list
- event tags
- delete, get, insert, list, patch and update
- files
- get and list
- floodlight activities
- delete, generatetag, get, insert, list, patch and update
- floodlight activity groups
- get, insert, list, patch and update
- floodlight configurations
- get, list, patch and update
- inventory items
- get and list
- landing pages
- delete, get, insert, list, patch and update
- languages
- list
- metros
- list
- mobile carriers
- get and list
- operating system versions
- get and list
- operating systems
- get and list
- order documents
- get and list
- orders
- get and list
- placement groups
- get, insert, list, patch and update
- placement strategies
- delete, get, insert, list, patch and update
- placements
- generatetags, get, insert, list, patch and update
- platform types
- get and list
- postal codes
- get and list
- projects
- get and list
- regions
- list
- remarketing list shares
- get, patch and update
- remarketing lists
- get, insert, list, patch and update
- reports
- compatible fields query, delete, files get, files list, get, insert, list, patch, run and update
- sites
- get, insert, list, patch and update
- sizes
- get, insert and list
- subaccounts
- get, insert, list, patch and update
- targetable remarketing lists
- get and list
- targeting templates
- get, insert, list, patch and update
- user profiles
- get and list
- user role permission groups
- get and list
- user role permissions
- get and list
- user roles
- delete, get, insert, list, patch and update
- video formats
- get and list
Upload supported by …
Download supported by …
Not what you are looking for ? Find all other Google APIs in their Rust documentation index.
§Structure of this Library
The API is structured into the following primary items:
- Hub
- a central object to maintain state and allow accessing all Activities
- creates Method Builders which in turn allow access to individual Call Builders
- Resources
- primary types that you can apply Activities to
- a collection of properties and Parts
- Parts
- a collection of properties
- never directly used in Activities
- Activities
- operations to apply to Resources
All structures are marked with applicable traits to further categorize them and ease browsing.
Generally speaking, you can invoke Activities like this:
let r = hub.resource().activity(...).doit()
Or specifically …
let r = hub.reports().run(...).doit()
let r = hub.reports().get(...).doit()
let r = hub.reports().list(...).doit()
let r = hub.reports().delete(...).doit()
let r = hub.reports().files_list(...).doit()
let r = hub.reports().insert(...).doit()
let r = hub.reports().patch(...).doit()
let r = hub.reports().compatible_fields_query(...).doit()
let r = hub.reports().update(...).doit()
let r = hub.reports().files_get(...).doit()
The resource()
and activity(...)
calls create builders. The second one dealing with Activities
supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be
specified right away (i.e. (...)
), whereas all optional ones can be build up as desired.
The doit()
method performs the actual communication with the server and returns the respective result.
§Usage
§Setting up your Project
To use this library, you would put the following lines into your Cargo.toml
file:
[dependencies]
google-dfareporting2d7 = "*"
§A complete example
extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_dfareporting2d7 as dfareporting2d7;
use dfareporting2d7::{Result, Error};
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use dfareporting2d7::Dfareporting;
// Get an ApplicationSecret instance by some means. It contains the `client_id` and
// `client_secret`, among other things.
let secret: ApplicationSecret = Default::default();
// Instantiate the authenticator. It will choose a suitable authentication flow for you,
// unless you replace `None` with the desired Flow.
// Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about
// what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and
// retrieve them from storage.
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
<MemoryStorage as Default>::default(), None);
let mut hub = Dfareporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// You can configure optional parameters by calling the respective setters at will, and
// execute the final call using `doit()`.
// Values shown here are possibly random and not representative !
let result = hub.reports().list("profileId")
.sort_order("accusam")
.sort_field("takimata")
.scope("justo")
.page_token("amet.")
.max_results(-81)
.doit();
match result {
Err(e) => match e {
// The Error enum provides details about what exactly happened.
// You can also just use its `Debug`, `Display` or `Error` traits
Error::HttpError(_)
|Error::MissingAPIKey
|Error::MissingToken(_)
|Error::Cancelled
|Error::UploadSizeLimitExceeded(_, _)
|Error::Failure(_)
|Error::BadRequest(_)
|Error::FieldClash(_)
|Error::JsonDecodeError(_, _) => println!("{}", e),
},
Ok(res) => println!("Success: {:?}", res),
}
§Handling Errors
All errors produced by the system are provided either as Result enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the Hub Delegate, or the Authenticator Delegate.
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors.
§Uploads and Downloads
If a method supports downloads, the response body, which is part of the Result, should be
read by you to obtain the media.
If such a method also supports a Response Result, it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: .param("alt", "media")
.
Methods supporting uploads can do so using up to 2 different protocols:
simple and resumable. The distinctiveness of each is represented by customized
doit(...)
methods, which are then named upload(...)
and upload_resumable(...)
respectively.
§Customization and Callbacks
You may alter the way an doit()
method is called by providing a delegate to the
Method Builder before making the final doit()
call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The delegate trait is default-implemented, allowing you to customize it with minimal effort.
§Optional Parts in Server-Requests
All structures provided by this library are made to be enocodable and decodable via json. Optionals are used to indicate that partial requests are responses are valid. Most optionals are are considered Parts which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response.
§Builder Arguments
Using method builders, you are able to prepare an action call by repeatedly calling it’s methods. These will always take a single argument, for which the following statements are true.
- PODs are handed by copy
- strings are passed as
&str
- request values are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.
Structs§
- Account
- Contains properties of a DCM account.
- Account
Active AdSummary - Gets a summary of active ads in an account.
- Account
Active AdSummary GetCall - Gets the account’s active ad summary by account ID.
- Account
Active AdSummary Methods - A builder providing access to all methods supported on accountActiveAdSummary resources.
It is not used directly, but through the
Dfareporting
hub. - Account
GetCall - Gets one account by ID.
- Account
List Call - Retrieves the list of accounts, possibly filtered. This method supports paging.
- Account
Methods - A builder providing access to all methods supported on account resources.
It is not used directly, but through the
Dfareporting
hub. - Account
Patch Call - Updates an existing account. This method supports patch semantics.
- Account
Permission - AccountPermissions contains information about a particular account permission. Some features of DCM require an account permission to be present in the account.
- Account
Permission GetCall - Gets one account permission by ID.
- Account
Permission Group - AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
- Account
Permission Group GetCall - Gets one account permission group by ID.
- Account
Permission Group List Call - Retrieves the list of account permission groups.
- Account
Permission Group Methods - A builder providing access to all methods supported on accountPermissionGroup resources.
It is not used directly, but through the
Dfareporting
hub. - Account
Permission Groups List Response - Account Permission Group List Response
- Account
Permission List Call - Retrieves the list of account permissions.
- Account
Permission Methods - A builder providing access to all methods supported on accountPermission resources.
It is not used directly, but through the
Dfareporting
hub. - Account
Permissions List Response - Account Permission List Response
- Account
Update Call - Updates an existing account.
- Account
User Profile - AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
- Account
User Profile GetCall - Gets one account user profile by ID.
- Account
User Profile Insert Call - Inserts a new account user profile.
- Account
User Profile List Call - Retrieves a list of account user profiles, possibly filtered. This method supports paging.
- Account
User Profile Methods - A builder providing access to all methods supported on accountUserProfile resources.
It is not used directly, but through the
Dfareporting
hub. - Account
User Profile Patch Call - Updates an existing account user profile. This method supports patch semantics.
- Account
User Profile Update Call - Updates an existing account user profile.
- Account
User Profiles List Response - Account User Profile List Response
- Accounts
List Response - Account List Response
- Activities
- Represents an activity group.
- Ad
- Contains properties of a DCM ad.
- AdGet
Call - Gets one ad by ID.
- AdInsert
Call - Inserts a new ad.
- AdList
Call - Retrieves a list of ads, possibly filtered. This method supports paging.
- AdMethods
- A builder providing access to all methods supported on ad resources.
It is not used directly, but through the
Dfareporting
hub. - AdPatch
Call - Updates an existing ad. This method supports patch semantics.
- AdSlot
- Ad Slot
- AdUpdate
Call - Updates an existing ad.
- AdsList
Response - Ad List Response
- Advertiser
- Contains properties of a DCM advertiser.
- Advertiser
GetCall - Gets one advertiser by ID.
- Advertiser
Group - Groups advertisers together so that reports can be generated for the entire group at once.
- Advertiser
Group Delete Call - Deletes an existing advertiser group.
- Advertiser
Group GetCall - Gets one advertiser group by ID.
- Advertiser
Group Insert Call - Inserts a new advertiser group.
- Advertiser
Group List Call - Retrieves a list of advertiser groups, possibly filtered. This method supports paging.
- Advertiser
Group Methods - A builder providing access to all methods supported on advertiserGroup resources.
It is not used directly, but through the
Dfareporting
hub. - Advertiser
Group Patch Call - Updates an existing advertiser group. This method supports patch semantics.
- Advertiser
Group Update Call - Updates an existing advertiser group.
- Advertiser
Groups List Response - Advertiser Group List Response
- Advertiser
Insert Call - Inserts a new advertiser.
- Advertiser
List Call - Retrieves a list of advertisers, possibly filtered. This method supports paging.
- Advertiser
Methods - A builder providing access to all methods supported on advertiser resources.
It is not used directly, but through the
Dfareporting
hub. - Advertiser
Patch Call - Updates an existing advertiser. This method supports patch semantics.
- Advertiser
Update Call - Updates an existing advertiser.
- Advertisers
List Response - Advertiser List Response
- Audience
Segment - Audience Segment.
- Audience
Segment Group - Audience Segment Group.
- Browser
- Contains information about a browser that can be targeted by ads.
- Browser
List Call - Retrieves a list of browsers.
- Browser
Methods - A builder providing access to all methods supported on browser resources.
It is not used directly, but through the
Dfareporting
hub. - Browsers
List Response - Browser List Response
- Campaign
- Contains properties of a DCM campaign.
- Campaign
Creative Association - Identifies a creative which has been associated with a given campaign.
- Campaign
Creative Association Insert Call - Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
- Campaign
Creative Association List Call - Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.
- Campaign
Creative Association Methods - A builder providing access to all methods supported on campaignCreativeAssociation resources.
It is not used directly, but through the
Dfareporting
hub. - Campaign
Creative Associations List Response - Campaign Creative Association List Response
- Campaign
GetCall - Gets one campaign by ID.
- Campaign
Insert Call - Inserts a new campaign.
- Campaign
List Call - Retrieves a list of campaigns, possibly filtered. This method supports paging.
- Campaign
Methods - A builder providing access to all methods supported on campaign resources.
It is not used directly, but through the
Dfareporting
hub. - Campaign
Patch Call - Updates an existing campaign. This method supports patch semantics.
- Campaign
Update Call - Updates an existing campaign.
- Campaigns
List Response - Campaign List Response
- Change
Log - Describes a change that a user has made to a resource.
- Change
LogGet Call - Gets one change log by ID.
- Change
LogList Call - Retrieves a list of change logs. This method supports paging.
- Change
LogMethods - A builder providing access to all methods supported on changeLog resources.
It is not used directly, but through the
Dfareporting
hub. - Change
Logs List Response - Change Log List Response
- Cities
List Response - City List Response
- City
- Contains information about a city that can be targeted by ads.
- City
List Call - Retrieves a list of cities, possibly filtered.
- City
Methods - A builder providing access to all methods supported on city resources.
It is not used directly, but through the
Dfareporting
hub. - Click
Tag - Creative Click Tag.
- Click
Through Url - Click-through URL
- Click
Through UrlSuffix Properties - Click Through URL Suffix settings.
- Companion
Click Through Override - Companion Click-through override.
- Companion
Setting - Companion Settings
- Compatible
Fields - Represents a response to the queryCompatibleFields method.
- Connection
Type - Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
- Connection
Type GetCall - Gets one connection type by ID.
- Connection
Type List Call - Retrieves a list of connection types.
- Connection
Type Methods - A builder providing access to all methods supported on connectionType resources.
It is not used directly, but through the
Dfareporting
hub. - Connection
Types List Response - Connection Type List Response
- Content
Categories List Response - Content Category List Response
- Content
Category - Organizes placements according to the contents of their associated webpages.
- Content
Category Delete Call - Deletes an existing content category.
- Content
Category GetCall - Gets one content category by ID.
- Content
Category Insert Call - Inserts a new content category.
- Content
Category List Call - Retrieves a list of content categories, possibly filtered. This method supports paging.
- Content
Category Methods - A builder providing access to all methods supported on contentCategory resources.
It is not used directly, but through the
Dfareporting
hub. - Content
Category Patch Call - Updates an existing content category. This method supports patch semantics.
- Content
Category Update Call - Updates an existing content category.
- Conversion
- A Conversion represents when a user successfully performs a desired action after seeing an ad.
- Conversion
Batchinsert Call - Inserts conversions.
- Conversion
Error - The error code and description for a conversion that failed to insert or update.
- Conversion
Methods - A builder providing access to all methods supported on conversion resources.
It is not used directly, but through the
Dfareporting
hub. - Conversion
Status - The original conversion that was inserted or updated and whether there were any errors.
- Conversions
Batch Insert Request - Insert Conversions Request.
- Conversions
Batch Insert Response - Insert Conversions Response.
- Countries
List Response - Country List Response
- Country
- Contains information about a country that can be targeted by ads.
- Country
GetCall - Gets one country by ID.
- Country
List Call - Retrieves a list of countries.
- Country
Methods - A builder providing access to all methods supported on country resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
- Contains properties of a Creative.
- Creative
Asset - Creative Asset.
- Creative
Asset Id - Creative Asset ID.
- Creative
Asset Insert Call - Inserts a new creative asset.
- Creative
Asset Metadata - CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
- Creative
Asset Methods - A builder providing access to all methods supported on creativeAsset resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
Asset Selection - Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.
- Creative
Assignment - Creative Assignment.
- Creative
Custom Event - Creative Custom Event.
- Creative
Field - Contains properties of a creative field.
- Creative
Field Assignment - Creative Field Assignment.
- Creative
Field Delete Call - Deletes an existing creative field.
- Creative
Field GetCall - Gets one creative field by ID.
- Creative
Field Insert Call - Inserts a new creative field.
- Creative
Field List Call - Retrieves a list of creative fields, possibly filtered. This method supports paging.
- Creative
Field Methods - A builder providing access to all methods supported on creativeField resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
Field Patch Call - Updates an existing creative field. This method supports patch semantics.
- Creative
Field Update Call - Updates an existing creative field.
- Creative
Field Value - Contains properties of a creative field value.
- Creative
Field Value Delete Call - Deletes an existing creative field value.
- Creative
Field Value GetCall - Gets one creative field value by ID.
- Creative
Field Value Insert Call - Inserts a new creative field value.
- Creative
Field Value List Call - Retrieves a list of creative field values, possibly filtered. This method supports paging.
- Creative
Field Value Methods - A builder providing access to all methods supported on creativeFieldValue resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
Field Value Patch Call - Updates an existing creative field value. This method supports patch semantics.
- Creative
Field Value Update Call - Updates an existing creative field value.
- Creative
Field Values List Response - Creative Field Value List Response
- Creative
Fields List Response - Creative Field List Response
- Creative
GetCall - Gets one creative by ID.
- Creative
Group - Contains properties of a creative group.
- Creative
Group Assignment - Creative Group Assignment.
- Creative
Group GetCall - Gets one creative group by ID.
- Creative
Group Insert Call - Inserts a new creative group.
- Creative
Group List Call - Retrieves a list of creative groups, possibly filtered. This method supports paging.
- Creative
Group Methods - A builder providing access to all methods supported on creativeGroup resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
Group Patch Call - Updates an existing creative group. This method supports patch semantics.
- Creative
Group Update Call - Updates an existing creative group.
- Creative
Groups List Response - Creative Group List Response
- Creative
Insert Call - Inserts a new creative.
- Creative
List Call - Retrieves a list of creatives, possibly filtered. This method supports paging.
- Creative
Methods - A builder providing access to all methods supported on creative resources.
It is not used directly, but through the
Dfareporting
hub. - Creative
Optimization Configuration - Creative optimization settings.
- Creative
Patch Call - Updates an existing creative. This method supports patch semantics.
- Creative
Rotation - Creative Rotation.
- Creative
Settings - Creative Settings
- Creative
Update Call - Updates an existing creative.
- Creatives
List Response - Creative List Response
- Cross
Dimension Reach Report Compatible Fields - Represents fields that are compatible to be selected for a report of type “CROSS_DIMENSION_REACH”.
- Custom
Floodlight Variable - A custom floodlight variable.
- Custom
Rich Media Events - Represents a Custom Rich Media Events group.
- Date
Range - Represents a date range.
- DayPart
Targeting - Day Part Targeting.
- Default
Click Through Event TagProperties - Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign’s setting further.
- Default
Delegate - A delegate with a conservative default implementation, which is used if no other delegate is set.
- Delivery
Schedule - Delivery Schedule.
- Dfareporting
- Central instance to access all Dfareporting related resource activities
- DfpSettings
- DFP Settings
- Dimension
- Represents a dimension.
- Dimension
Filter - Represents a dimension filter.
- Dimension
Value - Represents a DimensionValue resource.
- Dimension
Value List - Represents the list of DimensionValue resources.
- Dimension
Value Methods - A builder providing access to all methods supported on dimensionValue resources.
It is not used directly, but through the
Dfareporting
hub. - Dimension
Value Query Call - Retrieves list of report dimension values for a list of filters.
- Dimension
Value Request - Represents a DimensionValuesRequest.
- Directory
Site - DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
- Directory
Site Contact - Contains properties of a Site Directory contact.
- Directory
Site Contact Assignment - Directory Site Contact Assignment
- Directory
Site Contact GetCall - Gets one directory site contact by ID.
- Directory
Site Contact List Call - Retrieves a list of directory site contacts, possibly filtered. This method supports paging.
- Directory
Site Contact Methods - A builder providing access to all methods supported on directorySiteContact resources.
It is not used directly, but through the
Dfareporting
hub. - Directory
Site Contacts List Response - Directory Site Contact List Response
- Directory
Site GetCall - Gets one directory site by ID.
- Directory
Site Insert Call - Inserts a new directory site.
- Directory
Site List Call - Retrieves a list of directory sites, possibly filtered. This method supports paging.
- Directory
Site Methods - A builder providing access to all methods supported on directorySite resources.
It is not used directly, but through the
Dfareporting
hub. - Directory
Site Settings - Directory Site Settings
- Directory
Sites List Response - Directory Site List Response
- Dynamic
Targeting Key - Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with DoubleClick Studio dynamic creatives. Use these labels instead of numeric DCM IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.
- Dynamic
Targeting KeyDelete Call - Deletes an existing dynamic targeting key.
- Dynamic
Targeting KeyInsert Call - Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser’s ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.
- Dynamic
Targeting KeyList Call - Retrieves a list of dynamic targeting keys.
- Dynamic
Targeting KeyMethods - A builder providing access to all methods supported on dynamicTargetingKey resources.
It is not used directly, but through the
Dfareporting
hub. - Dynamic
Targeting Keys List Response - Dynamic Targeting Key List Response
- Encryption
Info - A description of how user IDs are encrypted.
- Error
Response - A utility to represent detailed errors we might see in case there are BadRequests. The latter happen if the sent parameters or request structures are unsound
- Event
Tag - Contains properties of an event tag.
- Event
TagDelete Call - Deletes an existing event tag.
- Event
TagGet Call - Gets one event tag by ID.
- Event
TagInsert Call - Inserts a new event tag.
- Event
TagList Call - Retrieves a list of event tags, possibly filtered.
- Event
TagMethods - A builder providing access to all methods supported on eventTag resources.
It is not used directly, but through the
Dfareporting
hub. - Event
TagOverride - Event tag override information.
- Event
TagPatch Call - Updates an existing event tag. This method supports patch semantics.
- Event
TagUpdate Call - Updates an existing event tag.
- Event
Tags List Response - Event Tag List Response
- File
- Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is “REPORT_AVAILABLE”.
- File
GetCall - Retrieves a report file by its report ID and file ID. This method supports media download.
- File
List - Represents the list of File resources.
- File
List Call - Lists files for a user profile.
- File
Methods - A builder providing access to all methods supported on file resources.
It is not used directly, but through the
Dfareporting
hub. - File
Urls - The URLs where the completed report file can be downloaded.
- Flight
- Flight
- Floodlight
Activities Generate TagResponse - Floodlight Activity GenerateTag Response
- Floodlight
Activities List Response - Floodlight Activity List Response
- Floodlight
Activity - Contains properties of a Floodlight activity.
- Floodlight
Activity Delete Call - Deletes an existing floodlight activity.
- Floodlight
Activity Dynamic Tag - Dynamic Tag
- Floodlight
Activity Generatetag Call - Generates a tag for a floodlight activity.
- Floodlight
Activity GetCall - Gets one floodlight activity by ID.
- Floodlight
Activity Group - Contains properties of a Floodlight activity group.
- Floodlight
Activity Group GetCall - Gets one floodlight activity group by ID.
- Floodlight
Activity Group Insert Call - Inserts a new floodlight activity group.
- Floodlight
Activity Group List Call - Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.
- Floodlight
Activity Group Methods - A builder providing access to all methods supported on floodlightActivityGroup resources.
It is not used directly, but through the
Dfareporting
hub. - Floodlight
Activity Group Patch Call - Updates an existing floodlight activity group. This method supports patch semantics.
- Floodlight
Activity Group Update Call - Updates an existing floodlight activity group.
- Floodlight
Activity Groups List Response - Floodlight Activity Group List Response
- Floodlight
Activity Insert Call - Inserts a new floodlight activity.
- Floodlight
Activity List Call - Retrieves a list of floodlight activities, possibly filtered. This method supports paging.
- Floodlight
Activity Methods - A builder providing access to all methods supported on floodlightActivity resources.
It is not used directly, but through the
Dfareporting
hub. - Floodlight
Activity Patch Call - Updates an existing floodlight activity. This method supports patch semantics.
- Floodlight
Activity Publisher Dynamic Tag - Publisher Dynamic Tag
- Floodlight
Activity Update Call - Updates an existing floodlight activity.
- Floodlight
Configuration - Contains properties of a Floodlight configuration.
- Floodlight
Configuration GetCall - Gets one floodlight configuration by ID.
- Floodlight
Configuration List Call - Retrieves a list of floodlight configurations, possibly filtered.
- Floodlight
Configuration Methods - A builder providing access to all methods supported on floodlightConfiguration resources.
It is not used directly, but through the
Dfareporting
hub. - Floodlight
Configuration Patch Call - Updates an existing floodlight configuration. This method supports patch semantics.
- Floodlight
Configuration Update Call - Updates an existing floodlight configuration.
- Floodlight
Configurations List Response - Floodlight Configuration List Response
- Floodlight
Report Compatible Fields - Represents fields that are compatible to be selected for a report of type “FlOODLIGHT”.
- Frequency
Cap - Frequency Cap.
- FsCommand
- FsCommand.
- GeoTargeting
- Geographical Targeting.
- Inventory
Item - Represents a buy from the DoubleClick Planning inventory store.
- Inventory
Item GetCall - Gets one inventory item by ID.
- Inventory
Item List Call - Retrieves a list of inventory items, possibly filtered. This method supports paging.
- Inventory
Item Methods - A builder providing access to all methods supported on inventoryItem resources.
It is not used directly, but through the
Dfareporting
hub. - Inventory
Items List Response - Inventory item List Response
- KeyValue
Targeting Expression - Key Value Targeting Expression.
- Landing
Page - Contains information about where a user’s browser is taken after the user clicks an ad.
- Landing
Page Delete Call - Deletes an existing campaign landing page.
- Landing
Page GetCall - Gets one campaign landing page by ID.
- Landing
Page Insert Call - Inserts a new landing page for the specified campaign.
- Landing
Page List Call - Retrieves the list of landing pages for the specified campaign.
- Landing
Page Methods - A builder providing access to all methods supported on landingPage resources.
It is not used directly, but through the
Dfareporting
hub. - Landing
Page Patch Call - Updates an existing campaign landing page. This method supports patch semantics.
- Landing
Page Update Call - Updates an existing campaign landing page.
- Landing
Pages List Response - Landing Page List Response
- Language
- Contains information about a language that can be targeted by ads.
- Language
List Call - Retrieves a list of languages.
- Language
Methods - A builder providing access to all methods supported on language resources.
It is not used directly, but through the
Dfareporting
hub. - Language
Targeting - Language Targeting.
- Languages
List Response - Language List Response
- Last
Modified Info - Modification timestamp.
- List
Population Clause - A group clause made up of list population terms representing constraints joined by ORs.
- List
Population Rule - Remarketing List Population Rule.
- List
Population Term - Remarketing List Population Rule Term.
- List
Targeting Expression - Remarketing List Targeting Expression.
- Lookback
Configuration - Lookback configuration settings.
- Method
Info - Contains information about an API request.
- Metric
- Represents a metric.
- Metro
- Contains information about a metro region that can be targeted by ads.
- Metro
List Call - Retrieves a list of metros.
- Metro
Methods - A builder providing access to all methods supported on metro resources.
It is not used directly, but through the
Dfareporting
hub. - Metros
List Response - Metro List Response
- Mobile
Carrier - Contains information about a mobile carrier that can be targeted by ads.
- Mobile
Carrier GetCall - Gets one mobile carrier by ID.
- Mobile
Carrier List Call - Retrieves a list of mobile carriers.
- Mobile
Carrier Methods - A builder providing access to all methods supported on mobileCarrier resources.
It is not used directly, but through the
Dfareporting
hub. - Mobile
Carriers List Response - Mobile Carrier List Response
- Multi
Part Reader - Provides a
Read
interface that converts multiple parts into the protocol identified by RFC2387. Note: This implementation is just as rich as it needs to be to perform uploads to google APIs, and might not be a fully-featured implementation. - Object
Filter - Object Filter.
- Offset
Position - Offset Position.
- Omniture
Settings - Omniture Integration Settings.
- Operating
System - Contains information about an operating system that can be targeted by ads.
- Operating
System GetCall - Gets one operating system by DART ID.
- Operating
System List Call - Retrieves a list of operating systems.
- Operating
System Methods - A builder providing access to all methods supported on operatingSystem resources.
It is not used directly, but through the
Dfareporting
hub. - Operating
System Version - Contains information about a particular version of an operating system that can be targeted by ads.
- Operating
System Version GetCall - Gets one operating system version by ID.
- Operating
System Version List Call - Retrieves a list of operating system versions.
- Operating
System Version Methods - A builder providing access to all methods supported on operatingSystemVersion resources.
It is not used directly, but through the
Dfareporting
hub. - Operating
System Versions List Response - Operating System Version List Response
- Operating
Systems List Response - Operating System List Response
- Optimization
Activity - Creative optimization activity.
- Order
- Describes properties of a DoubleClick Planning order.
- Order
Contact - Contact of an order.
- Order
Document - Contains properties of a DoubleClick Planning order document.
- Order
Document GetCall - Gets one order document by ID.
- Order
Document List Call - Retrieves a list of order documents, possibly filtered. This method supports paging.
- Order
Document Methods - A builder providing access to all methods supported on orderDocument resources.
It is not used directly, but through the
Dfareporting
hub. - Order
Documents List Response - Order document List Response
- Order
GetCall - Gets one order by ID.
- Order
List Call - Retrieves a list of orders, possibly filtered. This method supports paging.
- Order
Methods - A builder providing access to all methods supported on order resources.
It is not used directly, but through the
Dfareporting
hub. - Orders
List Response - Order List Response
- Path
ToConversion Report Compatible Fields - Represents fields that are compatible to be selected for a report of type “PATH_TO_CONVERSION”.
- Placement
- Contains properties of a placement.
- Placement
Assignment - Placement Assignment.
- Placement
Generatetag Call - Generates tags for a placement.
- Placement
GetCall - Gets one placement by ID.
- Placement
Group - Contains properties of a package or roadblock.
- Placement
Group GetCall - Gets one placement group by ID.
- Placement
Group Insert Call - Inserts a new placement group.
- Placement
Group List Call - Retrieves a list of placement groups, possibly filtered. This method supports paging.
- Placement
Group Methods - A builder providing access to all methods supported on placementGroup resources.
It is not used directly, but through the
Dfareporting
hub. - Placement
Group Patch Call - Updates an existing placement group. This method supports patch semantics.
- Placement
Group Update Call - Updates an existing placement group.
- Placement
Groups List Response - Placement Group List Response
- Placement
Insert Call - Inserts a new placement.
- Placement
List Call - Retrieves a list of placements, possibly filtered. This method supports paging.
- Placement
Methods - A builder providing access to all methods supported on placement resources.
It is not used directly, but through the
Dfareporting
hub. - Placement
Patch Call - Updates an existing placement. This method supports patch semantics.
- Placement
Strategies List Response - Placement Strategy List Response
- Placement
Strategy - Contains properties of a placement strategy.
- Placement
Strategy Delete Call - Deletes an existing placement strategy.
- Placement
Strategy GetCall - Gets one placement strategy by ID.
- Placement
Strategy Insert Call - Inserts a new placement strategy.
- Placement
Strategy List Call - Retrieves a list of placement strategies, possibly filtered. This method supports paging.
- Placement
Strategy Methods - A builder providing access to all methods supported on placementStrategy resources.
It is not used directly, but through the
Dfareporting
hub. - Placement
Strategy Patch Call - Updates an existing placement strategy. This method supports patch semantics.
- Placement
Strategy Update Call - Updates an existing placement strategy.
- Placement
Tag - Placement Tag
- Placement
Update Call - Updates an existing placement.
- Placements
Generate Tags Response - Placement GenerateTags Response
- Placements
List Response - Placement List Response
- Platform
Type - Contains information about a platform type that can be targeted by ads.
- Platform
Type GetCall - Gets one platform type by ID.
- Platform
Type List Call - Retrieves a list of platform types.
- Platform
Type Methods - A builder providing access to all methods supported on platformType resources.
It is not used directly, but through the
Dfareporting
hub. - Platform
Types List Response - Platform Type List Response
- Popup
Window Properties - Popup Window Properties.
- Postal
Code - Contains information about a postal code that can be targeted by ads.
- Postal
Code GetCall - Gets one postal code by ID.
- Postal
Code List Call - Retrieves a list of postal codes.
- Postal
Code Methods - A builder providing access to all methods supported on postalCode resources.
It is not used directly, but through the
Dfareporting
hub. - Postal
Codes List Response - Postal Code List Response
- Pricing
- Pricing Information
- Pricing
Schedule - Pricing Schedule
- Pricing
Schedule Pricing Period - Pricing Period
- Project
- Contains properties of a DoubleClick Planning project.
- Project
GetCall - Gets one project by ID.
- Project
List Call - Retrieves a list of projects, possibly filtered. This method supports paging.
- Project
Methods - A builder providing access to all methods supported on project resources.
It is not used directly, but through the
Dfareporting
hub. - Projects
List Response - Project List Response
- Reach
Report Compatible Fields - Represents fields that are compatible to be selected for a report of type “REACH”.
- Recipient
- Represents a recipient.
- Region
- Contains information about a region that can be targeted by ads.
- Region
List Call - Retrieves a list of regions.
- Region
Methods - A builder providing access to all methods supported on region resources.
It is not used directly, but through the
Dfareporting
hub. - Regions
List Response - Region List Response
- Remarketing
List - Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
- Remarketing
List GetCall - Gets one remarketing list by ID.
- Remarketing
List Insert Call - Inserts a new remarketing list.
- Remarketing
List List Call - Retrieves a list of remarketing lists, possibly filtered. This method supports paging.
- Remarketing
List Methods - A builder providing access to all methods supported on remarketingList resources.
It is not used directly, but through the
Dfareporting
hub. - Remarketing
List Patch Call - Updates an existing remarketing list. This method supports patch semantics.
- Remarketing
List Share - Contains properties of a remarketing list’s sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
- Remarketing
List Share GetCall - Gets one remarketing list share by remarketing list ID.
- Remarketing
List Share Methods - A builder providing access to all methods supported on remarketingListShare resources.
It is not used directly, but through the
Dfareporting
hub. - Remarketing
List Share Patch Call - Updates an existing remarketing list share. This method supports patch semantics.
- Remarketing
List Share Update Call - Updates an existing remarketing list share.
- Remarketing
List Update Call - Updates an existing remarketing list.
- Remarketing
Lists List Response - Remarketing list response
- Report
- Represents a Report resource.
- Report
Compatible Field Query Call - Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
- Report
Compatible Fields - Represents fields that are compatible to be selected for a report of type “STANDARD”.
- Report
Criteria - The report criteria for a report of type “STANDARD”.
- Report
Cross Dimension Reach Criteria - The report criteria for a report of type “CROSS_DIMENSION_REACH”.
- Report
Delete Call - Deletes a report by its ID.
- Report
Delivery - The report’s email delivery settings.
- Report
File GetCall - Retrieves a report file. This method supports media download.
- Report
File List Call - Lists files for a report.
- Report
Floodlight Criteria - The report criteria for a report of type “FLOODLIGHT”.
- Report
Floodlight Criteria Report Properties - The properties of the report.
- Report
GetCall - Retrieves a report by its ID.
- Report
Insert Call - Creates a report.
- Report
List - Represents the list of reports.
- Report
List Call - Retrieves list of reports.
- Report
Methods - A builder providing access to all methods supported on report resources.
It is not used directly, but through the
Dfareporting
hub. - Report
Patch Call - Updates a report. This method supports patch semantics.
- Report
Path ToConversion Criteria - The report criteria for a report of type “PATH_TO_CONVERSION”.
- Report
Path ToConversion Criteria Report Properties - The properties of the report.
- Report
Reach Criteria - The report criteria for a report of type “REACH”.
- Report
RunCall - Runs a report.
- Report
Schedule - The report’s schedule. Can only be set if the report’s ‘dateRange’ is a relative date range and the relative date range is not “TODAY”.
- Report
Update Call - Updates a report.
- Reports
Configuration - Reporting Configuration
- Rich
Media Exit Override - Rich Media Exit Override.
- Rule
- A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.
- Site
- Contains properties of a site.
- Site
Contact - Site Contact
- Site
GetCall - Gets one site by ID.
- Site
Insert Call - Inserts a new site.
- Site
List Call - Retrieves a list of sites, possibly filtered. This method supports paging.
- Site
Methods - A builder providing access to all methods supported on site resources.
It is not used directly, but through the
Dfareporting
hub. - Site
Patch Call - Updates an existing site. This method supports patch semantics.
- Site
Settings - Site Settings
- Site
Update Call - Updates an existing site.
- Sites
List Response - Site List Response
- Size
- Represents the dimensions of ads, placements, creatives, or creative assets.
- Size
GetCall - Gets one size by ID.
- Size
Insert Call - Inserts a new size.
- Size
List Call - Retrieves a list of sizes, possibly filtered.
- Size
Methods - A builder providing access to all methods supported on size resources.
It is not used directly, but through the
Dfareporting
hub. - Sizes
List Response - Size List Response
- Skippable
Setting - Skippable Settings
- Sorted
Dimension - Represents a sorted dimension.
- Subaccount
- Contains properties of a DCM subaccount.
- Subaccount
GetCall - Gets one subaccount by ID.
- Subaccount
Insert Call - Inserts a new subaccount.
- Subaccount
List Call - Gets a list of subaccounts, possibly filtered. This method supports paging.
- Subaccount
Methods - A builder providing access to all methods supported on subaccount resources.
It is not used directly, but through the
Dfareporting
hub. - Subaccount
Patch Call - Updates an existing subaccount. This method supports patch semantics.
- Subaccount
Update Call - Updates an existing subaccount.
- Subaccounts
List Response - Subaccount List Response
- TagData
- Placement Tag Data
- TagSetting
- Tag Settings
- TagSettings
- Dynamic and Image Tag Settings.
- Target
Window - Target Window.
- Targetable
Remarketing List - Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.
- Targetable
Remarketing List GetCall - Gets one remarketing list by ID.
- Targetable
Remarketing List List Call - Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.
- Targetable
Remarketing List Methods - A builder providing access to all methods supported on targetableRemarketingList resources.
It is not used directly, but through the
Dfareporting
hub. - Targetable
Remarketing Lists List Response - Targetable remarketing list response
- Targeting
Template - Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.
- Targeting
Template GetCall - Gets one targeting template by ID.
- Targeting
Template Insert Call - Inserts a new targeting template.
- Targeting
Template List Call - Retrieves a list of targeting templates, optionally filtered. This method supports paging.
- Targeting
Template Methods - A builder providing access to all methods supported on targetingTemplate resources.
It is not used directly, but through the
Dfareporting
hub. - Targeting
Template Patch Call - Updates an existing targeting template. This method supports patch semantics.
- Targeting
Template Update Call - Updates an existing targeting template.
- Targeting
Templates List Response - Targeting Template List Response
- Technology
Targeting - Technology Targeting.
- Third
Party Authentication Token - Third Party Authentication Token
- Third
Party Tracking Url - Third-party Tracking URL.
- Transcode
Setting - Transcode Settings
- User
Defined Variable Configuration - User Defined Variable configuration.
- User
Profile - Represents a UserProfile resource.
- User
Profile GetCall - Gets one user profile by ID.
- User
Profile List - Represents the list of user profiles.
- User
Profile List Call - Retrieves list of user profiles for a user.
- User
Profile Methods - A builder providing access to all methods supported on userProfile resources.
It is not used directly, but through the
Dfareporting
hub. - User
Role - Contains properties of auser role, which is used to manage user access.
- User
Role Delete Call - Deletes an existing user role.
- User
Role GetCall - Gets one user role by ID.
- User
Role Insert Call - Inserts a new user role.
- User
Role List Call - Retrieves a list of user roles, possibly filtered. This method supports paging.
- User
Role Methods - A builder providing access to all methods supported on userRole resources.
It is not used directly, but through the
Dfareporting
hub. - User
Role Patch Call - Updates an existing user role. This method supports patch semantics.
- User
Role Permission - Contains properties of a user role permission.
- User
Role Permission GetCall - Gets one user role permission by ID.
- User
Role Permission Group - Represents a grouping of related user role permissions.
- User
Role Permission Group GetCall - Gets one user role permission group by ID.
- User
Role Permission Group List Call - Gets a list of all supported user role permission groups.
- User
Role Permission Group Methods - A builder providing access to all methods supported on userRolePermissionGroup resources.
It is not used directly, but through the
Dfareporting
hub. - User
Role Permission Groups List Response - User Role Permission Group List Response
- User
Role Permission List Call - Gets a list of user role permissions, possibly filtered.
- User
Role Permission Methods - A builder providing access to all methods supported on userRolePermission resources.
It is not used directly, but through the
Dfareporting
hub. - User
Role Permissions List Response - User Role Permission List Response
- User
Role Update Call - Updates an existing user role.
- User
Roles List Response - User Role List Response
- Video
Format - Contains information about supported video formats.
- Video
Format GetCall - Gets one video format by ID.
- Video
Format List Call - Lists available video formats.
- Video
Format Methods - A builder providing access to all methods supported on videoFormat resources.
It is not used directly, but through the
Dfareporting
hub. - Video
Formats List Response - Video Format List Response
- Video
Offset - Video Offset
- Video
Settings - Video Settings
Enums§
- Error
- Scope
- Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Traits§
- Call
Builder - Identifies types which represent builders for a particular resource method
- Delegate
- A trait specifying functionality to help controlling any request performed by the API. The trait has a conservative default implementation.
- Hub
- Identifies the Hub. There is only one per library, this trait is supposed to make intended use more explicit. The hub allows to access all resource methods more easily.
- Methods
Builder - Identifies types for building methods of a particular resource type
- Nested
Type - Identifies types which are only used by other types internally. They have no special meaning, this trait just marks them for completeness.
- Part
- Identifies types which are only used as part of other types, which
usually are carrying the
Resource
trait. - Read
Seek - A utility to specify reader types which provide seeking capabilities too
- Request
Value - Identifies types which are used in API requests.
- Resource
- Identifies types which can be inserted and deleted. Types with this trait are most commonly used by clients of this API.
- Response
Result - Identifies types which are used in API responses.
- ToParts
- A trait for all types that can convert themselves into a parts string
Functions§
Type Aliases§
- Result
- A universal result type used as return for all calls.