dfareporting/v5 library

Campaign Manager 360 API - v5

Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.

For more information, see developers.google.com/doubleclick-advertisers/

Create an instance of DfareportingApi to access these resources:

Classes

Account
Contains properties of a Campaign Manager account.
AccountActiveAdSummariesResource
AccountPermissionGroupsListResponse
Account Permission Group List Response
AccountPermissionGroupsResource
AccountPermissionsListResponse
Account Permission List Response
AccountPermissionsResource
AccountsListResponse
Account List Response
AccountsResource
AccountUserProfile
AccountUserProfiles contains properties of a Campaign Manager user profile.
AccountUserProfilesListResponse
Account User Profile List Response
AccountUserProfilesResource
Activities
Represents an activity group.
Contains properties of a Campaign Manager ad.
AdsListResponse
Ad List Response
AdsResource
Advertiser
Contains properties of a Campaign Manager advertiser.
AdvertiserGroupsListResponse
Advertiser Group List Response
AdvertiserGroupsResource
AdvertiserInvoicesListResponse
Invoice List Response
AdvertiserInvoicesResource
AdvertiserLandingPagesListResponse
Landing Page List Response
AdvertiserLandingPagesResource
AdvertisersListResponse
Advertiser List Response
AdvertisersResource
AudienceSegmentGroup
Audience Segment Group.
BillingAssignmentsListResponse
Billing assignment List Response
BillingAssignmentsResource
BillingProfilesListResponse
Billing profile List Response
BillingProfilesResource
BillingRate
BillingRatesListResponse
Billing Rate List Response
BillingRatesResource
BrowsersListResponse
Browser List Response
BrowsersResource
ByteRange
Specifies a range of media.
Campaign
Contains properties of a Campaign Manager campaign.
CampaignCreativeAssociationsListResponse
Campaign Creative Association List Response
CampaignCreativeAssociationsResource
CampaignsListResponse
Campaign List Response
CampaignsResource
CartData
Beta: This feature is currently in beta.
ChangeLogsListResponse
Change Log List Response
ChangeLogsResource
CitiesListResponse
City List Response
CitiesResource
ClickTag
Creative Click Tag.
CompanionClickThroughOverride
Companion Click-through override.
CompanionSetting
Companion Settings
CompatibleFields
Represents a response to the queryCompatibleFields method.
ConnectionTypesListResponse
Connection Type List Response
ConnectionTypesResource
ContentCategoriesListResponse
Content Category List Response
ContentCategoriesResource
ContentSource
Contains the content source of the dynamic feed.
Conversion
A Conversion represents when a user successfully performs a desired action after seeing an ad.
ConversionsBatchInsertRequest
Insert Conversions Request.
ConversionsBatchInsertResponse
Insert Conversions Response.
ConversionsBatchUpdateRequest
Update Conversions Request.
ConversionsBatchUpdateResponse
Update Conversions Response.
ConversionsResource
ConversionStatus
The original conversion that was inserted or updated and whether there were any errors.
CountriesListResponse
Country List Response
CountriesResource
Creative
Contains properties of a Creative.
CreativeAsset
Creative Asset.
CreativeAssetMetadata
CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded.
CreativeAssetsResource
CreativeAssignment
Creative Assignment.
CreativeCustomEvent
Creative Custom Event.
CreativeField
Contains properties of a creative field.
CreativeFieldsListResponse
Creative Field List Response
CreativeFieldsResource
CreativeFieldValuesListResponse
Creative Field Value List Response
CreativeFieldValuesResource
CreativeGroup
Contains properties of a creative group.
CreativeGroupsListResponse
Creative Group List Response
CreativeGroupsResource
CreativeOptimizationConfiguration
Creative optimization settings.
CreativeRotation
Creative Rotation.
CreativesListResponse
Creative List Response
CreativesResource
CrossDimensionReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH".
CrossMediaReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "CROSS_MEDIA_REACH".
CustomRichMediaEvents
Represents a Custom Rich Media Events group.
CustomRule
Contains custom rule information.
CustomViewabilityMetric
Custom Viewability Metric
Contains information about a landing page deep link.
DeliverySchedule
Delivery Schedule.
DfareportingApi
Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.
DimensionValueList
Represents the list of DimensionValue resources.
DimensionValueRequest
Represents a DimensionValuesRequest.
DimensionValuesResource
DirectorySite
DirectorySites contains properties of a website from the Site Directory.
DirectorySiteSettings
Directory Site Settings
DirectorySitesListResponse
Directory Site List Response
DirectorySitesResource
DownloadOptions
Represents options for downloading media.
DynamicFeed
Contains dynamic feed information.
DynamicFeedsInsertRequest
Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id.
DynamicFeedsResource
DynamicProfile
Contains dynamic profile information.
DynamicProfileFeedSettings
Contains dynamic profile specific settings for an associated dynamic feed.
DynamicProfilesResource
DynamicProfileVersion
Contains dynamic profile version information.
DynamicRules
Contains dynamic rules information.
DynamicTargetingKeysListResponse
Dynamic Targeting Key List Response
DynamicTargetingKeysResource
Element
Contains the element of the dynamic feed.
EventTag
Contains properties of an event tag.
EventTagsListResponse
Event Tag List Response
EventTagsResource
FeedIngestionStatus
Contains the ingestion status of the dynamic feed.
FieldFilter
Contains field filter information.
File
Represents a File resource.
FileList
List of files for a report.
FilesResource
FileUrls
The URLs where the completed report file can be downloaded.
FloodlightActivitiesListResponse
Floodlight Activity List Response
FloodlightActivitiesResource
FloodlightActivity
Contains properties of a Floodlight activity.
FloodlightActivityGroup
Contains properties of a Floodlight activity group.
FloodlightActivityGroupsListResponse
Floodlight Activity Group List Response
FloodlightActivityGroupsResource
FloodlightActivityPublisherDynamicTag
Publisher Dynamic Tag
FloodlightConfiguration
Contains properties of a Floodlight configuration.
FloodlightConfigurationsListResponse
Floodlight Configuration List Response
FloodlightConfigurationsResource
FloodlightReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "FlOODLIGHT".
GeoTargeting
Geographical Targeting.
IngestionErrorRecord
Contains the ingestion error record of the dynamic feed.
Invoice
Contains information about a single invoice
LandingPage
Contains information about where a user's browser is taken after the user clicks an ad.
LanguagesListResponse
Language List Response
LanguagesResource
LanguageTargeting
Language Targeting.
ListPopulationClause
A group clause made up of list population terms representing constraints joined by ORs.
ListPopulationRule
Remarketing List Population Rule.
Media
Represents a media consisting of a stream of bytes, a content type and a length.
MetrosListResponse
Metro List Response
MetrosResource
MobileAppsListResponse
Mobile app List Response
MobileAppsResource
MobileCarriersListResponse
Mobile Carrier List Response
MobileCarriersResource
ObaIcon
Online Behavioral Advertiser icon.
OperatingSystemsListResponse
Operating System List Response
OperatingSystemsResource
OperatingSystemVersion
Contains information about a particular version of an operating system that can be targeted by ads.
OperatingSystemVersionsListResponse
Operating System Version List Response
OperatingSystemVersionsResource
OptimizationActivity
Creative optimization activity.
PartialDownloadOptions
Options for downloading a Media.
PathToConversionReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "PATH_TO_CONVERSION".
Placement
Contains properties of a placement.
PlacementAssignment
Placement Assignment.
PlacementConversionDomainOverride
PlacementGroup
Contains properties of a package or roadblock.
PlacementGroupsListResponse
Placement Group List Response
PlacementGroupsResource
PlacementsGenerateTagsResponse
Placement GenerateTags Response
PlacementsListResponse
Placement List Response
PlacementsResource
PlacementStrategiesListResponse
Placement Strategy List Response
PlacementStrategiesResource
PlacementTag
Placement Tag
PlatformTypesListResponse
Platform Type List Response
PlatformTypesResource
PopupWindowProperties
Popup Window Properties.
PostalCodesListResponse
Postal Code List Response
PostalCodesResource
PricingSchedule
Pricing Schedule
ReachReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "REACH".
RegionsListResponse
Region List Response
RegionsResource
RemarketingList
Contains properties of a remarketing list.
RemarketingListSharesResource
RemarketingListsListResponse
Remarketing list response
RemarketingListsResource
Report
Represents a Report resource.
ReportCompatibleFields
Represents fields that are compatible to be selected for a report of type "STANDARD".
ReportCriteria
The report criteria for a report of type "STANDARD".
ReportCrossMediaReachCriteria
The report criteria for a report of type "CROSS_MEDIA_REACH".
ReportDelivery
The report's email delivery settings.
ReportFloodlightCriteria
The report criteria for a report of type "FLOODLIGHT".
ReportFloodlightCriteriaReportProperties
The properties of the report.
ReportList
Represents the list of reports.
ReportPathToConversionCriteria
The report criteria for a report of type "PATH_TO_CONVERSION".
ReportPathToConversionCriteriaReportProperties
The properties of the report.
ReportReachCriteria
The report criteria for a report of type "REACH".
ReportSchedule
The report's schedule.
ReportsCompatibleFieldsResource
ReportsConfiguration
Reporting Configuration
ReportsFilesResource
ReportsResource
ResumableUploadOptions
Specifies options for resumable uploads.
RichMediaExitOverride
Rich Media Exit Override.
RuleBlock
Contains a list of field filters that the given custom rule will apply.
Site
Contains properties of a site.
SiteCompanionSetting
Companion Settings
SiteSettings
Site Settings
SiteSkippableSetting
Skippable Settings
SitesListResponse
Site List Response
SitesResource
SiteVideoSettings
Video Settings
SizesListResponse
Size List Response
SizesResource
SkippableSetting
Skippable Settings
SubaccountsListResponse
Subaccount List Response
SubaccountsResource
TargetableRemarketingList
Contains properties of a targetable remarketing list.
TargetableRemarketingListsListResponse
Targetable remarketing list response
TargetableRemarketingListsResource
TargetingTemplate
Contains properties of a targeting template.
TargetingTemplatesListResponse
Targeting Template List Response
TargetingTemplatesResource
TechnologyTargeting
Technology Targeting.
TvCampaignDetail
TvCampaignDetail contains data from a TV campaign for specific start dates and date windows.
TvCampaignDetailsResource
TvCampaignSummariesListResponse
Response message for TvCampaignSummariesService.List.
TvCampaignSummariesResource
UploadOptions
Represents options for uploading a Media.
UserIdentifier
User identifying information.
UserProfileList
Represents the list of user profiles.
UserProfilesResource
UserRole
Contains properties of auser role, which is used to manage user access.
UserRolePermissionGroupsListResponse
User Role Permission Group List Response
UserRolePermissionGroupsResource
UserRolePermissionsListResponse
User Role Permission List Response
UserRolePermissionsResource
UserRolesListResponse
User Role List Response
UserRolesResource
VideoFormat
Contains information about supported video formats.
VideoFormatsListResponse
Video Format List Response
VideoFormatsResource
VideoSettings
Video Settings

Typedefs

AccountActiveAdSummary = $AccountActiveAdSummary
Gets a summary of active ads in an account.
AccountPermission = $AccountPermission
AccountPermissions contains information about a particular account permission.
AccountPermissionGroup = $AccountPermissionGroup
AccountPermissionGroups contains a mapping of permission group IDs to names.
AdBlockingConfiguration = $AdBlockingConfiguration
Campaign ad blocking settings.
AdvertiserGroup = $AdvertiserGroup
Groups advertisers together so that reports can be generated for the entire group at once.
AudienceSegment = $AudienceSegment
Audience Segment.
BillingAssignment = $BillingAssignment
List account, subaccount, advertiser, and campaign associated with a given Billing Profile.
BillingProfile = $BillingProfile
Contains properties of a Campaign Manager Billing Profile.
BillingRateTieredRate = $BillingRateTieredRate
Browser = $Browser
Contains information about a browser that can be targeted by ads.
CampaignCreativeAssociation = $CampaignCreativeAssociation
Identifies a creative which has been associated with a given campaign.
CampaignSummary = $CampaignSummary
Represents a summarized campaign information associated with this invoice.
CartDataItem = $CartDataItem
Contains data of the items purchased.
ChangeLog = $ChangeLog
Describes a change that a user has made to a resource.
City = $City
Contains information about a city that can be targeted by ads.
ClickThroughUrl = $ClickThroughUrl
Click-through URL
ClickThroughUrlSuffixProperties = $ClickThroughUrlSuffixProperties
Click Through URL Suffix settings.
ConnectionType = $ConnectionType
Contains information about an internet connection type that can be targeted by ads.
ContentCategory = $ContentCategory
ContentSourceMetaData = $ContentSourceMetaData
Contains the meta data of the content source.
ConversionError = $ConversionError
The error code and description for a conversion that failed to insert or update.
Country = $Country
Contains information about a country that can be targeted by ads.
CreativeAssetId = $CreativeAssetId
Creative Asset ID.
CreativeClickThroughUrl = $CreativeClickThroughUrl
Click-through URL
CreativeFieldAssignment = $CreativeFieldAssignment
Creative Field Assignment.
CreativeFieldValue = $CreativeFieldValue
Contains properties of a creative field value.
CreativeGroupAssignment = $CreativeGroupAssignment
Creative Group Assignment.
CustomFloodlightVariable = $CustomFloodlightVariable
A custom floodlight variable.
CustomValueField = $CustomValueField
Contains custom value field information.
CustomViewabilityMetricConfiguration = $CustomViewabilityMetricConfiguration
The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.
DateRange = $DateRange
Represents a date range.
DayPartTargeting = $DayPartTargeting
Day Part Targeting.
DefaultClickThroughEventTagProperties = $DefaultClickThroughEventTagProperties
Properties of inheriting and overriding the default click-through event tag.
DependentFieldValue = $DependentFieldValue
Contains dependent field value information.
DfpSettings = $DfpSettings
Google Ad Manager Settings
Dimension = $Dimension
Represents a dimension.
DimensionFilter = $DimensionFilter
Represents a dimension filter.
DimensionValue = $DimensionValue
Represents a DimensionValue resource.
DynamicTargetingKey = $DynamicTargetingKey
Contains properties of a dynamic targeting key.
EncryptionInfo = $EncryptionInfo
A description of how user IDs are encrypted.
EventTagOverride = $EventTagOverride
Event tag override information.
FeedField = $FeedField
Each field of the element.
FeedSchedule = $FeedSchedule
Contains the schedule of the dynamic feed.
FieldError = $FieldError
Contains the field error of the dynamic feed.
FloodlightActivitiesGenerateTagResponse = $FloodlightActivitiesGenerateTagResponse
Floodlight Activity GenerateTag Response
FloodlightActivityDynamicTag = $FloodlightActivityDynamicTag
Dynamic Tag
FrequencyCap = $FrequencyCap01
Frequency Cap.
FsCommand = $FsCommand
FsCommand.
IngestionStatus = $IngestionStatus
Contains the ingestion status of the dynamic feed.
KeyValueTargetingExpression = $KeyValueTargetingExpression
Key Value Targeting Expression.
Language = $Language
Contains information about a language that can be targeted by ads.
LastModifiedInfo = $LastModifiedInfo
Modification timestamp.
ListPopulationTerm = $ListPopulationTerm
Remarketing List Population Rule Term.
ListTargetingExpression = $ListTargetingExpression
Remarketing List Targeting Expression.
LookbackConfiguration = $LookbackConfiguration
Lookback configuration settings.
MeasurementPartnerWrappingData = $MeasurementPartnerWrappingData
Placement tag wrapping
Metric = $Metric
Represents a metric.
Metro = $Metro
Contains information about a metro region that can be targeted by ads.
MobileApp = $MobileApp01
Contains information about a mobile app.
MobileCarrier = $MobileCarrier
Contains information about a mobile carrier that can be targeted by ads.
ObjectFilter = $ObjectFilter
Object Filter.
OfflineUserAddressInfo = $OfflineUserAddressInfo
Identify a user by name and address.
OffsetPosition = $OffsetPosition
Offset Position.
OmnitureSettings = $OmnitureSettings
Omniture Integration Settings.
OperatingSystem = $OperatingSystem
Contains information about an operating system that can be targeted by ads.
PlacementSingleConversionDomain = $PlacementSingleConversionDomain
PlacementStrategy = $PlacementStrategy
Contains properties of a placement strategy.
PlatformType = $PlatformType
Contains information about a platform type that can be targeted by ads.
PostalCode = $PostalCode
Contains information about a postal code that can be targeted by ads.
PricingSchedulePricingPeriod = $PricingSchedulePricingPeriod
Pricing Period
ProximityFilter = $ProximityFilter
Contains proximity filter information.
Recipient = $Recipient
Represents a recipient.
Region = $Region01
Contains information about a region that can be targeted by ads.
RemarketingListShare = $RemarketingListShare
Contains properties of a remarketing list's sharing information.
RemarketingValueAttribute = $RemarketingValueAttribute
Contains remarketing value attribute information.
RequestValue = $RequestValue
Contains request value information.
SiteContact = $SiteContact
Site Contact
SiteTranscodeSetting = $SiteTranscodeSetting
Transcode Settings
Size = $Size
Represents the dimensions of ads, placements, creatives, or creative assets.
SortedDimension = $SortedDimension
Represents a sorted dimension.
Subaccount = $Subaccount
Contains properties of a Campaign Manager subaccount.
TagData = $TagData
Placement Tag Data
TagSetting = $TagSetting
Tag Settings
TagSettings = $TagSettings
Dynamic and Image Tag Settings.
TargetWindow = $TargetWindow
Target Window.
ThirdPartyAuthenticationToken = $ThirdPartyAuthenticationToken
Third Party Authentication Token
ThirdPartyTrackingUrl = $ThirdPartyTrackingUrl
Third-party Tracking URL.
TranscodeSetting = $TranscodeSetting
Transcode Settings
TvCampaignSummary = $TvCampaignSummary
TvCampaignSummary contains aggregate data from a TV campaign.
TvCampaignTimepoint = $TvCampaignTimepoint
A single data point for TvCampaignDetail, which holds information about the TV campaign for a specific start date and date window.
UniversalAdId = $UniversalAdId01
A Universal Ad ID as per the VAST 4.0 spec.
UserDefinedVariableConfiguration = $UserDefinedVariableConfiguration
User Defined Variable configuration.
UserProfile = $UserProfile
A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account.
UserRolePermission = $UserRolePermission
Contains properties of a user role permission.
UserRolePermissionGroup = $UserRolePermissionGroup
Represents a grouping of related user role permissions.
VideoOffset = $VideoOffset
Video Offset
YoutubeSettings = $YoutubeSettings
Contains the YouTube settings.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.