dfareporting - ActiveState ActiveGo 1.8
...

Package dfareporting

import "google.golang.org/api/dfareporting/v2.8"
Overview
Index

Overview ▾

Package dfareporting provides access to the DCM/DFA Reporting And Trafficking API.

See https://developers.google.com/doubleclick-advertisers/

Usage example:

import "google.golang.org/api/dfareporting/v2.8"
...
dfareportingService, err := dfareporting.New(oauthHttpClient)

Index ▾

Constants
type Account
    func (s *Account) MarshalJSON() ([]byte, error)
type AccountActiveAdSummariesGetCall
    func (c *AccountActiveAdSummariesGetCall) Context(ctx context.Context) *AccountActiveAdSummariesGetCall
    func (c *AccountActiveAdSummariesGetCall) Do(opts ...googleapi.CallOption) (*AccountActiveAdSummary, error)
    func (c *AccountActiveAdSummariesGetCall) Fields(s ...googleapi.Field) *AccountActiveAdSummariesGetCall
    func (c *AccountActiveAdSummariesGetCall) Header() http.Header
    func (c *AccountActiveAdSummariesGetCall) IfNoneMatch(entityTag string) *AccountActiveAdSummariesGetCall
type AccountActiveAdSummariesService
    func NewAccountActiveAdSummariesService(s *Service) *AccountActiveAdSummariesService
    func (r *AccountActiveAdSummariesService) Get(profileId int64, summaryAccountId int64) *AccountActiveAdSummariesGetCall
type AccountActiveAdSummary
    func (s *AccountActiveAdSummary) MarshalJSON() ([]byte, error)
type AccountPermission
    func (s *AccountPermission) MarshalJSON() ([]byte, error)
type AccountPermissionGroup
    func (s *AccountPermissionGroup) MarshalJSON() ([]byte, error)
type AccountPermissionGroupsGetCall
    func (c *AccountPermissionGroupsGetCall) Context(ctx context.Context) *AccountPermissionGroupsGetCall
    func (c *AccountPermissionGroupsGetCall) Do(opts ...googleapi.CallOption) (*AccountPermissionGroup, error)
    func (c *AccountPermissionGroupsGetCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsGetCall
    func (c *AccountPermissionGroupsGetCall) Header() http.Header
    func (c *AccountPermissionGroupsGetCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsGetCall
type AccountPermissionGroupsListCall
    func (c *AccountPermissionGroupsListCall) Context(ctx context.Context) *AccountPermissionGroupsListCall
    func (c *AccountPermissionGroupsListCall) Do(opts ...googleapi.CallOption) (*AccountPermissionGroupsListResponse, error)
    func (c *AccountPermissionGroupsListCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsListCall
    func (c *AccountPermissionGroupsListCall) Header() http.Header
    func (c *AccountPermissionGroupsListCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsListCall
type AccountPermissionGroupsListResponse
    func (s *AccountPermissionGroupsListResponse) MarshalJSON() ([]byte, error)
type AccountPermissionGroupsService
    func NewAccountPermissionGroupsService(s *Service) *AccountPermissionGroupsService
    func (r *AccountPermissionGroupsService) Get(profileId int64, id int64) *AccountPermissionGroupsGetCall
    func (r *AccountPermissionGroupsService) List(profileId int64) *AccountPermissionGroupsListCall
type AccountPermissionsGetCall
    func (c *AccountPermissionsGetCall) Context(ctx context.Context) *AccountPermissionsGetCall
    func (c *AccountPermissionsGetCall) Do(opts ...googleapi.CallOption) (*AccountPermission, error)
    func (c *AccountPermissionsGetCall) Fields(s ...googleapi.Field) *AccountPermissionsGetCall
    func (c *AccountPermissionsGetCall) Header() http.Header
    func (c *AccountPermissionsGetCall) IfNoneMatch(entityTag string) *AccountPermissionsGetCall
type AccountPermissionsListCall
    func (c *AccountPermissionsListCall) Context(ctx context.Context) *AccountPermissionsListCall
    func (c *AccountPermissionsListCall) Do(opts ...googleapi.CallOption) (*AccountPermissionsListResponse, error)
    func (c *AccountPermissionsListCall) Fields(s ...googleapi.Field) *AccountPermissionsListCall
    func (c *AccountPermissionsListCall) Header() http.Header
    func (c *AccountPermissionsListCall) IfNoneMatch(entityTag string) *AccountPermissionsListCall
type AccountPermissionsListResponse
    func (s *AccountPermissionsListResponse) MarshalJSON() ([]byte, error)
type AccountPermissionsService
    func NewAccountPermissionsService(s *Service) *AccountPermissionsService
    func (r *AccountPermissionsService) Get(profileId int64, id int64) *AccountPermissionsGetCall
    func (r *AccountPermissionsService) List(profileId int64) *AccountPermissionsListCall
type AccountUserProfile
    func (s *AccountUserProfile) MarshalJSON() ([]byte, error)
type AccountUserProfilesGetCall
    func (c *AccountUserProfilesGetCall) Context(ctx context.Context) *AccountUserProfilesGetCall
    func (c *AccountUserProfilesGetCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)
    func (c *AccountUserProfilesGetCall) Fields(s ...googleapi.Field) *AccountUserProfilesGetCall
    func (c *AccountUserProfilesGetCall) Header() http.Header
    func (c *AccountUserProfilesGetCall) IfNoneMatch(entityTag string) *AccountUserProfilesGetCall
type AccountUserProfilesInsertCall
    func (c *AccountUserProfilesInsertCall) Context(ctx context.Context) *AccountUserProfilesInsertCall
    func (c *AccountUserProfilesInsertCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)
    func (c *AccountUserProfilesInsertCall) Fields(s ...googleapi.Field) *AccountUserProfilesInsertCall
    func (c *AccountUserProfilesInsertCall) Header() http.Header
type AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) Active(active bool) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) Context(ctx context.Context) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) Do(opts ...googleapi.CallOption) (*AccountUserProfilesListResponse, error)
    func (c *AccountUserProfilesListCall) Fields(s ...googleapi.Field) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) Header() http.Header
    func (c *AccountUserProfilesListCall) Ids(ids ...int64) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) IfNoneMatch(entityTag string) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) MaxResults(maxResults int64) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) PageToken(pageToken string) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) Pages(ctx context.Context, f func(*AccountUserProfilesListResponse) error) error
    func (c *AccountUserProfilesListCall) SearchString(searchString string) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) SubaccountId(subaccountId int64) *AccountUserProfilesListCall
    func (c *AccountUserProfilesListCall) UserRoleId(userRoleId int64) *AccountUserProfilesListCall
type AccountUserProfilesListResponse
    func (s *AccountUserProfilesListResponse) MarshalJSON() ([]byte, error)
type AccountUserProfilesPatchCall
    func (c *AccountUserProfilesPatchCall) Context(ctx context.Context) *AccountUserProfilesPatchCall
    func (c *AccountUserProfilesPatchCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)
    func (c *AccountUserProfilesPatchCall) Fields(s ...googleapi.Field) *AccountUserProfilesPatchCall
    func (c *AccountUserProfilesPatchCall) Header() http.Header
type AccountUserProfilesService
    func NewAccountUserProfilesService(s *Service) *AccountUserProfilesService
    func (r *AccountUserProfilesService) Get(profileId int64, id int64) *AccountUserProfilesGetCall
    func (r *AccountUserProfilesService) Insert(profileId int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesInsertCall
    func (r *AccountUserProfilesService) List(profileId int64) *AccountUserProfilesListCall
    func (r *AccountUserProfilesService) Patch(profileId int64, id int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesPatchCall
    func (r *AccountUserProfilesService) Update(profileId int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesUpdateCall
type AccountUserProfilesUpdateCall
    func (c *AccountUserProfilesUpdateCall) Context(ctx context.Context) *AccountUserProfilesUpdateCall
    func (c *AccountUserProfilesUpdateCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)
    func (c *AccountUserProfilesUpdateCall) Fields(s ...googleapi.Field) *AccountUserProfilesUpdateCall
    func (c *AccountUserProfilesUpdateCall) Header() http.Header
type AccountsGetCall
    func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
    func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)
    func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
    func (c *AccountsGetCall) Header() http.Header
    func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
type AccountsListCall
    func (c *AccountsListCall) Active(active bool) *AccountsListCall
    func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
    func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*AccountsListResponse, error)
    func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
    func (c *AccountsListCall) Header() http.Header
    func (c *AccountsListCall) Ids(ids ...int64) *AccountsListCall
    func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
    func (c *AccountsListCall) MaxResults(maxResults int64) *AccountsListCall
    func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall
    func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error
    func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall
    func (c *AccountsListCall) SortField(sortField string) *AccountsListCall
    func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall
type AccountsListResponse
    func (s *AccountsListResponse) MarshalJSON() ([]byte, error)
type AccountsPatchCall
    func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall
    func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*Account, error)
    func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall
    func (c *AccountsPatchCall) Header() http.Header
type AccountsService
    func NewAccountsService(s *Service) *AccountsService
    func (r *AccountsService) Get(profileId int64, id int64) *AccountsGetCall
    func (r *AccountsService) List(profileId int64) *AccountsListCall
    func (r *AccountsService) Patch(profileId int64, id int64, account *Account) *AccountsPatchCall
    func (r *AccountsService) Update(profileId int64, account *Account) *AccountsUpdateCall
type AccountsUpdateCall
    func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall
    func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)
    func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
    func (c *AccountsUpdateCall) Header() http.Header
type Activities
    func (s *Activities) MarshalJSON() ([]byte, error)
type Ad
    func (s *Ad) MarshalJSON() ([]byte, error)
type AdBlockingConfiguration
    func (s *AdBlockingConfiguration) MarshalJSON() ([]byte, error)
type AdSlot
    func (s *AdSlot) MarshalJSON() ([]byte, error)
type AdsGetCall
    func (c *AdsGetCall) Context(ctx context.Context) *AdsGetCall
    func (c *AdsGetCall) Do(opts ...googleapi.CallOption) (*Ad, error)
    func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall
    func (c *AdsGetCall) Header() http.Header
    func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall
type AdsInsertCall
    func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall
    func (c *AdsInsertCall) Do(opts ...googleapi.CallOption) (*Ad, error)
    func (c *AdsInsertCall) Fields(s ...googleapi.Field) *AdsInsertCall
    func (c *AdsInsertCall) Header() http.Header
type AdsListCall
    func (c *AdsListCall) Active(active bool) *AdsListCall
    func (c *AdsListCall) AdvertiserId(advertiserId int64) *AdsListCall
    func (c *AdsListCall) Archived(archived bool) *AdsListCall
    func (c *AdsListCall) AudienceSegmentIds(audienceSegmentIds ...int64) *AdsListCall
    func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall
    func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall
    func (c *AdsListCall) Context(ctx context.Context) *AdsListCall
    func (c *AdsListCall) CreativeIds(creativeIds ...int64) *AdsListCall
    func (c *AdsListCall) CreativeOptimizationConfigurationIds(creativeOptimizationConfigurationIds ...int64) *AdsListCall
    func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)
    func (c *AdsListCall) DynamicClickTracker(dynamicClickTracker bool) *AdsListCall
    func (c *AdsListCall) Fields(s ...googleapi.Field) *AdsListCall
    func (c *AdsListCall) Header() http.Header
    func (c *AdsListCall) Ids(ids ...int64) *AdsListCall
    func (c *AdsListCall) IfNoneMatch(entityTag string) *AdsListCall
    func (c *AdsListCall) LandingPageIds(landingPageIds ...int64) *AdsListCall
    func (c *AdsListCall) MaxResults(maxResults int64) *AdsListCall
    func (c *AdsListCall) OverriddenEventTagId(overriddenEventTagId int64) *AdsListCall
    func (c *AdsListCall) PageToken(pageToken string) *AdsListCall
    func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error
    func (c *AdsListCall) PlacementIds(placementIds ...int64) *AdsListCall
    func (c *AdsListCall) RemarketingListIds(remarketingListIds ...int64) *AdsListCall
    func (c *AdsListCall) SearchString(searchString string) *AdsListCall
    func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall
    func (c *AdsListCall) SortField(sortField string) *AdsListCall
    func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall
    func (c *AdsListCall) SslCompliant(sslCompliant bool) *AdsListCall
    func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall
    func (c *AdsListCall) Type(type_ ...string) *AdsListCall
type AdsListResponse
    func (s *AdsListResponse) MarshalJSON() ([]byte, error)
type AdsPatchCall
    func (c *AdsPatchCall) Context(ctx context.Context) *AdsPatchCall
    func (c *AdsPatchCall) Do(opts ...googleapi.CallOption) (*Ad, error)
    func (c *AdsPatchCall) Fields(s ...googleapi.Field) *AdsPatchCall
    func (c *AdsPatchCall) Header() http.Header
type AdsService
    func NewAdsService(s *Service) *AdsService
    func (r *AdsService) Get(profileId int64, id int64) *AdsGetCall
    func (r *AdsService) Insert(profileId int64, ad *Ad) *AdsInsertCall
    func (r *AdsService) List(profileId int64) *AdsListCall
    func (r *AdsService) Patch(profileId int64, id int64, ad *Ad) *AdsPatchCall
    func (r *AdsService) Update(profileId int64, ad *Ad) *AdsUpdateCall
type AdsUpdateCall
    func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall
    func (c *AdsUpdateCall) Do(opts ...googleapi.CallOption) (*Ad, error)
    func (c *AdsUpdateCall) Fields(s ...googleapi.Field) *AdsUpdateCall
    func (c *AdsUpdateCall) Header() http.Header
type Advertiser
    func (s *Advertiser) MarshalJSON() ([]byte, error)
type AdvertiserGroup
    func (s *AdvertiserGroup) MarshalJSON() ([]byte, error)
type AdvertiserGroupsDeleteCall
    func (c *AdvertiserGroupsDeleteCall) Context(ctx context.Context) *AdvertiserGroupsDeleteCall
    func (c *AdvertiserGroupsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AdvertiserGroupsDeleteCall) Fields(s ...googleapi.Field) *AdvertiserGroupsDeleteCall
    func (c *AdvertiserGroupsDeleteCall) Header() http.Header
type AdvertiserGroupsGetCall
    func (c *AdvertiserGroupsGetCall) Context(ctx context.Context) *AdvertiserGroupsGetCall
    func (c *AdvertiserGroupsGetCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)
    func (c *AdvertiserGroupsGetCall) Fields(s ...googleapi.Field) *AdvertiserGroupsGetCall
    func (c *AdvertiserGroupsGetCall) Header() http.Header
    func (c *AdvertiserGroupsGetCall) IfNoneMatch(entityTag string) *AdvertiserGroupsGetCall
type AdvertiserGroupsInsertCall
    func (c *AdvertiserGroupsInsertCall) Context(ctx context.Context) *AdvertiserGroupsInsertCall
    func (c *AdvertiserGroupsInsertCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)
    func (c *AdvertiserGroupsInsertCall) Fields(s ...googleapi.Field) *AdvertiserGroupsInsertCall
    func (c *AdvertiserGroupsInsertCall) Header() http.Header
type AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroupsListResponse, error)
    func (c *AdvertiserGroupsListCall) Fields(s ...googleapi.Field) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) Header() http.Header
    func (c *AdvertiserGroupsListCall) Ids(ids ...int64) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) IfNoneMatch(entityTag string) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) MaxResults(maxResults int64) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) Pages(ctx context.Context, f func(*AdvertiserGroupsListResponse) error) error
    func (c *AdvertiserGroupsListCall) SearchString(searchString string) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall
    func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall
type AdvertiserGroupsListResponse
    func (s *AdvertiserGroupsListResponse) MarshalJSON() ([]byte, error)
type AdvertiserGroupsPatchCall
    func (c *AdvertiserGroupsPatchCall) Context(ctx context.Context) *AdvertiserGroupsPatchCall
    func (c *AdvertiserGroupsPatchCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)
    func (c *AdvertiserGroupsPatchCall) Fields(s ...googleapi.Field) *AdvertiserGroupsPatchCall
    func (c *AdvertiserGroupsPatchCall) Header() http.Header
type AdvertiserGroupsService
    func NewAdvertiserGroupsService(s *Service) *AdvertiserGroupsService
    func (r *AdvertiserGroupsService) Delete(profileId int64, id int64) *AdvertiserGroupsDeleteCall
    func (r *AdvertiserGroupsService) Get(profileId int64, id int64) *AdvertiserGroupsGetCall
    func (r *AdvertiserGroupsService) Insert(profileId int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsInsertCall
    func (r *AdvertiserGroupsService) List(profileId int64) *AdvertiserGroupsListCall
    func (r *AdvertiserGroupsService) Patch(profileId int64, id int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsPatchCall
    func (r *AdvertiserGroupsService) Update(profileId int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsUpdateCall
type AdvertiserGroupsUpdateCall
    func (c *AdvertiserGroupsUpdateCall) Context(ctx context.Context) *AdvertiserGroupsUpdateCall
    func (c *AdvertiserGroupsUpdateCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)
    func (c *AdvertiserGroupsUpdateCall) Fields(s ...googleapi.Field) *AdvertiserGroupsUpdateCall
    func (c *AdvertiserGroupsUpdateCall) Header() http.Header
type AdvertisersGetCall
    func (c *AdvertisersGetCall) Context(ctx context.Context) *AdvertisersGetCall
    func (c *AdvertisersGetCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
    func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall
    func (c *AdvertisersGetCall) Header() http.Header
    func (c *AdvertisersGetCall) IfNoneMatch(entityTag string) *AdvertisersGetCall
type AdvertisersInsertCall
    func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall
    func (c *AdvertisersInsertCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
    func (c *AdvertisersInsertCall) Fields(s ...googleapi.Field) *AdvertisersInsertCall
    func (c *AdvertisersInsertCall) Header() http.Header
type AdvertisersListCall
    func (c *AdvertisersListCall) AdvertiserGroupIds(advertiserGroupIds ...int64) *AdvertisersListCall
    func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall
    func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*AdvertisersListResponse, error)
    func (c *AdvertisersListCall) Fields(s ...googleapi.Field) *AdvertisersListCall
    func (c *AdvertisersListCall) FloodlightConfigurationIds(floodlightConfigurationIds ...int64) *AdvertisersListCall
    func (c *AdvertisersListCall) Header() http.Header
    func (c *AdvertisersListCall) Ids(ids ...int64) *AdvertisersListCall
    func (c *AdvertisersListCall) IfNoneMatch(entityTag string) *AdvertisersListCall
    func (c *AdvertisersListCall) IncludeAdvertisersWithoutGroupsOnly(includeAdvertisersWithoutGroupsOnly bool) *AdvertisersListCall
    func (c *AdvertisersListCall) MaxResults(maxResults int64) *AdvertisersListCall
    func (c *AdvertisersListCall) OnlyParent(onlyParent bool) *AdvertisersListCall
    func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall
    func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error
    func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersListCall
    func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall
    func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall
    func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall
    func (c *AdvertisersListCall) SubaccountId(subaccountId int64) *AdvertisersListCall
type AdvertisersListResponse
    func (s *AdvertisersListResponse) MarshalJSON() ([]byte, error)
type AdvertisersPatchCall
    func (c *AdvertisersPatchCall) Context(ctx context.Context) *AdvertisersPatchCall
    func (c *AdvertisersPatchCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
    func (c *AdvertisersPatchCall) Fields(s ...googleapi.Field) *AdvertisersPatchCall
    func (c *AdvertisersPatchCall) Header() http.Header
type AdvertisersService
    func NewAdvertisersService(s *Service) *AdvertisersService
    func (r *AdvertisersService) Get(profileId int64, id int64) *AdvertisersGetCall
    func (r *AdvertisersService) Insert(profileId int64, advertiser *Advertiser) *AdvertisersInsertCall
    func (r *AdvertisersService) List(profileId int64) *AdvertisersListCall
    func (r *AdvertisersService) Patch(profileId int64, id int64, advertiser *Advertiser) *AdvertisersPatchCall
    func (r *AdvertisersService) Update(profileId int64, advertiser *Advertiser) *AdvertisersUpdateCall
type AdvertisersUpdateCall
    func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall
    func (c *AdvertisersUpdateCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
    func (c *AdvertisersUpdateCall) Fields(s ...googleapi.Field) *AdvertisersUpdateCall
    func (c *AdvertisersUpdateCall) Header() http.Header
type AudienceSegment
    func (s *AudienceSegment) MarshalJSON() ([]byte, error)
type AudienceSegmentGroup
    func (s *AudienceSegmentGroup) MarshalJSON() ([]byte, error)
type Browser
    func (s *Browser) MarshalJSON() ([]byte, error)
type BrowsersListCall
    func (c *BrowsersListCall) Context(ctx context.Context) *BrowsersListCall
    func (c *BrowsersListCall) Do(opts ...googleapi.CallOption) (*BrowsersListResponse, error)
    func (c *BrowsersListCall) Fields(s ...googleapi.Field) *BrowsersListCall
    func (c *BrowsersListCall) Header() http.Header
    func (c *BrowsersListCall) IfNoneMatch(entityTag string) *BrowsersListCall
type BrowsersListResponse
    func (s *BrowsersListResponse) MarshalJSON() ([]byte, error)
type BrowsersService
    func NewBrowsersService(s *Service) *BrowsersService
    func (r *BrowsersService) List(profileId int64) *BrowsersListCall
type Campaign
    func (s *Campaign) MarshalJSON() ([]byte, error)
type CampaignCreativeAssociation
    func (s *CampaignCreativeAssociation) MarshalJSON() ([]byte, error)
type CampaignCreativeAssociationsInsertCall
    func (c *CampaignCreativeAssociationsInsertCall) Context(ctx context.Context) *CampaignCreativeAssociationsInsertCall
    func (c *CampaignCreativeAssociationsInsertCall) Do(opts ...googleapi.CallOption) (*CampaignCreativeAssociation, error)
    func (c *CampaignCreativeAssociationsInsertCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsInsertCall
    func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header
type CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) Context(ctx context.Context) *CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) Do(opts ...googleapi.CallOption) (*CampaignCreativeAssociationsListResponse, error)
    func (c *CampaignCreativeAssociationsListCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) Header() http.Header
    func (c *CampaignCreativeAssociationsListCall) IfNoneMatch(entityTag string) *CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) MaxResults(maxResults int64) *CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall
    func (c *CampaignCreativeAssociationsListCall) Pages(ctx context.Context, f func(*CampaignCreativeAssociationsListResponse) error) error
    func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall
type CampaignCreativeAssociationsListResponse
    func (s *CampaignCreativeAssociationsListResponse) MarshalJSON() ([]byte, error)
type CampaignCreativeAssociationsService
    func NewCampaignCreativeAssociationsService(s *Service) *CampaignCreativeAssociationsService
    func (r *CampaignCreativeAssociationsService) Insert(profileId int64, campaignId int64, campaigncreativeassociation *CampaignCreativeAssociation) *CampaignCreativeAssociationsInsertCall
    func (r *CampaignCreativeAssociationsService) List(profileId int64, campaignId int64) *CampaignCreativeAssociationsListCall
type CampaignsGetCall
    func (c *CampaignsGetCall) Context(ctx context.Context) *CampaignsGetCall
    func (c *CampaignsGetCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
    func (c *CampaignsGetCall) Fields(s ...googleapi.Field) *CampaignsGetCall
    func (c *CampaignsGetCall) Header() http.Header
    func (c *CampaignsGetCall) IfNoneMatch(entityTag string) *CampaignsGetCall
type CampaignsInsertCall
    func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall
    func (c *CampaignsInsertCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
    func (c *CampaignsInsertCall) Fields(s ...googleapi.Field) *CampaignsInsertCall
    func (c *CampaignsInsertCall) Header() http.Header
type CampaignsListCall
    func (c *CampaignsListCall) AdvertiserGroupIds(advertiserGroupIds ...int64) *CampaignsListCall
    func (c *CampaignsListCall) AdvertiserIds(advertiserIds ...int64) *CampaignsListCall
    func (c *CampaignsListCall) Archived(archived bool) *CampaignsListCall
    func (c *CampaignsListCall) AtLeastOneOptimizationActivity(atLeastOneOptimizationActivity bool) *CampaignsListCall
    func (c *CampaignsListCall) Context(ctx context.Context) *CampaignsListCall
    func (c *CampaignsListCall) Do(opts ...googleapi.CallOption) (*CampaignsListResponse, error)
    func (c *CampaignsListCall) ExcludedIds(excludedIds ...int64) *CampaignsListCall
    func (c *CampaignsListCall) Fields(s ...googleapi.Field) *CampaignsListCall
    func (c *CampaignsListCall) Header() http.Header
    func (c *CampaignsListCall) Ids(ids ...int64) *CampaignsListCall
    func (c *CampaignsListCall) IfNoneMatch(entityTag string) *CampaignsListCall
    func (c *CampaignsListCall) MaxResults(maxResults int64) *CampaignsListCall
    func (c *CampaignsListCall) OverriddenEventTagId(overriddenEventTagId int64) *CampaignsListCall
    func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall
    func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error
    func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
    func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall
    func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall
    func (c *CampaignsListCall) SubaccountId(subaccountId int64) *CampaignsListCall
type CampaignsListResponse
    func (s *CampaignsListResponse) MarshalJSON() ([]byte, error)
type CampaignsPatchCall
    func (c *CampaignsPatchCall) Context(ctx context.Context) *CampaignsPatchCall
    func (c *CampaignsPatchCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
    func (c *CampaignsPatchCall) Fields(s ...googleapi.Field) *CampaignsPatchCall
    func (c *CampaignsPatchCall) Header() http.Header
type CampaignsService
    func NewCampaignsService(s *Service) *CampaignsService
    func (r *CampaignsService) Get(profileId int64, id int64) *CampaignsGetCall
    func (r *CampaignsService) Insert(profileId int64, defaultLandingPageName string, defaultLandingPageUrl string, campaign *Campaign) *CampaignsInsertCall
    func (r *CampaignsService) List(profileId int64) *CampaignsListCall
    func (r *CampaignsService) Patch(profileId int64, id int64, campaign *Campaign) *CampaignsPatchCall
    func (r *CampaignsService) Update(profileId int64, campaign *Campaign) *CampaignsUpdateCall
type CampaignsUpdateCall
    func (c *CampaignsUpdateCall) Context(ctx context.Context) *CampaignsUpdateCall
    func (c *CampaignsUpdateCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
    func (c *CampaignsUpdateCall) Fields(s ...googleapi.Field) *CampaignsUpdateCall
    func (c *CampaignsUpdateCall) Header() http.Header
type ChangeLog
    func (s *ChangeLog) MarshalJSON() ([]byte, error)
type ChangeLogsGetCall
    func (c *ChangeLogsGetCall) Context(ctx context.Context) *ChangeLogsGetCall
    func (c *ChangeLogsGetCall) Do(opts ...googleapi.CallOption) (*ChangeLog, error)
    func (c *ChangeLogsGetCall) Fields(s ...googleapi.Field) *ChangeLogsGetCall
    func (c *ChangeLogsGetCall) Header() http.Header
    func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall
type ChangeLogsListCall
    func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) Context(ctx context.Context) *ChangeLogsListCall
    func (c *ChangeLogsListCall) Do(opts ...googleapi.CallOption) (*ChangeLogsListResponse, error)
    func (c *ChangeLogsListCall) Fields(s ...googleapi.Field) *ChangeLogsListCall
    func (c *ChangeLogsListCall) Header() http.Header
    func (c *ChangeLogsListCall) Ids(ids ...int64) *ChangeLogsListCall
    func (c *ChangeLogsListCall) IfNoneMatch(entityTag string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) MaxChangeTime(maxChangeTime string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) MaxResults(maxResults int64) *ChangeLogsListCall
    func (c *ChangeLogsListCall) MinChangeTime(minChangeTime string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall
    func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) PageToken(pageToken string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) Pages(ctx context.Context, f func(*ChangeLogsListResponse) error) error
    func (c *ChangeLogsListCall) SearchString(searchString string) *ChangeLogsListCall
    func (c *ChangeLogsListCall) UserProfileIds(userProfileIds ...int64) *ChangeLogsListCall
type ChangeLogsListResponse
    func (s *ChangeLogsListResponse) MarshalJSON() ([]byte, error)
type ChangeLogsService
    func NewChangeLogsService(s *Service) *ChangeLogsService
    func (r *ChangeLogsService) Get(profileId int64, id int64) *ChangeLogsGetCall
    func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall
type CitiesListCall
    func (c *CitiesListCall) Context(ctx context.Context) *CitiesListCall
    func (c *CitiesListCall) CountryDartIds(countryDartIds ...int64) *CitiesListCall
    func (c *CitiesListCall) DartIds(dartIds ...int64) *CitiesListCall
    func (c *CitiesListCall) Do(opts ...googleapi.CallOption) (*CitiesListResponse, error)
    func (c *CitiesListCall) Fields(s ...googleapi.Field) *CitiesListCall
    func (c *CitiesListCall) Header() http.Header
    func (c *CitiesListCall) IfNoneMatch(entityTag string) *CitiesListCall
    func (c *CitiesListCall) NamePrefix(namePrefix string) *CitiesListCall
    func (c *CitiesListCall) RegionDartIds(regionDartIds ...int64) *CitiesListCall
type CitiesListResponse
    func (s *CitiesListResponse) MarshalJSON() ([]byte, error)
type CitiesService
    func NewCitiesService(s *Service) *CitiesService
    func (r *CitiesService) List(profileId int64) *CitiesListCall
type City
    func (s *City) MarshalJSON() ([]byte, error)
type ClickTag
    func (s *ClickTag) MarshalJSON() ([]byte, error)
type ClickThroughUrl
    func (s *ClickThroughUrl) MarshalJSON() ([]byte, error)
type ClickThroughUrlSuffixProperties
    func (s *ClickThroughUrlSuffixProperties) MarshalJSON() ([]byte, error)
type CompanionClickThroughOverride
    func (s *CompanionClickThroughOverride) MarshalJSON() ([]byte, error)
type CompanionSetting
    func (s *CompanionSetting) MarshalJSON() ([]byte, error)
type CompatibleFields
    func (s *CompatibleFields) MarshalJSON() ([]byte, error)
type ConnectionType
    func (s *ConnectionType) MarshalJSON() ([]byte, error)
type ConnectionTypesGetCall
    func (c *ConnectionTypesGetCall) Context(ctx context.Context) *ConnectionTypesGetCall
    func (c *ConnectionTypesGetCall) Do(opts ...googleapi.CallOption) (*ConnectionType, error)
    func (c *ConnectionTypesGetCall) Fields(s ...googleapi.Field) *ConnectionTypesGetCall
    func (c *ConnectionTypesGetCall) Header() http.Header
    func (c *ConnectionTypesGetCall) IfNoneMatch(entityTag string) *ConnectionTypesGetCall
type ConnectionTypesListCall
    func (c *ConnectionTypesListCall) Context(ctx context.Context) *ConnectionTypesListCall
    func (c *ConnectionTypesListCall) Do(opts ...googleapi.CallOption) (*ConnectionTypesListResponse, error)
    func (c *ConnectionTypesListCall) Fields(s ...googleapi.Field) *ConnectionTypesListCall
    func (c *ConnectionTypesListCall) Header() http.Header
    func (c *ConnectionTypesListCall) IfNoneMatch(entityTag string) *ConnectionTypesListCall
type ConnectionTypesListResponse
    func (s *ConnectionTypesListResponse) MarshalJSON() ([]byte, error)
type ConnectionTypesService
    func NewConnectionTypesService(s *Service) *ConnectionTypesService
    func (r *ConnectionTypesService) Get(profileId int64, id int64) *ConnectionTypesGetCall
    func (r *ConnectionTypesService) List(profileId int64) *ConnectionTypesListCall
type ContentCategoriesDeleteCall
    func (c *ContentCategoriesDeleteCall) Context(ctx context.Context) *ContentCategoriesDeleteCall
    func (c *ContentCategoriesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *ContentCategoriesDeleteCall) Fields(s ...googleapi.Field) *ContentCategoriesDeleteCall
    func (c *ContentCategoriesDeleteCall) Header() http.Header
type ContentCategoriesGetCall
    func (c *ContentCategoriesGetCall) Context(ctx context.Context) *ContentCategoriesGetCall
    func (c *ContentCategoriesGetCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)
    func (c *ContentCategoriesGetCall) Fields(s ...googleapi.Field) *ContentCategoriesGetCall
    func (c *ContentCategoriesGetCall) Header() http.Header
    func (c *ContentCategoriesGetCall) IfNoneMatch(entityTag string) *ContentCategoriesGetCall
type ContentCategoriesInsertCall
    func (c *ContentCategoriesInsertCall) Context(ctx context.Context) *ContentCategoriesInsertCall
    func (c *ContentCategoriesInsertCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)
    func (c *ContentCategoriesInsertCall) Fields(s ...googleapi.Field) *ContentCategoriesInsertCall
    func (c *ContentCategoriesInsertCall) Header() http.Header
type ContentCategoriesListCall
    func (c *ContentCategoriesListCall) Context(ctx context.Context) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) Do(opts ...googleapi.CallOption) (*ContentCategoriesListResponse, error)
    func (c *ContentCategoriesListCall) Fields(s ...googleapi.Field) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) Header() http.Header
    func (c *ContentCategoriesListCall) Ids(ids ...int64) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) IfNoneMatch(entityTag string) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) MaxResults(maxResults int64) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) PageToken(pageToken string) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) Pages(ctx context.Context, f func(*ContentCategoriesListResponse) error) error
    func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall
    func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall
type ContentCategoriesListResponse
    func (s *ContentCategoriesListResponse) MarshalJSON() ([]byte, error)
type ContentCategoriesPatchCall
    func (c *ContentCategoriesPatchCall) Context(ctx context.Context) *ContentCategoriesPatchCall
    func (c *ContentCategoriesPatchCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)
    func (c *ContentCategoriesPatchCall) Fields(s ...googleapi.Field) *ContentCategoriesPatchCall
    func (c *ContentCategoriesPatchCall) Header() http.Header
type ContentCategoriesService
    func NewContentCategoriesService(s *Service) *ContentCategoriesService
    func (r *ContentCategoriesService) Delete(profileId int64, id int64) *ContentCategoriesDeleteCall
    func (r *ContentCategoriesService) Get(profileId int64, id int64) *ContentCategoriesGetCall
    func (r *ContentCategoriesService) Insert(profileId int64, contentcategory *ContentCategory) *ContentCategoriesInsertCall
    func (r *ContentCategoriesService) List(profileId int64) *ContentCategoriesListCall
    func (r *ContentCategoriesService) Patch(profileId int64, id int64, contentcategory *ContentCategory) *ContentCategoriesPatchCall
    func (r *ContentCategoriesService) Update(profileId int64, contentcategory *ContentCategory) *ContentCategoriesUpdateCall
type ContentCategoriesUpdateCall
    func (c *ContentCategoriesUpdateCall) Context(ctx context.Context) *ContentCategoriesUpdateCall
    func (c *ContentCategoriesUpdateCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)
    func (c *ContentCategoriesUpdateCall) Fields(s ...googleapi.Field) *ContentCategoriesUpdateCall
    func (c *ContentCategoriesUpdateCall) Header() http.Header
type ContentCategory
    func (s *ContentCategory) MarshalJSON() ([]byte, error)
type Conversion
    func (s *Conversion) MarshalJSON() ([]byte, error)
    func (s *Conversion) UnmarshalJSON(data []byte) error
type ConversionError
    func (s *ConversionError) MarshalJSON() ([]byte, error)
type ConversionStatus
    func (s *ConversionStatus) MarshalJSON() ([]byte, error)
type ConversionsBatchInsertRequest
    func (s *ConversionsBatchInsertRequest) MarshalJSON() ([]byte, error)
type ConversionsBatchInsertResponse
    func (s *ConversionsBatchInsertResponse) MarshalJSON() ([]byte, error)
type ConversionsBatchUpdateRequest
    func (s *ConversionsBatchUpdateRequest) MarshalJSON() ([]byte, error)
type ConversionsBatchUpdateResponse
    func (s *ConversionsBatchUpdateResponse) MarshalJSON() ([]byte, error)
type ConversionsBatchinsertCall
    func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall
    func (c *ConversionsBatchinsertCall) Do(opts ...googleapi.CallOption) (*ConversionsBatchInsertResponse, error)
    func (c *ConversionsBatchinsertCall) Fields(s ...googleapi.Field) *ConversionsBatchinsertCall
    func (c *ConversionsBatchinsertCall) Header() http.Header
type ConversionsBatchupdateCall
    func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall
    func (c *ConversionsBatchupdateCall) Do(opts ...googleapi.CallOption) (*ConversionsBatchUpdateResponse, error)
    func (c *ConversionsBatchupdateCall) Fields(s ...googleapi.Field) *ConversionsBatchupdateCall
    func (c *ConversionsBatchupdateCall) Header() http.Header
type ConversionsService
    func NewConversionsService(s *Service) *ConversionsService
    func (r *ConversionsService) Batchinsert(profileId int64, conversionsbatchinsertrequest *ConversionsBatchInsertRequest) *ConversionsBatchinsertCall
    func (r *ConversionsService) Batchupdate(profileId int64, conversionsbatchupdaterequest *ConversionsBatchUpdateRequest) *ConversionsBatchupdateCall
type CountriesGetCall
    func (c *CountriesGetCall) Context(ctx context.Context) *CountriesGetCall
    func (c *CountriesGetCall) Do(opts ...googleapi.CallOption) (*Country, error)
    func (c *CountriesGetCall) Fields(s ...googleapi.Field) *CountriesGetCall
    func (c *CountriesGetCall) Header() http.Header
    func (c *CountriesGetCall) IfNoneMatch(entityTag string) *CountriesGetCall
type CountriesListCall
    func (c *CountriesListCall) Context(ctx context.Context) *CountriesListCall
    func (c *CountriesListCall) Do(opts ...googleapi.CallOption) (*CountriesListResponse, error)
    func (c *CountriesListCall) Fields(s ...googleapi.Field) *CountriesListCall
    func (c *CountriesListCall) Header() http.Header
    func (c *CountriesListCall) IfNoneMatch(entityTag string) *CountriesListCall
type CountriesListResponse
    func (s *CountriesListResponse) MarshalJSON() ([]byte, error)
type CountriesService
    func NewCountriesService(s *Service) *CountriesService
    func (r *CountriesService) Get(profileId int64, dartId int64) *CountriesGetCall
    func (r *CountriesService) List(profileId int64) *CountriesListCall
type Country
    func (s *Country) MarshalJSON() ([]byte, error)
type Creative
    func (s *Creative) MarshalJSON() ([]byte, error)
    func (s *Creative) UnmarshalJSON(data []byte) error
type CreativeAsset
    func (s *CreativeAsset) MarshalJSON() ([]byte, error)
    func (s *CreativeAsset) UnmarshalJSON(data []byte) error
type CreativeAssetId
    func (s *CreativeAssetId) MarshalJSON() ([]byte, error)
type CreativeAssetMetadata
    func (s *CreativeAssetMetadata) MarshalJSON() ([]byte, error)
type CreativeAssetSelection
    func (s *CreativeAssetSelection) MarshalJSON() ([]byte, error)
type CreativeAssetsInsertCall
    func (c *CreativeAssetsInsertCall) Context(ctx context.Context) *CreativeAssetsInsertCall
    func (c *CreativeAssetsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeAssetMetadata, error)
    func (c *CreativeAssetsInsertCall) Fields(s ...googleapi.Field) *CreativeAssetsInsertCall
    func (c *CreativeAssetsInsertCall) Header() http.Header
    func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *CreativeAssetsInsertCall
    func (c *CreativeAssetsInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *CreativeAssetsInsertCall
    func (c *CreativeAssetsInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *CreativeAssetsInsertCall
type CreativeAssetsService
    func NewCreativeAssetsService(s *Service) *CreativeAssetsService
    func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall
type CreativeAssignment
    func (s *CreativeAssignment) MarshalJSON() ([]byte, error)
type CreativeCustomEvent
    func (s *CreativeCustomEvent) MarshalJSON() ([]byte, error)
type CreativeField
    func (s *CreativeField) MarshalJSON() ([]byte, error)
type CreativeFieldAssignment
    func (s *CreativeFieldAssignment) MarshalJSON() ([]byte, error)
type CreativeFieldValue
    func (s *CreativeFieldValue) MarshalJSON() ([]byte, error)
type CreativeFieldValuesDeleteCall
    func (c *CreativeFieldValuesDeleteCall) Context(ctx context.Context) *CreativeFieldValuesDeleteCall
    func (c *CreativeFieldValuesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *CreativeFieldValuesDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldValuesDeleteCall
    func (c *CreativeFieldValuesDeleteCall) Header() http.Header
type CreativeFieldValuesGetCall
    func (c *CreativeFieldValuesGetCall) Context(ctx context.Context) *CreativeFieldValuesGetCall
    func (c *CreativeFieldValuesGetCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)
    func (c *CreativeFieldValuesGetCall) Fields(s ...googleapi.Field) *CreativeFieldValuesGetCall
    func (c *CreativeFieldValuesGetCall) Header() http.Header
    func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall
type CreativeFieldValuesInsertCall
    func (c *CreativeFieldValuesInsertCall) Context(ctx context.Context) *CreativeFieldValuesInsertCall
    func (c *CreativeFieldValuesInsertCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)
    func (c *CreativeFieldValuesInsertCall) Fields(s ...googleapi.Field) *CreativeFieldValuesInsertCall
    func (c *CreativeFieldValuesInsertCall) Header() http.Header
type CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) Context(ctx context.Context) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValuesListResponse, error)
    func (c *CreativeFieldValuesListCall) Fields(s ...googleapi.Field) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) Header() http.Header
    func (c *CreativeFieldValuesListCall) Ids(ids ...int64) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) MaxResults(maxResults int64) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) PageToken(pageToken string) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error
    func (c *CreativeFieldValuesListCall) SearchString(searchString string) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall
    func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall
type CreativeFieldValuesListResponse
    func (s *CreativeFieldValuesListResponse) MarshalJSON() ([]byte, error)
type CreativeFieldValuesPatchCall
    func (c *CreativeFieldValuesPatchCall) Context(ctx context.Context) *CreativeFieldValuesPatchCall
    func (c *CreativeFieldValuesPatchCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)
    func (c *CreativeFieldValuesPatchCall) Fields(s ...googleapi.Field) *CreativeFieldValuesPatchCall
    func (c *CreativeFieldValuesPatchCall) Header() http.Header
type CreativeFieldValuesService
    func NewCreativeFieldValuesService(s *Service) *CreativeFieldValuesService
    func (r *CreativeFieldValuesService) Delete(profileId int64, creativeFieldId int64, id int64) *CreativeFieldValuesDeleteCall
    func (r *CreativeFieldValuesService) Get(profileId int64, creativeFieldId int64, id int64) *CreativeFieldValuesGetCall
    func (r *CreativeFieldValuesService) Insert(profileId int64, creativeFieldId int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesInsertCall
    func (r *CreativeFieldValuesService) List(profileId int64, creativeFieldId int64) *CreativeFieldValuesListCall
    func (r *CreativeFieldValuesService) Patch(profileId int64, creativeFieldId int64, id int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesPatchCall
    func (r *CreativeFieldValuesService) Update(profileId int64, creativeFieldId int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesUpdateCall
type CreativeFieldValuesUpdateCall
    func (c *CreativeFieldValuesUpdateCall) Context(ctx context.Context) *CreativeFieldValuesUpdateCall
    func (c *CreativeFieldValuesUpdateCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)
    func (c *CreativeFieldValuesUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldValuesUpdateCall
    func (c *CreativeFieldValuesUpdateCall) Header() http.Header
type CreativeFieldsDeleteCall
    func (c *CreativeFieldsDeleteCall) Context(ctx context.Context) *CreativeFieldsDeleteCall
    func (c *CreativeFieldsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *CreativeFieldsDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldsDeleteCall
    func (c *CreativeFieldsDeleteCall) Header() http.Header
type CreativeFieldsGetCall
    func (c *CreativeFieldsGetCall) Context(ctx context.Context) *CreativeFieldsGetCall
    func (c *CreativeFieldsGetCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)
    func (c *CreativeFieldsGetCall) Fields(s ...googleapi.Field) *CreativeFieldsGetCall
    func (c *CreativeFieldsGetCall) Header() http.Header
    func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall
type CreativeFieldsInsertCall
    func (c *CreativeFieldsInsertCall) Context(ctx context.Context) *CreativeFieldsInsertCall
    func (c *CreativeFieldsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)
    func (c *CreativeFieldsInsertCall) Fields(s ...googleapi.Field) *CreativeFieldsInsertCall
    func (c *CreativeFieldsInsertCall) Header() http.Header
type CreativeFieldsListCall
    func (c *CreativeFieldsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) Context(ctx context.Context) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) Do(opts ...googleapi.CallOption) (*CreativeFieldsListResponse, error)
    func (c *CreativeFieldsListCall) Fields(s ...googleapi.Field) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) Header() http.Header
    func (c *CreativeFieldsListCall) Ids(ids ...int64) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) IfNoneMatch(entityTag string) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) MaxResults(maxResults int64) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) Pages(ctx context.Context, f func(*CreativeFieldsListResponse) error) error
    func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall
    func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall
type CreativeFieldsListResponse
    func (s *CreativeFieldsListResponse) MarshalJSON() ([]byte, error)
type CreativeFieldsPatchCall
    func (c *CreativeFieldsPatchCall) Context(ctx context.Context) *CreativeFieldsPatchCall
    func (c *CreativeFieldsPatchCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)
    func (c *CreativeFieldsPatchCall) Fields(s ...googleapi.Field) *CreativeFieldsPatchCall
    func (c *CreativeFieldsPatchCall) Header() http.Header
type CreativeFieldsService
    func NewCreativeFieldsService(s *Service) *CreativeFieldsService
    func (r *CreativeFieldsService) Delete(profileId int64, id int64) *CreativeFieldsDeleteCall
    func (r *CreativeFieldsService) Get(profileId int64, id int64) *CreativeFieldsGetCall
    func (r *CreativeFieldsService) Insert(profileId int64, creativefield *CreativeField) *CreativeFieldsInsertCall
    func (r *CreativeFieldsService) List(profileId int64) *CreativeFieldsListCall
    func (r *CreativeFieldsService) Patch(profileId int64, id int64, creativefield *CreativeField) *CreativeFieldsPatchCall
    func (r *CreativeFieldsService) Update(profileId int64, creativefield *CreativeField) *CreativeFieldsUpdateCall
type CreativeFieldsUpdateCall
    func (c *CreativeFieldsUpdateCall) Context(ctx context.Context) *CreativeFieldsUpdateCall
    func (c *CreativeFieldsUpdateCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)
    func (c *CreativeFieldsUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldsUpdateCall
    func (c *CreativeFieldsUpdateCall) Header() http.Header
type CreativeGroup
    func (s *CreativeGroup) MarshalJSON() ([]byte, error)
type CreativeGroupAssignment
    func (s *CreativeGroupAssignment) MarshalJSON() ([]byte, error)
type CreativeGroupsGetCall
    func (c *CreativeGroupsGetCall) Context(ctx context.Context) *CreativeGroupsGetCall
    func (c *CreativeGroupsGetCall) Do(opts ...googleapi.CallOption) (*CreativeGroup, error)
    func (c *CreativeGroupsGetCall) Fields(s ...googleapi.Field) *CreativeGroupsGetCall
    func (c *CreativeGroupsGetCall) Header() http.Header
    func (c *CreativeGroupsGetCall) IfNoneMatch(entityTag string) *CreativeGroupsGetCall
type CreativeGroupsInsertCall
    func (c *CreativeGroupsInsertCall) Context(ctx context.Context) *CreativeGroupsInsertCall
    func (c *CreativeGroupsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeGroup, error)
    func (c *CreativeGroupsInsertCall) Fields(s ...googleapi.Field) *CreativeGroupsInsertCall
    func (c *CreativeGroupsInsertCall) Header() http.Header
type CreativeGroupsListCall
    func (c *CreativeGroupsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) Context(ctx context.Context) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) Do(opts ...googleapi.CallOption) (*CreativeGroupsListResponse, error)
    func (c *CreativeGroupsListCall) Fields(s ...googleapi.Field) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) GroupNumber(groupNumber int64) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) Header() http.Header
    func (c *CreativeGroupsListCall) Ids(ids ...int64) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) IfNoneMatch(entityTag string) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) MaxResults(maxResults int64) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) Pages(ctx context.Context, f func(*CreativeGroupsListResponse) error) error
    func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall
    func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall
type CreativeGroupsListResponse
    func (s *CreativeGroupsListResponse) MarshalJSON() ([]byte, error)
type CreativeGroupsPatchCall
    func (c *CreativeGroupsPatchCall) Context(ctx context.Context) *CreativeGroupsPatchCall
    func (c *CreativeGroupsPatchCall) Do(opts ...googleapi.CallOption) (*CreativeGroup, error)
    func (c *CreativeGroupsPatchCall) Fields(s ...googleapi.Field) *CreativeGroupsPatchCall
    func (c *CreativeGroupsPatchCall) Header() http.Header
type CreativeGroupsService
    func NewCreativeGroupsService(s *Service) *CreativeGroupsService
    func (r *CreativeGroupsService) Get(profileId int64, id int64) *CreativeGroupsGetCall
    func (r *CreativeGroupsService) Insert(profileId int64, creativegroup *CreativeGroup) *CreativeGroupsInsertCall
    func (r *CreativeGroupsService) List(profileId int64) *CreativeGroupsListCall
    func (r *CreativeGroupsService) Patch(profileId int64, id int64, creativegroup *CreativeGroup) *CreativeGroupsPatchCall
    func (r *CreativeGroupsService) Update(profileId int64, creativegroup *CreativeGroup) *CreativeGroupsUpdateCall
type CreativeGroupsUpdateCall
    func (c *CreativeGroupsUpdateCall) Context(ctx context.Context) *CreativeGroupsUpdateCall
    func (c *CreativeGroupsUpdateCall) Do(opts ...googleapi.CallOption) (*CreativeGroup, error)
    func (c *CreativeGroupsUpdateCall) Fields(s ...googleapi.Field) *CreativeGroupsUpdateCall
    func (c *CreativeGroupsUpdateCall) Header() http.Header
type CreativeOptimizationConfiguration
    func (s *CreativeOptimizationConfiguration) MarshalJSON() ([]byte, error)
type CreativeRotation
    func (s *CreativeRotation) MarshalJSON() ([]byte, error)
type CreativeSettings
    func (s *CreativeSettings) MarshalJSON() ([]byte, error)
type CreativesGetCall
    func (c *CreativesGetCall) Context(ctx context.Context) *CreativesGetCall
    func (c *CreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative, error)
    func (c *CreativesGetCall) Fields(s ...googleapi.Field) *CreativesGetCall
    func (c *CreativesGetCall) Header() http.Header
    func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall
type CreativesInsertCall
    func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall
    func (c *CreativesInsertCall) Do(opts ...googleapi.CallOption) (*Creative, error)
    func (c *CreativesInsertCall) Fields(s ...googleapi.Field) *CreativesInsertCall
    func (c *CreativesInsertCall) Header() http.Header
type CreativesListCall
    func (c *CreativesListCall) Active(active bool) *CreativesListCall
    func (c *CreativesListCall) AdvertiserId(advertiserId int64) *CreativesListCall
    func (c *CreativesListCall) Archived(archived bool) *CreativesListCall
    func (c *CreativesListCall) CampaignId(campaignId int64) *CreativesListCall
    func (c *CreativesListCall) CompanionCreativeIds(companionCreativeIds ...int64) *CreativesListCall
    func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall
    func (c *CreativesListCall) CreativeFieldIds(creativeFieldIds ...int64) *CreativesListCall
    func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesListResponse, error)
    func (c *CreativesListCall) Fields(s ...googleapi.Field) *CreativesListCall
    func (c *CreativesListCall) Header() http.Header
    func (c *CreativesListCall) Ids(ids ...int64) *CreativesListCall
    func (c *CreativesListCall) IfNoneMatch(entityTag string) *CreativesListCall
    func (c *CreativesListCall) MaxResults(maxResults int64) *CreativesListCall
    func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall
    func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error
    func (c *CreativesListCall) RenderingIds(renderingIds ...int64) *CreativesListCall
    func (c *CreativesListCall) SearchString(searchString string) *CreativesListCall
    func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall
    func (c *CreativesListCall) SortField(sortField string) *CreativesListCall
    func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall
    func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesListCall
    func (c *CreativesListCall) Types(types ...string) *CreativesListCall
type CreativesListResponse
    func (s *CreativesListResponse) MarshalJSON() ([]byte, error)
type CreativesPatchCall
    func (c *CreativesPatchCall) Context(ctx context.Context) *CreativesPatchCall
    func (c *CreativesPatchCall) Do(opts ...googleapi.CallOption) (*Creative, error)
    func (c *CreativesPatchCall) Fields(s ...googleapi.Field) *CreativesPatchCall
    func (c *CreativesPatchCall) Header() http.Header
type CreativesService
    func NewCreativesService(s *Service) *CreativesService
    func (r *CreativesService) Get(profileId int64, id int64) *CreativesGetCall
    func (r *CreativesService) Insert(profileId int64, creative *Creative) *CreativesInsertCall
    func (r *CreativesService) List(profileId int64) *CreativesListCall
    func (r *CreativesService) Patch(profileId int64, id int64, creative *Creative) *CreativesPatchCall
    func (r *CreativesService) Update(profileId int64, creative *Creative) *CreativesUpdateCall
type CreativesUpdateCall
    func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall
    func (c *CreativesUpdateCall) Do(opts ...googleapi.CallOption) (*Creative, error)
    func (c *CreativesUpdateCall) Fields(s ...googleapi.Field) *CreativesUpdateCall
    func (c *CreativesUpdateCall) Header() http.Header
type CrossDimensionReachReportCompatibleFields
    func (s *CrossDimensionReachReportCompatibleFields) MarshalJSON() ([]byte, error)
type CustomFloodlightVariable
    func (s *CustomFloodlightVariable) MarshalJSON() ([]byte, error)
type CustomRichMediaEvents
    func (s *CustomRichMediaEvents) MarshalJSON() ([]byte, error)
type DateRange
    func (s *DateRange) MarshalJSON() ([]byte, error)
type DayPartTargeting
    func (s *DayPartTargeting) MarshalJSON() ([]byte, error)
type DefaultClickThroughEventTagProperties
    func (s *DefaultClickThroughEventTagProperties) MarshalJSON() ([]byte, error)
type DeliverySchedule
    func (s *DeliverySchedule) MarshalJSON() ([]byte, error)
type DfpSettings
    func (s *DfpSettings) MarshalJSON() ([]byte, error)
type Dimension
    func (s *Dimension) MarshalJSON() ([]byte, error)
type DimensionFilter
    func (s *DimensionFilter) MarshalJSON() ([]byte, error)
type DimensionValue
    func (s *DimensionValue) MarshalJSON() ([]byte, error)
type DimensionValueList
    func (s *DimensionValueList) MarshalJSON() ([]byte, error)
type DimensionValueRequest
    func (s *DimensionValueRequest) MarshalJSON() ([]byte, error)
type DimensionValuesQueryCall
    func (c *DimensionValuesQueryCall) Context(ctx context.Context) *DimensionValuesQueryCall
    func (c *DimensionValuesQueryCall) Do(opts ...googleapi.CallOption) (*DimensionValueList, error)
    func (c *DimensionValuesQueryCall) Fields(s ...googleapi.Field) *DimensionValuesQueryCall
    func (c *DimensionValuesQueryCall) Header() http.Header
    func (c *DimensionValuesQueryCall) MaxResults(maxResults int64) *DimensionValuesQueryCall
    func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall
    func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error
type DimensionValuesService
    func NewDimensionValuesService(s *Service) *DimensionValuesService
    func (r *DimensionValuesService) Query(profileId int64, dimensionvaluerequest *DimensionValueRequest) *DimensionValuesQueryCall
type DirectorySite
    func (s *DirectorySite) MarshalJSON() ([]byte, error)
type DirectorySiteContact
    func (s *DirectorySiteContact) MarshalJSON() ([]byte, error)
type DirectorySiteContactAssignment
    func (s *DirectorySiteContactAssignment) MarshalJSON() ([]byte, error)
type DirectorySiteContactsGetCall
    func (c *DirectorySiteContactsGetCall) Context(ctx context.Context) *DirectorySiteContactsGetCall
    func (c *DirectorySiteContactsGetCall) Do(opts ...googleapi.CallOption) (*DirectorySiteContact, error)
    func (c *DirectorySiteContactsGetCall) Fields(s ...googleapi.Field) *DirectorySiteContactsGetCall
    func (c *DirectorySiteContactsGetCall) Header() http.Header
    func (c *DirectorySiteContactsGetCall) IfNoneMatch(entityTag string) *DirectorySiteContactsGetCall
type DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) Context(ctx context.Context) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) DirectorySiteIds(directorySiteIds ...int64) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) Do(opts ...googleapi.CallOption) (*DirectorySiteContactsListResponse, error)
    func (c *DirectorySiteContactsListCall) Fields(s ...googleapi.Field) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) Header() http.Header
    func (c *DirectorySiteContactsListCall) Ids(ids ...int64) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) IfNoneMatch(entityTag string) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) MaxResults(maxResults int64) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) PageToken(pageToken string) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) Pages(ctx context.Context, f func(*DirectorySiteContactsListResponse) error) error
    func (c *DirectorySiteContactsListCall) SearchString(searchString string) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall
    func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall
type DirectorySiteContactsListResponse
    func (s *DirectorySiteContactsListResponse) MarshalJSON() ([]byte, error)
type DirectorySiteContactsService
    func NewDirectorySiteContactsService(s *Service) *DirectorySiteContactsService
    func (r *DirectorySiteContactsService) Get(profileId int64, id int64) *DirectorySiteContactsGetCall
    func (r *DirectorySiteContactsService) List(profileId int64) *DirectorySiteContactsListCall
type DirectorySiteSettings
    func (s *DirectorySiteSettings) MarshalJSON() ([]byte, error)
type DirectorySitesGetCall
    func (c *DirectorySitesGetCall) Context(ctx context.Context) *DirectorySitesGetCall
    func (c *DirectorySitesGetCall) Do(opts ...googleapi.CallOption) (*DirectorySite, error)
    func (c *DirectorySitesGetCall) Fields(s ...googleapi.Field) *DirectorySitesGetCall
    func (c *DirectorySitesGetCall) Header() http.Header
    func (c *DirectorySitesGetCall) IfNoneMatch(entityTag string) *DirectorySitesGetCall
type DirectorySitesInsertCall
    func (c *DirectorySitesInsertCall) Context(ctx context.Context) *DirectorySitesInsertCall
    func (c *DirectorySitesInsertCall) Do(opts ...googleapi.CallOption) (*DirectorySite, error)
    func (c *DirectorySitesInsertCall) Fields(s ...googleapi.Field) *DirectorySitesInsertCall
    func (c *DirectorySitesInsertCall) Header() http.Header
type DirectorySitesListCall
    func (c *DirectorySitesListCall) AcceptsInStreamVideoPlacements(acceptsInStreamVideoPlacements bool) *DirectorySitesListCall
    func (c *DirectorySitesListCall) AcceptsInterstitialPlacements(acceptsInterstitialPlacements bool) *DirectorySitesListCall
    func (c *DirectorySitesListCall) AcceptsPublisherPaidPlacements(acceptsPublisherPaidPlacements bool) *DirectorySitesListCall
    func (c *DirectorySitesListCall) Active(active bool) *DirectorySitesListCall
    func (c *DirectorySitesListCall) Context(ctx context.Context) *DirectorySitesListCall
    func (c *DirectorySitesListCall) CountryId(countryId int64) *DirectorySitesListCall
    func (c *DirectorySitesListCall) DfpNetworkCode(dfpNetworkCode string) *DirectorySitesListCall
    func (c *DirectorySitesListCall) Do(opts ...googleapi.CallOption) (*DirectorySitesListResponse, error)
    func (c *DirectorySitesListCall) Fields(s ...googleapi.Field) *DirectorySitesListCall
    func (c *DirectorySitesListCall) Header() http.Header
    func (c *DirectorySitesListCall) Ids(ids ...int64) *DirectorySitesListCall
    func (c *DirectorySitesListCall) IfNoneMatch(entityTag string) *DirectorySitesListCall
    func (c *DirectorySitesListCall) MaxResults(maxResults int64) *DirectorySitesListCall
    func (c *DirectorySitesListCall) PageToken(pageToken string) *DirectorySitesListCall
    func (c *DirectorySitesListCall) Pages(ctx context.Context, f func(*DirectorySitesListResponse) error) error
    func (c *DirectorySitesListCall) ParentId(parentId int64) *DirectorySitesListCall
    func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySitesListCall
    func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall
    func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall
type DirectorySitesListResponse
    func (s *DirectorySitesListResponse) MarshalJSON() ([]byte, error)
type DirectorySitesService
    func NewDirectorySitesService(s *Service) *DirectorySitesService
    func (r *DirectorySitesService) Get(profileId int64, id int64) *DirectorySitesGetCall
    func (r *DirectorySitesService) Insert(profileId int64, directorysite *DirectorySite) *DirectorySitesInsertCall
    func (r *DirectorySitesService) List(profileId int64) *DirectorySitesListCall
type DynamicTargetingKey
    func (s *DynamicTargetingKey) MarshalJSON() ([]byte, error)
type DynamicTargetingKeysDeleteCall
    func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall
    func (c *DynamicTargetingKeysDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *DynamicTargetingKeysDeleteCall) Fields(s ...googleapi.Field) *DynamicTargetingKeysDeleteCall
    func (c *DynamicTargetingKeysDeleteCall) Header() http.Header
type DynamicTargetingKeysInsertCall
    func (c *DynamicTargetingKeysInsertCall) Context(ctx context.Context) *DynamicTargetingKeysInsertCall
    func (c *DynamicTargetingKeysInsertCall) Do(opts ...googleapi.CallOption) (*DynamicTargetingKey, error)
    func (c *DynamicTargetingKeysInsertCall) Fields(s ...googleapi.Field) *DynamicTargetingKeysInsertCall
    func (c *DynamicTargetingKeysInsertCall) Header() http.Header
type DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) AdvertiserId(advertiserId int64) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) Do(opts ...googleapi.CallOption) (*DynamicTargetingKeysListResponse, error)
    func (c *DynamicTargetingKeysListCall) Fields(s ...googleapi.Field) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) Header() http.Header
    func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) Names(names ...string) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetingKeysListCall
    func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall
type DynamicTargetingKeysListResponse
    func (s *DynamicTargetingKeysListResponse) MarshalJSON() ([]byte, error)
type DynamicTargetingKeysService
    func NewDynamicTargetingKeysService(s *Service) *DynamicTargetingKeysService
    func (r *DynamicTargetingKeysService) Delete(profileId int64, objectId int64, name string, objectType string) *DynamicTargetingKeysDeleteCall
    func (r *DynamicTargetingKeysService) Insert(profileId int64, dynamictargetingkey *DynamicTargetingKey) *DynamicTargetingKeysInsertCall
    func (r *DynamicTargetingKeysService) List(profileId int64) *DynamicTargetingKeysListCall
type EncryptionInfo
    func (s *EncryptionInfo) MarshalJSON() ([]byte, error)
type EventTag
    func (s *EventTag) MarshalJSON() ([]byte, error)
type EventTagOverride
    func (s *EventTagOverride) MarshalJSON() ([]byte, error)
type EventTagsDeleteCall
    func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall
    func (c *EventTagsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *EventTagsDeleteCall) Fields(s ...googleapi.Field) *EventTagsDeleteCall
    func (c *EventTagsDeleteCall) Header() http.Header
type EventTagsGetCall
    func (c *EventTagsGetCall) Context(ctx context.Context) *EventTagsGetCall
    func (c *EventTagsGetCall) Do(opts ...googleapi.CallOption) (*EventTag, error)
    func (c *EventTagsGetCall) Fields(s ...googleapi.Field) *EventTagsGetCall
    func (c *EventTagsGetCall) Header() http.Header
    func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall
type EventTagsInsertCall
    func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall
    func (c *EventTagsInsertCall) Do(opts ...googleapi.CallOption) (*EventTag, error)
    func (c *EventTagsInsertCall) Fields(s ...googleapi.Field) *EventTagsInsertCall
    func (c *EventTagsInsertCall) Header() http.Header
type EventTagsListCall
    func (c *EventTagsListCall) AdId(adId int64) *EventTagsListCall
    func (c *EventTagsListCall) AdvertiserId(advertiserId int64) *EventTagsListCall
    func (c *EventTagsListCall) CampaignId(campaignId int64) *EventTagsListCall
    func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall
    func (c *EventTagsListCall) DefinitionsOnly(definitionsOnly bool) *EventTagsListCall
    func (c *EventTagsListCall) Do(opts ...googleapi.CallOption) (*EventTagsListResponse, error)
    func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall
    func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall
    func (c *EventTagsListCall) Fields(s ...googleapi.Field) *EventTagsListCall
    func (c *EventTagsListCall) Header() http.Header
    func (c *EventTagsListCall) Ids(ids ...int64) *EventTagsListCall
    func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall
    func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
    func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall
    func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall
type EventTagsListResponse
    func (s *EventTagsListResponse) MarshalJSON() ([]byte, error)
type EventTagsPatchCall
    func (c *EventTagsPatchCall) Context(ctx context.Context) *EventTagsPatchCall
    func (c *EventTagsPatchCall) Do(opts ...googleapi.CallOption) (*EventTag, error)
    func (c *EventTagsPatchCall) Fields(s ...googleapi.Field) *EventTagsPatchCall
    func (c *EventTagsPatchCall) Header() http.Header
type EventTagsService
    func NewEventTagsService(s *Service) *EventTagsService
    func (r *EventTagsService) Delete(profileId int64, id int64) *EventTagsDeleteCall
    func (r *EventTagsService) Get(profileId int64, id int64) *EventTagsGetCall
    func (r *EventTagsService) Insert(profileId int64, eventtag *EventTag) *EventTagsInsertCall
    func (r *EventTagsService) List(profileId int64) *EventTagsListCall
    func (r *EventTagsService) Patch(profileId int64, id int64, eventtag *EventTag) *EventTagsPatchCall
    func (r *EventTagsService) Update(profileId int64, eventtag *EventTag) *EventTagsUpdateCall
type EventTagsUpdateCall
    func (c *EventTagsUpdateCall) Context(ctx context.Context) *EventTagsUpdateCall
    func (c *EventTagsUpdateCall) Do(opts ...googleapi.CallOption) (*EventTag, error)
    func (c *EventTagsUpdateCall) Fields(s ...googleapi.Field) *EventTagsUpdateCall
    func (c *EventTagsUpdateCall) Header() http.Header
type File
    func (s *File) MarshalJSON() ([]byte, error)
type FileList
    func (s *FileList) MarshalJSON() ([]byte, error)
type FileUrls
    func (s *FileUrls) MarshalJSON() ([]byte, error)
type FilesGetCall
    func (c *FilesGetCall) Context(ctx context.Context) *FilesGetCall
    func (c *FilesGetCall) Do(opts ...googleapi.CallOption) (*File, error)
    func (c *FilesGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error)
    func (c *FilesGetCall) Fields(s ...googleapi.Field) *FilesGetCall
    func (c *FilesGetCall) Header() http.Header
    func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall
type FilesListCall
    func (c *FilesListCall) Context(ctx context.Context) *FilesListCall
    func (c *FilesListCall) Do(opts ...googleapi.CallOption) (*FileList, error)
    func (c *FilesListCall) Fields(s ...googleapi.Field) *FilesListCall
    func (c *FilesListCall) Header() http.Header
    func (c *FilesListCall) IfNoneMatch(entityTag string) *FilesListCall
    func (c *FilesListCall) MaxResults(maxResults int64) *FilesListCall
    func (c *FilesListCall) PageToken(pageToken string) *FilesListCall
    func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error
    func (c *FilesListCall) Scope(scope string) *FilesListCall
    func (c *FilesListCall) SortField(sortField string) *FilesListCall
    func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall
type FilesService
    func NewFilesService(s *Service) *FilesService
    func (r *FilesService) Get(reportId int64, fileId int64) *FilesGetCall
    func (r *FilesService) List(profileId int64) *FilesListCall
type Flight
    func (s *Flight) MarshalJSON() ([]byte, error)
type FloodlightActivitiesDeleteCall
    func (c *FloodlightActivitiesDeleteCall) Context(ctx context.Context) *FloodlightActivitiesDeleteCall
    func (c *FloodlightActivitiesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *FloodlightActivitiesDeleteCall) Fields(s ...googleapi.Field) *FloodlightActivitiesDeleteCall
    func (c *FloodlightActivitiesDeleteCall) Header() http.Header
type FloodlightActivitiesGenerateTagResponse
    func (s *FloodlightActivitiesGenerateTagResponse) MarshalJSON() ([]byte, error)
type FloodlightActivitiesGeneratetagCall
    func (c *FloodlightActivitiesGeneratetagCall) Context(ctx context.Context) *FloodlightActivitiesGeneratetagCall
    func (c *FloodlightActivitiesGeneratetagCall) Do(opts ...googleapi.CallOption) (*FloodlightActivitiesGenerateTagResponse, error)
    func (c *FloodlightActivitiesGeneratetagCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGeneratetagCall
    func (c *FloodlightActivitiesGeneratetagCall) FloodlightActivityId(floodlightActivityId int64) *FloodlightActivitiesGeneratetagCall
    func (c *FloodlightActivitiesGeneratetagCall) Header() http.Header
type FloodlightActivitiesGetCall
    func (c *FloodlightActivitiesGetCall) Context(ctx context.Context) *FloodlightActivitiesGetCall
    func (c *FloodlightActivitiesGetCall) Do(opts ...googleapi.CallOption) (*FloodlightActivity, error)
    func (c *FloodlightActivitiesGetCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGetCall
    func (c *FloodlightActivitiesGetCall) Header() http.Header
    func (c *FloodlightActivitiesGetCall) IfNoneMatch(entityTag string) *FloodlightActivitiesGetCall
type FloodlightActivitiesInsertCall
    func (c *FloodlightActivitiesInsertCall) Context(ctx context.Context) *FloodlightActivitiesInsertCall
    func (c *FloodlightActivitiesInsertCall) Do(opts ...googleapi.CallOption) (*FloodlightActivity, error)
    func (c *FloodlightActivitiesInsertCall) Fields(s ...googleapi.Field) *FloodlightActivitiesInsertCall
    func (c *FloodlightActivitiesInsertCall) Header() http.Header
type FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) AdvertiserId(advertiserId int64) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) Context(ctx context.Context) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) Do(opts ...googleapi.CallOption) (*FloodlightActivitiesListResponse, error)
    func (c *FloodlightActivitiesListCall) Fields(s ...googleapi.Field) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) FloodlightActivityGroupIds(floodlightActivityGroupIds ...int64) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) FloodlightActivityGroupName(floodlightActivityGroupName string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlightActivityGroupTagString string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) FloodlightConfigurationId(floodlightConfigurationId int64) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) Header() http.Header
    func (c *FloodlightActivitiesListCall) Ids(ids ...int64) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) IfNoneMatch(entityTag string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) MaxResults(maxResults int64) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) PageToken(pageToken string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) Pages(ctx context.Context, f func(*FloodlightActivitiesListResponse) error) error
    func (c *FloodlightActivitiesListCall) SearchString(searchString string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall
    func (c *FloodlightActivitiesListCall) TagString(tagString string) *FloodlightActivitiesListCall
type FloodlightActivitiesListResponse
    func (s *FloodlightActivitiesListResponse) MarshalJSON() ([]byte, error)
type FloodlightActivitiesPatchCall
    func (c *FloodlightActivitiesPatchCall) Context(ctx context.Context) *FloodlightActivitiesPatchCall
    func (c *FloodlightActivitiesPatchCall) Do(opts ...googleapi.CallOption) (*FloodlightActivity, error)
    func (c *FloodlightActivitiesPatchCall) Fields(s ...googleapi.Field) *FloodlightActivitiesPatchCall
    func (c *FloodlightActivitiesPatchCall) Header() http.Header
type FloodlightActivitiesService
    func NewFloodlightActivitiesService(s *Service) *FloodlightActivitiesService
    func (r *FloodlightActivitiesService) Delete(profileId int64, id int64) *FloodlightActivitiesDeleteCall
    func (r *FloodlightActivitiesService) Generatetag(profileId int64) *FloodlightActivitiesGeneratetagCall
    func (r *FloodlightActivitiesService) Get(profileId int64, id int64) *FloodlightActivitiesGetCall
    func (r *FloodlightActivitiesService) Insert(profileId int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesInsertCall
    func (r *FloodlightActivitiesService) List(profileId int64) *FloodlightActivitiesListCall
    func (r *FloodlightActivitiesService) Patch(profileId int64, id int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesPatchCall
    func (r *FloodlightActivitiesService) Update(profileId int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesUpdateCall
type FloodlightActivitiesUpdateCall
    func (c *FloodlightActivitiesUpdateCall) Context(ctx context.Context) *FloodlightActivitiesUpdateCall
    func (c *FloodlightActivitiesUpdateCall) Do(opts ...googleapi.CallOption) (*FloodlightActivity, error)
    func (c *FloodlightActivitiesUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivitiesUpdateCall
    func (c *FloodlightActivitiesUpdateCall) Header() http.Header
type FloodlightActivity
    func (s *FloodlightActivity) MarshalJSON() ([]byte, error)
type FloodlightActivityDynamicTag
    func (s *FloodlightActivityDynamicTag) MarshalJSON() ([]byte, error)
type FloodlightActivityGroup
    func (s *FloodlightActivityGroup) MarshalJSON() ([]byte, error)
type FloodlightActivityGroupsGetCall
    func (c *FloodlightActivityGroupsGetCall) Context(ctx context.Context) *FloodlightActivityGroupsGetCall
    func (c *FloodlightActivityGroupsGetCall) Do(opts ...googleapi.CallOption) (*FloodlightActivityGroup, error)
    func (c *FloodlightActivityGroupsGetCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsGetCall
    func (c *FloodlightActivityGroupsGetCall) Header() http.Header
    func (c *FloodlightActivityGroupsGetCall) IfNoneMatch(entityTag string) *FloodlightActivityGroupsGetCall
type FloodlightActivityGroupsInsertCall
    func (c *FloodlightActivityGroupsInsertCall) Context(ctx context.Context) *FloodlightActivityGroupsInsertCall
    func (c *FloodlightActivityGroupsInsertCall) Do(opts ...googleapi.CallOption) (*FloodlightActivityGroup, error)
    func (c *FloodlightActivityGroupsInsertCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsInsertCall
    func (c *FloodlightActivityGroupsInsertCall) Header() http.Header
type FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) AdvertiserId(advertiserId int64) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) Context(ctx context.Context) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) Do(opts ...googleapi.CallOption) (*FloodlightActivityGroupsListResponse, error)
    func (c *FloodlightActivityGroupsListCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) FloodlightConfigurationId(floodlightConfigurationId int64) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) Header() http.Header
    func (c *FloodlightActivityGroupsListCall) Ids(ids ...int64) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) IfNoneMatch(entityTag string) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) MaxResults(maxResults int64) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) PageToken(pageToken string) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) Pages(ctx context.Context, f func(*FloodlightActivityGroupsListResponse) error) error
    func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall
    func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall
type FloodlightActivityGroupsListResponse
    func (s *FloodlightActivityGroupsListResponse) MarshalJSON() ([]byte, error)
type FloodlightActivityGroupsPatchCall
    func (c *FloodlightActivityGroupsPatchCall) Context(ctx context.Context) *FloodlightActivityGroupsPatchCall
    func (c *FloodlightActivityGroupsPatchCall) Do(opts ...googleapi.CallOption) (*FloodlightActivityGroup, error)
    func (c *FloodlightActivityGroupsPatchCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsPatchCall
    func (c *FloodlightActivityGroupsPatchCall) Header() http.Header
type FloodlightActivityGroupsService
    func NewFloodlightActivityGroupsService(s *Service) *FloodlightActivityGroupsService
    func (r *FloodlightActivityGroupsService) Get(profileId int64, id int64) *FloodlightActivityGroupsGetCall
    func (r *FloodlightActivityGroupsService) Insert(profileId int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsInsertCall
    func (r *FloodlightActivityGroupsService) List(profileId int64) *FloodlightActivityGroupsListCall
    func (r *FloodlightActivityGroupsService) Patch(profileId int64, id int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsPatchCall
    func (r *FloodlightActivityGroupsService) Update(profileId int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsUpdateCall
type FloodlightActivityGroupsUpdateCall
    func (c *FloodlightActivityGroupsUpdateCall) Context(ctx context.Context) *FloodlightActivityGroupsUpdateCall
    func (c *FloodlightActivityGroupsUpdateCall) Do(opts ...googleapi.CallOption) (*FloodlightActivityGroup, error)
    func (c *FloodlightActivityGroupsUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsUpdateCall
    func (c *FloodlightActivityGroupsUpdateCall) Header() http.Header
type FloodlightActivityPublisherDynamicTag
    func (s *FloodlightActivityPublisherDynamicTag) MarshalJSON() ([]byte, error)
type FloodlightConfiguration
    func (s *FloodlightConfiguration) MarshalJSON() ([]byte, error)
type FloodlightConfigurationsGetCall
    func (c *FloodlightConfigurationsGetCall) Context(ctx context.Context) *FloodlightConfigurationsGetCall
    func (c *FloodlightConfigurationsGetCall) Do(opts ...googleapi.CallOption) (*FloodlightConfiguration, error)
    func (c *FloodlightConfigurationsGetCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsGetCall
    func (c *FloodlightConfigurationsGetCall) Header() http.Header
    func (c *FloodlightConfigurationsGetCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsGetCall
type FloodlightConfigurationsListCall
    func (c *FloodlightConfigurationsListCall) Context(ctx context.Context) *FloodlightConfigurationsListCall
    func (c *FloodlightConfigurationsListCall) Do(opts ...googleapi.CallOption) (*FloodlightConfigurationsListResponse, error)
    func (c *FloodlightConfigurationsListCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsListCall
    func (c *FloodlightConfigurationsListCall) Header() http.Header
    func (c *FloodlightConfigurationsListCall) Ids(ids ...int64) *FloodlightConfigurationsListCall
    func (c *FloodlightConfigurationsListCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsListCall
type FloodlightConfigurationsListResponse
    func (s *FloodlightConfigurationsListResponse) MarshalJSON() ([]byte, error)
type FloodlightConfigurationsPatchCall
    func (c *FloodlightConfigurationsPatchCall) Context(ctx context.Context) *FloodlightConfigurationsPatchCall
    func (c *FloodlightConfigurationsPatchCall) Do(opts ...googleapi.CallOption) (*FloodlightConfiguration, error)
    func (c *FloodlightConfigurationsPatchCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsPatchCall
    func (c *FloodlightConfigurationsPatchCall) Header() http.Header
type FloodlightConfigurationsService
    func NewFloodlightConfigurationsService(s *Service) *FloodlightConfigurationsService
    func (r *FloodlightConfigurationsService) Get(profileId int64, id int64) *FloodlightConfigurationsGetCall
    func (r *FloodlightConfigurationsService) List(profileId int64) *FloodlightConfigurationsListCall
    func (r *FloodlightConfigurationsService) Patch(profileId int64, id int64, floodlightconfiguration *FloodlightConfiguration) *FloodlightConfigurationsPatchCall
    func (r *FloodlightConfigurationsService) Update(profileId int64, floodlightconfiguration *FloodlightConfiguration) *FloodlightConfigurationsUpdateCall
type FloodlightConfigurationsUpdateCall
    func (c *FloodlightConfigurationsUpdateCall) Context(ctx context.Context) *FloodlightConfigurationsUpdateCall
    func (c *FloodlightConfigurationsUpdateCall) Do(opts ...googleapi.CallOption) (*FloodlightConfiguration, error)
    func (c *FloodlightConfigurationsUpdateCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsUpdateCall
    func (c *FloodlightConfigurationsUpdateCall) Header() http.Header
type FloodlightReportCompatibleFields
    func (s *FloodlightReportCompatibleFields) MarshalJSON() ([]byte, error)
type FrequencyCap
    func (s *FrequencyCap) MarshalJSON() ([]byte, error)
type FsCommand
    func (s *FsCommand) MarshalJSON() ([]byte, error)
type GeoTargeting
    func (s *GeoTargeting) MarshalJSON() ([]byte, error)
type InventoryItem
    func (s *InventoryItem) MarshalJSON() ([]byte, error)
type InventoryItemsGetCall
    func (c *InventoryItemsGetCall) Context(ctx context.Context) *InventoryItemsGetCall
    func (c *InventoryItemsGetCall) Do(opts ...googleapi.CallOption) (*InventoryItem, error)
    func (c *InventoryItemsGetCall) Fields(s ...googleapi.Field) *InventoryItemsGetCall
    func (c *InventoryItemsGetCall) Header() http.Header
    func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall
type InventoryItemsListCall
    func (c *InventoryItemsListCall) Context(ctx context.Context) *InventoryItemsListCall
    func (c *InventoryItemsListCall) Do(opts ...googleapi.CallOption) (*InventoryItemsListResponse, error)
    func (c *InventoryItemsListCall) Fields(s ...googleapi.Field) *InventoryItemsListCall
    func (c *InventoryItemsListCall) Header() http.Header
    func (c *InventoryItemsListCall) Ids(ids ...int64) *InventoryItemsListCall
    func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall
    func (c *InventoryItemsListCall) InPlan(inPlan bool) *InventoryItemsListCall
    func (c *InventoryItemsListCall) MaxResults(maxResults int64) *InventoryItemsListCall
    func (c *InventoryItemsListCall) OrderId(orderId ...int64) *InventoryItemsListCall
    func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall
    func (c *InventoryItemsListCall) Pages(ctx context.Context, f func(*InventoryItemsListResponse) error) error
    func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
    func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall
    func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall
    func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall
type InventoryItemsListResponse
    func (s *InventoryItemsListResponse) MarshalJSON() ([]byte, error)
type InventoryItemsService
    func NewInventoryItemsService(s *Service) *InventoryItemsService
    func (r *InventoryItemsService) Get(profileId int64, projectId int64, id int64) *InventoryItemsGetCall
    func (r *InventoryItemsService) List(profileId int64, projectId int64) *InventoryItemsListCall
type KeyValueTargetingExpression
    func (s *KeyValueTargetingExpression) MarshalJSON() ([]byte, error)
type LandingPage
    func (s *LandingPage) MarshalJSON() ([]byte, error)
type LandingPagesDeleteCall
    func (c *LandingPagesDeleteCall) Context(ctx context.Context) *LandingPagesDeleteCall
    func (c *LandingPagesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *LandingPagesDeleteCall) Fields(s ...googleapi.Field) *LandingPagesDeleteCall
    func (c *LandingPagesDeleteCall) Header() http.Header
type LandingPagesGetCall
    func (c *LandingPagesGetCall) Context(ctx context.Context) *LandingPagesGetCall
    func (c *LandingPagesGetCall) Do(opts ...googleapi.CallOption) (*LandingPage, error)
    func (c *LandingPagesGetCall) Fields(s ...googleapi.Field) *LandingPagesGetCall
    func (c *LandingPagesGetCall) Header() http.Header
    func (c *LandingPagesGetCall) IfNoneMatch(entityTag string) *LandingPagesGetCall
type LandingPagesInsertCall
    func (c *LandingPagesInsertCall) Context(ctx context.Context) *LandingPagesInsertCall
    func (c *LandingPagesInsertCall) Do(opts ...googleapi.CallOption) (*LandingPage, error)
    func (c *LandingPagesInsertCall) Fields(s ...googleapi.Field) *LandingPagesInsertCall
    func (c *LandingPagesInsertCall) Header() http.Header
type LandingPagesListCall
    func (c *LandingPagesListCall) Context(ctx context.Context) *LandingPagesListCall
    func (c *LandingPagesListCall) Do(opts ...googleapi.CallOption) (*LandingPagesListResponse, error)
    func (c *LandingPagesListCall) Fields(s ...googleapi.Field) *LandingPagesListCall
    func (c *LandingPagesListCall) Header() http.Header
    func (c *LandingPagesListCall) IfNoneMatch(entityTag string) *LandingPagesListCall
type LandingPagesListResponse
    func (s *LandingPagesListResponse) MarshalJSON() ([]byte, error)
type LandingPagesPatchCall
    func (c *LandingPagesPatchCall) Context(ctx context.Context) *LandingPagesPatchCall
    func (c *LandingPagesPatchCall) Do(opts ...googleapi.CallOption) (*LandingPage, error)
    func (c *LandingPagesPatchCall) Fields(s ...googleapi.Field) *LandingPagesPatchCall
    func (c *LandingPagesPatchCall) Header() http.Header
type LandingPagesService
    func NewLandingPagesService(s *Service) *LandingPagesService
    func (r *LandingPagesService) Delete(profileId int64, campaignId int64, id int64) *LandingPagesDeleteCall
    func (r *LandingPagesService) Get(profileId int64, campaignId int64, id int64) *LandingPagesGetCall
    func (r *LandingPagesService) Insert(profileId int64, campaignId int64, landingpage *LandingPage) *LandingPagesInsertCall
    func (r *LandingPagesService) List(profileId int64, campaignId int64) *LandingPagesListCall
    func (r *LandingPagesService) Patch(profileId int64, campaignId int64, id int64, landingpage *LandingPage) *LandingPagesPatchCall
    func (r *LandingPagesService) Update(profileId int64, campaignId int64, landingpage *LandingPage) *LandingPagesUpdateCall
type LandingPagesUpdateCall
    func (c *LandingPagesUpdateCall) Context(ctx context.Context) *LandingPagesUpdateCall
    func (c *LandingPagesUpdateCall) Do(opts ...googleapi.CallOption) (*LandingPage, error)
    func (c *LandingPagesUpdateCall) Fields(s ...googleapi.Field) *LandingPagesUpdateCall
    func (c *LandingPagesUpdateCall) Header() http.Header
type Language
    func (s *Language) MarshalJSON() ([]byte, error)
type LanguageTargeting
    func (s *LanguageTargeting) MarshalJSON() ([]byte, error)
type LanguagesListCall
    func (c *LanguagesListCall) Context(ctx context.Context) *LanguagesListCall
    func (c *LanguagesListCall) Do(opts ...googleapi.CallOption) (*LanguagesListResponse, error)
    func (c *LanguagesListCall) Fields(s ...googleapi.Field) *LanguagesListCall
    func (c *LanguagesListCall) Header() http.Header
    func (c *LanguagesListCall) IfNoneMatch(entityTag string) *LanguagesListCall
type LanguagesListResponse
    func (s *LanguagesListResponse) MarshalJSON() ([]byte, error)
type LanguagesService
    func NewLanguagesService(s *Service) *LanguagesService
    func (r *LanguagesService) List(profileId int64) *LanguagesListCall
type LastModifiedInfo
    func (s *LastModifiedInfo) MarshalJSON() ([]byte, error)
type ListPopulationClause
    func (s *ListPopulationClause) MarshalJSON() ([]byte, error)
type ListPopulationRule
    func (s *ListPopulationRule) MarshalJSON() ([]byte, error)
type ListPopulationTerm
    func (s *ListPopulationTerm) MarshalJSON() ([]byte, error)
type ListTargetingExpression
    func (s *ListTargetingExpression) MarshalJSON() ([]byte, error)
type LookbackConfiguration
    func (s *LookbackConfiguration) MarshalJSON() ([]byte, error)
type Metric
    func (s *Metric) MarshalJSON() ([]byte, error)
type Metro
    func (s *Metro) MarshalJSON() ([]byte, error)
type MetrosListCall
    func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall
    func (c *MetrosListCall) Do(opts ...googleapi.CallOption) (*MetrosListResponse, error)
    func (c *MetrosListCall) Fields(s ...googleapi.Field) *MetrosListCall
    func (c *MetrosListCall) Header() http.Header
    func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall
type MetrosListResponse
    func (s *MetrosListResponse) MarshalJSON() ([]byte, error)
type MetrosService
    func NewMetrosService(s *Service) *MetrosService
    func (r *MetrosService) List(profileId int64) *MetrosListCall
type MobileCarrier
    func (s *MobileCarrier) MarshalJSON() ([]byte, error)
type MobileCarriersGetCall
    func (c *MobileCarriersGetCall) Context(ctx context.Context) *MobileCarriersGetCall
    func (c *MobileCarriersGetCall) Do(opts ...googleapi.CallOption) (*MobileCarrier, error)
    func (c *MobileCarriersGetCall) Fields(s ...googleapi.Field) *MobileCarriersGetCall
    func (c *MobileCarriersGetCall) Header() http.Header
    func (c *MobileCarriersGetCall) IfNoneMatch(entityTag string) *MobileCarriersGetCall
type MobileCarriersListCall
    func (c *MobileCarriersListCall) Context(ctx context.Context) *MobileCarriersListCall
    func (c *MobileCarriersListCall) Do(opts ...googleapi.CallOption) (*MobileCarriersListResponse, error)
    func (c *MobileCarriersListCall) Fields(s ...googleapi.Field) *MobileCarriersListCall
    func (c *MobileCarriersListCall) Header() http.Header
    func (c *MobileCarriersListCall) IfNoneMatch(entityTag string) *MobileCarriersListCall
type MobileCarriersListResponse
    func (s *MobileCarriersListResponse) MarshalJSON() ([]byte, error)
type MobileCarriersService
    func NewMobileCarriersService(s *Service) *MobileCarriersService
    func (r *MobileCarriersService) Get(profileId int64, id int64) *MobileCarriersGetCall
    func (r *MobileCarriersService) List(profileId int64) *MobileCarriersListCall
type ObjectFilter
    func (s *ObjectFilter) MarshalJSON() ([]byte, error)
type OffsetPosition
    func (s *OffsetPosition) MarshalJSON() ([]byte, error)
type OmnitureSettings
    func (s *OmnitureSettings) MarshalJSON() ([]byte, error)
type OperatingSystem
    func (s *OperatingSystem) MarshalJSON() ([]byte, error)
type OperatingSystemVersion
    func (s *OperatingSystemVersion) MarshalJSON() ([]byte, error)
type OperatingSystemVersionsGetCall
    func (c *OperatingSystemVersionsGetCall) Context(ctx context.Context) *OperatingSystemVersionsGetCall
    func (c *OperatingSystemVersionsGetCall) Do(opts ...googleapi.CallOption) (*OperatingSystemVersion, error)
    func (c *OperatingSystemVersionsGetCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsGetCall
    func (c *OperatingSystemVersionsGetCall) Header() http.Header
    func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall
type OperatingSystemVersionsListCall
    func (c *OperatingSystemVersionsListCall) Context(ctx context.Context) *OperatingSystemVersionsListCall
    func (c *OperatingSystemVersionsListCall) Do(opts ...googleapi.CallOption) (*OperatingSystemVersionsListResponse, error)
    func (c *OperatingSystemVersionsListCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsListCall
    func (c *OperatingSystemVersionsListCall) Header() http.Header
    func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall
type OperatingSystemVersionsListResponse
    func (s *OperatingSystemVersionsListResponse) MarshalJSON() ([]byte, error)
type OperatingSystemVersionsService
    func NewOperatingSystemVersionsService(s *Service) *OperatingSystemVersionsService
    func (r *OperatingSystemVersionsService) Get(profileId int64, id int64) *OperatingSystemVersionsGetCall
    func (r *OperatingSystemVersionsService) List(profileId int64) *OperatingSystemVersionsListCall
type OperatingSystemsGetCall
    func (c *OperatingSystemsGetCall) Context(ctx context.Context) *OperatingSystemsGetCall
    func (c *OperatingSystemsGetCall) Do(opts ...googleapi.CallOption) (*OperatingSystem, error)
    func (c *OperatingSystemsGetCall) Fields(s ...googleapi.Field) *OperatingSystemsGetCall
    func (c *OperatingSystemsGetCall) Header() http.Header
    func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall
type OperatingSystemsListCall
    func (c *OperatingSystemsListCall) Context(ctx context.Context) *OperatingSystemsListCall
    func (c *OperatingSystemsListCall) Do(opts ...googleapi.CallOption) (*OperatingSystemsListResponse, error)
    func (c *OperatingSystemsListCall) Fields(s ...googleapi.Field) *OperatingSystemsListCall
    func (c *OperatingSystemsListCall) Header() http.Header
    func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall
type OperatingSystemsListResponse
    func (s *OperatingSystemsListResponse) MarshalJSON() ([]byte, error)
type OperatingSystemsService
    func NewOperatingSystemsService(s *Service) *OperatingSystemsService
    func (r *OperatingSystemsService) Get(profileId int64, dartId int64) *OperatingSystemsGetCall
    func (r *OperatingSystemsService) List(profileId int64) *OperatingSystemsListCall
type OptimizationActivity
    func (s *OptimizationActivity) MarshalJSON() ([]byte, error)
type Order
    func (s *Order) MarshalJSON() ([]byte, error)
type OrderContact
    func (s *OrderContact) MarshalJSON() ([]byte, error)
type OrderDocument
    func (s *OrderDocument) MarshalJSON() ([]byte, error)
type OrderDocumentsGetCall
    func (c *OrderDocumentsGetCall) Context(ctx context.Context) *OrderDocumentsGetCall
    func (c *OrderDocumentsGetCall) Do(opts ...googleapi.CallOption) (*OrderDocument, error)
    func (c *OrderDocumentsGetCall) Fields(s ...googleapi.Field) *OrderDocumentsGetCall
    func (c *OrderDocumentsGetCall) Header() http.Header
    func (c *OrderDocumentsGetCall) IfNoneMatch(entityTag string) *OrderDocumentsGetCall
type OrderDocumentsListCall
    func (c *OrderDocumentsListCall) Approved(approved bool) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) Do(opts ...googleapi.CallOption) (*OrderDocumentsListResponse, error)
    func (c *OrderDocumentsListCall) Fields(s ...googleapi.Field) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) Header() http.Header
    func (c *OrderDocumentsListCall) Ids(ids ...int64) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) IfNoneMatch(entityTag string) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) MaxResults(maxResults int64) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) OrderId(orderId ...int64) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) PageToken(pageToken string) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error
    func (c *OrderDocumentsListCall) SearchString(searchString string) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall
    func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall
type OrderDocumentsListResponse
    func (s *OrderDocumentsListResponse) MarshalJSON() ([]byte, error)
type OrderDocumentsService
    func NewOrderDocumentsService(s *Service) *OrderDocumentsService
    func (r *OrderDocumentsService) Get(profileId int64, projectId int64, id int64) *OrderDocumentsGetCall
    func (r *OrderDocumentsService) List(profileId int64, projectId int64) *OrderDocumentsListCall
type OrdersGetCall
    func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall
    func (c *OrdersGetCall) Do(opts ...googleapi.CallOption) (*Order, error)
    func (c *OrdersGetCall) Fields(s ...googleapi.Field) *OrdersGetCall
    func (c *OrdersGetCall) Header() http.Header
    func (c *OrdersGetCall) IfNoneMatch(entityTag string) *OrdersGetCall
type OrdersListCall
    func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall
    func (c *OrdersListCall) Do(opts ...googleapi.CallOption) (*OrdersListResponse, error)
    func (c *OrdersListCall) Fields(s ...googleapi.Field) *OrdersListCall
    func (c *OrdersListCall) Header() http.Header
    func (c *OrdersListCall) Ids(ids ...int64) *OrdersListCall
    func (c *OrdersListCall) IfNoneMatch(entityTag string) *OrdersListCall
    func (c *OrdersListCall) MaxResults(maxResults int64) *OrdersListCall
    func (c *OrdersListCall) PageToken(pageToken string) *OrdersListCall
    func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error
    func (c *OrdersListCall) SearchString(searchString string) *OrdersListCall
    func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall
    func (c *OrdersListCall) SortField(sortField string) *OrdersListCall
    func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall
type OrdersListResponse
    func (s *OrdersListResponse) MarshalJSON() ([]byte, error)
type OrdersService
    func NewOrdersService(s *Service) *OrdersService
    func (r *OrdersService) Get(profileId int64, projectId int64, id int64) *OrdersGetCall
    func (r *OrdersService) List(profileId int64, projectId int64) *OrdersListCall
type PathToConversionReportCompatibleFields
    func (s *PathToConversionReportCompatibleFields) MarshalJSON() ([]byte, error)
type Placement
    func (s *Placement) MarshalJSON() ([]byte, error)
type PlacementAssignment
    func (s *PlacementAssignment) MarshalJSON() ([]byte, error)
type PlacementGroup
    func (s *PlacementGroup) MarshalJSON() ([]byte, error)
type PlacementGroupsGetCall
    func (c *PlacementGroupsGetCall) Context(ctx context.Context) *PlacementGroupsGetCall
    func (c *PlacementGroupsGetCall) Do(opts ...googleapi.CallOption) (*PlacementGroup, error)
    func (c *PlacementGroupsGetCall) Fields(s ...googleapi.Field) *PlacementGroupsGetCall
    func (c *PlacementGroupsGetCall) Header() http.Header
    func (c *PlacementGroupsGetCall) IfNoneMatch(entityTag string) *PlacementGroupsGetCall
type PlacementGroupsInsertCall
    func (c *PlacementGroupsInsertCall) Context(ctx context.Context) *PlacementGroupsInsertCall
    func (c *PlacementGroupsInsertCall) Do(opts ...googleapi.CallOption) (*PlacementGroup, error)
    func (c *PlacementGroupsInsertCall) Fields(s ...googleapi.Field) *PlacementGroupsInsertCall
    func (c *PlacementGroupsInsertCall) Header() http.Header
type PlacementGroupsListCall
    func (c *PlacementGroupsListCall) AdvertiserIds(advertiserIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) Archived(archived bool) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) CampaignIds(campaignIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) ContentCategoryIds(contentCategoryIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) Context(ctx context.Context) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) DirectorySiteIds(directorySiteIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) Do(opts ...googleapi.CallOption) (*PlacementGroupsListResponse, error)
    func (c *PlacementGroupsListCall) Fields(s ...googleapi.Field) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) Header() http.Header
    func (c *PlacementGroupsListCall) Ids(ids ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) IfNoneMatch(entityTag string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) MaxEndDate(maxEndDate string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) MaxResults(maxResults int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) MaxStartDate(maxStartDate string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) MinEndDate(minEndDate string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) MinStartDate(minStartDate string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) Pages(ctx context.Context, f func(*PlacementGroupsListResponse) error) error
    func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) SearchString(searchString string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall
    func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall
type PlacementGroupsListResponse
    func (s *PlacementGroupsListResponse) MarshalJSON() ([]byte, error)
type PlacementGroupsPatchCall
    func (c *PlacementGroupsPatchCall) Context(ctx context.Context) *PlacementGroupsPatchCall
    func (c *PlacementGroupsPatchCall) Do(opts ...googleapi.CallOption) (*PlacementGroup, error)
    func (c *PlacementGroupsPatchCall) Fields(s ...googleapi.Field) *PlacementGroupsPatchCall
    func (c *PlacementGroupsPatchCall) Header() http.Header
type PlacementGroupsService
    func NewPlacementGroupsService(s *Service) *PlacementGroupsService
    func (r *PlacementGroupsService) Get(profileId int64, id int64) *PlacementGroupsGetCall
    func (r *PlacementGroupsService) Insert(profileId int64, placementgroup *PlacementGroup) *PlacementGroupsInsertCall
    func (r *PlacementGroupsService) List(profileId int64) *PlacementGroupsListCall
    func (r *PlacementGroupsService) Patch(profileId int64, id int64, placementgroup *PlacementGroup) *PlacementGroupsPatchCall
    func (r *PlacementGroupsService) Update(profileId int64, placementgroup *PlacementGroup) *PlacementGroupsUpdateCall
type PlacementGroupsUpdateCall
    func (c *PlacementGroupsUpdateCall) Context(ctx context.Context) *PlacementGroupsUpdateCall
    func (c *PlacementGroupsUpdateCall) Do(opts ...googleapi.CallOption) (*PlacementGroup, error)
    func (c *PlacementGroupsUpdateCall) Fields(s ...googleapi.Field) *PlacementGroupsUpdateCall
    func (c *PlacementGroupsUpdateCall) Header() http.Header
type PlacementStrategiesDeleteCall
    func (c *PlacementStrategiesDeleteCall) Context(ctx context.Context) *PlacementStrategiesDeleteCall
    func (c *PlacementStrategiesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *PlacementStrategiesDeleteCall) Fields(s ...googleapi.Field) *PlacementStrategiesDeleteCall
    func (c *PlacementStrategiesDeleteCall) Header() http.Header
type PlacementStrategiesGetCall
    func (c *PlacementStrategiesGetCall) Context(ctx context.Context) *PlacementStrategiesGetCall
    func (c *PlacementStrategiesGetCall) Do(opts ...googleapi.CallOption) (*PlacementStrategy, error)
    func (c *PlacementStrategiesGetCall) Fields(s ...googleapi.Field) *PlacementStrategiesGetCall
    func (c *PlacementStrategiesGetCall) Header() http.Header
    func (c *PlacementStrategiesGetCall) IfNoneMatch(entityTag string) *PlacementStrategiesGetCall
type PlacementStrategiesInsertCall
    func (c *PlacementStrategiesInsertCall) Context(ctx context.Context) *PlacementStrategiesInsertCall
    func (c *PlacementStrategiesInsertCall) Do(opts ...googleapi.CallOption) (*PlacementStrategy, error)
    func (c *PlacementStrategiesInsertCall) Fields(s ...googleapi.Field) *PlacementStrategiesInsertCall
    func (c *PlacementStrategiesInsertCall) Header() http.Header
type PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) Context(ctx context.Context) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) Do(opts ...googleapi.CallOption) (*PlacementStrategiesListResponse, error)
    func (c *PlacementStrategiesListCall) Fields(s ...googleapi.Field) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) Header() http.Header
    func (c *PlacementStrategiesListCall) Ids(ids ...int64) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) IfNoneMatch(entityTag string) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) MaxResults(maxResults int64) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) PageToken(pageToken string) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error
    func (c *PlacementStrategiesListCall) SearchString(searchString string) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall
    func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall
type PlacementStrategiesListResponse
    func (s *PlacementStrategiesListResponse) MarshalJSON() ([]byte, error)
type PlacementStrategiesPatchCall
    func (c *PlacementStrategiesPatchCall) Context(ctx context.Context) *PlacementStrategiesPatchCall
    func (c *PlacementStrategiesPatchCall) Do(opts ...googleapi.CallOption) (*PlacementStrategy, error)
    func (c *PlacementStrategiesPatchCall) Fields(s ...googleapi.Field) *PlacementStrategiesPatchCall
    func (c *PlacementStrategiesPatchCall) Header() http.Header
type PlacementStrategiesService
    func NewPlacementStrategiesService(s *Service) *PlacementStrategiesService
    func (r *PlacementStrategiesService) Delete(profileId int64, id int64) *PlacementStrategiesDeleteCall
    func (r *PlacementStrategiesService) Get(profileId int64, id int64) *PlacementStrategiesGetCall
    func (r *PlacementStrategiesService) Insert(profileId int64, placementstrategy *PlacementStrategy) *PlacementStrategiesInsertCall
    func (r *PlacementStrategiesService) List(profileId int64) *PlacementStrategiesListCall
    func (r *PlacementStrategiesService) Patch(profileId int64, id int64, placementstrategy *PlacementStrategy) *PlacementStrategiesPatchCall
    func (r *PlacementStrategiesService) Update(profileId int64, placementstrategy *PlacementStrategy) *PlacementStrategiesUpdateCall
type PlacementStrategiesUpdateCall
    func (c *PlacementStrategiesUpdateCall) Context(ctx context.Context) *PlacementStrategiesUpdateCall
    func (c *PlacementStrategiesUpdateCall) Do(opts ...googleapi.CallOption) (*PlacementStrategy, error)
    func (c *PlacementStrategiesUpdateCall) Fields(s ...googleapi.Field) *PlacementStrategiesUpdateCall
    func (c *PlacementStrategiesUpdateCall) Header() http.Header
type PlacementStrategy
    func (s *PlacementStrategy) MarshalJSON() ([]byte, error)
type PlacementTag
    func (s *PlacementTag) MarshalJSON() ([]byte, error)
type PlacementsGenerateTagsResponse
    func (s *PlacementsGenerateTagsResponse) MarshalJSON() ([]byte, error)
type PlacementsGeneratetagsCall
    func (c *PlacementsGeneratetagsCall) CampaignId(campaignId int64) *PlacementsGeneratetagsCall
    func (c *PlacementsGeneratetagsCall) Context(ctx context.Context) *PlacementsGeneratetagsCall
    func (c *PlacementsGeneratetagsCall) Do(opts ...googleapi.CallOption) (*PlacementsGenerateTagsResponse, error)
    func (c *PlacementsGeneratetagsCall) Fields(s ...googleapi.Field) *PlacementsGeneratetagsCall
    func (c *PlacementsGeneratetagsCall) Header() http.Header
    func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *PlacementsGeneratetagsCall
    func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall
type PlacementsGetCall
    func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall
    func (c *PlacementsGetCall) Do(opts ...googleapi.CallOption) (*Placement, error)
    func (c *PlacementsGetCall) Fields(s ...googleapi.Field) *PlacementsGetCall
    func (c *PlacementsGetCall) Header() http.Header
    func (c *PlacementsGetCall) IfNoneMatch(entityTag string) *PlacementsGetCall
type PlacementsInsertCall
    func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall
    func (c *PlacementsInsertCall) Do(opts ...googleapi.CallOption) (*Placement, error)
    func (c *PlacementsInsertCall) Fields(s ...googleapi.Field) *PlacementsInsertCall
    func (c *PlacementsInsertCall) Header() http.Header
type PlacementsListCall
    func (c *PlacementsListCall) AdvertiserIds(advertiserIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) Archived(archived bool) *PlacementsListCall
    func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall
    func (c *PlacementsListCall) ContentCategoryIds(contentCategoryIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall
    func (c *PlacementsListCall) DirectorySiteIds(directorySiteIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) Do(opts ...googleapi.CallOption) (*PlacementsListResponse, error)
    func (c *PlacementsListCall) Fields(s ...googleapi.Field) *PlacementsListCall
    func (c *PlacementsListCall) GroupIds(groupIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) Header() http.Header
    func (c *PlacementsListCall) Ids(ids ...int64) *PlacementsListCall
    func (c *PlacementsListCall) IfNoneMatch(entityTag string) *PlacementsListCall
    func (c *PlacementsListCall) MaxEndDate(maxEndDate string) *PlacementsListCall
    func (c *PlacementsListCall) MaxResults(maxResults int64) *PlacementsListCall
    func (c *PlacementsListCall) MaxStartDate(maxStartDate string) *PlacementsListCall
    func (c *PlacementsListCall) MinEndDate(minEndDate string) *PlacementsListCall
    func (c *PlacementsListCall) MinStartDate(minStartDate string) *PlacementsListCall
    func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall
    func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error
    func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall
    func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall
    func (c *PlacementsListCall) SearchString(searchString string) *PlacementsListCall
    func (c *PlacementsListCall) SiteIds(siteIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall
    func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall
    func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall
type PlacementsListResponse
    func (s *PlacementsListResponse) MarshalJSON() ([]byte, error)
type PlacementsPatchCall
    func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall
    func (c *PlacementsPatchCall) Do(opts ...googleapi.CallOption) (*Placement, error)
    func (c *PlacementsPatchCall) Fields(s ...googleapi.Field) *PlacementsPatchCall
    func (c *PlacementsPatchCall) Header() http.Header
type PlacementsService
    func NewPlacementsService(s *Service) *PlacementsService
    func (r *PlacementsService) Generatetags(profileId int64) *PlacementsGeneratetagsCall
    func (r *PlacementsService) Get(profileId int64, id int64) *PlacementsGetCall
    func (r *PlacementsService) Insert(profileId int64, placement *Placement) *PlacementsInsertCall
    func (r *PlacementsService) List(profileId int64) *PlacementsListCall
    func (r *PlacementsService) Patch(profileId int64, id int64, placement *Placement) *PlacementsPatchCall
    func (r *PlacementsService) Update(profileId int64, placement *Placement) *PlacementsUpdateCall
type PlacementsUpdateCall
    func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall
    func (c *PlacementsUpdateCall) Do(opts ...googleapi.CallOption) (*Placement, error)
    func (c *PlacementsUpdateCall) Fields(s ...googleapi.Field) *PlacementsUpdateCall
    func (c *PlacementsUpdateCall) Header() http.Header
type PlatformType
    func (s *PlatformType) MarshalJSON() ([]byte, error)
type PlatformTypesGetCall
    func (c *PlatformTypesGetCall) Context(ctx context.Context) *PlatformTypesGetCall
    func (c *PlatformTypesGetCall) Do(opts ...googleapi.CallOption) (*PlatformType, error)
    func (c *PlatformTypesGetCall) Fields(s ...googleapi.Field) *PlatformTypesGetCall
    func (c *PlatformTypesGetCall) Header() http.Header
    func (c *PlatformTypesGetCall) IfNoneMatch(entityTag string) *PlatformTypesGetCall
type PlatformTypesListCall
    func (c *PlatformTypesListCall) Context(ctx context.Context) *PlatformTypesListCall
    func (c *PlatformTypesListCall) Do(opts ...googleapi.CallOption) (*PlatformTypesListResponse, error)
    func (c *PlatformTypesListCall) Fields(s ...googleapi.Field) *PlatformTypesListCall
    func (c *PlatformTypesListCall) Header() http.Header
    func (c *PlatformTypesListCall) IfNoneMatch(entityTag string) *PlatformTypesListCall
type PlatformTypesListResponse
    func (s *PlatformTypesListResponse) MarshalJSON() ([]byte, error)
type PlatformTypesService
    func NewPlatformTypesService(s *Service) *PlatformTypesService
    func (r *PlatformTypesService) Get(profileId int64, id int64) *PlatformTypesGetCall
    func (r *PlatformTypesService) List(profileId int64) *PlatformTypesListCall
type PopupWindowProperties
    func (s *PopupWindowProperties) MarshalJSON() ([]byte, error)
type PostalCode
    func (s *PostalCode) MarshalJSON() ([]byte, error)
type PostalCodesGetCall
    func (c *PostalCodesGetCall) Context(ctx context.Context) *PostalCodesGetCall
    func (c *PostalCodesGetCall) Do(opts ...googleapi.CallOption) (*PostalCode, error)
    func (c *PostalCodesGetCall) Fields(s ...googleapi.Field) *PostalCodesGetCall
    func (c *PostalCodesGetCall) Header() http.Header
    func (c *PostalCodesGetCall) IfNoneMatch(entityTag string) *PostalCodesGetCall
type PostalCodesListCall
    func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall
    func (c *PostalCodesListCall) Do(opts ...googleapi.CallOption) (*PostalCodesListResponse, error)
    func (c *PostalCodesListCall) Fields(s ...googleapi.Field) *PostalCodesListCall
    func (c *PostalCodesListCall) Header() http.Header
    func (c *PostalCodesListCall) IfNoneMatch(entityTag string) *PostalCodesListCall
type PostalCodesListResponse
    func (s *PostalCodesListResponse) MarshalJSON() ([]byte, error)
type PostalCodesService
    func NewPostalCodesService(s *Service) *PostalCodesService
    func (r *PostalCodesService) Get(profileId int64, code string) *PostalCodesGetCall
    func (r *PostalCodesService) List(profileId int64) *PostalCodesListCall
type Pricing
    func (s *Pricing) MarshalJSON() ([]byte, error)
type PricingSchedule
    func (s *PricingSchedule) MarshalJSON() ([]byte, error)
type PricingSchedulePricingPeriod
    func (s *PricingSchedulePricingPeriod) MarshalJSON() ([]byte, error)
type Project
    func (s *Project) MarshalJSON() ([]byte, error)
type ProjectsGetCall
    func (c *ProjectsGetCall) Context(ctx context.Context) *ProjectsGetCall
    func (c *ProjectsGetCall) Do(opts ...googleapi.CallOption) (*Project, error)
    func (c *ProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsGetCall
    func (c *ProjectsGetCall) Header() http.Header
    func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall
type ProjectsListCall
    func (c *ProjectsListCall) AdvertiserIds(advertiserIds ...int64) *ProjectsListCall
    func (c *ProjectsListCall) Context(ctx context.Context) *ProjectsListCall
    func (c *ProjectsListCall) Do(opts ...googleapi.CallOption) (*ProjectsListResponse, error)
    func (c *ProjectsListCall) Fields(s ...googleapi.Field) *ProjectsListCall
    func (c *ProjectsListCall) Header() http.Header
    func (c *ProjectsListCall) Ids(ids ...int64) *ProjectsListCall
    func (c *ProjectsListCall) IfNoneMatch(entityTag string) *ProjectsListCall
    func (c *ProjectsListCall) MaxResults(maxResults int64) *ProjectsListCall
    func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall
    func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error
    func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall
    func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall
    func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall
type ProjectsListResponse
    func (s *ProjectsListResponse) MarshalJSON() ([]byte, error)
type ProjectsService
    func NewProjectsService(s *Service) *ProjectsService
    func (r *ProjectsService) Get(profileId int64, id int64) *ProjectsGetCall
    func (r *ProjectsService) List(profileId int64) *ProjectsListCall
type ReachReportCompatibleFields
    func (s *ReachReportCompatibleFields) MarshalJSON() ([]byte, error)
type Recipient
    func (s *Recipient) MarshalJSON() ([]byte, error)
type Region
    func (s *Region) MarshalJSON() ([]byte, error)
type RegionsListCall
    func (c *RegionsListCall) Context(ctx context.Context) *RegionsListCall
    func (c *RegionsListCall) Do(opts ...googleapi.CallOption) (*RegionsListResponse, error)
    func (c *RegionsListCall) Fields(s ...googleapi.Field) *RegionsListCall
    func (c *RegionsListCall) Header() http.Header
    func (c *RegionsListCall) IfNoneMatch(entityTag string) *RegionsListCall
type RegionsListResponse
    func (s *RegionsListResponse) MarshalJSON() ([]byte, error)
type RegionsService
    func NewRegionsService(s *Service) *RegionsService
    func (r *RegionsService) List(profileId int64) *RegionsListCall
type RemarketingList
    func (s *RemarketingList) MarshalJSON() ([]byte, error)
type RemarketingListShare
    func (s *RemarketingListShare) MarshalJSON() ([]byte, error)
type RemarketingListSharesGetCall
    func (c *RemarketingListSharesGetCall) Context(ctx context.Context) *RemarketingListSharesGetCall
    func (c *RemarketingListSharesGetCall) Do(opts ...googleapi.CallOption) (*RemarketingListShare, error)
    func (c *RemarketingListSharesGetCall) Fields(s ...googleapi.Field) *RemarketingListSharesGetCall
    func (c *RemarketingListSharesGetCall) Header() http.Header
    func (c *RemarketingListSharesGetCall) IfNoneMatch(entityTag string) *RemarketingListSharesGetCall
type RemarketingListSharesPatchCall
    func (c *RemarketingListSharesPatchCall) Context(ctx context.Context) *RemarketingListSharesPatchCall
    func (c *RemarketingListSharesPatchCall) Do(opts ...googleapi.CallOption) (*RemarketingListShare, error)
    func (c *RemarketingListSharesPatchCall) Fields(s ...googleapi.Field) *RemarketingListSharesPatchCall
    func (c *RemarketingListSharesPatchCall) Header() http.Header
type RemarketingListSharesService
    func NewRemarketingListSharesService(s *Service) *RemarketingListSharesService
    func (r *RemarketingListSharesService) Get(profileId int64, remarketingListId int64) *RemarketingListSharesGetCall
    func (r *RemarketingListSharesService) Patch(profileId int64, remarketingListId int64, remarketinglistshare *RemarketingListShare) *RemarketingListSharesPatchCall
    func (r *RemarketingListSharesService) Update(profileId int64, remarketinglistshare *RemarketingListShare) *RemarketingListSharesUpdateCall
type RemarketingListSharesUpdateCall
    func (c *RemarketingListSharesUpdateCall) Context(ctx context.Context) *RemarketingListSharesUpdateCall
    func (c *RemarketingListSharesUpdateCall) Do(opts ...googleapi.CallOption) (*RemarketingListShare, error)
    func (c *RemarketingListSharesUpdateCall) Fields(s ...googleapi.Field) *RemarketingListSharesUpdateCall
    func (c *RemarketingListSharesUpdateCall) Header() http.Header
type RemarketingListsGetCall
    func (c *RemarketingListsGetCall) Context(ctx context.Context) *RemarketingListsGetCall
    func (c *RemarketingListsGetCall) Do(opts ...googleapi.CallOption) (*RemarketingList, error)
    func (c *RemarketingListsGetCall) Fields(s ...googleapi.Field) *RemarketingListsGetCall
    func (c *RemarketingListsGetCall) Header() http.Header
    func (c *RemarketingListsGetCall) IfNoneMatch(entityTag string) *RemarketingListsGetCall
type RemarketingListsInsertCall
    func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall
    func (c *RemarketingListsInsertCall) Do(opts ...googleapi.CallOption) (*RemarketingList, error)
    func (c *RemarketingListsInsertCall) Fields(s ...googleapi.Field) *RemarketingListsInsertCall
    func (c *RemarketingListsInsertCall) Header() http.Header
type RemarketingListsListCall
    func (c *RemarketingListsListCall) Active(active bool) *RemarketingListsListCall
    func (c *RemarketingListsListCall) Context(ctx context.Context) *RemarketingListsListCall
    func (c *RemarketingListsListCall) Do(opts ...googleapi.CallOption) (*RemarketingListsListResponse, error)
    func (c *RemarketingListsListCall) Fields(s ...googleapi.Field) *RemarketingListsListCall
    func (c *RemarketingListsListCall) FloodlightActivityId(floodlightActivityId int64) *RemarketingListsListCall
    func (c *RemarketingListsListCall) Header() http.Header
    func (c *RemarketingListsListCall) IfNoneMatch(entityTag string) *RemarketingListsListCall
    func (c *RemarketingListsListCall) MaxResults(maxResults int64) *RemarketingListsListCall
    func (c *RemarketingListsListCall) Name(name string) *RemarketingListsListCall
    func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall
    func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error
    func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall
    func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall
type RemarketingListsListResponse
    func (s *RemarketingListsListResponse) MarshalJSON() ([]byte, error)
type RemarketingListsPatchCall
    func (c *RemarketingListsPatchCall) Context(ctx context.Context) *RemarketingListsPatchCall
    func (c *RemarketingListsPatchCall) Do(opts ...googleapi.CallOption) (*RemarketingList, error)
    func (c *RemarketingListsPatchCall) Fields(s ...googleapi.Field) *RemarketingListsPatchCall
    func (c *RemarketingListsPatchCall) Header() http.Header
type RemarketingListsService
    func NewRemarketingListsService(s *Service) *RemarketingListsService
    func (r *RemarketingListsService) Get(profileId int64, id int64) *RemarketingListsGetCall
    func (r *RemarketingListsService) Insert(profileId int64, remarketinglist *RemarketingList) *RemarketingListsInsertCall
    func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall
    func (r *RemarketingListsService) Patch(profileId int64, id int64, remarketinglist *RemarketingList) *RemarketingListsPatchCall
    func (r *RemarketingListsService) Update(profileId int64, remarketinglist *RemarketingList) *RemarketingListsUpdateCall
type RemarketingListsUpdateCall
    func (c *RemarketingListsUpdateCall) Context(ctx context.Context) *RemarketingListsUpdateCall
    func (c *RemarketingListsUpdateCall) Do(opts ...googleapi.CallOption) (*RemarketingList, error)
    func (c *RemarketingListsUpdateCall) Fields(s ...googleapi.Field) *RemarketingListsUpdateCall
    func (c *RemarketingListsUpdateCall) Header() http.Header
type Report
    func (s *Report) MarshalJSON() ([]byte, error)
type ReportCompatibleFields
    func (s *ReportCompatibleFields) MarshalJSON() ([]byte, error)
type ReportCriteria
    func (s *ReportCriteria) MarshalJSON() ([]byte, error)
type ReportCrossDimensionReachCriteria
    func (s *ReportCrossDimensionReachCriteria) MarshalJSON() ([]byte, error)
type ReportDelivery
    func (s *ReportDelivery) MarshalJSON() ([]byte, error)
type ReportFloodlightCriteria
    func (s *ReportFloodlightCriteria) MarshalJSON() ([]byte, error)
type ReportFloodlightCriteriaReportProperties
    func (s *ReportFloodlightCriteriaReportProperties) MarshalJSON() ([]byte, error)
type ReportList
    func (s *ReportList) MarshalJSON() ([]byte, error)
type ReportPathToConversionCriteria
    func (s *ReportPathToConversionCriteria) MarshalJSON() ([]byte, error)
type ReportPathToConversionCriteriaReportProperties
    func (s *ReportPathToConversionCriteriaReportProperties) MarshalJSON() ([]byte, error)
type ReportReachCriteria
    func (s *ReportReachCriteria) MarshalJSON() ([]byte, error)
type ReportSchedule
    func (s *ReportSchedule) MarshalJSON() ([]byte, error)
type ReportsCompatibleFieldsQueryCall
    func (c *ReportsCompatibleFieldsQueryCall) Context(ctx context.Context) *ReportsCompatibleFieldsQueryCall
    func (c *ReportsCompatibleFieldsQueryCall) Do(opts ...googleapi.CallOption) (*CompatibleFields, error)
    func (c *ReportsCompatibleFieldsQueryCall) Fields(s ...googleapi.Field) *ReportsCompatibleFieldsQueryCall
    func (c *ReportsCompatibleFieldsQueryCall) Header() http.Header
type ReportsCompatibleFieldsService
    func NewReportsCompatibleFieldsService(s *Service) *ReportsCompatibleFieldsService
    func (r *ReportsCompatibleFieldsService) Query(profileId int64, report *Report) *ReportsCompatibleFieldsQueryCall
type ReportsConfiguration
    func (s *ReportsConfiguration) MarshalJSON() ([]byte, error)
type ReportsDeleteCall
    func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall
    func (c *ReportsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *ReportsDeleteCall) Fields(s ...googleapi.Field) *ReportsDeleteCall
    func (c *ReportsDeleteCall) Header() http.Header
type ReportsFilesGetCall
    func (c *ReportsFilesGetCall) Context(ctx context.Context) *ReportsFilesGetCall
    func (c *ReportsFilesGetCall) Do(opts ...googleapi.CallOption) (*File, error)
    func (c *ReportsFilesGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error)
    func (c *ReportsFilesGetCall) Fields(s ...googleapi.Field) *ReportsFilesGetCall
    func (c *ReportsFilesGetCall) Header() http.Header
    func (c *ReportsFilesGetCall) IfNoneMatch(entityTag string) *ReportsFilesGetCall
type ReportsFilesListCall
    func (c *ReportsFilesListCall) Context(ctx context.Context) *ReportsFilesListCall
    func (c *ReportsFilesListCall) Do(opts ...googleapi.CallOption) (*FileList, error)
    func (c *ReportsFilesListCall) Fields(s ...googleapi.Field) *ReportsFilesListCall
    func (c *ReportsFilesListCall) Header() http.Header
    func (c *ReportsFilesListCall) IfNoneMatch(entityTag string) *ReportsFilesListCall
    func (c *ReportsFilesListCall) MaxResults(maxResults int64) *ReportsFilesListCall
    func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
    func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error
    func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
    func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall
type ReportsFilesService
    func NewReportsFilesService(s *Service) *ReportsFilesService
    func (r *ReportsFilesService) Get(profileId int64, reportId int64, fileId int64) *ReportsFilesGetCall
    func (r *ReportsFilesService) List(profileId int64, reportId int64) *ReportsFilesListCall
type ReportsGetCall
    func (c *ReportsGetCall) Context(ctx context.Context) *ReportsGetCall
    func (c *ReportsGetCall) Do(opts ...googleapi.CallOption) (*Report, error)
    func (c *ReportsGetCall) Fields(s ...googleapi.Field) *ReportsGetCall
    func (c *ReportsGetCall) Header() http.Header
    func (c *ReportsGetCall) IfNoneMatch(entityTag string) *ReportsGetCall
type ReportsInsertCall
    func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall
    func (c *ReportsInsertCall) Do(opts ...googleapi.CallOption) (*Report, error)
    func (c *ReportsInsertCall) Fields(s ...googleapi.Field) *ReportsInsertCall
    func (c *ReportsInsertCall) Header() http.Header
type ReportsListCall
    func (c *ReportsListCall) Context(ctx context.Context) *ReportsListCall
    func (c *ReportsListCall) Do(opts ...googleapi.CallOption) (*ReportList, error)
    func (c *ReportsListCall) Fields(s ...googleapi.Field) *ReportsListCall
    func (c *ReportsListCall) Header() http.Header
    func (c *ReportsListCall) IfNoneMatch(entityTag string) *ReportsListCall
    func (c *ReportsListCall) MaxResults(maxResults int64) *ReportsListCall
    func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall
    func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error
    func (c *ReportsListCall) Scope(scope string) *ReportsListCall
    func (c *ReportsListCall) SortField(sortField string) *ReportsListCall
    func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall
type ReportsPatchCall
    func (c *ReportsPatchCall) Context(ctx context.Context) *ReportsPatchCall
    func (c *ReportsPatchCall) Do(opts ...googleapi.CallOption) (*Report, error)
    func (c *ReportsPatchCall) Fields(s ...googleapi.Field) *ReportsPatchCall
    func (c *ReportsPatchCall) Header() http.Header
type ReportsRunCall
    func (c *ReportsRunCall) Context(ctx context.Context) *ReportsRunCall
    func (c *ReportsRunCall) Do(opts ...googleapi.CallOption) (*File, error)
    func (c *ReportsRunCall) Fields(s ...googleapi.Field) *ReportsRunCall
    func (c *ReportsRunCall) Header() http.Header
    func (c *ReportsRunCall) Synchronous(synchronous bool) *ReportsRunCall
type ReportsService
    func NewReportsService(s *Service) *ReportsService
    func (r *ReportsService) Delete(profileId int64, reportId int64) *ReportsDeleteCall
    func (r *ReportsService) Get(profileId int64, reportId int64) *ReportsGetCall
    func (r *ReportsService) Insert(profileId int64, report *Report) *ReportsInsertCall
    func (r *ReportsService) List(profileId int64) *ReportsListCall
    func (r *ReportsService) Patch(profileId int64, reportId int64, report *Report) *ReportsPatchCall
    func (r *ReportsService) Run(profileId int64, reportId int64) *ReportsRunCall
    func (r *ReportsService) Update(profileId int64, reportId int64, report *Report) *ReportsUpdateCall
type ReportsUpdateCall
    func (c *ReportsUpdateCall) Context(ctx context.Context) *ReportsUpdateCall
    func (c *ReportsUpdateCall) Do(opts ...googleapi.CallOption) (*Report, error)
    func (c *ReportsUpdateCall) Fields(s ...googleapi.Field) *ReportsUpdateCall
    func (c *ReportsUpdateCall) Header() http.Header
type RichMediaExitOverride
    func (s *RichMediaExitOverride) MarshalJSON() ([]byte, error)
type Rule
    func (s *Rule) MarshalJSON() ([]byte, error)
type Service
    func New(client *http.Client) (*Service, error)
type Site
    func (s *Site) MarshalJSON() ([]byte, error)
type SiteContact
    func (s *SiteContact) MarshalJSON() ([]byte, error)
type SiteSettings
    func (s *SiteSettings) MarshalJSON() ([]byte, error)
type SitesGetCall
    func (c *SitesGetCall) Context(ctx context.Context) *SitesGetCall
    func (c *SitesGetCall) Do(opts ...googleapi.CallOption) (*Site, error)
    func (c *SitesGetCall) Fields(s ...googleapi.Field) *SitesGetCall
    func (c *SitesGetCall) Header() http.Header
    func (c *SitesGetCall) IfNoneMatch(entityTag string) *SitesGetCall
type SitesInsertCall
    func (c *SitesInsertCall) Context(ctx context.Context) *SitesInsertCall
    func (c *SitesInsertCall) Do(opts ...googleapi.CallOption) (*Site, error)
    func (c *SitesInsertCall) Fields(s ...googleapi.Field) *SitesInsertCall
    func (c *SitesInsertCall) Header() http.Header
type SitesListCall
    func (c *SitesListCall) AcceptsInStreamVideoPlacements(acceptsInStreamVideoPlacements bool) *SitesListCall
    func (c *SitesListCall) AcceptsInterstitialPlacements(acceptsInterstitialPlacements bool) *SitesListCall
    func (c *SitesListCall) AcceptsPublisherPaidPlacements(acceptsPublisherPaidPlacements bool) *SitesListCall
    func (c *SitesListCall) AdWordsSite(adWordsSite bool) *SitesListCall
    func (c *SitesListCall) Approved(approved bool) *SitesListCall
    func (c *SitesListCall) CampaignIds(campaignIds ...int64) *SitesListCall
    func (c *SitesListCall) Context(ctx context.Context) *SitesListCall
    func (c *SitesListCall) DirectorySiteIds(directorySiteIds ...int64) *SitesListCall
    func (c *SitesListCall) Do(opts ...googleapi.CallOption) (*SitesListResponse, error)
    func (c *SitesListCall) Fields(s ...googleapi.Field) *SitesListCall
    func (c *SitesListCall) Header() http.Header
    func (c *SitesListCall) Ids(ids ...int64) *SitesListCall
    func (c *SitesListCall) IfNoneMatch(entityTag string) *SitesListCall
    func (c *SitesListCall) MaxResults(maxResults int64) *SitesListCall
    func (c *SitesListCall) PageToken(pageToken string) *SitesListCall
    func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error
    func (c *SitesListCall) SearchString(searchString string) *SitesListCall
    func (c *SitesListCall) SortField(sortField string) *SitesListCall
    func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall
    func (c *SitesListCall) SubaccountId(subaccountId int64) *SitesListCall
    func (c *SitesListCall) UnmappedSite(unmappedSite bool) *SitesListCall
type SitesListResponse
    func (s *SitesListResponse) MarshalJSON() ([]byte, error)
type SitesPatchCall
    func (c *SitesPatchCall) Context(ctx context.Context) *SitesPatchCall
    func (c *SitesPatchCall) Do(opts ...googleapi.CallOption) (*Site, error)
    func (c *SitesPatchCall) Fields(s ...googleapi.Field) *SitesPatchCall
    func (c *SitesPatchCall) Header() http.Header
type SitesService
    func NewSitesService(s *Service) *SitesService
    func (r *SitesService) Get(profileId int64, id int64) *SitesGetCall
    func (r *SitesService) Insert(profileId int64, site *Site) *SitesInsertCall
    func (r *SitesService) List(profileId int64) *SitesListCall
    func (r *SitesService) Patch(profileId int64, id int64, site *Site) *SitesPatchCall
    func (r *SitesService) Update(profileId int64, site *Site) *SitesUpdateCall
type SitesUpdateCall
    func (c *SitesUpdateCall) Context(ctx context.Context) *SitesUpdateCall
    func (c *SitesUpdateCall) Do(opts ...googleapi.CallOption) (*Site, error)
    func (c *SitesUpdateCall) Fields(s ...googleapi.Field) *SitesUpdateCall
    func (c *SitesUpdateCall) Header() http.Header
type Size
    func (s *Size) MarshalJSON() ([]byte, error)
type SizesGetCall
    func (c *SizesGetCall) Context(ctx context.Context) *SizesGetCall
    func (c *SizesGetCall) Do(opts ...googleapi.CallOption) (*Size, error)
    func (c *SizesGetCall) Fields(s ...googleapi.Field) *SizesGetCall
    func (c *SizesGetCall) Header() http.Header
    func (c *SizesGetCall) IfNoneMatch(entityTag string) *SizesGetCall
type SizesInsertCall
    func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall
    func (c *SizesInsertCall) Do(opts ...googleapi.CallOption) (*Size, error)
    func (c *SizesInsertCall) Fields(s ...googleapi.Field) *SizesInsertCall
    func (c *SizesInsertCall) Header() http.Header
type SizesListCall
    func (c *SizesListCall) Context(ctx context.Context) *SizesListCall
    func (c *SizesListCall) Do(opts ...googleapi.CallOption) (*SizesListResponse, error)
    func (c *SizesListCall) Fields(s ...googleapi.Field) *SizesListCall
    func (c *SizesListCall) Header() http.Header
    func (c *SizesListCall) Height(height int64) *SizesListCall
    func (c *SizesListCall) IabStandard(iabStandard bool) *SizesListCall
    func (c *SizesListCall) Ids(ids ...int64) *SizesListCall
    func (c *SizesListCall) IfNoneMatch(entityTag string) *SizesListCall
    func (c *SizesListCall) Width(width int64) *SizesListCall
type SizesListResponse
    func (s *SizesListResponse) MarshalJSON() ([]byte, error)
type SizesService
    func NewSizesService(s *Service) *SizesService
    func (r *SizesService) Get(profileId int64, id int64) *SizesGetCall
    func (r *SizesService) Insert(profileId int64, size *Size) *SizesInsertCall
    func (r *SizesService) List(profileId int64) *SizesListCall
type SkippableSetting
    func (s *SkippableSetting) MarshalJSON() ([]byte, error)
type SortedDimension
    func (s *SortedDimension) MarshalJSON() ([]byte, error)
type Subaccount
    func (s *Subaccount) MarshalJSON() ([]byte, error)
type SubaccountsGetCall
    func (c *SubaccountsGetCall) Context(ctx context.Context) *SubaccountsGetCall
    func (c *SubaccountsGetCall) Do(opts ...googleapi.CallOption) (*Subaccount, error)
    func (c *SubaccountsGetCall) Fields(s ...googleapi.Field) *SubaccountsGetCall
    func (c *SubaccountsGetCall) Header() http.Header
    func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall
type SubaccountsInsertCall
    func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall
    func (c *SubaccountsInsertCall) Do(opts ...googleapi.CallOption) (*Subaccount, error)
    func (c *SubaccountsInsertCall) Fields(s ...googleapi.Field) *SubaccountsInsertCall
    func (c *SubaccountsInsertCall) Header() http.Header
type SubaccountsListCall
    func (c *SubaccountsListCall) Context(ctx context.Context) *SubaccountsListCall
    func (c *SubaccountsListCall) Do(opts ...googleapi.CallOption) (*SubaccountsListResponse, error)
    func (c *SubaccountsListCall) Fields(s ...googleapi.Field) *SubaccountsListCall
    func (c *SubaccountsListCall) Header() http.Header
    func (c *SubaccountsListCall) Ids(ids ...int64) *SubaccountsListCall
    func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall
    func (c *SubaccountsListCall) MaxResults(maxResults int64) *SubaccountsListCall
    func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall
    func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error
    func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsListCall
    func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall
    func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall
type SubaccountsListResponse
    func (s *SubaccountsListResponse) MarshalJSON() ([]byte, error)
type SubaccountsPatchCall
    func (c *SubaccountsPatchCall) Context(ctx context.Context) *SubaccountsPatchCall
    func (c *SubaccountsPatchCall) Do(opts ...googleapi.CallOption) (*Subaccount, error)
    func (c *SubaccountsPatchCall) Fields(s ...googleapi.Field) *SubaccountsPatchCall
    func (c *SubaccountsPatchCall) Header() http.Header
type SubaccountsService
    func NewSubaccountsService(s *Service) *SubaccountsService
    func (r *SubaccountsService) Get(profileId int64, id int64) *SubaccountsGetCall
    func (r *SubaccountsService) Insert(profileId int64, subaccount *Subaccount) *SubaccountsInsertCall
    func (r *SubaccountsService) List(profileId int64) *SubaccountsListCall
    func (r *SubaccountsService) Patch(profileId int64, id int64, subaccount *Subaccount) *SubaccountsPatchCall
    func (r *SubaccountsService) Update(profileId int64, subaccount *Subaccount) *SubaccountsUpdateCall
type SubaccountsUpdateCall
    func (c *SubaccountsUpdateCall) Context(ctx context.Context) *SubaccountsUpdateCall
    func (c *SubaccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Subaccount, error)
    func (c *SubaccountsUpdateCall) Fields(s ...googleapi.Field) *SubaccountsUpdateCall
    func (c *SubaccountsUpdateCall) Header() http.Header
type TagData
    func (s *TagData) MarshalJSON() ([]byte, error)
type TagSetting
    func (s *TagSetting) MarshalJSON() ([]byte, error)
type TagSettings
    func (s *TagSettings) MarshalJSON() ([]byte, error)
type TargetWindow
    func (s *TargetWindow) MarshalJSON() ([]byte, error)
type TargetableRemarketingList
    func (s *TargetableRemarketingList) MarshalJSON() ([]byte, error)
type TargetableRemarketingListsGetCall
    func (c *TargetableRemarketingListsGetCall) Context(ctx context.Context) *TargetableRemarketingListsGetCall
    func (c *TargetableRemarketingListsGetCall) Do(opts ...googleapi.CallOption) (*TargetableRemarketingList, error)
    func (c *TargetableRemarketingListsGetCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsGetCall
    func (c *TargetableRemarketingListsGetCall) Header() http.Header
    func (c *TargetableRemarketingListsGetCall) IfNoneMatch(entityTag string) *TargetableRemarketingListsGetCall
type TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Active(active bool) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Context(ctx context.Context) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Do(opts ...googleapi.CallOption) (*TargetableRemarketingListsListResponse, error)
    func (c *TargetableRemarketingListsListCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Header() http.Header
    func (c *TargetableRemarketingListsListCall) IfNoneMatch(entityTag string) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) MaxResults(maxResults int64) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Name(name string) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error
    func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall
    func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall
type TargetableRemarketingListsListResponse
    func (s *TargetableRemarketingListsListResponse) MarshalJSON() ([]byte, error)
type TargetableRemarketingListsService
    func NewTargetableRemarketingListsService(s *Service) *TargetableRemarketingListsService
    func (r *TargetableRemarketingListsService) Get(profileId int64, id int64) *TargetableRemarketingListsGetCall
    func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall
type TargetingTemplate
    func (s *TargetingTemplate) MarshalJSON() ([]byte, error)
type TargetingTemplatesGetCall
    func (c *TargetingTemplatesGetCall) Context(ctx context.Context) *TargetingTemplatesGetCall
    func (c *TargetingTemplatesGetCall) Do(opts ...googleapi.CallOption) (*TargetingTemplate, error)
    func (c *TargetingTemplatesGetCall) Fields(s ...googleapi.Field) *TargetingTemplatesGetCall
    func (c *TargetingTemplatesGetCall) Header() http.Header
    func (c *TargetingTemplatesGetCall) IfNoneMatch(entityTag string) *TargetingTemplatesGetCall
type TargetingTemplatesInsertCall
    func (c *TargetingTemplatesInsertCall) Context(ctx context.Context) *TargetingTemplatesInsertCall
    func (c *TargetingTemplatesInsertCall) Do(opts ...googleapi.CallOption) (*TargetingTemplate, error)
    func (c *TargetingTemplatesInsertCall) Fields(s ...googleapi.Field) *TargetingTemplatesInsertCall
    func (c *TargetingTemplatesInsertCall) Header() http.Header
type TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) AdvertiserId(advertiserId int64) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) Context(ctx context.Context) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) Do(opts ...googleapi.CallOption) (*TargetingTemplatesListResponse, error)
    func (c *TargetingTemplatesListCall) Fields(s ...googleapi.Field) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) Header() http.Header
    func (c *TargetingTemplatesListCall) Ids(ids ...int64) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) IfNoneMatch(entityTag string) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) MaxResults(maxResults int64) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) PageToken(pageToken string) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) Pages(ctx context.Context, f func(*TargetingTemplatesListResponse) error) error
    func (c *TargetingTemplatesListCall) SearchString(searchString string) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall
    func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall
type TargetingTemplatesListResponse
    func (s *TargetingTemplatesListResponse) MarshalJSON() ([]byte, error)
type TargetingTemplatesPatchCall
    func (c *TargetingTemplatesPatchCall) Context(ctx context.Context) *TargetingTemplatesPatchCall
    func (c *TargetingTemplatesPatchCall) Do(opts ...googleapi.CallOption) (*TargetingTemplate, error)
    func (c *TargetingTemplatesPatchCall) Fields(s ...googleapi.Field) *TargetingTemplatesPatchCall
    func (c *TargetingTemplatesPatchCall) Header() http.Header
type TargetingTemplatesService
    func NewTargetingTemplatesService(s *Service) *TargetingTemplatesService
    func (r *TargetingTemplatesService) Get(profileId int64, id int64) *TargetingTemplatesGetCall
    func (r *TargetingTemplatesService) Insert(profileId int64, targetingtemplate *TargetingTemplate) *TargetingTemplatesInsertCall
    func (r *TargetingTemplatesService) List(profileId int64) *TargetingTemplatesListCall
    func (r *TargetingTemplatesService) Patch(profileId int64, id int64, targetingtemplate *TargetingTemplate) *TargetingTemplatesPatchCall
    func (r *TargetingTemplatesService) Update(profileId int64, targetingtemplate *TargetingTemplate) *TargetingTemplatesUpdateCall
type TargetingTemplatesUpdateCall
    func (c *TargetingTemplatesUpdateCall) Context(ctx context.Context) *TargetingTemplatesUpdateCall
    func (c *TargetingTemplatesUpdateCall) Do(opts ...googleapi.CallOption) (*TargetingTemplate, error)
    func (c *TargetingTemplatesUpdateCall) Fields(s ...googleapi.Field) *TargetingTemplatesUpdateCall
    func (c *TargetingTemplatesUpdateCall) Header() http.Header
type TechnologyTargeting
    func (s *TechnologyTargeting) MarshalJSON() ([]byte, error)
type ThirdPartyAuthenticationToken
    func (s *ThirdPartyAuthenticationToken) MarshalJSON() ([]byte, error)
type ThirdPartyTrackingUrl
    func (s *ThirdPartyTrackingUrl) MarshalJSON() ([]byte, error)
type TranscodeSetting
    func (s *TranscodeSetting) MarshalJSON() ([]byte, error)
type UniversalAdId
    func (s *UniversalAdId) MarshalJSON() ([]byte, error)
type UserDefinedVariableConfiguration
    func (s *UserDefinedVariableConfiguration) MarshalJSON() ([]byte, error)
type UserProfile
    func (s *UserProfile) MarshalJSON() ([]byte, error)
type UserProfileList
    func (s *UserProfileList) MarshalJSON() ([]byte, error)
type UserProfilesGetCall
    func (c *UserProfilesGetCall) Context(ctx context.Context) *UserProfilesGetCall
    func (c *UserProfilesGetCall) Do(opts ...googleapi.CallOption) (*UserProfile, error)
    func (c *UserProfilesGetCall) Fields(s ...googleapi.Field) *UserProfilesGetCall
    func (c *UserProfilesGetCall) Header() http.Header
    func (c *UserProfilesGetCall) IfNoneMatch(entityTag string) *UserProfilesGetCall
type UserProfilesListCall
    func (c *UserProfilesListCall) Context(ctx context.Context) *UserProfilesListCall
    func (c *UserProfilesListCall) Do(opts ...googleapi.CallOption) (*UserProfileList, error)
    func (c *UserProfilesListCall) Fields(s ...googleapi.Field) *UserProfilesListCall
    func (c *UserProfilesListCall) Header() http.Header
    func (c *UserProfilesListCall) IfNoneMatch(entityTag string) *UserProfilesListCall
type UserProfilesService
    func NewUserProfilesService(s *Service) *UserProfilesService
    func (r *UserProfilesService) Get(profileId int64) *UserProfilesGetCall
    func (r *UserProfilesService) List() *UserProfilesListCall
type UserRole
    func (s *UserRole) MarshalJSON() ([]byte, error)
type UserRolePermission
    func (s *UserRolePermission) MarshalJSON() ([]byte, error)
type UserRolePermissionGroup
    func (s *UserRolePermissionGroup) MarshalJSON() ([]byte, error)
type UserRolePermissionGroupsGetCall
    func (c *UserRolePermissionGroupsGetCall) Context(ctx context.Context) *UserRolePermissionGroupsGetCall
    func (c *UserRolePermissionGroupsGetCall) Do(opts ...googleapi.CallOption) (*UserRolePermissionGroup, error)
    func (c *UserRolePermissionGroupsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsGetCall
    func (c *UserRolePermissionGroupsGetCall) Header() http.Header
    func (c *UserRolePermissionGroupsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsGetCall
type UserRolePermissionGroupsListCall
    func (c *UserRolePermissionGroupsListCall) Context(ctx context.Context) *UserRolePermissionGroupsListCall
    func (c *UserRolePermissionGroupsListCall) Do(opts ...googleapi.CallOption) (*UserRolePermissionGroupsListResponse, error)
    func (c *UserRolePermissionGroupsListCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsListCall
    func (c *UserRolePermissionGroupsListCall) Header() http.Header
    func (c *UserRolePermissionGroupsListCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsListCall
type UserRolePermissionGroupsListResponse
    func (s *UserRolePermissionGroupsListResponse) MarshalJSON() ([]byte, error)
type UserRolePermissionGroupsService
    func NewUserRolePermissionGroupsService(s *Service) *UserRolePermissionGroupsService
    func (r *UserRolePermissionGroupsService) Get(profileId int64, id int64) *UserRolePermissionGroupsGetCall
    func (r *UserRolePermissionGroupsService) List(profileId int64) *UserRolePermissionGroupsListCall
type UserRolePermissionsGetCall
    func (c *UserRolePermissionsGetCall) Context(ctx context.Context) *UserRolePermissionsGetCall
    func (c *UserRolePermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserRolePermission, error)
    func (c *UserRolePermissionsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionsGetCall
    func (c *UserRolePermissionsGetCall) Header() http.Header
    func (c *UserRolePermissionsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionsGetCall
type UserRolePermissionsListCall
    func (c *UserRolePermissionsListCall) Context(ctx context.Context) *UserRolePermissionsListCall
    func (c *UserRolePermissionsListCall) Do(opts ...googleapi.CallOption) (*UserRolePermissionsListResponse, error)
    func (c *UserRolePermissionsListCall) Fields(s ...googleapi.Field) *UserRolePermissionsListCall
    func (c *UserRolePermissionsListCall) Header() http.Header
    func (c *UserRolePermissionsListCall) Ids(ids ...int64) *UserRolePermissionsListCall
    func (c *UserRolePermissionsListCall) IfNoneMatch(entityTag string) *UserRolePermissionsListCall
type UserRolePermissionsListResponse
    func (s *UserRolePermissionsListResponse) MarshalJSON() ([]byte, error)
type UserRolePermissionsService
    func NewUserRolePermissionsService(s *Service) *UserRolePermissionsService
    func (r *UserRolePermissionsService) Get(profileId int64, id int64) *UserRolePermissionsGetCall
    func (r *UserRolePermissionsService) List(profileId int64) *UserRolePermissionsListCall
type UserRolesDeleteCall
    func (c *UserRolesDeleteCall) Context(ctx context.Context) *UserRolesDeleteCall
    func (c *UserRolesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *UserRolesDeleteCall) Fields(s ...googleapi.Field) *UserRolesDeleteCall
    func (c *UserRolesDeleteCall) Header() http.Header
type UserRolesGetCall
    func (c *UserRolesGetCall) Context(ctx context.Context) *UserRolesGetCall
    func (c *UserRolesGetCall) Do(opts ...googleapi.CallOption) (*UserRole, error)
    func (c *UserRolesGetCall) Fields(s ...googleapi.Field) *UserRolesGetCall
    func (c *UserRolesGetCall) Header() http.Header
    func (c *UserRolesGetCall) IfNoneMatch(entityTag string) *UserRolesGetCall
type UserRolesInsertCall
    func (c *UserRolesInsertCall) Context(ctx context.Context) *UserRolesInsertCall
    func (c *UserRolesInsertCall) Do(opts ...googleapi.CallOption) (*UserRole, error)
    func (c *UserRolesInsertCall) Fields(s ...googleapi.Field) *UserRolesInsertCall
    func (c *UserRolesInsertCall) Header() http.Header
type UserRolesListCall
    func (c *UserRolesListCall) AccountUserRoleOnly(accountUserRoleOnly bool) *UserRolesListCall
    func (c *UserRolesListCall) Context(ctx context.Context) *UserRolesListCall
    func (c *UserRolesListCall) Do(opts ...googleapi.CallOption) (*UserRolesListResponse, error)
    func (c *UserRolesListCall) Fields(s ...googleapi.Field) *UserRolesListCall
    func (c *UserRolesListCall) Header() http.Header
    func (c *UserRolesListCall) Ids(ids ...int64) *UserRolesListCall
    func (c *UserRolesListCall) IfNoneMatch(entityTag string) *UserRolesListCall
    func (c *UserRolesListCall) MaxResults(maxResults int64) *UserRolesListCall
    func (c *UserRolesListCall) PageToken(pageToken string) *UserRolesListCall
    func (c *UserRolesListCall) Pages(ctx context.Context, f func(*UserRolesListResponse) error) error
    func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
    func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall
    func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall
    func (c *UserRolesListCall) SubaccountId(subaccountId int64) *UserRolesListCall
type UserRolesListResponse
    func (s *UserRolesListResponse) MarshalJSON() ([]byte, error)
type UserRolesPatchCall
    func (c *UserRolesPatchCall) Context(ctx context.Context) *UserRolesPatchCall
    func (c *UserRolesPatchCall) Do(opts ...googleapi.CallOption) (*UserRole, error)
    func (c *UserRolesPatchCall) Fields(s ...googleapi.Field) *UserRolesPatchCall
    func (c *UserRolesPatchCall) Header() http.Header
type UserRolesService
    func NewUserRolesService(s *Service) *UserRolesService
    func (r *UserRolesService) Delete(profileId int64, id int64) *UserRolesDeleteCall
    func (r *UserRolesService) Get(profileId int64, id int64) *UserRolesGetCall
    func (r *UserRolesService) Insert(profileId int64, userrole *UserRole) *UserRolesInsertCall
    func (r *UserRolesService) List(profileId int64) *UserRolesListCall
    func (r *UserRolesService) Patch(profileId int64, id int64, userrole *UserRole) *UserRolesPatchCall
    func (r *UserRolesService) Update(profileId int64, userrole *UserRole) *UserRolesUpdateCall
type UserRolesUpdateCall
    func (c *UserRolesUpdateCall) Context(ctx context.Context) *UserRolesUpdateCall
    func (c *UserRolesUpdateCall) Do(opts ...googleapi.CallOption) (*UserRole, error)
    func (c *UserRolesUpdateCall) Fields(s ...googleapi.Field) *UserRolesUpdateCall
    func (c *UserRolesUpdateCall) Header() http.Header
type VideoFormat
    func (s *VideoFormat) MarshalJSON() ([]byte, error)
type VideoFormatsGetCall
    func (c *VideoFormatsGetCall) Context(ctx context.Context) *VideoFormatsGetCall
    func (c *VideoFormatsGetCall) Do(opts ...googleapi.CallOption) (*VideoFormat, error)
    func (c *VideoFormatsGetCall) Fields(s ...googleapi.Field) *VideoFormatsGetCall
    func (c *VideoFormatsGetCall) Header() http.Header
    func (c *VideoFormatsGetCall) IfNoneMatch(entityTag string) *VideoFormatsGetCall
type VideoFormatsListCall
    func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall
    func (c *VideoFormatsListCall) Do(opts ...googleapi.CallOption) (*VideoFormatsListResponse, error)
    func (c *VideoFormatsListCall) Fields(s ...googleapi.Field) *VideoFormatsListCall
    func (c *VideoFormatsListCall) Header() http.Header
    func (c *VideoFormatsListCall) IfNoneMatch(entityTag string) *VideoFormatsListCall
type VideoFormatsListResponse
    func (s *VideoFormatsListResponse) MarshalJSON() ([]byte, error)
type VideoFormatsService
    func NewVideoFormatsService(s *Service) *VideoFormatsService
    func (r *VideoFormatsService) Get(profileId int64, id int64) *VideoFormatsGetCall
    func (r *VideoFormatsService) List(profileId int64) *VideoFormatsListCall
type VideoOffset
    func (s *VideoOffset) MarshalJSON() ([]byte, error)
type VideoSettings
    func (s *VideoSettings) MarshalJSON() ([]byte, error)

Package files

dfareporting-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // Manage DoubleClick Digital Marketing conversions
    DdmconversionsScope = "https://www.googleapis.com/auth/ddmconversions"

    // View and manage DoubleClick for Advertisers reports
    DfareportingScope = "https://www.googleapis.com/auth/dfareporting"

    // View and manage your DoubleClick Campaign Manager's (DCM) display ad
    // campaigns
    DfatraffickingScope = "https://www.googleapis.com/auth/dfatrafficking"
)

type Account

Account: Contains properties of a DCM account.

type Account struct {
    // AccountPermissionIds: Account permissions assigned to this account.
    AccountPermissionIds googleapi.Int64s `json:"accountPermissionIds,omitempty"`

    // AccountProfile: Profile for this account. This is a read-only field
    // that can be left blank.
    //
    // Possible values:
    //   "ACCOUNT_PROFILE_BASIC"
    //   "ACCOUNT_PROFILE_STANDARD"
    AccountProfile string `json:"accountProfile,omitempty"`

    // Active: Whether this account is active.
    Active bool `json:"active,omitempty"`

    // ActiveAdsLimitTier: Maximum number of active ads allowed for this
    // account.
    //
    // Possible values:
    //   "ACTIVE_ADS_TIER_100K"
    //   "ACTIVE_ADS_TIER_1M"
    //   "ACTIVE_ADS_TIER_200K"
    //   "ACTIVE_ADS_TIER_300K"
    //   "ACTIVE_ADS_TIER_40K"
    //   "ACTIVE_ADS_TIER_500K"
    //   "ACTIVE_ADS_TIER_750K"
    //   "ACTIVE_ADS_TIER_75K"
    ActiveAdsLimitTier string `json:"activeAdsLimitTier,omitempty"`

    // ActiveViewOptOut: Whether to serve creatives with Active View tags.
    // If disabled, viewability data will not be available for any
    // impressions.
    ActiveViewOptOut bool `json:"activeViewOptOut,omitempty"`

    // AvailablePermissionIds: User role permissions available to the user
    // roles of this account.
    AvailablePermissionIds googleapi.Int64s `json:"availablePermissionIds,omitempty"`

    // CountryId: ID of the country associated with this account.
    CountryId int64 `json:"countryId,omitempty,string"`

    // CurrencyId: ID of currency associated with this account. This is a
    // required field.
    // Acceptable values are:
    // - "1" for USD
    // - "2" for GBP
    // - "3" for ESP
    // - "4" for SEK
    // - "5" for CAD
    // - "6" for JPY
    // - "7" for DEM
    // - "8" for AUD
    // - "9" for FRF
    // - "10" for ITL
    // - "11" for DKK
    // - "12" for NOK
    // - "13" for FIM
    // - "14" for ZAR
    // - "15" for IEP
    // - "16" for NLG
    // - "17" for EUR
    // - "18" for KRW
    // - "19" for TWD
    // - "20" for SGD
    // - "21" for CNY
    // - "22" for HKD
    // - "23" for NZD
    // - "24" for MYR
    // - "25" for BRL
    // - "26" for PTE
    // - "27" for MXP
    // - "28" for CLP
    // - "29" for TRY
    // - "30" for ARS
    // - "31" for PEN
    // - "32" for ILS
    // - "33" for CHF
    // - "34" for VEF
    // - "35" for COP
    // - "36" for GTQ
    // - "37" for PLN
    // - "39" for INR
    // - "40" for THB
    // - "41" for IDR
    // - "42" for CZK
    // - "43" for RON
    // - "44" for HUF
    // - "45" for RUB
    // - "46" for AED
    // - "47" for BGN
    // - "48" for HRK
    // - "49" for MXN
    CurrencyId int64 `json:"currencyId,omitempty,string"`

    // DefaultCreativeSizeId: Default placement dimensions for this account.
    DefaultCreativeSizeId int64 `json:"defaultCreativeSizeId,omitempty,string"`

    // Description: Description of this account.
    Description string `json:"description,omitempty"`

    // Id: ID of this account. This is a read-only, auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#account".
    Kind string `json:"kind,omitempty"`

    // Locale: Locale of this account.
    // Acceptable values are:
    // - "cs" (Czech)
    // - "de" (German)
    // - "en" (English)
    // - "en-GB" (English United Kingdom)
    // - "es" (Spanish)
    // - "fr" (French)
    // - "it" (Italian)
    // - "ja" (Japanese)
    // - "ko" (Korean)
    // - "pl" (Polish)
    // - "pt-BR" (Portuguese Brazil)
    // - "ru" (Russian)
    // - "sv" (Swedish)
    // - "tr" (Turkish)
    // - "zh-CN" (Chinese Simplified)
    // - "zh-TW" (Chinese Traditional)
    Locale string `json:"locale,omitempty"`

    // MaximumImageSize: Maximum image size allowed for this account, in
    // kilobytes. Value must be greater than or equal to 1.
    MaximumImageSize int64 `json:"maximumImageSize,omitempty,string"`

    // Name: Name of this account. This is a required field, and must be
    // less than 128 characters long and be globally unique.
    Name string `json:"name,omitempty"`

    // NielsenOcrEnabled: Whether campaigns created in this account will be
    // enabled for Nielsen OCR reach ratings by default.
    NielsenOcrEnabled bool `json:"nielsenOcrEnabled,omitempty"`

    // ReportsConfiguration: Reporting configuration of this account.
    ReportsConfiguration *ReportsConfiguration `json:"reportsConfiguration,omitempty"`

    // ShareReportsWithTwitter: Share Path to Conversion reports with
    // Twitter.
    ShareReportsWithTwitter bool `json:"shareReportsWithTwitter,omitempty"`

    // TeaserSizeLimit: File size limit in kilobytes of Rich Media teaser
    // creatives. Acceptable values are 1 to 10240, inclusive.
    TeaserSizeLimit int64 `json:"teaserSizeLimit,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "AccountPermissionIds") to unconditionally include in API requests.
    // By default, fields with empty values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountPermissionIds") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*Account) MarshalJSON

func (s *Account) MarshalJSON() ([]byte, error)

type AccountActiveAdSummariesGetCall

type AccountActiveAdSummariesGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountActiveAdSummariesGetCall) Context

func (c *AccountActiveAdSummariesGetCall) Context(ctx context.Context) *AccountActiveAdSummariesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountActiveAdSummariesGetCall) Do

func (c *AccountActiveAdSummariesGetCall) Do(opts ...googleapi.CallOption) (*AccountActiveAdSummary, error)

Do executes the "dfareporting.accountActiveAdSummaries.get" call. Exactly one of *AccountActiveAdSummary or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountActiveAdSummary.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountActiveAdSummariesGetCall) Fields

func (c *AccountActiveAdSummariesGetCall) Fields(s ...googleapi.Field) *AccountActiveAdSummariesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountActiveAdSummariesGetCall) Header

func (c *AccountActiveAdSummariesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountActiveAdSummariesGetCall) IfNoneMatch

func (c *AccountActiveAdSummariesGetCall) IfNoneMatch(entityTag string) *AccountActiveAdSummariesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountActiveAdSummariesService

type AccountActiveAdSummariesService struct {
    // contains filtered or unexported fields
}

func NewAccountActiveAdSummariesService

func NewAccountActiveAdSummariesService(s *Service) *AccountActiveAdSummariesService

func (*AccountActiveAdSummariesService) Get

func (r *AccountActiveAdSummariesService) Get(profileId int64, summaryAccountId int64) *AccountActiveAdSummariesGetCall

Get: Gets the account's active ad summary by account ID.

type AccountActiveAdSummary

AccountActiveAdSummary: Gets a summary of active ads in an account.

type AccountActiveAdSummary struct {
    // AccountId: ID of the account.
    AccountId int64 `json:"accountId,omitempty,string"`

    // ActiveAds: Ads that have been activated for the account
    ActiveAds int64 `json:"activeAds,omitempty,string"`

    // ActiveAdsLimitTier: Maximum number of active ads allowed for the
    // account.
    //
    // Possible values:
    //   "ACTIVE_ADS_TIER_100K"
    //   "ACTIVE_ADS_TIER_1M"
    //   "ACTIVE_ADS_TIER_200K"
    //   "ACTIVE_ADS_TIER_300K"
    //   "ACTIVE_ADS_TIER_40K"
    //   "ACTIVE_ADS_TIER_500K"
    //   "ACTIVE_ADS_TIER_750K"
    //   "ACTIVE_ADS_TIER_75K"
    ActiveAdsLimitTier string `json:"activeAdsLimitTier,omitempty"`

    // AvailableAds: Ads that can be activated for the account.
    AvailableAds int64 `json:"availableAds,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountActiveAdSummary".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AccountActiveAdSummary) MarshalJSON

func (s *AccountActiveAdSummary) MarshalJSON() ([]byte, error)

type AccountPermission

AccountPermission: AccountPermissions contains information about a particular account permission. Some features of DCM require an account permission to be present in the account.

type AccountPermission struct {
    // AccountProfiles: Account profiles associated with this account
    // permission.
    //
    // Possible values are:
    // - "ACCOUNT_PROFILE_BASIC"
    // - "ACCOUNT_PROFILE_STANDARD"
    //
    // Possible values:
    //   "ACCOUNT_PROFILE_BASIC"
    //   "ACCOUNT_PROFILE_STANDARD"
    AccountProfiles []string `json:"accountProfiles,omitempty"`

    // Id: ID of this account permission.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountPermission".
    Kind string `json:"kind,omitempty"`

    // Level: Administrative level required to enable this account
    // permission.
    //
    // Possible values:
    //   "ADMINISTRATOR"
    //   "USER"
    Level string `json:"level,omitempty"`

    // Name: Name of this account permission.
    Name string `json:"name,omitempty"`

    // PermissionGroupId: Permission group of this account permission.
    PermissionGroupId int64 `json:"permissionGroupId,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountProfiles") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountProfiles") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AccountPermission) MarshalJSON

func (s *AccountPermission) MarshalJSON() ([]byte, error)

type AccountPermissionGroup

AccountPermissionGroup: AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.

type AccountPermissionGroup struct {
    // Id: ID of this account permission group.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountPermissionGroup".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this account permission group.
    Name string `json:"name,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AccountPermissionGroup) MarshalJSON

func (s *AccountPermissionGroup) MarshalJSON() ([]byte, error)

type AccountPermissionGroupsGetCall

type AccountPermissionGroupsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountPermissionGroupsGetCall) Context

func (c *AccountPermissionGroupsGetCall) Context(ctx context.Context) *AccountPermissionGroupsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountPermissionGroupsGetCall) Do

func (c *AccountPermissionGroupsGetCall) Do(opts ...googleapi.CallOption) (*AccountPermissionGroup, error)

Do executes the "dfareporting.accountPermissionGroups.get" call. Exactly one of *AccountPermissionGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountPermissionGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountPermissionGroupsGetCall) Fields

func (c *AccountPermissionGroupsGetCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountPermissionGroupsGetCall) Header

func (c *AccountPermissionGroupsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountPermissionGroupsGetCall) IfNoneMatch

func (c *AccountPermissionGroupsGetCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountPermissionGroupsListCall

type AccountPermissionGroupsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountPermissionGroupsListCall) Context

func (c *AccountPermissionGroupsListCall) Context(ctx context.Context) *AccountPermissionGroupsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountPermissionGroupsListCall) Do

func (c *AccountPermissionGroupsListCall) Do(opts ...googleapi.CallOption) (*AccountPermissionGroupsListResponse, error)

Do executes the "dfareporting.accountPermissionGroups.list" call. Exactly one of *AccountPermissionGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountPermissionGroupsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountPermissionGroupsListCall) Fields

func (c *AccountPermissionGroupsListCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountPermissionGroupsListCall) Header

func (c *AccountPermissionGroupsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountPermissionGroupsListCall) IfNoneMatch

func (c *AccountPermissionGroupsListCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountPermissionGroupsListResponse

AccountPermissionGroupsListResponse: Account Permission Group List Response

type AccountPermissionGroupsListResponse struct {
    // AccountPermissionGroups: Account permission group collection.
    AccountPermissionGroups []*AccountPermissionGroup `json:"accountPermissionGroups,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountPermissionGroupsListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "AccountPermissionGroups") to unconditionally include in API
    // requests. By default, fields with empty values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountPermissionGroups")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AccountPermissionGroupsListResponse) MarshalJSON

func (s *AccountPermissionGroupsListResponse) MarshalJSON() ([]byte, error)

type AccountPermissionGroupsService

type AccountPermissionGroupsService struct {
    // contains filtered or unexported fields
}

func NewAccountPermissionGroupsService

func NewAccountPermissionGroupsService(s *Service) *AccountPermissionGroupsService

func (*AccountPermissionGroupsService) Get

func (r *AccountPermissionGroupsService) Get(profileId int64, id int64) *AccountPermissionGroupsGetCall

Get: Gets one account permission group by ID.

func (*AccountPermissionGroupsService) List

func (r *AccountPermissionGroupsService) List(profileId int64) *AccountPermissionGroupsListCall

List: Retrieves the list of account permission groups.

type AccountPermissionsGetCall

type AccountPermissionsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountPermissionsGetCall) Context

func (c *AccountPermissionsGetCall) Context(ctx context.Context) *AccountPermissionsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountPermissionsGetCall) Do

func (c *AccountPermissionsGetCall) Do(opts ...googleapi.CallOption) (*AccountPermission, error)

Do executes the "dfareporting.accountPermissions.get" call. Exactly one of *AccountPermission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountPermission.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountPermissionsGetCall) Fields

func (c *AccountPermissionsGetCall) Fields(s ...googleapi.Field) *AccountPermissionsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountPermissionsGetCall) Header

func (c *AccountPermissionsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountPermissionsGetCall) IfNoneMatch

func (c *AccountPermissionsGetCall) IfNoneMatch(entityTag string) *AccountPermissionsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountPermissionsListCall

type AccountPermissionsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountPermissionsListCall) Context

func (c *AccountPermissionsListCall) Context(ctx context.Context) *AccountPermissionsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountPermissionsListCall) Do

func (c *AccountPermissionsListCall) Do(opts ...googleapi.CallOption) (*AccountPermissionsListResponse, error)

Do executes the "dfareporting.accountPermissions.list" call. Exactly one of *AccountPermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountPermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountPermissionsListCall) Fields

func (c *AccountPermissionsListCall) Fields(s ...googleapi.Field) *AccountPermissionsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountPermissionsListCall) Header

func (c *AccountPermissionsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountPermissionsListCall) IfNoneMatch

func (c *AccountPermissionsListCall) IfNoneMatch(entityTag string) *AccountPermissionsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountPermissionsListResponse

AccountPermissionsListResponse: Account Permission List Response

type AccountPermissionsListResponse struct {
    // AccountPermissions: Account permission collection.
    AccountPermissions []*AccountPermission `json:"accountPermissions,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountPermissionsListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountPermissions")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountPermissions") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AccountPermissionsListResponse) MarshalJSON

func (s *AccountPermissionsListResponse) MarshalJSON() ([]byte, error)

type AccountPermissionsService

type AccountPermissionsService struct {
    // contains filtered or unexported fields
}

func NewAccountPermissionsService

func NewAccountPermissionsService(s *Service) *AccountPermissionsService

func (*AccountPermissionsService) Get

func (r *AccountPermissionsService) Get(profileId int64, id int64) *AccountPermissionsGetCall

Get: Gets one account permission by ID.

func (*AccountPermissionsService) List

func (r *AccountPermissionsService) List(profileId int64) *AccountPermissionsListCall

List: Retrieves the list of account permissions.

type AccountUserProfile

AccountUserProfile: AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.

type AccountUserProfile struct {
    // AccountId: Account ID of the user profile. This is a read-only field
    // that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Active: Whether this user profile is active. This defaults to false,
    // and must be set true on insert for the user profile to be usable.
    Active bool `json:"active,omitempty"`

    // AdvertiserFilter: Filter that describes which advertisers are visible
    // to the user profile.
    AdvertiserFilter *ObjectFilter `json:"advertiserFilter,omitempty"`

    // CampaignFilter: Filter that describes which campaigns are visible to
    // the user profile.
    CampaignFilter *ObjectFilter `json:"campaignFilter,omitempty"`

    // Comments: Comments for this user profile.
    Comments string `json:"comments,omitempty"`

    // Email: Email of the user profile. The email addresss must be linked
    // to a Google Account. This field is required on insertion and is
    // read-only after insertion.
    Email string `json:"email,omitempty"`

    // Id: ID of the user profile. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountUserProfile".
    Kind string `json:"kind,omitempty"`

    // Locale: Locale of the user profile. This is a required
    // field.
    // Acceptable values are:
    // - "cs" (Czech)
    // - "de" (German)
    // - "en" (English)
    // - "en-GB" (English United Kingdom)
    // - "es" (Spanish)
    // - "fr" (French)
    // - "it" (Italian)
    // - "ja" (Japanese)
    // - "ko" (Korean)
    // - "pl" (Polish)
    // - "pt-BR" (Portuguese Brazil)
    // - "ru" (Russian)
    // - "sv" (Swedish)
    // - "tr" (Turkish)
    // - "zh-CN" (Chinese Simplified)
    // - "zh-TW" (Chinese Traditional)
    Locale string `json:"locale,omitempty"`

    // Name: Name of the user profile. This is a required field. Must be
    // less than 64 characters long, must be globally unique, and cannot
    // contain whitespace or any of the following characters: "&;"#%,".
    Name string `json:"name,omitempty"`

    // SiteFilter: Filter that describes which sites are visible to the user
    // profile.
    SiteFilter *ObjectFilter `json:"siteFilter,omitempty"`

    // SubaccountId: Subaccount ID of the user profile. This is a read-only
    // field that can be left blank.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // TraffickerType: Trafficker type of this user profile.
    //
    // Possible values:
    //   "EXTERNAL_TRAFFICKER"
    //   "INTERNAL_NON_TRAFFICKER"
    //   "INTERNAL_TRAFFICKER"
    TraffickerType string `json:"traffickerType,omitempty"`

    // UserAccessType: User type of the user profile. This is a read-only
    // field that can be left blank.
    //
    // Possible values:
    //   "INTERNAL_ADMINISTRATOR"
    //   "NORMAL_USER"
    //   "READ_ONLY_SUPER_USER"
    //   "SUPER_USER"
    UserAccessType string `json:"userAccessType,omitempty"`

    // UserRoleFilter: Filter that describes which user roles are visible to
    // the user profile.
    UserRoleFilter *ObjectFilter `json:"userRoleFilter,omitempty"`

    // UserRoleId: User role ID of the user profile. This is a required
    // field.
    UserRoleId int64 `json:"userRoleId,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AccountUserProfile) MarshalJSON

func (s *AccountUserProfile) MarshalJSON() ([]byte, error)

type AccountUserProfilesGetCall

type AccountUserProfilesGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountUserProfilesGetCall) Context

func (c *AccountUserProfilesGetCall) Context(ctx context.Context) *AccountUserProfilesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountUserProfilesGetCall) Do

func (c *AccountUserProfilesGetCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)

Do executes the "dfareporting.accountUserProfiles.get" call. Exactly one of *AccountUserProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountUserProfile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountUserProfilesGetCall) Fields

func (c *AccountUserProfilesGetCall) Fields(s ...googleapi.Field) *AccountUserProfilesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountUserProfilesGetCall) Header

func (c *AccountUserProfilesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountUserProfilesGetCall) IfNoneMatch

func (c *AccountUserProfilesGetCall) IfNoneMatch(entityTag string) *AccountUserProfilesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountUserProfilesInsertCall

type AccountUserProfilesInsertCall struct {
    // contains filtered or unexported fields
}

func (*AccountUserProfilesInsertCall) Context

func (c *AccountUserProfilesInsertCall) Context(ctx context.Context) *AccountUserProfilesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountUserProfilesInsertCall) Do

func (c *AccountUserProfilesInsertCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)

Do executes the "dfareporting.accountUserProfiles.insert" call. Exactly one of *AccountUserProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountUserProfile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountUserProfilesInsertCall) Fields

func (c *AccountUserProfilesInsertCall) Fields(s ...googleapi.Field) *AccountUserProfilesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountUserProfilesInsertCall) Header

func (c *AccountUserProfilesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountUserProfilesListCall

type AccountUserProfilesListCall struct {
    // contains filtered or unexported fields
}

func (*AccountUserProfilesListCall) Active

func (c *AccountUserProfilesListCall) Active(active bool) *AccountUserProfilesListCall

Active sets the optional parameter "active": Select only active user profiles.

func (*AccountUserProfilesListCall) Context

func (c *AccountUserProfilesListCall) Context(ctx context.Context) *AccountUserProfilesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountUserProfilesListCall) Do

func (c *AccountUserProfilesListCall) Do(opts ...googleapi.CallOption) (*AccountUserProfilesListResponse, error)

Do executes the "dfareporting.accountUserProfiles.list" call. Exactly one of *AccountUserProfilesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountUserProfilesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountUserProfilesListCall) Fields

func (c *AccountUserProfilesListCall) Fields(s ...googleapi.Field) *AccountUserProfilesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountUserProfilesListCall) Header

func (c *AccountUserProfilesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountUserProfilesListCall) Ids

func (c *AccountUserProfilesListCall) Ids(ids ...int64) *AccountUserProfilesListCall

Ids sets the optional parameter "ids": Select only user profiles with these IDs.

func (*AccountUserProfilesListCall) IfNoneMatch

func (c *AccountUserProfilesListCall) IfNoneMatch(entityTag string) *AccountUserProfilesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountUserProfilesListCall) MaxResults

func (c *AccountUserProfilesListCall) MaxResults(maxResults int64) *AccountUserProfilesListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*AccountUserProfilesListCall) PageToken

func (c *AccountUserProfilesListCall) PageToken(pageToken string) *AccountUserProfilesListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*AccountUserProfilesListCall) Pages

func (c *AccountUserProfilesListCall) Pages(ctx context.Context, f func(*AccountUserProfilesListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountUserProfilesListCall) SearchString

func (c *AccountUserProfilesListCall) SearchString(searchString string) *AccountUserProfilesListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or simply "user profile".

func (*AccountUserProfilesListCall) SortField

func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*AccountUserProfilesListCall) SortOrder

func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

func (*AccountUserProfilesListCall) SubaccountId

func (c *AccountUserProfilesListCall) SubaccountId(subaccountId int64) *AccountUserProfilesListCall

SubaccountId sets the optional parameter "subaccountId": Select only user profiles with the specified subaccount ID.

func (*AccountUserProfilesListCall) UserRoleId

func (c *AccountUserProfilesListCall) UserRoleId(userRoleId int64) *AccountUserProfilesListCall

UserRoleId sets the optional parameter "userRoleId": Select only user profiles with the specified user role ID.

type AccountUserProfilesListResponse

AccountUserProfilesListResponse: Account User Profile List Response

type AccountUserProfilesListResponse struct {
    // AccountUserProfiles: Account user profile collection.
    AccountUserProfiles []*AccountUserProfile `json:"accountUserProfiles,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountUserProfilesListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountUserProfiles")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountUserProfiles") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AccountUserProfilesListResponse) MarshalJSON

func (s *AccountUserProfilesListResponse) MarshalJSON() ([]byte, error)

type AccountUserProfilesPatchCall

type AccountUserProfilesPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountUserProfilesPatchCall) Context

func (c *AccountUserProfilesPatchCall) Context(ctx context.Context) *AccountUserProfilesPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountUserProfilesPatchCall) Do

func (c *AccountUserProfilesPatchCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)

Do executes the "dfareporting.accountUserProfiles.patch" call. Exactly one of *AccountUserProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountUserProfile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountUserProfilesPatchCall) Fields

func (c *AccountUserProfilesPatchCall) Fields(s ...googleapi.Field) *AccountUserProfilesPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountUserProfilesPatchCall) Header

func (c *AccountUserProfilesPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountUserProfilesService

type AccountUserProfilesService struct {
    // contains filtered or unexported fields
}

func NewAccountUserProfilesService

func NewAccountUserProfilesService(s *Service) *AccountUserProfilesService

func (*AccountUserProfilesService) Get

func (r *AccountUserProfilesService) Get(profileId int64, id int64) *AccountUserProfilesGetCall

Get: Gets one account user profile by ID.

func (*AccountUserProfilesService) Insert

func (r *AccountUserProfilesService) Insert(profileId int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesInsertCall

Insert: Inserts a new account user profile.

func (*AccountUserProfilesService) List

func (r *AccountUserProfilesService) List(profileId int64) *AccountUserProfilesListCall

List: Retrieves a list of account user profiles, possibly filtered. This method supports paging.

func (*AccountUserProfilesService) Patch

func (r *AccountUserProfilesService) Patch(profileId int64, id int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesPatchCall

Patch: Updates an existing account user profile. This method supports patch semantics.

func (*AccountUserProfilesService) Update

func (r *AccountUserProfilesService) Update(profileId int64, accountuserprofile *AccountUserProfile) *AccountUserProfilesUpdateCall

Update: Updates an existing account user profile.

type AccountUserProfilesUpdateCall

type AccountUserProfilesUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AccountUserProfilesUpdateCall) Context

func (c *AccountUserProfilesUpdateCall) Context(ctx context.Context) *AccountUserProfilesUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountUserProfilesUpdateCall) Do

func (c *AccountUserProfilesUpdateCall) Do(opts ...googleapi.CallOption) (*AccountUserProfile, error)

Do executes the "dfareporting.accountUserProfiles.update" call. Exactly one of *AccountUserProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountUserProfile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountUserProfilesUpdateCall) Fields

func (c *AccountUserProfilesUpdateCall) Fields(s ...googleapi.Field) *AccountUserProfilesUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountUserProfilesUpdateCall) Header

func (c *AccountUserProfilesUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsGetCall

type AccountsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsGetCall) Context

func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsGetCall) Do

func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)

Do executes the "dfareporting.accounts.get" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsGetCall) Fields

func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsGetCall) Header

func (c *AccountsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsGetCall) IfNoneMatch

func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsListCall

type AccountsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsListCall) Active

func (c *AccountsListCall) Active(active bool) *AccountsListCall

Active sets the optional parameter "active": Select only active accounts. Don't set this field to select both active and non-active accounts.

func (*AccountsListCall) Context

func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsListCall) Do

func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*AccountsListResponse, error)

Do executes the "dfareporting.accounts.list" call. Exactly one of *AccountsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AccountsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListCall) Fields

func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsListCall) Header

func (c *AccountsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsListCall) Ids

func (c *AccountsListCall) Ids(ids ...int64) *AccountsListCall

Ids sets the optional parameter "ids": Select only accounts with these IDs.

func (*AccountsListCall) IfNoneMatch

func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsListCall) MaxResults

func (c *AccountsListCall) MaxResults(maxResults int64) *AccountsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*AccountsListCall) PageToken

func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*AccountsListCall) Pages

func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsListCall) SearchString

func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "account*2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "account" will match objects with name "my account", "account 2015", or simply "account".

func (*AccountsListCall) SortField

func (c *AccountsListCall) SortField(sortField string) *AccountsListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*AccountsListCall) SortOrder

func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type AccountsListResponse

AccountsListResponse: Account List Response

type AccountsListResponse struct {
    // Accounts: Account collection.
    Accounts []*Account `json:"accounts,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#accountsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Accounts") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Accounts") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AccountsListResponse) MarshalJSON

func (s *AccountsListResponse) MarshalJSON() ([]byte, error)

type AccountsPatchCall

type AccountsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsPatchCall) Context

func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsPatchCall) Do

func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*Account, error)

Do executes the "dfareporting.accounts.patch" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsPatchCall) Fields

func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsPatchCall) Header

func (c *AccountsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsService

type AccountsService struct {
    // contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) Get

func (r *AccountsService) Get(profileId int64, id int64) *AccountsGetCall

Get: Gets one account by ID.

func (*AccountsService) List

func (r *AccountsService) List(profileId int64) *AccountsListCall

List: Retrieves the list of accounts, possibly filtered. This method supports paging.

func (*AccountsService) Patch

func (r *AccountsService) Patch(profileId int64, id int64, account *Account) *AccountsPatchCall

Patch: Updates an existing account. This method supports patch semantics.

func (*AccountsService) Update

func (r *AccountsService) Update(profileId int64, account *Account) *AccountsUpdateCall

Update: Updates an existing account.

type AccountsUpdateCall

type AccountsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsUpdateCall) Context

func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUpdateCall) Do

func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)

Do executes the "dfareporting.accounts.update" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUpdateCall) Fields

func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUpdateCall) Header

func (c *AccountsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Activities

Activities: Represents an activity group.

type Activities struct {
    // Filters: List of activity filters. The dimension values need to be
    // all either of type "dfa:activity" or "dfa:activityGroup".
    Filters []*DimensionValue `json:"filters,omitempty"`

    // Kind: The kind of resource this is, in this case
    // dfareporting#activities.
    Kind string `json:"kind,omitempty"`

    // MetricNames: List of names of floodlight activity metrics.
    MetricNames []string `json:"metricNames,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Filters") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Filters") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Activities) MarshalJSON

func (s *Activities) MarshalJSON() ([]byte, error)

Ad: Contains properties of a DCM ad.

type Ad struct {
    // AccountId: Account ID of this ad. This is a read-only field that can
    // be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Active: Whether this ad is active. When true, archived must be false.
    Active bool `json:"active,omitempty"`

    // AdvertiserId: Advertiser ID of this ad. This is a required field on
    // insertion.
    AdvertiserId int64 `json:"advertiserId,omitempty,string"`

    // AdvertiserIdDimensionValue: Dimension value for the ID of the
    // advertiser. This is a read-only, auto-generated field.
    AdvertiserIdDimensionValue *DimensionValue `json:"advertiserIdDimensionValue,omitempty"`

    // Archived: Whether this ad is archived. When true, active must be
    // false.
    Archived bool `json:"archived,omitempty"`

    // AudienceSegmentId: Audience segment ID that is being targeted for
    // this ad. Applicable when type is AD_SERVING_STANDARD_AD.
    AudienceSegmentId int64 `json:"audienceSegmentId,omitempty,string"`

    // CampaignId: Campaign ID of this ad. This is a required field on
    // insertion.
    CampaignId int64 `json:"campaignId,omitempty,string"`

    // CampaignIdDimensionValue: Dimension value for the ID of the campaign.
    // This is a read-only, auto-generated field.
    CampaignIdDimensionValue *DimensionValue `json:"campaignIdDimensionValue,omitempty"`

    // ClickThroughUrl: Click-through URL for this ad. This is a required
    // field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
    ClickThroughUrl *ClickThroughUrl `json:"clickThroughUrl,omitempty"`

    // ClickThroughUrlSuffixProperties: Click-through URL suffix properties
    // for this ad. Applies to the URL in the ad or (if overriding ad
    // properties) the URL in the creative.
    ClickThroughUrlSuffixProperties *ClickThroughUrlSuffixProperties `json:"clickThroughUrlSuffixProperties,omitempty"`

    // Comments: Comments for this ad.
    Comments string `json:"comments,omitempty"`

    // Compatibility: Compatibility of this ad. Applicable when type is
    // AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to
    // either rendering on desktop or on mobile devices or in mobile apps
    // for regular or interstitial ads, respectively. APP and
    // APP_INTERSTITIAL are only used for existing default ads. New mobile
    // placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and
    // default ads created for those placements will be limited to those
    // compatibility types. IN_STREAM_VIDEO refers to rendering in-stream
    // video ads developed with the VAST standard.
    //
    // Possible values:
    //   "APP"
    //   "APP_INTERSTITIAL"
    //   "DISPLAY"
    //   "DISPLAY_INTERSTITIAL"
    //   "IN_STREAM_VIDEO"
    Compatibility string `json:"compatibility,omitempty"`

    // CreateInfo: Information about the creation of this ad. This is a
    // read-only field.
    CreateInfo *LastModifiedInfo `json:"createInfo,omitempty"`

    // CreativeGroupAssignments: Creative group assignments for this ad.
    // Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment
    // per creative group number is allowed for a maximum of two
    // assignments.
    CreativeGroupAssignments []*CreativeGroupAssignment `json:"creativeGroupAssignments,omitempty"`

    // CreativeRotation: Creative rotation for this ad. Applicable when type
    // is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or
    // AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field
    // should have exactly one creativeAssignment.
    CreativeRotation *CreativeRotation `json:"creativeRotation,omitempty"`

    // DayPartTargeting: Time and day targeting information for this ad.
    // This field must be left blank if the ad is using a targeting
    // template. Applicable when type is AD_SERVING_STANDARD_AD.
    DayPartTargeting *DayPartTargeting `json:"dayPartTargeting,omitempty"`

    // DefaultClickThroughEventTagProperties: Default click-through event
    // tag properties for this ad.
    DefaultClickThroughEventTagProperties *DefaultClickThroughEventTagProperties `json:"defaultClickThroughEventTagProperties,omitempty"`

    // DeliverySchedule: Delivery schedule information for this ad.
    // Applicable when type is AD_SERVING_STANDARD_AD or
    // AD_SERVING_TRACKING. This field along with subfields priority and
    // impressionRatio are required on insertion when type is
    // AD_SERVING_STANDARD_AD.
    DeliverySchedule *DeliverySchedule `json:"deliverySchedule,omitempty"`

    // DynamicClickTracker: Whether this ad is a dynamic click tracker.
    // Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required
    // field on insert, and is read-only after insert.
    DynamicClickTracker bool `json:"dynamicClickTracker,omitempty"`

    // EndTime: Date and time that this ad should stop serving. Must be
    // later than the start time. This is a required field on insertion.
    EndTime string `json:"endTime,omitempty"`

    // EventTagOverrides: Event tag overrides for this ad.
    EventTagOverrides []*EventTagOverride `json:"eventTagOverrides,omitempty"`

    // GeoTargeting: Geographical targeting information for this ad. This
    // field must be left blank if the ad is using a targeting template.
    // Applicable when type is AD_SERVING_STANDARD_AD.
    GeoTargeting *GeoTargeting `json:"geoTargeting,omitempty"`

    // Id: ID of this ad. This is a read-only, auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the ID of this ad. This is a
    // read-only, auto-generated field.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // KeyValueTargetingExpression: Key-value targeting information for this
    // ad. This field must be left blank if the ad is using a targeting
    // template. Applicable when type is AD_SERVING_STANDARD_AD.
    KeyValueTargetingExpression *KeyValueTargetingExpression `json:"keyValueTargetingExpression,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#ad".
    Kind string `json:"kind,omitempty"`

    // LanguageTargeting: Language targeting information for this ad. This
    // field must be left blank if the ad is using a targeting template.
    // Applicable when type is AD_SERVING_STANDARD_AD.
    LanguageTargeting *LanguageTargeting `json:"languageTargeting,omitempty"`

    // LastModifiedInfo: Information about the most recent modification of
    // this ad. This is a read-only field.
    LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"`

    // Name: Name of this ad. This is a required field and must be less than
    // 256 characters long.
    Name string `json:"name,omitempty"`

    // PlacementAssignments: Placement assignments for this ad.
    PlacementAssignments []*PlacementAssignment `json:"placementAssignments,omitempty"`

    // RemarketingListExpression: Remarketing list targeting expression for
    // this ad. This field must be left blank if the ad is using a targeting
    // template. Applicable when type is AD_SERVING_STANDARD_AD.
    RemarketingListExpression *ListTargetingExpression `json:"remarketingListExpression,omitempty"`

    // Size: Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
    Size *Size `json:"size,omitempty"`

    // SslCompliant: Whether this ad is ssl compliant. This is a read-only
    // field that is auto-generated when the ad is inserted or updated.
    SslCompliant bool `json:"sslCompliant,omitempty"`

    // SslRequired: Whether this ad requires ssl. This is a read-only field
    // that is auto-generated when the ad is inserted or updated.
    SslRequired bool `json:"sslRequired,omitempty"`

    // StartTime: Date and time that this ad should start serving. If
    // creating an ad, this field must be a time in the future. This is a
    // required field on insertion.
    StartTime string `json:"startTime,omitempty"`

    // SubaccountId: Subaccount ID of this ad. This is a read-only field
    // that can be left blank.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // TargetingTemplateId: Targeting template ID, used to apply
    // preconfigured targeting information to this ad. This cannot be set
    // while any of dayPartTargeting, geoTargeting,
    // keyValueTargetingExpression, languageTargeting,
    // remarketingListExpression, or technologyTargeting are set. Applicable
    // when type is AD_SERVING_STANDARD_AD.
    TargetingTemplateId int64 `json:"targetingTemplateId,omitempty,string"`

    // TechnologyTargeting: Technology platform targeting information for
    // this ad. This field must be left blank if the ad is using a targeting
    // template. Applicable when type is AD_SERVING_STANDARD_AD.
    TechnologyTargeting *TechnologyTargeting `json:"technologyTargeting,omitempty"`

    // Type: Type of ad. This is a required field on insertion. Note that
    // default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see
    // Creative resource).
    //
    // Possible values:
    //   "AD_SERVING_CLICK_TRACKER"
    //   "AD_SERVING_DEFAULT_AD"
    //   "AD_SERVING_STANDARD_AD"
    //   "AD_SERVING_TRACKING"
    Type string `json:"type,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Ad) MarshalJSON

func (s *Ad) MarshalJSON() ([]byte, error)

type AdBlockingConfiguration

AdBlockingConfiguration: Campaign ad blocking settings.

type AdBlockingConfiguration struct {
    // ClickThroughUrl: Click-through URL used by brand-neutral ads. This is
    // a required field when overrideClickThroughUrl is set to true.
    ClickThroughUrl string `json:"clickThroughUrl,omitempty"`

    // CreativeBundleId: ID of a creative bundle to use for this campaign.
    // If set, brand-neutral ads will select creatives from this bundle.
    // Otherwise, a default transparent pixel will be used.
    CreativeBundleId int64 `json:"creativeBundleId,omitempty,string"`

    // Enabled: Whether this campaign has enabled ad blocking. When true, ad
    // blocking is enabled for placements in the campaign, but this may be
    // overridden by site and placement settings. When false, ad blocking is
    // disabled for all placements under the campaign, regardless of site
    // and placement settings.
    Enabled bool `json:"enabled,omitempty"`

    // OverrideClickThroughUrl: Whether the brand-neutral ad's click-through
    // URL comes from the campaign's creative bundle or the override URL.
    // Must be set to true if ad blocking is enabled and no creative bundle
    // is configured.
    OverrideClickThroughUrl bool `json:"overrideClickThroughUrl,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ClickThroughUrl") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ClickThroughUrl") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AdBlockingConfiguration) MarshalJSON

func (s *AdBlockingConfiguration) MarshalJSON() ([]byte, error)

type AdSlot

AdSlot: Ad Slot

type AdSlot struct {
    // Comment: Comment for this ad slot.
    Comment string `json:"comment,omitempty"`

    // Compatibility: Ad slot compatibility. DISPLAY and
    // DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile
    // devices or in mobile apps for regular or interstitial ads
    // respectively. APP and APP_INTERSTITIAL are for rendering in mobile
    // apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads
    // developed with the VAST standard.
    //
    // Possible values:
    //   "APP"
    //   "APP_INTERSTITIAL"
    //   "DISPLAY"
    //   "DISPLAY_INTERSTITIAL"
    //   "IN_STREAM_VIDEO"
    Compatibility string `json:"compatibility,omitempty"`

    // Height: Height of this ad slot.
    Height int64 `json:"height,omitempty,string"`

    // LinkedPlacementId: ID of the placement from an external platform that
    // is linked to this ad slot.
    LinkedPlacementId int64 `json:"linkedPlacementId,omitempty,string"`

    // Name: Name of this ad slot.
    Name string `json:"name,omitempty"`

    // PaymentSourceType: Payment source type of this ad slot.
    //
    // Possible values:
    //   "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID"
    //   "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID"
    PaymentSourceType string `json:"paymentSourceType,omitempty"`

    // Primary: Primary ad slot of a roadblock inventory item.
    Primary bool `json:"primary,omitempty"`

    // Width: Width of this ad slot.
    Width int64 `json:"width,omitempty,string"`

    // ForceSendFields is a list of field names (e.g. "Comment") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Comment") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AdSlot) MarshalJSON

func (s *AdSlot) MarshalJSON() ([]byte, error)

type AdsGetCall

type AdsGetCall struct {
    // contains filtered or unexported fields
}

func (*AdsGetCall) Context

func (c *AdsGetCall) Context(ctx context.Context) *AdsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdsGetCall) Do

func (c *AdsGetCall) Do(opts ...googleapi.CallOption) (*Ad, error)

Do executes the "dfareporting.ads.get" call. Exactly one of *Ad or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Ad.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdsGetCall) Fields

func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdsGetCall) Header

func (c *AdsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdsGetCall) IfNoneMatch

func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AdsInsertCall

type AdsInsertCall struct {
    // contains filtered or unexported fields
}

func (*AdsInsertCall) Context

func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdsInsertCall) Do

func (c *AdsInsertCall) Do(opts ...googleapi.CallOption) (*Ad, error)

Do executes the "dfareporting.ads.insert" call. Exactly one of *Ad or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Ad.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdsInsertCall) Fields

func (c *AdsInsertCall) Fields(s ...googleapi.Field) *AdsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdsInsertCall) Header

func (c *AdsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdsListCall

type AdsListCall struct {
    // contains filtered or unexported fields
}

func (*AdsListCall) Active

func (c *AdsListCall) Active(active bool) *AdsListCall

Active sets the optional parameter "active": Select only active ads.

func (*AdsListCall) AdvertiserId

func (c *AdsListCall) AdvertiserId(advertiserId int64) *AdsListCall

AdvertiserId sets the optional parameter "advertiserId": Select only ads with this advertiser ID.

func (*AdsListCall) Archived

func (c *AdsListCall) Archived(archived bool) *AdsListCall

Archived sets the optional parameter "archived": Select only archived ads.

func (*AdsListCall) AudienceSegmentIds

func (c *AdsListCall) AudienceSegmentIds(audienceSegmentIds ...int64) *AdsListCall

AudienceSegmentIds sets the optional parameter "audienceSegmentIds": Select only ads with these audience segment IDs.

func (*AdsListCall) CampaignIds

func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall

CampaignIds sets the optional parameter "campaignIds": Select only ads with these campaign IDs.

func (*AdsListCall) Compatibility

func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall

Compatibility sets the optional parameter "compatibility": Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.

Possible values:

"APP"
"APP_INTERSTITIAL"
"DISPLAY"
"DISPLAY_INTERSTITIAL"
"IN_STREAM_VIDEO"

func (*AdsListCall) Context

func (c *AdsListCall) Context(ctx context.Context) *AdsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdsListCall) CreativeIds

func (c *AdsListCall) CreativeIds(creativeIds ...int64) *AdsListCall

CreativeIds sets the optional parameter "creativeIds": Select only ads with these creative IDs assigned.

func (*AdsListCall) CreativeOptimizationConfigurationIds

func (c *AdsListCall) CreativeOptimizationConfigurationIds(creativeOptimizationConfigurationIds ...int64) *AdsListCall

CreativeOptimizationConfigurationIds sets the optional parameter "creativeOptimizationConfigurationIds": Select only ads with these creative optimization configuration IDs.

func (*AdsListCall) Do

func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)

Do executes the "dfareporting.ads.list" call. Exactly one of *AdsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdsListCall) DynamicClickTracker

func (c *AdsListCall) DynamicClickTracker(dynamicClickTracker bool) *AdsListCall

DynamicClickTracker sets the optional parameter "dynamicClickTracker": Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.

func (*AdsListCall) Fields

func (c *AdsListCall) Fields(s ...googleapi.Field) *AdsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdsListCall) Header

func (c *AdsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdsListCall) Ids

func (c *AdsListCall) Ids(ids ...int64) *AdsListCall

Ids sets the optional parameter "ids": Select only ads with these IDs.

func (*AdsListCall) IfNoneMatch

func (c *AdsListCall) IfNoneMatch(entityTag string) *AdsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AdsListCall) LandingPageIds

func (c *AdsListCall) LandingPageIds(landingPageIds ...int64) *AdsListCall

LandingPageIds sets the optional parameter "landingPageIds": Select only ads with these landing page IDs.

func (*AdsListCall) MaxResults

func (c *AdsListCall) MaxResults(maxResults int64) *AdsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*AdsListCall) OverriddenEventTagId

func (c *AdsListCall) OverriddenEventTagId(overriddenEventTagId int64) *AdsListCall

OverriddenEventTagId sets the optional parameter "overriddenEventTagId": Select only ads with this event tag override ID.

func (*AdsListCall) PageToken

func (c *AdsListCall) PageToken(pageToken string) *AdsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*AdsListCall) Pages

func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AdsListCall) PlacementIds

func (c *AdsListCall) PlacementIds(placementIds ...int64) *AdsListCall

PlacementIds sets the optional parameter "placementIds": Select only ads with these placement IDs assigned.

func (*AdsListCall) RemarketingListIds

func (c *AdsListCall) RemarketingListIds(remarketingListIds ...int64) *AdsListCall

RemarketingListIds sets the optional parameter "remarketingListIds": Select only ads whose list targeting expression use these remarketing list IDs.

func (*AdsListCall) SearchString

func (c *AdsListCall) SearchString(searchString string) *AdsListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "ad*2015" will return objects with names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "ad" will match objects with name "my ad", "ad 2015", or simply "ad".

func (*AdsListCall) SizeIds

func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall

SizeIds sets the optional parameter "sizeIds": Select only ads with these size IDs.

func (*AdsListCall) SortField

func (c *AdsListCall) SortField(sortField string) *AdsListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*AdsListCall) SortOrder

func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

func (*AdsListCall) SslCompliant

func (c *AdsListCall) SslCompliant(sslCompliant bool) *AdsListCall

SslCompliant sets the optional parameter "sslCompliant": Select only ads that are SSL-compliant.

func (*AdsListCall) SslRequired

func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall

SslRequired sets the optional parameter "sslRequired": Select only ads that require SSL.

func (*AdsListCall) Type

func (c *AdsListCall) Type(type_ ...string) *AdsListCall

Type sets the optional parameter "type": Select only ads with these types.

Possible values:

"AD_SERVING_CLICK_TRACKER"
"AD_SERVING_DEFAULT_AD"
"AD_SERVING_STANDARD_AD"
"AD_SERVING_TRACKING"

type AdsListResponse

AdsListResponse: Ad List Response

type AdsListResponse struct {
    // Ads: Ad collection.
    Ads []*Ad `json:"ads,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#adsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Ads") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Ads") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AdsListResponse) MarshalJSON

func (s *AdsListResponse) MarshalJSON() ([]byte, error)

type AdsPatchCall

type AdsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AdsPatchCall) Context

func (c *AdsPatchCall) Context(ctx context.Context) *AdsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdsPatchCall) Do

func (c *AdsPatchCall) Do(opts ...googleapi.CallOption) (*Ad, error)

Do executes the "dfareporting.ads.patch" call. Exactly one of *Ad or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Ad.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdsPatchCall) Fields

func (c *AdsPatchCall) Fields(s ...googleapi.Field) *AdsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdsPatchCall) Header

func (c *AdsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdsService

type AdsService struct {
    // contains filtered or unexported fields
}

func NewAdsService

func NewAdsService(s *Service) *AdsService

func (*AdsService) Get

func (r *AdsService) Get(profileId int64, id int64) *AdsGetCall

Get: Gets one ad by ID.

func (*AdsService) Insert

func (r *AdsService) Insert(profileId int64, ad *Ad) *AdsInsertCall

Insert: Inserts a new ad.

func (*AdsService) List

func (r *AdsService) List(profileId int64) *AdsListCall

List: Retrieves a list of ads, possibly filtered. This method supports paging.

func (*AdsService) Patch

func (r *AdsService) Patch(profileId int64, id int64, ad *Ad) *AdsPatchCall

Patch: Updates an existing ad. This method supports patch semantics.

func (*AdsService) Update

func (r *AdsService) Update(profileId int64, ad *Ad) *AdsUpdateCall

Update: Updates an existing ad.

type AdsUpdateCall

type AdsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AdsUpdateCall) Context

func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdsUpdateCall) Do

func (c *AdsUpdateCall) Do(opts ...googleapi.CallOption) (*Ad, error)

Do executes the "dfareporting.ads.update" call. Exactly one of *Ad or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Ad.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdsUpdateCall) Fields

func (c *AdsUpdateCall) Fields(s ...googleapi.Field) *AdsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdsUpdateCall) Header

func (c *AdsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Advertiser

Advertiser: Contains properties of a DCM advertiser.

type Advertiser struct {
    // AccountId: Account ID of this advertiser.This is a read-only field
    // that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // AdvertiserGroupId: ID of the advertiser group this advertiser belongs
    // to. You can group advertisers for reporting purposes, allowing you to
    // see aggregated information for all advertisers in each group.
    AdvertiserGroupId int64 `json:"advertiserGroupId,omitempty,string"`

    // ClickThroughUrlSuffix: Suffix added to click-through URL of ad
    // creative associations under this advertiser. Must be less than 129
    // characters long.
    ClickThroughUrlSuffix string `json:"clickThroughUrlSuffix,omitempty"`

    // DefaultClickThroughEventTagId: ID of the click-through event tag to
    // apply by default to the landing pages of this advertiser's campaigns.
    DefaultClickThroughEventTagId int64 `json:"defaultClickThroughEventTagId,omitempty,string"`

    // DefaultEmail: Default email address used in sender field for tag
    // emails.
    DefaultEmail string `json:"defaultEmail,omitempty"`

    // FloodlightConfigurationId: Floodlight configuration ID of this
    // advertiser. The floodlight configuration ID will be created
    // automatically, so on insert this field should be left blank. This
    // field can be set to another advertiser's floodlight configuration ID
    // in order to share that advertiser's floodlight configuration with
    // this advertiser, so long as:
    // - This advertiser's original floodlight configuration is not already
    // associated with floodlight activities or floodlight activity groups.
    //
    // - This advertiser's original floodlight configuration is not already
    // shared with another advertiser.
    FloodlightConfigurationId int64 `json:"floodlightConfigurationId,omitempty,string"`

    // FloodlightConfigurationIdDimensionValue: Dimension value for the ID
    // of the floodlight configuration. This is a read-only, auto-generated
    // field.
    FloodlightConfigurationIdDimensionValue *DimensionValue `json:"floodlightConfigurationIdDimensionValue,omitempty"`

    // Id: ID of this advertiser. This is a read-only, auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the ID of this advertiser. This
    // is a read-only, auto-generated field.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#advertiser".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this advertiser. This is a required field and must be
    // less than 256 characters long and unique among advertisers of the
    // same account.
    Name string `json:"name,omitempty"`

    // OriginalFloodlightConfigurationId: Original floodlight configuration
    // before any sharing occurred. Set the floodlightConfigurationId of
    // this advertiser to originalFloodlightConfigurationId to unshare the
    // advertiser's current floodlight configuration. You cannot unshare an
    // advertiser's floodlight configuration if the shared configuration has
    // activities associated with any campaign or placement.
    OriginalFloodlightConfigurationId int64 `json:"originalFloodlightConfigurationId,omitempty,string"`

    // Status: Status of this advertiser.
    //
    // Possible values:
    //   "APPROVED"
    //   "ON_HOLD"
    Status string `json:"status,omitempty"`

    // SubaccountId: Subaccount ID of this advertiser.This is a read-only
    // field that can be left blank.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // Suspended: Suspension status of this advertiser.
    Suspended bool `json:"suspended,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Advertiser) MarshalJSON

func (s *Advertiser) MarshalJSON() ([]byte, error)

type AdvertiserGroup

AdvertiserGroup: Groups advertisers together so that reports can be generated for the entire group at once.

type AdvertiserGroup struct {
    // AccountId: Account ID of this advertiser group. This is a read-only
    // field that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Id: ID of this advertiser group. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#advertiserGroup".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this advertiser group. This is a required field and
    // must be less than 256 characters long and unique among advertiser
    // groups of the same account.
    Name string `json:"name,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AdvertiserGroup) MarshalJSON

func (s *AdvertiserGroup) MarshalJSON() ([]byte, error)

type AdvertiserGroupsDeleteCall

type AdvertiserGroupsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsDeleteCall) Context

func (c *AdvertiserGroupsDeleteCall) Context(ctx context.Context) *AdvertiserGroupsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsDeleteCall) Do

func (c *AdvertiserGroupsDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "dfareporting.advertiserGroups.delete" call.

func (*AdvertiserGroupsDeleteCall) Fields

func (c *AdvertiserGroupsDeleteCall) Fields(s ...googleapi.Field) *AdvertiserGroupsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsDeleteCall) Header

func (c *AdvertiserGroupsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertiserGroupsGetCall

type AdvertiserGroupsGetCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsGetCall) Context

func (c *AdvertiserGroupsGetCall) Context(ctx context.Context) *AdvertiserGroupsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsGetCall) Do

func (c *AdvertiserGroupsGetCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)

Do executes the "dfareporting.advertiserGroups.get" call. Exactly one of *AdvertiserGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertiserGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertiserGroupsGetCall) Fields

func (c *AdvertiserGroupsGetCall) Fields(s ...googleapi.Field) *AdvertiserGroupsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsGetCall) Header

func (c *AdvertiserGroupsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdvertiserGroupsGetCall) IfNoneMatch

func (c *AdvertiserGroupsGetCall) IfNoneMatch(entityTag string) *AdvertiserGroupsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AdvertiserGroupsInsertCall

type AdvertiserGroupsInsertCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsInsertCall) Context

func (c *AdvertiserGroupsInsertCall) Context(ctx context.Context) *AdvertiserGroupsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsInsertCall) Do

func (c *AdvertiserGroupsInsertCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)

Do executes the "dfareporting.advertiserGroups.insert" call. Exactly one of *AdvertiserGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertiserGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertiserGroupsInsertCall) Fields

func (c *AdvertiserGroupsInsertCall) Fields(s ...googleapi.Field) *AdvertiserGroupsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsInsertCall) Header

func (c *AdvertiserGroupsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertiserGroupsListCall

type AdvertiserGroupsListCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsListCall) Context

func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsListCall) Do

func (c *AdvertiserGroupsListCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroupsListResponse, error)

Do executes the "dfareporting.advertiserGroups.list" call. Exactly one of *AdvertiserGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertiserGroupsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertiserGroupsListCall) Fields

func (c *AdvertiserGroupsListCall) Fields(s ...googleapi.Field) *AdvertiserGroupsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsListCall) Header

func (c *AdvertiserGroupsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdvertiserGroupsListCall) Ids

func (c *AdvertiserGroupsListCall) Ids(ids ...int64) *AdvertiserGroupsListCall

Ids sets the optional parameter "ids": Select only advertiser groups with these IDs.

func (*AdvertiserGroupsListCall) IfNoneMatch

func (c *AdvertiserGroupsListCall) IfNoneMatch(entityTag string) *AdvertiserGroupsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AdvertiserGroupsListCall) MaxResults

func (c *AdvertiserGroupsListCall) MaxResults(maxResults int64) *AdvertiserGroupsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*AdvertiserGroupsListCall) PageToken

func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*AdvertiserGroupsListCall) Pages

func (c *AdvertiserGroupsListCall) Pages(ctx context.Context, f func(*AdvertiserGroupsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AdvertiserGroupsListCall) SearchString

func (c *AdvertiserGroupsListCall) SearchString(searchString string) *AdvertiserGroupsListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser group June 2015", "advertiser group April 2015", or simply "advertiser group 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertisergroup" will match objects with name "my advertisergroup", "advertisergroup 2015", or simply "advertisergroup".

func (*AdvertiserGroupsListCall) SortField

func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*AdvertiserGroupsListCall) SortOrder

func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type AdvertiserGroupsListResponse

AdvertiserGroupsListResponse: Advertiser Group List Response

type AdvertiserGroupsListResponse struct {
    // AdvertiserGroups: Advertiser group collection.
    AdvertiserGroups []*AdvertiserGroup `json:"advertiserGroups,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#advertiserGroupsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AdvertiserGroups") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AdvertiserGroups") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AdvertiserGroupsListResponse) MarshalJSON

func (s *AdvertiserGroupsListResponse) MarshalJSON() ([]byte, error)

type AdvertiserGroupsPatchCall

type AdvertiserGroupsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsPatchCall) Context

func (c *AdvertiserGroupsPatchCall) Context(ctx context.Context) *AdvertiserGroupsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsPatchCall) Do

func (c *AdvertiserGroupsPatchCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)

Do executes the "dfareporting.advertiserGroups.patch" call. Exactly one of *AdvertiserGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertiserGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertiserGroupsPatchCall) Fields

func (c *AdvertiserGroupsPatchCall) Fields(s ...googleapi.Field) *AdvertiserGroupsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsPatchCall) Header

func (c *AdvertiserGroupsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertiserGroupsService

type AdvertiserGroupsService struct {
    // contains filtered or unexported fields
}

func NewAdvertiserGroupsService

func NewAdvertiserGroupsService(s *Service) *AdvertiserGroupsService

func (*AdvertiserGroupsService) Delete

func (r *AdvertiserGroupsService) Delete(profileId int64, id int64) *AdvertiserGroupsDeleteCall

Delete: Deletes an existing advertiser group.

func (*AdvertiserGroupsService) Get

func (r *AdvertiserGroupsService) Get(profileId int64, id int64) *AdvertiserGroupsGetCall

Get: Gets one advertiser group by ID.

func (*AdvertiserGroupsService) Insert

func (r *AdvertiserGroupsService) Insert(profileId int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsInsertCall

Insert: Inserts a new advertiser group.

func (*AdvertiserGroupsService) List

func (r *AdvertiserGroupsService) List(profileId int64) *AdvertiserGroupsListCall

List: Retrieves a list of advertiser groups, possibly filtered. This method supports paging.

func (*AdvertiserGroupsService) Patch

func (r *AdvertiserGroupsService) Patch(profileId int64, id int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsPatchCall

Patch: Updates an existing advertiser group. This method supports patch semantics.

func (*AdvertiserGroupsService) Update

func (r *AdvertiserGroupsService) Update(profileId int64, advertisergroup *AdvertiserGroup) *AdvertiserGroupsUpdateCall

Update: Updates an existing advertiser group.

type AdvertiserGroupsUpdateCall

type AdvertiserGroupsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AdvertiserGroupsUpdateCall) Context

func (c *AdvertiserGroupsUpdateCall) Context(ctx context.Context) *AdvertiserGroupsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertiserGroupsUpdateCall) Do

func (c *AdvertiserGroupsUpdateCall) Do(opts ...googleapi.CallOption) (*AdvertiserGroup, error)

Do executes the "dfareporting.advertiserGroups.update" call. Exactly one of *AdvertiserGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertiserGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertiserGroupsUpdateCall) Fields

func (c *AdvertiserGroupsUpdateCall) Fields(s ...googleapi.Field) *AdvertiserGroupsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertiserGroupsUpdateCall) Header

func (c *AdvertiserGroupsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertisersGetCall

type AdvertisersGetCall struct {
    // contains filtered or unexported fields
}

func (*AdvertisersGetCall) Context

func (c *AdvertisersGetCall) Context(ctx context.Context) *AdvertisersGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertisersGetCall) Do

func (c *AdvertisersGetCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)

Do executes the "dfareporting.advertisers.get" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertisersGetCall) Fields

func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertisersGetCall) Header

func (c *AdvertisersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdvertisersGetCall) IfNoneMatch

func (c *AdvertisersGetCall) IfNoneMatch(entityTag string) *AdvertisersGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AdvertisersInsertCall

type AdvertisersInsertCall struct {
    // contains filtered or unexported fields
}

func (*AdvertisersInsertCall) Context

func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertisersInsertCall) Do

func (c *AdvertisersInsertCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)

Do executes the "dfareporting.advertisers.insert" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertisersInsertCall) Fields

func (c *AdvertisersInsertCall) Fields(s ...googleapi.Field) *AdvertisersInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertisersInsertCall) Header

func (c *AdvertisersInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertisersListCall

type AdvertisersListCall struct {
    // contains filtered or unexported fields
}

func (*AdvertisersListCall) AdvertiserGroupIds

func (c *AdvertisersListCall) AdvertiserGroupIds(advertiserGroupIds ...int64) *AdvertisersListCall

AdvertiserGroupIds sets the optional parameter "advertiserGroupIds": Select only advertisers with these advertiser group IDs.

func (*AdvertisersListCall) Context

func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertisersListCall) Do

func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*AdvertisersListResponse, error)

Do executes the "dfareporting.advertisers.list" call. Exactly one of *AdvertisersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvertisersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertisersListCall) Fields

func (c *AdvertisersListCall) Fields(s ...googleapi.Field) *AdvertisersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertisersListCall) FloodlightConfigurationIds

func (c *AdvertisersListCall) FloodlightConfigurationIds(floodlightConfigurationIds ...int64) *AdvertisersListCall

FloodlightConfigurationIds sets the optional parameter "floodlightConfigurationIds": Select only advertisers with these floodlight configuration IDs.

func (*AdvertisersListCall) Header

func (c *AdvertisersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AdvertisersListCall) Ids

func (c *AdvertisersListCall) Ids(ids ...int64) *AdvertisersListCall

Ids sets the optional parameter "ids": Select only advertisers with these IDs.

func (*AdvertisersListCall) IfNoneMatch

func (c *AdvertisersListCall) IfNoneMatch(entityTag string) *AdvertisersListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AdvertisersListCall) IncludeAdvertisersWithoutGroupsOnly

func (c *AdvertisersListCall) IncludeAdvertisersWithoutGroupsOnly(includeAdvertisersWithoutGroupsOnly bool) *AdvertisersListCall

IncludeAdvertisersWithoutGroupsOnly sets the optional parameter "includeAdvertisersWithoutGroupsOnly": Select only advertisers which do not belong to any advertiser group.

func (*AdvertisersListCall) MaxResults

func (c *AdvertisersListCall) MaxResults(maxResults int64) *AdvertisersListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*AdvertisersListCall) OnlyParent

func (c *AdvertisersListCall) OnlyParent(onlyParent bool) *AdvertisersListCall

OnlyParent sets the optional parameter "onlyParent": Select only advertisers which use another advertiser's floodlight configuration.

func (*AdvertisersListCall) PageToken

func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*AdvertisersListCall) Pages

func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AdvertisersListCall) SearchString

func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser June 2015", "advertiser April 2015", or simply "advertiser 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertiser" will match objects with name "my advertiser", "advertiser 2015", or simply "advertiser".

func (*AdvertisersListCall) SortField

func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*AdvertisersListCall) SortOrder

func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

func (*AdvertisersListCall) Status

func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall

Status sets the optional parameter "status": Select only advertisers with the specified status.

Possible values:

"APPROVED"
"ON_HOLD"

func (*AdvertisersListCall) SubaccountId

func (c *AdvertisersListCall) SubaccountId(subaccountId int64) *AdvertisersListCall

SubaccountId sets the optional parameter "subaccountId": Select only advertisers with these subaccount IDs.

type AdvertisersListResponse

AdvertisersListResponse: Advertiser List Response

type AdvertisersListResponse struct {
    // Advertisers: Advertiser collection.
    Advertisers []*Advertiser `json:"advertisers,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#advertisersListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Advertisers") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Advertisers") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AdvertisersListResponse) MarshalJSON

func (s *AdvertisersListResponse) MarshalJSON() ([]byte, error)

type AdvertisersPatchCall

type AdvertisersPatchCall struct {
    // contains filtered or unexported fields
}

func (*AdvertisersPatchCall) Context

func (c *AdvertisersPatchCall) Context(ctx context.Context) *AdvertisersPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertisersPatchCall) Do

func (c *AdvertisersPatchCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)

Do executes the "dfareporting.advertisers.patch" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertisersPatchCall) Fields

func (c *AdvertisersPatchCall) Fields(s ...googleapi.Field) *AdvertisersPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertisersPatchCall) Header

func (c *AdvertisersPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AdvertisersService

type AdvertisersService struct {
    // contains filtered or unexported fields
}

func NewAdvertisersService

func NewAdvertisersService(s *Service) *AdvertisersService

func (*AdvertisersService) Get

func (r *AdvertisersService) Get(profileId int64, id int64) *AdvertisersGetCall

Get: Gets one advertiser by ID.

func (*AdvertisersService) Insert

func (r *AdvertisersService) Insert(profileId int64, advertiser *Advertiser) *AdvertisersInsertCall

Insert: Inserts a new advertiser.

func (*AdvertisersService) List

func (r *AdvertisersService) List(profileId int64) *AdvertisersListCall

List: Retrieves a list of advertisers, possibly filtered. This method supports paging.

func (*AdvertisersService) Patch

func (r *AdvertisersService) Patch(profileId int64, id int64, advertiser *Advertiser) *AdvertisersPatchCall

Patch: Updates an existing advertiser. This method supports patch semantics.

func (*AdvertisersService) Update

func (r *AdvertisersService) Update(profileId int64, advertiser *Advertiser) *AdvertisersUpdateCall

Update: Updates an existing advertiser.

type AdvertisersUpdateCall

type AdvertisersUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AdvertisersUpdateCall) Context

func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AdvertisersUpdateCall) Do

func (c *AdvertisersUpdateCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)

Do executes the "dfareporting.advertisers.update" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AdvertisersUpdateCall) Fields

func (c *AdvertisersUpdateCall) Fields(s ...googleapi.Field) *AdvertisersUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AdvertisersUpdateCall) Header

func (c *AdvertisersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AudienceSegment

AudienceSegment: Audience Segment.

type AudienceSegment struct {
    // Allocation: Weight allocated to this segment. The weight assigned
    // will be understood in proportion to the weights assigned to other
    // segments in the same segment group. Acceptable values are 1 to 1000,
    // inclusive.
    Allocation int64 `json:"allocation,omitempty"`

    // Id: ID of this audience segment. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // Name: Name of this audience segment. This is a required field and
    // must be less than 65 characters long.
    Name string `json:"name,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Allocation") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Allocation") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AudienceSegment) MarshalJSON

func (s *AudienceSegment) MarshalJSON() ([]byte, error)

type AudienceSegmentGroup

AudienceSegmentGroup: Audience Segment Group.

type AudienceSegmentGroup struct {
    // AudienceSegments: Audience segments assigned to this group. The
    // number of segments must be between 2 and 100.
    AudienceSegments []*AudienceSegment `json:"audienceSegments,omitempty"`

    // Id: ID of this audience segment group. This is a read-only,
    // auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // Name: Name of this audience segment group. This is a required field
    // and must be less than 65 characters long.
    Name string `json:"name,omitempty"`

    // ForceSendFields is a list of field names (e.g. "AudienceSegments") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AudienceSegments") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AudienceSegmentGroup) MarshalJSON

func (s *AudienceSegmentGroup) MarshalJSON() ([]byte, error)

type Browser

Browser: Contains information about a browser that can be targeted by ads.

type Browser struct {
    // BrowserVersionId: ID referring to this grouping of browser and
    // version numbers. This is the ID used for targeting.
    BrowserVersionId int64 `json:"browserVersionId,omitempty,string"`

    // DartId: DART ID of this browser. This is the ID used when generating
    // reports.
    DartId int64 `json:"dartId,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#browser".
    Kind string `json:"kind,omitempty"`

    // MajorVersion: Major version number (leftmost number) of this browser.
    // For example, for Chrome 5.0.376.86 beta, this field should be set to
    // 5. An asterisk (*) may be used to target any version number, and a
    // question mark (?) may be used to target cases where the version
    // number cannot be identified. For example, Chrome *.* targets any
    // version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets
    // Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad
    // server knows the browser is Firefox but can't tell which version it
    // is.
    MajorVersion string `json:"majorVersion,omitempty"`

    // MinorVersion: Minor version number (number after first dot on left)
    // of this browser. For example, for Chrome 5.0.375.86 beta, this field
    // should be set to 0. An asterisk (*) may be used to target any version
    // number, and a question mark (?) may be used to target cases where the
    // version number cannot be identified. For example, Chrome *.* targets
    // any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets
    // Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad
    // server knows the browser is Firefox but can't tell which version it
    // is.
    MinorVersion string `json:"minorVersion,omitempty"`

    // Name: Name of this browser.
    Name string `json:"name,omitempty"`

    // ForceSendFields is a list of field names (e.g. "BrowserVersionId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "BrowserVersionId") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*Browser) MarshalJSON

func (s *Browser) MarshalJSON() ([]byte, error)

type BrowsersListCall

type BrowsersListCall struct {
    // contains filtered or unexported fields
}

func (*BrowsersListCall) Context

func (c *BrowsersListCall) Context(ctx context.Context) *BrowsersListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BrowsersListCall) Do

func (c *BrowsersListCall) Do(opts ...googleapi.CallOption) (*BrowsersListResponse, error)

Do executes the "dfareporting.browsers.list" call. Exactly one of *BrowsersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BrowsersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BrowsersListCall) Fields

func (c *BrowsersListCall) Fields(s ...googleapi.Field) *BrowsersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BrowsersListCall) Header

func (c *BrowsersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BrowsersListCall) IfNoneMatch

func (c *BrowsersListCall) IfNoneMatch(entityTag string) *BrowsersListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type BrowsersListResponse

BrowsersListResponse: Browser List Response

type BrowsersListResponse struct {
    // Browsers: Browser collection.
    Browsers []*Browser `json:"browsers,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#browsersListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Browsers") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Browsers") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BrowsersListResponse) MarshalJSON

func (s *BrowsersListResponse) MarshalJSON() ([]byte, error)

type BrowsersService

type BrowsersService struct {
    // contains filtered or unexported fields
}

func NewBrowsersService

func NewBrowsersService(s *Service) *BrowsersService

func (*BrowsersService) List

func (r *BrowsersService) List(profileId int64) *BrowsersListCall

List: Retrieves a list of browsers.

type Campaign

Campaign: Contains properties of a DCM campaign.

type Campaign struct {
    // AccountId: Account ID of this campaign. This is a read-only field
    // that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // AdBlockingConfiguration: Ad blocking settings for this campaign.
    AdBlockingConfiguration *AdBlockingConfiguration `json:"adBlockingConfiguration,omitempty"`

    // AdditionalCreativeOptimizationConfigurations: Additional creative
    // optimization configurations for the campaign.
    AdditionalCreativeOptimizationConfigurations []*CreativeOptimizationConfiguration `json:"additionalCreativeOptimizationConfigurations,omitempty"`

    // AdvertiserGroupId: Advertiser group ID of the associated advertiser.
    AdvertiserGroupId int64 `json:"advertiserGroupId,omitempty,string"`

    // AdvertiserId: Advertiser ID of this campaign. This is a required
    // field.
    AdvertiserId int64 `json:"advertiserId,omitempty,string"`

    // AdvertiserIdDimensionValue: Dimension value for the advertiser ID of
    // this campaign. This is a read-only, auto-generated field.
    AdvertiserIdDimensionValue *DimensionValue `json:"advertiserIdDimensionValue,omitempty"`

    // Archived: Whether this campaign has been archived.
    Archived bool `json:"archived,omitempty"`

    // AudienceSegmentGroups: Audience segment groups assigned to this
    // campaign. Cannot have more than 300 segment groups.
    AudienceSegmentGroups []*AudienceSegmentGroup `json:"audienceSegmentGroups,omitempty"`

    // BillingInvoiceCode: Billing invoice code included in the DCM client
    // billing invoices associated with the campaign.
    BillingInvoiceCode string `json:"billingInvoiceCode,omitempty"`

    // ClickThroughUrlSuffixProperties: Click-through URL suffix override
    // properties for this campaign.
    ClickThroughUrlSuffixProperties *ClickThroughUrlSuffixProperties `json:"clickThroughUrlSuffixProperties,omitempty"`

    // Comment: Arbitrary comments about this campaign. Must be less than
    // 256 characters long.
    Comment string `json:"comment,omitempty"`

    // CreateInfo: Information about the creation of this campaign. This is
    // a read-only field.
    CreateInfo *LastModifiedInfo `json:"createInfo,omitempty"`

    // CreativeGroupIds: List of creative group IDs that are assigned to the
    // campaign.
    CreativeGroupIds googleapi.Int64s `json:"creativeGroupIds,omitempty"`

    // CreativeOptimizationConfiguration: Creative optimization
    // configuration for the campaign.
    CreativeOptimizationConfiguration *CreativeOptimizationConfiguration `json:"creativeOptimizationConfiguration,omitempty"`

    // DefaultClickThroughEventTagProperties: Click-through event tag ID
    // override properties for this campaign.
    DefaultClickThroughEventTagProperties *DefaultClickThroughEventTagProperties `json:"defaultClickThroughEventTagProperties,omitempty"`

    // EndDate: Date on which the campaign will stop running. On insert, the
    // end date must be today or a future date. The end date must be later
    // than or be the same as the start date. If, for example, you set
    // 6/25/2015 as both the start and end dates, the effective campaign run
    // date is just that day only, 6/25/2015. The hours, minutes, and
    // seconds of the end date should not be set, as doing so will result in
    // an error. This is a required field.
    EndDate string `json:"endDate,omitempty"`

    // EventTagOverrides: Overrides that can be used to activate or
    // deactivate advertiser event tags.
    EventTagOverrides []*EventTagOverride `json:"eventTagOverrides,omitempty"`

    // ExternalId: External ID for this campaign.
    ExternalId string `json:"externalId,omitempty"`

    // Id: ID of this campaign. This is a read-only auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the ID of this campaign. This
    // is a read-only, auto-generated field.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#campaign".
    Kind string `json:"kind,omitempty"`

    // LastModifiedInfo: Information about the most recent modification of
    // this campaign. This is a read-only field.
    LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"`

    // LookbackConfiguration: Lookback window settings for the campaign.
    LookbackConfiguration *LookbackConfiguration `json:"lookbackConfiguration,omitempty"`

    // Name: Name of this campaign. This is a required field and must be
    // less than 256 characters long and unique among campaigns of the same
    // advertiser.
    Name string `json:"name,omitempty"`

    // NielsenOcrEnabled: Whether Nielsen reports are enabled for this
    // campaign.
    NielsenOcrEnabled bool `json:"nielsenOcrEnabled,omitempty"`

    // StartDate: Date on which the campaign starts running. The start date
    // can be any date. The hours, minutes, and seconds of the start date
    // should not be set, as doing so will result in an error. This is a
    // required field.
    StartDate string `json:"startDate,omitempty"`

    // SubaccountId: Subaccount ID of this campaign. This is a read-only
    // field that can be left blank.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // TraffickerEmails: Campaign trafficker contact emails.
    TraffickerEmails []string `json:"traffickerEmails,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Campaign) MarshalJSON

func (s *Campaign) MarshalJSON() ([]byte, error)

type CampaignCreativeAssociation

CampaignCreativeAssociation: Identifies a creative which has been associated with a given campaign.

type CampaignCreativeAssociation struct {
    // CreativeId: ID of the creative associated with the campaign. This is
    // a required field.
    CreativeId int64 `json:"creativeId,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#campaignCreativeAssociation".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreativeId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreativeId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CampaignCreativeAssociation) MarshalJSON

func (s *CampaignCreativeAssociation) MarshalJSON() ([]byte, error)

type CampaignCreativeAssociationsInsertCall

type CampaignCreativeAssociationsInsertCall struct {
    // contains filtered or unexported fields
}

func (*CampaignCreativeAssociationsInsertCall) Context

func (c *CampaignCreativeAssociationsInsertCall) Context(ctx context.Context) *CampaignCreativeAssociationsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignCreativeAssociationsInsertCall) Do

func (c *CampaignCreativeAssociationsInsertCall) Do(opts ...googleapi.CallOption) (*CampaignCreativeAssociation, error)

Do executes the "dfareporting.campaignCreativeAssociations.insert" call. Exactly one of *CampaignCreativeAssociation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CampaignCreativeAssociation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignCreativeAssociationsInsertCall) Fields

func (c *CampaignCreativeAssociationsInsertCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignCreativeAssociationsInsertCall) Header

func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CampaignCreativeAssociationsListCall

type CampaignCreativeAssociationsListCall struct {
    // contains filtered or unexported fields
}

func (*CampaignCreativeAssociationsListCall) Context

func (c *CampaignCreativeAssociationsListCall) Context(ctx context.Context) *CampaignCreativeAssociationsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignCreativeAssociationsListCall) Do

func (c *CampaignCreativeAssociationsListCall) Do(opts ...googleapi.CallOption) (*CampaignCreativeAssociationsListResponse, error)

Do executes the "dfareporting.campaignCreativeAssociations.list" call. Exactly one of *CampaignCreativeAssociationsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CampaignCreativeAssociationsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignCreativeAssociationsListCall) Fields

func (c *CampaignCreativeAssociationsListCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignCreativeAssociationsListCall) Header

func (c *CampaignCreativeAssociationsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CampaignCreativeAssociationsListCall) IfNoneMatch

func (c *CampaignCreativeAssociationsListCall) IfNoneMatch(entityTag string) *CampaignCreativeAssociationsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CampaignCreativeAssociationsListCall) MaxResults

func (c *CampaignCreativeAssociationsListCall) MaxResults(maxResults int64) *CampaignCreativeAssociationsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*CampaignCreativeAssociationsListCall) PageToken

func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*CampaignCreativeAssociationsListCall) Pages

func (c *CampaignCreativeAssociationsListCall) Pages(ctx context.Context, f func(*CampaignCreativeAssociationsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*CampaignCreativeAssociationsListCall) SortOrder

func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type CampaignCreativeAssociationsListResponse

CampaignCreativeAssociationsListResponse: Campaign Creative Association List Response

type CampaignCreativeAssociationsListResponse struct {
    // CampaignCreativeAssociations: Campaign creative association
    // collection
    CampaignCreativeAssociations []*CampaignCreativeAssociation `json:"campaignCreativeAssociations,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#campaignCreativeAssociationsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "CampaignCreativeAssociations") to unconditionally include in API
    // requests. By default, fields with empty values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g.
    // "CampaignCreativeAssociations") to include in API requests with the
    // JSON null value. By default, fields with empty values are omitted
    // from API requests. However, any field with an empty value appearing
    // in NullFields will be sent to the server as null. It is an error if a
    // field in this list has a non-empty value. This may be used to include
    // null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CampaignCreativeAssociationsListResponse) MarshalJSON

func (s *CampaignCreativeAssociationsListResponse) MarshalJSON() ([]byte, error)

type CampaignCreativeAssociationsService

type CampaignCreativeAssociationsService struct {
    // contains filtered or unexported fields
}

func NewCampaignCreativeAssociationsService

func NewCampaignCreativeAssociationsService(s *Service) *CampaignCreativeAssociationsService

func (*CampaignCreativeAssociationsService) Insert

func (r *CampaignCreativeAssociationsService) Insert(profileId int64, campaignId int64, campaigncreativeassociation *CampaignCreativeAssociation) *CampaignCreativeAssociationsInsertCall

Insert: 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.

func (*CampaignCreativeAssociationsService) List

func (r *CampaignCreativeAssociationsService) List(profileId int64, campaignId int64) *CampaignCreativeAssociationsListCall

List: Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.

type CampaignsGetCall

type CampaignsGetCall struct {
    // contains filtered or unexported fields
}

func (*CampaignsGetCall) Context

func (c *CampaignsGetCall) Context(ctx context.Context) *CampaignsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignsGetCall) Do

func (c *CampaignsGetCall) Do(opts ...googleapi.CallOption) (*Campaign, error)

Do executes the "dfareporting.campaigns.get" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignsGetCall) Fields

func (c *CampaignsGetCall) Fields(s ...googleapi.Field) *CampaignsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignsGetCall) Header

func (c *CampaignsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CampaignsGetCall) IfNoneMatch

func (c *CampaignsGetCall) IfNoneMatch(entityTag string) *CampaignsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CampaignsInsertCall

type CampaignsInsertCall struct {
    // contains filtered or unexported fields
}

func (*CampaignsInsertCall) Context

func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignsInsertCall) Do

func (c *CampaignsInsertCall) Do(opts ...googleapi.CallOption) (*Campaign, error)

Do executes the "dfareporting.campaigns.insert" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignsInsertCall) Fields

func (c *CampaignsInsertCall) Fields(s ...googleapi.Field) *CampaignsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignsInsertCall) Header

func (c *CampaignsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CampaignsListCall

type CampaignsListCall struct {
    // contains filtered or unexported fields
}

func (*CampaignsListCall) AdvertiserGroupIds

func (c *CampaignsListCall) AdvertiserGroupIds(advertiserGroupIds ...int64) *CampaignsListCall

AdvertiserGroupIds sets the optional parameter "advertiserGroupIds": Select only campaigns whose advertisers belong to these advertiser groups.

func (*CampaignsListCall) AdvertiserIds

func (c *CampaignsListCall) AdvertiserIds(advertiserIds ...int64) *CampaignsListCall

AdvertiserIds sets the optional parameter "advertiserIds": Select only campaigns that belong to these advertisers.

func (*CampaignsListCall) Archived

func (c *CampaignsListCall) Archived(archived bool) *CampaignsListCall

Archived sets the optional parameter "archived": Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.

func (*CampaignsListCall) AtLeastOneOptimizationActivity

func (c *CampaignsListCall) AtLeastOneOptimizationActivity(atLeastOneOptimizationActivity bool) *CampaignsListCall

AtLeastOneOptimizationActivity sets the optional parameter "atLeastOneOptimizationActivity": Select only campaigns that have at least one optimization activity.

func (*CampaignsListCall) Context

func (c *CampaignsListCall) Context(ctx context.Context) *CampaignsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignsListCall) Do

func (c *CampaignsListCall) Do(opts ...googleapi.CallOption) (*CampaignsListResponse, error)

Do executes the "dfareporting.campaigns.list" call. Exactly one of *CampaignsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CampaignsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignsListCall) ExcludedIds

func (c *CampaignsListCall) ExcludedIds(excludedIds ...int64) *CampaignsListCall

ExcludedIds sets the optional parameter "excludedIds": Exclude campaigns with these IDs.

func (*CampaignsListCall) Fields

func (c *CampaignsListCall) Fields(s ...googleapi.Field) *CampaignsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignsListCall) Header

func (c *CampaignsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CampaignsListCall) Ids

func (c *CampaignsListCall) Ids(ids ...int64) *CampaignsListCall

Ids sets the optional parameter "ids": Select only campaigns with these IDs.

func (*CampaignsListCall) IfNoneMatch

func (c *CampaignsListCall) IfNoneMatch(entityTag string) *CampaignsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CampaignsListCall) MaxResults

func (c *CampaignsListCall) MaxResults(maxResults int64) *CampaignsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*CampaignsListCall) OverriddenEventTagId

func (c *CampaignsListCall) OverriddenEventTagId(overriddenEventTagId int64) *CampaignsListCall

OverriddenEventTagId sets the optional parameter "overriddenEventTagId": Select only campaigns that have overridden this event tag ID.

func (*CampaignsListCall) PageToken

func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*CampaignsListCall) Pages

func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*CampaignsListCall) SearchString

func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall

SearchString sets the optional parameter "searchString": Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign June 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign".

func (*CampaignsListCall) SortField

func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*CampaignsListCall) SortOrder

func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

func (*CampaignsListCall) SubaccountId

func (c *CampaignsListCall) SubaccountId(subaccountId int64) *CampaignsListCall

SubaccountId sets the optional parameter "subaccountId": Select only campaigns that belong to this subaccount.

type CampaignsListResponse

CampaignsListResponse: Campaign List Response

type CampaignsListResponse struct {
    // Campaigns: Campaign collection.
    Campaigns []*Campaign `json:"campaigns,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#campaignsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Campaigns") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Campaigns") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CampaignsListResponse) MarshalJSON

func (s *CampaignsListResponse) MarshalJSON() ([]byte, error)

type CampaignsPatchCall

type CampaignsPatchCall struct {
    // contains filtered or unexported fields
}

func (*CampaignsPatchCall) Context

func (c *CampaignsPatchCall) Context(ctx context.Context) *CampaignsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignsPatchCall) Do

func (c *CampaignsPatchCall) Do(opts ...googleapi.CallOption) (*Campaign, error)

Do executes the "dfareporting.campaigns.patch" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignsPatchCall) Fields

func (c *CampaignsPatchCall) Fields(s ...googleapi.Field) *CampaignsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignsPatchCall) Header

func (c *CampaignsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CampaignsService

type CampaignsService struct {
    // contains filtered or unexported fields
}

func NewCampaignsService

func NewCampaignsService(s *Service) *CampaignsService

func (*CampaignsService) Get

func (r *CampaignsService) Get(profileId int64, id int64) *CampaignsGetCall

Get: Gets one campaign by ID.

func (*CampaignsService) Insert

func (r *CampaignsService) Insert(profileId int64, defaultLandingPageName string, defaultLandingPageUrl string, campaign *Campaign) *CampaignsInsertCall

Insert: Inserts a new campaign.

func (*CampaignsService) List

func (r *CampaignsService) List(profileId int64) *CampaignsListCall

List: Retrieves a list of campaigns, possibly filtered. This method supports paging.

func (*CampaignsService) Patch

func (r *CampaignsService) Patch(profileId int64, id int64, campaign *Campaign) *CampaignsPatchCall

Patch: Updates an existing campaign. This method supports patch semantics.

func (*CampaignsService) Update

func (r *CampaignsService) Update(profileId int64, campaign *Campaign) *CampaignsUpdateCall

Update: Updates an existing campaign.

type CampaignsUpdateCall

type CampaignsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*CampaignsUpdateCall) Context

func (c *CampaignsUpdateCall) Context(ctx context.Context) *CampaignsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CampaignsUpdateCall) Do

func (c *CampaignsUpdateCall) Do(opts ...googleapi.CallOption) (*Campaign, error)

Do executes the "dfareporting.campaigns.update" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CampaignsUpdateCall) Fields

func (c *CampaignsUpdateCall) Fields(s ...googleapi.Field) *CampaignsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CampaignsUpdateCall) Header

func (c *CampaignsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ChangeLog

ChangeLog: Describes a change that a user has made to a resource.

type ChangeLog struct {
    // AccountId: Account ID of the modified object.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Action: Action which caused the change.
    Action string `json:"action,omitempty"`

    // ChangeTime: Time when the object was modified.
    ChangeTime string `json:"changeTime,omitempty"`

    // FieldName: Field name of the object which changed.
    FieldName string `json:"fieldName,omitempty"`

    // Id: ID of this change log.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#changeLog".
    Kind string `json:"kind,omitempty"`

    // NewValue: New value of the object field.
    NewValue string `json:"newValue,omitempty"`

    // ObjectId: ID of the object of this change log. The object could be a
    // campaign, placement, ad, or other type.
    ObjectId int64 `json:"objectId,omitempty,string"`

    // ObjectType: Object type of the change log.
    ObjectType string `json:"objectType,omitempty"`

    // OldValue: Old value of the object field.
    OldValue string `json:"oldValue,omitempty"`

    // SubaccountId: Subaccount ID of the modified object.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // TransactionId: Transaction ID of this change log. When a single API
    // call results in many changes, each change will have a separate ID in
    // the change log but will share the same transactionId.
    TransactionId int64 `json:"transactionId,omitempty,string"`

    // UserProfileId: ID of the user who modified the object.
    UserProfileId int64 `json:"userProfileId,omitempty,string"`

    // UserProfileName: User profile name of the user who modified the
    // object.
    UserProfileName string `json:"userProfileName,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ChangeLog) MarshalJSON

func (s *ChangeLog) MarshalJSON() ([]byte, error)

type ChangeLogsGetCall

type ChangeLogsGetCall struct {
    // contains filtered or unexported fields
}

func (*ChangeLogsGetCall) Context

func (c *ChangeLogsGetCall) Context(ctx context.Context) *ChangeLogsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ChangeLogsGetCall) Do

func (c *ChangeLogsGetCall) Do(opts ...googleapi.CallOption) (*ChangeLog, error)

Do executes the "dfareporting.changeLogs.get" call. Exactly one of *ChangeLog or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChangeLog.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ChangeLogsGetCall) Fields

func (c *ChangeLogsGetCall) Fields(s ...googleapi.Field) *ChangeLogsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ChangeLogsGetCall) Header

func (c *ChangeLogsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ChangeLogsGetCall) IfNoneMatch

func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ChangeLogsListCall

type ChangeLogsListCall struct {
    // contains filtered or unexported fields
}

func (*ChangeLogsListCall) Action

func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall

Action sets the optional parameter "action": Select only change logs with the specified action.

Possible values:

"ACTION_ADD"
"ACTION_ASSIGN"
"ACTION_ASSOCIATE"
"ACTION_CREATE"
"ACTION_DELETE"
"ACTION_DISABLE"
"ACTION_EMAIL_TAGS"
"ACTION_ENABLE"
"ACTION_LINK"
"ACTION_MARK_AS_DEFAULT"
"ACTION_PUSH"
"ACTION_REMOVE"
"ACTION_SEND"
"ACTION_SHARE"
"ACTION_UNASSIGN"
"ACTION_UNLINK"
"ACTION_UPDATE"

func (*ChangeLogsListCall) Context

func (c *ChangeLogsListCall) Context(ctx context.Context) *ChangeLogsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ChangeLogsListCall) Do

func (c *ChangeLogsListCall) Do(opts ...googleapi.CallOption) (*ChangeLogsListResponse, error)

Do executes the "dfareporting.changeLogs.list" call. Exactly one of *ChangeLogsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChangeLogsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ChangeLogsListCall) Fields

func (c *ChangeLogsListCall) Fields(s ...googleapi.Field) *ChangeLogsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ChangeLogsListCall) Header

func (c *ChangeLogsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ChangeLogsListCall) Ids

func (c *ChangeLogsListCall) Ids(ids ...int64) *ChangeLogsListCall

Ids sets the optional parameter "ids": Select only change logs with these IDs.

func (*ChangeLogsListCall) IfNoneMatch

func (c *ChangeLogsListCall) IfNoneMatch(entityTag string) *ChangeLogsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ChangeLogsListCall) MaxChangeTime

func (c *ChangeLogsListCall) MaxChangeTime(maxChangeTime string) *ChangeLogsListCall

MaxChangeTime sets the optional parameter "maxChangeTime": Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.

func (*ChangeLogsListCall) MaxResults

func (c *ChangeLogsListCall) MaxResults(maxResults int64) *ChangeLogsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*ChangeLogsListCall) MinChangeTime

func (c *ChangeLogsListCall) MinChangeTime(minChangeTime string) *ChangeLogsListCall

MinChangeTime sets the optional parameter "minChangeTime": Select only change logs whose change time is before the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.

func (*ChangeLogsListCall) ObjectIds

func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall

ObjectIds sets the optional parameter "objectIds": Select only change logs with these object IDs.

func (*ChangeLogsListCall) ObjectType

func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall

ObjectType sets the optional parameter "objectType": Select only change logs with the specified object type.

Possible values:

"OBJECT_ACCOUNT"
"OBJECT_ACCOUNT_BILLING_FEATURE"
"OBJECT_AD"
"OBJECT_ADVERTISER"
"OBJECT_ADVERTISER_GROUP"
"OBJECT_BILLING_ACCOUNT_GROUP"
"OBJECT_BILLING_FEATURE"
"OBJECT_BILLING_MINIMUM_FEE"
"OBJECT_BILLING_PROFILE"
"OBJECT_CAMPAIGN"
"OBJECT_CONTENT_CATEGORY"
"OBJECT_CREATIVE"
"OBJECT_CREATIVE_ASSET"
"OBJECT_CREATIVE_BUNDLE"
"OBJECT_CREATIVE_FIELD"
"OBJECT_CREATIVE_GROUP"
"OBJECT_DFA_SITE"
"OBJECT_EVENT_TAG"
"OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
"OBJECT_FLOODLIGHT_ACTVITY"
"OBJECT_FLOODLIGHT_CONFIGURATION"
"OBJECT_INSTREAM_CREATIVE"
"OBJECT_LANDING_PAGE"
"OBJECT_MEDIA_ORDER"
"OBJECT_PLACEMENT"
"OBJECT_PLACEMENT_STRATEGY"
"OBJECT_PLAYSTORE_LINK"
"OBJECT_PROVIDED_LIST_CLIENT"
"OBJECT_RATE_CARD"
"OBJECT_REMARKETING_LIST"
"OBJECT_RICHMEDIA_CREATIVE"
"OBJECT_SD_SITE"
"OBJECT_SEARCH_LIFT_STUDY"
"OBJECT_SIZE"
"OBJECT_SUBACCOUNT"
"OBJECT_TARGETING_TEMPLATE"
"OBJECT_USER_PROFILE"
"OBJECT_USER_PROFILE_FILTER"
"OBJECT_USER_ROLE"

func (*ChangeLogsListCall) PageToken

func (c *ChangeLogsListCall) PageToken(pageToken string) *ChangeLogsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*ChangeLogsListCall) Pages

func (c *ChangeLogsListCall) Pages(ctx context.Context, f func(*ChangeLogsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*ChangeLogsListCall) SearchString

func (c *ChangeLogsListCall) SearchString(searchString string) *ChangeLogsListCall

SearchString sets the optional parameter "searchString": Select only change logs whose object ID, user name, old or new values match the search string.

func (*ChangeLogsListCall) UserProfileIds

func (c *ChangeLogsListCall) UserProfileIds(userProfileIds ...int64) *ChangeLogsListCall

UserProfileIds sets the optional parameter "userProfileIds": Select only change logs with these user profile IDs.

type ChangeLogsListResponse

ChangeLogsListResponse: Change Log List Response

type ChangeLogsListResponse struct {
    // ChangeLogs: Change log collection.
    ChangeLogs []*ChangeLog `json:"changeLogs,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#changeLogsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "ChangeLogs") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ChangeLogs") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ChangeLogsListResponse) MarshalJSON

func (s *ChangeLogsListResponse) MarshalJSON() ([]byte, error)

type ChangeLogsService

type ChangeLogsService struct {
    // contains filtered or unexported fields
}

func NewChangeLogsService

func NewChangeLogsService(s *Service) *ChangeLogsService

func (*ChangeLogsService) Get

func (r *ChangeLogsService) Get(profileId int64, id int64) *ChangeLogsGetCall

Get: Gets one change log by ID.

func (*ChangeLogsService) List

func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall

List: Retrieves a list of change logs. This method supports paging.

type CitiesListCall

type CitiesListCall struct {
    // contains filtered or unexported fields
}

func (*CitiesListCall) Context

func (c *CitiesListCall) Context(ctx context.Context) *CitiesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CitiesListCall) CountryDartIds

func (c *CitiesListCall) CountryDartIds(countryDartIds ...int64) *CitiesListCall

CountryDartIds sets the optional parameter "countryDartIds": Select only cities from these countries.

func (*CitiesListCall) DartIds

func (c *CitiesListCall) DartIds(dartIds ...int64) *CitiesListCall

DartIds sets the optional parameter "dartIds": Select only cities with these DART IDs.

func (*CitiesListCall) Do

func (c *CitiesListCall) Do(opts ...googleapi.CallOption) (*CitiesListResponse, error)

Do executes the "dfareporting.cities.list" call. Exactly one of *CitiesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CitiesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CitiesListCall) Fields

func (c *CitiesListCall) Fields(s ...googleapi.Field) *CitiesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CitiesListCall) Header

func (c *CitiesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CitiesListCall) IfNoneMatch

func (c *CitiesListCall) IfNoneMatch(entityTag string) *CitiesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CitiesListCall) NamePrefix

func (c *CitiesListCall) NamePrefix(namePrefix string) *CitiesListCall

NamePrefix sets the optional parameter "namePrefix": Select only cities with names starting with this prefix.

func (*CitiesListCall) RegionDartIds

func (c *CitiesListCall) RegionDartIds(regionDartIds ...int64) *CitiesListCall

RegionDartIds sets the optional parameter "regionDartIds": Select only cities from these regions.

type CitiesListResponse

CitiesListResponse: City List Response

type CitiesListResponse struct {
    // Cities: City collection.
    Cities []*City `json:"cities,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#citiesListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Cities") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Cities") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CitiesListResponse) MarshalJSON

func (s *CitiesListResponse) MarshalJSON() ([]byte, error)

type CitiesService

type CitiesService struct {
    // contains filtered or unexported fields
}

func NewCitiesService

func NewCitiesService(s *Service) *CitiesService

func (*CitiesService) List

func (r *CitiesService) List(profileId int64) *CitiesListCall

List: Retrieves a list of cities, possibly filtered.

type City

City: Contains information about a city that can be targeted by ads.

type City struct {
    // CountryCode: Country code of the country to which this city belongs.
    CountryCode string `json:"countryCode,omitempty"`

    // CountryDartId: DART ID of the country to which this city belongs.
    CountryDartId int64 `json:"countryDartId,omitempty,string"`

    // DartId: DART ID of this city. This is the ID used for targeting and
    // generating reports.
    DartId int64 `json:"dartId,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#city".
    Kind string `json:"kind,omitempty"`

    // MetroCode: Metro region code of the metro region (DMA) to which this
    // city belongs.
    MetroCode string `json:"metroCode,omitempty"`

    // MetroDmaId: ID of the metro region (DMA) to which this city belongs.
    MetroDmaId int64 `json:"metroDmaId,omitempty,string"`

    // Name: Name of this city.
    Name string `json:"name,omitempty"`

    // RegionCode: Region code of the region to which this city belongs.
    RegionCode string `json:"regionCode,omitempty"`

    // RegionDartId: DART ID of the region to which this city belongs.
    RegionDartId int64 `json:"regionDartId,omitempty,string"`

    // ForceSendFields is a list of field names (e.g. "CountryCode") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CountryCode") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*City) MarshalJSON

func (s *City) MarshalJSON() ([]byte, error)

type ClickTag

ClickTag: Creative Click Tag.

type ClickTag struct {
    // EventName: Advertiser event name associated with the click tag. This
    // field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives.
    // Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.
    EventName string `json:"eventName,omitempty"`

    // Name: Parameter name for the specified click tag. For
    // DISPLAY_IMAGE_GALLERY creative assets, this field must match the
    // value of the creative asset's creativeAssetId.name field.
    Name string `json:"name,omitempty"`

    // Value: Parameter value for the specified click tag. This field
    // contains a click-through url.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "EventName") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "EventName") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ClickTag) MarshalJSON

func (s *ClickTag) MarshalJSON() ([]byte, error)

type ClickThroughUrl

ClickThroughUrl: Click-through URL

type ClickThroughUrl struct {
    // ComputedClickThroughUrl: Read-only convenience field representing the
    // actual URL that will be used for this click-through. The URL is
    // computed as follows:
    // - If defaultLandingPage is enabled then the campaign's default
    // landing page URL is assigned to this field.
    // - If defaultLandingPage is not enabled and a landingPageId is
    // specified then that landing page's URL is assigned to this field.
    // - If neither of the above cases apply, then the customClickThroughUrl
    // is assigned to this field.
    ComputedClickThroughUrl string `json:"computedClickThroughUrl,omitempty"`

    // CustomClickThroughUrl: Custom click-through URL. Applicable if the
    // defaultLandingPage field is set to false and the landingPageId field
    // is left unset.
    CustomClickThroughUrl string `json:"customClickThroughUrl,omitempty"`

    // DefaultLandingPage: Whether the campaign default landing page is
    // used.
    DefaultLandingPage bool `json:"defaultLandingPage,omitempty"`

    // LandingPageId: ID of the landing page for the click-through URL.
    // Applicable if the defaultLandingPage field is set to false.
    LandingPageId int64 `json:"landingPageId,omitempty,string"`

    // ForceSendFields is a list of field names (e.g.
    // "ComputedClickThroughUrl") to unconditionally include in API
    // requests. By default, fields with empty values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ComputedClickThroughUrl")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ClickThroughUrl) MarshalJSON

func (s *ClickThroughUrl) MarshalJSON() ([]byte, error)

type ClickThroughUrlSuffixProperties

ClickThroughUrlSuffixProperties: Click Through URL Suffix settings.

type ClickThroughUrlSuffixProperties struct {
    // ClickThroughUrlSuffix: Click-through URL suffix to apply to all ads
    // in this entity's scope. Must be less than 128 characters long.
    ClickThroughUrlSuffix string `json:"clickThroughUrlSuffix,omitempty"`

    // OverrideInheritedSuffix: Whether this entity should override the
    // inherited click-through URL suffix with its own defined value.
    OverrideInheritedSuffix bool `json:"overrideInheritedSuffix,omitempty"`

    // ForceSendFields is a list of field names (e.g.
    // "ClickThroughUrlSuffix") to unconditionally include in API requests.
    // By default, fields with empty values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ClickThroughUrlSuffix") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ClickThroughUrlSuffixProperties) MarshalJSON

func (s *ClickThroughUrlSuffixProperties) MarshalJSON() ([]byte, error)

type CompanionClickThroughOverride

CompanionClickThroughOverride: Companion Click-through override.

type CompanionClickThroughOverride struct {
    // ClickThroughUrl: Click-through URL of this companion click-through
    // override.
    ClickThroughUrl *ClickThroughUrl `json:"clickThroughUrl,omitempty"`

    // CreativeId: ID of the creative for this companion click-through
    // override.
    CreativeId int64 `json:"creativeId,omitempty,string"`

    // ForceSendFields is a list of field names (e.g. "ClickThroughUrl") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ClickThroughUrl") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CompanionClickThroughOverride) MarshalJSON

func (s *CompanionClickThroughOverride) MarshalJSON() ([]byte, error)

type CompanionSetting

CompanionSetting: Companion Settings

type CompanionSetting struct {
    // CompanionsDisabled: Whether companions are disabled for this
    // placement.
    CompanionsDisabled bool `json:"companionsDisabled,omitempty"`

    // EnabledSizes: Whitelist of companion sizes to be served to this
    // placement. Set this list to null or empty to serve all companion
    // sizes.
    EnabledSizes []*Size `json:"enabledSizes,omitempty"`

    // ImageOnly: Whether to serve only static images as companions.
    ImageOnly bool `json:"imageOnly,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#companionSetting".
    Kind string `json:"kind,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CompanionsDisabled")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CompanionsDisabled") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CompanionSetting) MarshalJSON

func (s *CompanionSetting) MarshalJSON() ([]byte, error)

type CompatibleFields

CompatibleFields: Represents a response to the queryCompatibleFields method.

type CompatibleFields struct {
    // CrossDimensionReachReportCompatibleFields: Contains items that are
    // compatible to be selected for a report of type
    // "CROSS_DIMENSION_REACH".
    CrossDimensionReachReportCompatibleFields *CrossDimensionReachReportCompatibleFields `json:"crossDimensionReachReportCompatibleFields,omitempty"`

    // FloodlightReportCompatibleFields: Contains items that are compatible
    // to be selected for a report of type "FLOODLIGHT".
    FloodlightReportCompatibleFields *FloodlightReportCompatibleFields `json:"floodlightReportCompatibleFields,omitempty"`

    // Kind: The kind of resource this is, in this case
    // dfareporting#compatibleFields.
    Kind string `json:"kind,omitempty"`

    // PathToConversionReportCompatibleFields: Contains items that are
    // compatible to be selected for a report of type "PATH_TO_CONVERSION".
    PathToConversionReportCompatibleFields *PathToConversionReportCompatibleFields `json:"pathToConversionReportCompatibleFields,omitempty"`

    // ReachReportCompatibleFields: Contains items that are compatible to be
    // selected for a report of type "REACH".
    ReachReportCompatibleFields *ReachReportCompatibleFields `json:"reachReportCompatibleFields,omitempty"`

    // ReportCompatibleFields: Contains items that are compatible to be
    // selected for a report of type "STANDARD".
    ReportCompatibleFields *ReportCompatibleFields `json:"reportCompatibleFields,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "CrossDimensionReachReportCompatibleFields") to unconditionally
    // include in API requests. By default, fields with empty values are
    // omitted from API requests. However, any non-pointer, non-interface
    // field appearing in ForceSendFields will be sent to the server
    // regardless of whether the field is empty or not. This may be used to
    // include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g.
    // "CrossDimensionReachReportCompatibleFields") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CompatibleFields) MarshalJSON

func (s *CompatibleFields) MarshalJSON() ([]byte, error)

type ConnectionType

ConnectionType: 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.

type ConnectionType struct {
    // Id: ID of this connection type.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#connectionType".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this connection type.
    Name string `json:"name,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConnectionType) MarshalJSON

func (s *ConnectionType) MarshalJSON() ([]byte, error)

type ConnectionTypesGetCall

type ConnectionTypesGetCall struct {
    // contains filtered or unexported fields
}

func (*ConnectionTypesGetCall) Context

func (c *ConnectionTypesGetCall) Context(ctx context.Context) *ConnectionTypesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ConnectionTypesGetCall) Do

func (c *ConnectionTypesGetCall) Do(opts ...googleapi.CallOption) (*ConnectionType, error)

Do executes the "dfareporting.connectionTypes.get" call. Exactly one of *ConnectionType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ConnectionType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConnectionTypesGetCall) Fields

func (c *ConnectionTypesGetCall) Fields(s ...googleapi.Field) *ConnectionTypesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ConnectionTypesGetCall) Header

func (c *ConnectionTypesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ConnectionTypesGetCall) IfNoneMatch

func (c *ConnectionTypesGetCall) IfNoneMatch(entityTag string) *ConnectionTypesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ConnectionTypesListCall

type ConnectionTypesListCall struct {
    // contains filtered or unexported fields
}

func (*ConnectionTypesListCall) Context

func (c *ConnectionTypesListCall) Context(ctx context.Context) *ConnectionTypesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ConnectionTypesListCall) Do

func (c *ConnectionTypesListCall) Do(opts ...googleapi.CallOption) (*ConnectionTypesListResponse, error)

Do executes the "dfareporting.connectionTypes.list" call. Exactly one of *ConnectionTypesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ConnectionTypesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConnectionTypesListCall) Fields

func (c *ConnectionTypesListCall) Fields(s ...googleapi.Field) *ConnectionTypesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ConnectionTypesListCall) Header

func (c *ConnectionTypesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ConnectionTypesListCall) IfNoneMatch

func (c *ConnectionTypesListCall) IfNoneMatch(entityTag string) *ConnectionTypesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ConnectionTypesListResponse

ConnectionTypesListResponse: Connection Type List Response

type ConnectionTypesListResponse struct {
    // ConnectionTypes: Collection of connection types such as broadband and
    // mobile.
    ConnectionTypes []*ConnectionType `json:"connectionTypes,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#connectionTypesListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "ConnectionTypes") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ConnectionTypes") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ConnectionTypesListResponse) MarshalJSON

func (s *ConnectionTypesListResponse) MarshalJSON() ([]byte, error)

type ConnectionTypesService

type ConnectionTypesService struct {
    // contains filtered or unexported fields
}

func NewConnectionTypesService

func NewConnectionTypesService(s *Service) *ConnectionTypesService

func (*ConnectionTypesService) Get

func (r *ConnectionTypesService) Get(profileId int64, id int64) *ConnectionTypesGetCall

Get: Gets one connection type by ID.

func (*ConnectionTypesService) List

func (r *ConnectionTypesService) List(profileId int64) *ConnectionTypesListCall

List: Retrieves a list of connection types.

type ContentCategoriesDeleteCall

type ContentCategoriesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesDeleteCall) Context

func (c *ContentCategoriesDeleteCall) Context(ctx context.Context) *ContentCategoriesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesDeleteCall) Do

func (c *ContentCategoriesDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "dfareporting.contentCategories.delete" call.

func (*ContentCategoriesDeleteCall) Fields

func (c *ContentCategoriesDeleteCall) Fields(s ...googleapi.Field) *ContentCategoriesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesDeleteCall) Header

func (c *ContentCategoriesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ContentCategoriesGetCall

type ContentCategoriesGetCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesGetCall) Context

func (c *ContentCategoriesGetCall) Context(ctx context.Context) *ContentCategoriesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesGetCall) Do

func (c *ContentCategoriesGetCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)

Do executes the "dfareporting.contentCategories.get" call. Exactly one of *ContentCategory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContentCategory.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ContentCategoriesGetCall) Fields

func (c *ContentCategoriesGetCall) Fields(s ...googleapi.Field) *ContentCategoriesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesGetCall) Header

func (c *ContentCategoriesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ContentCategoriesGetCall) IfNoneMatch

func (c *ContentCategoriesGetCall) IfNoneMatch(entityTag string) *ContentCategoriesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ContentCategoriesInsertCall

type ContentCategoriesInsertCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesInsertCall) Context

func (c *ContentCategoriesInsertCall) Context(ctx context.Context) *ContentCategoriesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesInsertCall) Do

func (c *ContentCategoriesInsertCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)

Do executes the "dfareporting.contentCategories.insert" call. Exactly one of *ContentCategory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContentCategory.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ContentCategoriesInsertCall) Fields

func (c *ContentCategoriesInsertCall) Fields(s ...googleapi.Field) *ContentCategoriesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesInsertCall) Header

func (c *ContentCategoriesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ContentCategoriesListCall

type ContentCategoriesListCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesListCall) Context

func (c *ContentCategoriesListCall) Context(ctx context.Context) *ContentCategoriesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesListCall) Do

func (c *ContentCategoriesListCall) Do(opts ...googleapi.CallOption) (*ContentCategoriesListResponse, error)

Do executes the "dfareporting.contentCategories.list" call. Exactly one of *ContentCategoriesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContentCategoriesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ContentCategoriesListCall) Fields

func (c *ContentCategoriesListCall) Fields(s ...googleapi.Field) *ContentCategoriesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesListCall) Header

func (c *ContentCategoriesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ContentCategoriesListCall) Ids

func (c *ContentCategoriesListCall) Ids(ids ...int64) *ContentCategoriesListCall

Ids sets the optional parameter "ids": Select only content categories with these IDs.

func (*ContentCategoriesListCall) IfNoneMatch

func (c *ContentCategoriesListCall) IfNoneMatch(entityTag string) *ContentCategoriesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ContentCategoriesListCall) MaxResults

func (c *ContentCategoriesListCall) MaxResults(maxResults int64) *ContentCategoriesListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*ContentCategoriesListCall) PageToken

func (c *ContentCategoriesListCall) PageToken(pageToken string) *ContentCategoriesListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*ContentCategoriesListCall) Pages

func (c *ContentCategoriesListCall) Pages(ctx context.Context, f func(*ContentCategoriesListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*ContentCategoriesListCall) SearchString

func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCategoriesListCall

SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "contentcategory*2015" will return objects with names like "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "contentcategory" will match objects with name "my contentcategory", "contentcategory 2015", or simply "contentcategory".

func (*ContentCategoriesListCall) SortField

func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*ContentCategoriesListCall) SortOrder

func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type ContentCategoriesListResponse

ContentCategoriesListResponse: Content Category List Response

type ContentCategoriesListResponse struct {
    // ContentCategories: Content category collection.
    ContentCategories []*ContentCategory `json:"contentCategories,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#contentCategoriesListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "ContentCategories")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ContentCategories") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ContentCategoriesListResponse) MarshalJSON

func (s *ContentCategoriesListResponse) MarshalJSON() ([]byte, error)

type ContentCategoriesPatchCall

type ContentCategoriesPatchCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesPatchCall) Context

func (c *ContentCategoriesPatchCall) Context(ctx context.Context) *ContentCategoriesPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesPatchCall) Do

func (c *ContentCategoriesPatchCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)

Do executes the "dfareporting.contentCategories.patch" call. Exactly one of *ContentCategory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContentCategory.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ContentCategoriesPatchCall) Fields

func (c *ContentCategoriesPatchCall) Fields(s ...googleapi.Field) *ContentCategoriesPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesPatchCall) Header

func (c *ContentCategoriesPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ContentCategoriesService

type ContentCategoriesService struct {
    // contains filtered or unexported fields
}

func NewContentCategoriesService

func NewContentCategoriesService(s *Service) *ContentCategoriesService

func (*ContentCategoriesService) Delete

func (r *ContentCategoriesService) Delete(profileId int64, id int64) *ContentCategoriesDeleteCall

Delete: Deletes an existing content category.

func (*ContentCategoriesService) Get

func (r *ContentCategoriesService) Get(profileId int64, id int64) *ContentCategoriesGetCall

Get: Gets one content category by ID.

func (*ContentCategoriesService) Insert

func (r *ContentCategoriesService) Insert(profileId int64, contentcategory *ContentCategory) *ContentCategoriesInsertCall

Insert: Inserts a new content category.

func (*ContentCategoriesService) List

func (r *ContentCategoriesService) List(profileId int64) *ContentCategoriesListCall

List: Retrieves a list of content categories, possibly filtered. This method supports paging.

func (*ContentCategoriesService) Patch

func (r *ContentCategoriesService) Patch(profileId int64, id int64, contentcategory *ContentCategory) *ContentCategoriesPatchCall

Patch: Updates an existing content category. This method supports patch semantics.

func (*ContentCategoriesService) Update

func (r *ContentCategoriesService) Update(profileId int64, contentcategory *ContentCategory) *ContentCategoriesUpdateCall

Update: Updates an existing content category.

type ContentCategoriesUpdateCall

type ContentCategoriesUpdateCall struct {
    // contains filtered or unexported fields
}

func (*ContentCategoriesUpdateCall) Context

func (c *ContentCategoriesUpdateCall) Context(ctx context.Context) *ContentCategoriesUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ContentCategoriesUpdateCall) Do

func (c *ContentCategoriesUpdateCall) Do(opts ...googleapi.CallOption) (*ContentCategory, error)

Do executes the "dfareporting.contentCategories.update" call. Exactly one of *ContentCategory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContentCategory.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ContentCategoriesUpdateCall) Fields

func (c *ContentCategoriesUpdateCall) Fields(s ...googleapi.Field) *ContentCategoriesUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ContentCategoriesUpdateCall) Header

func (c *ContentCategoriesUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ContentCategory

ContentCategory: Organizes placements according to the contents of their associated webpages.

type ContentCategory struct {
    // AccountId: Account ID of this content category. This is a read-only
    // field that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Id: ID of this content category. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#contentCategory".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this content category. This is a required field and
    // must be less than 256 characters long and unique among content
    // categories of the same account.
    Name string `json:"name,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ContentCategory) MarshalJSON

func (s *ContentCategory) MarshalJSON() ([]byte, error)

type Conversion

Conversion: A Conversion represents when a user successfully performs a desired action after seeing an ad.

type Conversion struct {
    // ChildDirectedTreatment: Whether the conversion was directed toward
    // children.
    ChildDirectedTreatment bool `json:"childDirectedTreatment,omitempty"`

    // CustomVariables: Custom floodlight variables.
    CustomVariables []*CustomFloodlightVariable `json:"customVariables,omitempty"`

    // EncryptedUserId: The alphanumeric encrypted user ID. When set,
    // encryptionInfo should also be specified. This field is mutually
    // exclusive with encryptedUserIdCandidates[] and mobileDeviceId. This
    // or encryptedUserIdCandidates[] or mobileDeviceId is a required field.
    EncryptedUserId string `json:"encryptedUserId,omitempty"`

    // EncryptedUserIdCandidates: A list of the alphanumeric encrypted user
    // IDs. Any user ID with exposure prior to the conversion timestamp will
    // be used in the inserted conversion. If no such user ID is found then
    // the conversion will be rejected with NO_COOKIE_MATCH_FOUND error.
    // When set, encryptionInfo should also be specified. This field may
    // only be used when calling batchinsert; it is not supported by
    // batchupdate. This field is mutually exclusive with encryptedUserId
    // and mobileDeviceId. This or encryptedUserId or mobileDeviceId is a
    // required field.
    EncryptedUserIdCandidates []string `json:"encryptedUserIdCandidates,omitempty"`

    // FloodlightActivityId: Floodlight Activity ID of this conversion. This
    // is a required field.
    FloodlightActivityId int64 `json:"floodlightActivityId,omitempty,string"`

    // FloodlightConfigurationId: Floodlight Configuration ID of this
    // conversion. This is a required field.
    FloodlightConfigurationId int64 `json:"floodlightConfigurationId,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversion".
    Kind string `json:"kind,omitempty"`

    // LimitAdTracking: Whether Limit Ad Tracking is enabled. When set to
    // true, the conversion will be used for reporting but not targeting.
    // This will prevent remarketing.
    LimitAdTracking bool `json:"limitAdTracking,omitempty"`

    // MobileDeviceId: The mobile device ID. This field is mutually
    // exclusive with encryptedUserId and encryptedUserIdCandidates[]. This
    // or encryptedUserId or encryptedUserIdCandidates[] is a required
    // field.
    MobileDeviceId string `json:"mobileDeviceId,omitempty"`

    // Ordinal: The ordinal of the conversion. Use this field to control how
    // conversions of the same user and day are de-duplicated. This is a
    // required field.
    Ordinal string `json:"ordinal,omitempty"`

    // Quantity: The quantity of the conversion.
    Quantity int64 `json:"quantity,omitempty,string"`

    // TimestampMicros: The timestamp of conversion, in Unix epoch micros.
    // This is a required field.
    TimestampMicros int64 `json:"timestampMicros,omitempty,string"`

    // Value: The value of the conversion.
    Value float64 `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g.
    // "ChildDirectedTreatment") to unconditionally include in API requests.
    // By default, fields with empty values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ChildDirectedTreatment")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*Conversion) MarshalJSON

func (s *Conversion) MarshalJSON() ([]byte, error)

func (*Conversion) UnmarshalJSON

func (s *Conversion) UnmarshalJSON(data []byte) error

type ConversionError

ConversionError: The error code and description for a conversion that failed to insert or update.

type ConversionError struct {
    // Code: The error code.
    //
    // Possible values:
    //   "INTERNAL"
    //   "INVALID_ARGUMENT"
    //   "NOT_FOUND"
    //   "PERMISSION_DENIED"
    Code string `json:"code,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionError".
    Kind string `json:"kind,omitempty"`

    // Message: A description of the error.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionError) MarshalJSON

func (s *ConversionError) MarshalJSON() ([]byte, error)

type ConversionStatus

ConversionStatus: The original conversion that was inserted or updated and whether there were any errors.

type ConversionStatus struct {
    // Conversion: The original conversion that was inserted or updated.
    Conversion *Conversion `json:"conversion,omitempty"`

    // Errors: A list of errors related to this conversion.
    Errors []*ConversionError `json:"errors,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionStatus".
    Kind string `json:"kind,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conversion") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Conversion") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionStatus) MarshalJSON

func (s *ConversionStatus) MarshalJSON() ([]byte, error)

type ConversionsBatchInsertRequest

ConversionsBatchInsertRequest: Insert Conversions Request.

type ConversionsBatchInsertRequest struct {
    // Conversions: The set of conversions to insert.
    Conversions []*Conversion `json:"conversions,omitempty"`

    // EncryptionInfo: Describes how encryptedUserId or
    // encryptedUserIdCandidates[] is encrypted. This is a required field if
    // encryptedUserId or encryptedUserIdCandidates[] is used.
    EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionsBatchInsertRequest".
    Kind string `json:"kind,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conversions") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Conversions") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionsBatchInsertRequest) MarshalJSON

func (s *ConversionsBatchInsertRequest) MarshalJSON() ([]byte, error)

type ConversionsBatchInsertResponse

ConversionsBatchInsertResponse: Insert Conversions Response.

type ConversionsBatchInsertResponse struct {
    // HasFailures: Indicates that some or all conversions failed to insert.
    HasFailures bool `json:"hasFailures,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionsBatchInsertResponse".
    Kind string `json:"kind,omitempty"`

    // Status: The insert status of each conversion. Statuses are returned
    // in the same order that conversions are inserted.
    Status []*ConversionStatus `json:"status,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "HasFailures") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "HasFailures") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionsBatchInsertResponse) MarshalJSON

func (s *ConversionsBatchInsertResponse) MarshalJSON() ([]byte, error)

type ConversionsBatchUpdateRequest

ConversionsBatchUpdateRequest: Update Conversions Request.

type ConversionsBatchUpdateRequest struct {
    // Conversions: The set of conversions to update.
    Conversions []*Conversion `json:"conversions,omitempty"`

    // EncryptionInfo: Describes how encryptedUserId is encrypted. This is a
    // required field if encryptedUserId is used.
    EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionsBatchUpdateRequest".
    Kind string `json:"kind,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conversions") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Conversions") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionsBatchUpdateRequest) MarshalJSON

func (s *ConversionsBatchUpdateRequest) MarshalJSON() ([]byte, error)

type ConversionsBatchUpdateResponse

ConversionsBatchUpdateResponse: Update Conversions Response.

type ConversionsBatchUpdateResponse struct {
    // HasFailures: Indicates that some or all conversions failed to update.
    HasFailures bool `json:"hasFailures,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#conversionsBatchUpdateResponse".
    Kind string `json:"kind,omitempty"`

    // Status: The update status of each conversion. Statuses are returned
    // in the same order that conversions are updated.
    Status []*ConversionStatus `json:"status,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "HasFailures") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "HasFailures") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ConversionsBatchUpdateResponse) MarshalJSON

func (s *ConversionsBatchUpdateResponse) MarshalJSON() ([]byte, error)

type ConversionsBatchinsertCall

type ConversionsBatchinsertCall struct {
    // contains filtered or unexported fields
}

func (*ConversionsBatchinsertCall) Context

func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ConversionsBatchinsertCall) Do

func (c *ConversionsBatchinsertCall) Do(opts ...googleapi.CallOption) (*ConversionsBatchInsertResponse, error)

Do executes the "dfareporting.conversions.batchinsert" call. Exactly one of *ConversionsBatchInsertResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ConversionsBatchInsertResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConversionsBatchinsertCall) Fields

func (c *ConversionsBatchinsertCall) Fields(s ...googleapi.Field) *ConversionsBatchinsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ConversionsBatchinsertCall) Header

func (c *ConversionsBatchinsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ConversionsBatchupdateCall

type ConversionsBatchupdateCall struct {
    // contains filtered or unexported fields
}

func (*ConversionsBatchupdateCall) Context

func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ConversionsBatchupdateCall) Do

func (c *ConversionsBatchupdateCall) Do(opts ...googleapi.CallOption) (*ConversionsBatchUpdateResponse, error)

Do executes the "dfareporting.conversions.batchupdate" call. Exactly one of *ConversionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ConversionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConversionsBatchupdateCall) Fields

func (c *ConversionsBatchupdateCall) Fields(s ...googleapi.Field) *ConversionsBatchupdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ConversionsBatchupdateCall) Header

func (c *ConversionsBatchupdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ConversionsService

type ConversionsService struct {
    // contains filtered or unexported fields
}

func NewConversionsService

func NewConversionsService(s *Service) *ConversionsService

func (*ConversionsService) Batchinsert

func (r *ConversionsService) Batchinsert(profileId int64, conversionsbatchinsertrequest *ConversionsBatchInsertRequest) *ConversionsBatchinsertCall

Batchinsert: Inserts conversions.

func (*ConversionsService) Batchupdate

func (r *ConversionsService) Batchupdate(profileId int64, conversionsbatchupdaterequest *ConversionsBatchUpdateRequest) *ConversionsBatchupdateCall

Batchupdate: Updates existing conversions.

type CountriesGetCall

type CountriesGetCall struct {
    // contains filtered or unexported fields
}

func (*CountriesGetCall) Context

func (c *CountriesGetCall) Context(ctx context.Context) *CountriesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CountriesGetCall) Do

func (c *CountriesGetCall) Do(opts ...googleapi.CallOption) (*Country, error)

Do executes the "dfareporting.countries.get" call. Exactly one of *Country or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Country.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CountriesGetCall) Fields

func (c *CountriesGetCall) Fields(s ...googleapi.Field) *CountriesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CountriesGetCall) Header

func (c *CountriesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CountriesGetCall) IfNoneMatch

func (c *CountriesGetCall) IfNoneMatch(entityTag string) *CountriesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CountriesListCall

type CountriesListCall struct {
    // contains filtered or unexported fields
}

func (*CountriesListCall) Context

func (c *CountriesListCall) Context(ctx context.Context) *CountriesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CountriesListCall) Do

func (c *CountriesListCall) Do(opts ...googleapi.CallOption) (*CountriesListResponse, error)

Do executes the "dfareporting.countries.list" call. Exactly one of *CountriesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CountriesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CountriesListCall) Fields

func (c *CountriesListCall) Fields(s ...googleapi.Field) *CountriesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CountriesListCall) Header

func (c *CountriesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CountriesListCall) IfNoneMatch

func (c *CountriesListCall) IfNoneMatch(entityTag string) *CountriesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CountriesListResponse

CountriesListResponse: Country List Response

type CountriesListResponse struct {
    // Countries: Country collection.
    Countries []*Country `json:"countries,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#countriesListResponse".
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Countries") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Countries") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CountriesListResponse) MarshalJSON

func (s *CountriesListResponse) MarshalJSON() ([]byte, error)

type CountriesService

type CountriesService struct {
    // contains filtered or unexported fields
}

func NewCountriesService

func NewCountriesService(s *Service) *CountriesService

func (*CountriesService) Get

func (r *CountriesService) Get(profileId int64, dartId int64) *CountriesGetCall

Get: Gets one country by ID.

func (*CountriesService) List

func (r *CountriesService) List(profileId int64) *CountriesListCall

List: Retrieves a list of countries.

type Country

Country: Contains information about a country that can be targeted by ads.

type Country struct {
    // CountryCode: Country code.
    CountryCode string `json:"countryCode,omitempty"`

    // DartId: DART ID of this country. This is the ID used for targeting
    // and generating reports.
    DartId int64 `json:"dartId,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#country".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this country.
    Name string `json:"name,omitempty"`

    // SslEnabled: Whether ad serving supports secure servers in this
    // country.
    SslEnabled bool `json:"sslEnabled,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CountryCode") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CountryCode") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Country) MarshalJSON

func (s *Country) MarshalJSON() ([]byte, error)

type Creative

Creative: Contains properties of a Creative.

type Creative struct {
    // AccountId: Account ID of this creative. This field, if left unset,
    // will be auto-generated for both insert and update operations.
    // Applicable to all creative types.
    AccountId int64 `json:"accountId,omitempty,string"`

    // Active: Whether the creative is active. Applicable to all creative
    // types.
    Active bool `json:"active,omitempty"`

    // AdParameters: Ad parameters user for VPAID creative. This is a
    // read-only field. Applicable to the following creative types: all
    // VPAID.
    AdParameters string `json:"adParameters,omitempty"`

    // AdTagKeys: Keywords for a Rich Media creative. Keywords let you
    // customize the creative settings of a Rich Media ad running on your
    // site without having to contact the advertiser. You can use keywords
    // to dynamically change the look or functionality of a creative.
    // Applicable to the following creative types: all RICH_MEDIA, and all
    // VPAID.
    AdTagKeys []string `json:"adTagKeys,omitempty"`

    // AdvertiserId: Advertiser ID of this creative. This is a required
    // field. Applicable to all creative types.
    AdvertiserId int64 `json:"advertiserId,omitempty,string"`

    // AllowScriptAccess: Whether script access is allowed for this
    // creative. This is a read-only and deprecated field which will
    // automatically be set to true on update. Applicable to the following
    // creative types: FLASH_INPAGE.
    AllowScriptAccess bool `json:"allowScriptAccess,omitempty"`

    // Archived: Whether the creative is archived. Applicable to all
    // creative types.
    Archived bool `json:"archived,omitempty"`

    // ArtworkType: Type of artwork used for the creative. This is a
    // read-only field. Applicable to the following creative types: all
    // RICH_MEDIA, and all VPAID.
    //
    // Possible values:
    //   "ARTWORK_TYPE_FLASH"
    //   "ARTWORK_TYPE_HTML5"
    //   "ARTWORK_TYPE_IMAGE"
    //   "ARTWORK_TYPE_MIXED"
    ArtworkType string `json:"artworkType,omitempty"`

    // AuthoringSource: Source application where creative was authored.
    // Presently, only DBM authored creatives will have this field set.
    // Applicable to all creative types.
    //
    // Possible values:
    //   "CREATIVE_AUTHORING_SOURCE_DBM"
    //   "CREATIVE_AUTHORING_SOURCE_DCM"
    //   "CREATIVE_AUTHORING_SOURCE_STUDIO"
    AuthoringSource string `json:"authoringSource,omitempty"`

    // AuthoringTool: Authoring tool for HTML5 banner creatives. This is a
    // read-only field. Applicable to the following creative types:
    // HTML5_BANNER.
    //
    // Possible values:
    //   "NINJA"
    //   "SWIFFY"
    AuthoringTool string `json:"authoringTool,omitempty"`

    // AutoAdvanceImages: Whether images are automatically advanced for
    // image gallery creatives. Applicable to the following creative types:
    // DISPLAY_IMAGE_GALLERY.
    AutoAdvanceImages bool `json:"autoAdvanceImages,omitempty"`

    // BackgroundColor: The 6-character HTML color code, beginning with #,
    // for the background of the window area where the Flash file is
    // displayed. Default is white. Applicable to the following creative
    // types: FLASH_INPAGE.
    BackgroundColor string `json:"backgroundColor,omitempty"`

    // BackupImageClickThroughUrl: Click-through URL for backup image.
    // Applicable to the following creative types: FLASH_INPAGE and
    // HTML5_BANNER. Applicable to DISPLAY when the primary asset type is
    // not HTML_IMAGE.
    BackupImageClickThroughUrl string `json:"backupImageClickThroughUrl,omitempty"`

    // BackupImageFeatures: List of feature dependencies that will cause a
    // backup image to be served if the browser that serves the ad does not
    // support them. Feature dependencies are features that a browser must
    // be able to support in order to render your HTML5 creative asset
    // correctly. This field is initially auto-generated to contain all
    // features detected by DCM for all the assets of this creative and can
    // then be modified by the client. To reset this field, copy over all
    // the creativeAssets' detected features. Applicable to the following
    // creative types: HTML5_BANNER. Applicable to DISPLAY when the primary
    // asset type is not HTML_IMAGE.
    //
    // Possible values:
    //   "APPLICATION_CACHE"
    //   "AUDIO"
    //   "CANVAS"
    //   "CANVAS_TEXT"
    //   "CSS_ANIMATIONS"
    //   "CSS_BACKGROUND_SIZE"
    //   "CSS_BORDER_IMAGE"
    //   "CSS_BORDER_RADIUS"
    //   "CSS_BOX_SHADOW"
    //   "CSS_COLUMNS"
    //   "CSS_FLEX_BOX"
    //   "CSS_FONT_FACE"
    //   "CSS_GENERATED_CONTENT"
    //   "CSS_GRADIENTS"
    //   "CSS_HSLA"
    //   "CSS_MULTIPLE_BGS"
    //   "CSS_OPACITY"
    //   "CSS_REFLECTIONS"
    //   "CSS_RGBA"
    //   "CSS_TEXT_SHADOW"
    //   "CSS_TRANSFORMS"
    //   "CSS_TRANSFORMS3D"
    //   "CSS_TRANSITIONS"
    //   "DRAG_AND_DROP"
    //   "GEO_LOCATION"
    //   "HASH_CHANGE"
    //   "HISTORY"
    //   "INDEXED_DB"
    //   "INLINE_SVG"
    //   "INPUT_ATTR_AUTOCOMPLETE"
    //   "INPUT_ATTR_AUTOFOCUS"
    //   "INPUT_ATTR_LIST"
    //   "INPUT_ATTR_MAX"
    //   "INPUT_ATTR_MIN"
    //   "INPUT_ATTR_MULTIPLE"
    //   "INPUT_ATTR_PATTERN"
    //   "INPUT_ATTR_PLACEHOLDER"
    //   "INPUT_ATTR_REQUIRED"
    //   "INPUT_ATTR_STEP"
    //   "INPUT_TYPE_COLOR"
    //   "INPUT_TYPE_DATE"
    //   "INPUT_TYPE_DATETIME"
    //   "INPUT_TYPE_DATETIME_LOCAL"
    //   "INPUT_TYPE_EMAIL"
    //   "INPUT_TYPE_MONTH"
    //   "INPUT_TYPE_NUMBER"
    //   "INPUT_TYPE_RANGE"
    //   "INPUT_TYPE_SEARCH"
    //   "INPUT_TYPE_TEL"
    //   "INPUT_TYPE_TIME"
    //   "INPUT_TYPE_URL"
    //   "INPUT_TYPE_WEEK"
    //   "LOCAL_STORAGE"
    //   "POST_MESSAGE"
    //   "SESSION_STORAGE"
    //   "SMIL"
    //   "SVG_CLIP_PATHS"
    //   "SVG_FE_IMAGE"
    //   "SVG_FILTERS"
    //   "SVG_HREF"
    //   "TOUCH"
    //   "VIDEO"
    //   "WEBGL"
    //   "WEB_SOCKETS"
    //   "WEB_SQL_DATABASE"
    //   "WEB_WORKERS"
    BackupImageFeatures []string `json:"backupImageFeatures,omitempty"`

    // BackupImageReportingLabel: Reporting label used for HTML5 banner
    // backup image. Applicable to the following creative types: DISPLAY
    // when the primary asset type is not HTML_IMAGE.
    BackupImageReportingLabel string `json:"backupImageReportingLabel,omitempty"`

    // BackupImageTargetWindow: Target window for backup image. Applicable
    // to the following creative types: FLASH_INPAGE and HTML5_BANNER.
    // Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.
    BackupImageTargetWindow *TargetWindow `json:"backupImageTargetWindow,omitempty"`

    // ClickTags: Click tags of the creative. For DISPLAY, FLASH_INPAGE, and
    // HTML5_BANNER creatives, this is a subset of detected click tags for
    // the assets associated with this creative. After creating a flash
    // asset, detected click tags will be returned in the
    // creativeAssetMetadata. When inserting the creative, populate the
    // creative clickTags field using the creativeAssetMetadata.clickTags
    // field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly
    // one entry in this list for each image creative asset. A click tag is
    // matched with a corresponding creative asset by matching the
    // clickTag.name field with the creativeAsset.assetIdentifier.name
    // field. Applicable to the following creative types:
    // DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to
    // DISPLAY when the primary asset type is not HTML_IMAGE.
    ClickTags []*ClickTag `json:"clickTags,omitempty"`

    // CommercialId: Industry standard ID assigned to creative for reach and
    // frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.
    CommercialId string `json:"commercialId,omitempty"`

    // CompanionCreatives: List of companion creatives assigned to an
    // in-Stream videocreative. Acceptable values include IDs of existing
    // flash and image creatives. Applicable to the following creative
    // types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection
    // set to false.
    CompanionCreatives googleapi.Int64s `json:"companionCreatives,omitempty"`

    // Compatibility: Compatibilities associated with this creative. This is
    // a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to
    // rendering either on desktop or on mobile devices or in mobile apps
    // for regular or interstitial ads, respectively. APP and
    // APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing
    // creatives may have these compatibilities since new creatives will
    // either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead.
    // IN_STREAM_VIDEO refers to rendering in in-stream video ads developed
    // with the VAST standard. Applicable to all creative types.
    //
    // Acceptable values are:
    // - "APP"
    // - "APP_INTERSTITIAL"
    // - "IN_STREAM_VIDEO"
    // - "DISPLAY"
    // - "DISPLAY_INTERSTITIAL"
    //
    // Possible values:
    //   "APP"
    //   "APP_INTERSTITIAL"
    //   "DISPLAY"
    //   "DISPLAY_INTERSTITIAL"
    //   "IN_STREAM_VIDEO"
    Compatibility []string `json:"compatibility,omitempty"`

    // ConvertFlashToHtml5: Whether Flash assets associated with the
    // creative need to be automatically converted to HTML5. This flag is
    // enabled by default and users can choose to disable it if they don't
    // want the system to generate and use HTML5 asset for this creative.
    // Applicable to the following creative type: FLASH_INPAGE. Applicable
    // to DISPLAY when the primary asset type is not HTML_IMAGE.
    ConvertFlashToHtml5 bool `json:"convertFlashToHtml5,omitempty"`

    // CounterCustomEvents: List of counter events configured for the
    // creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only
    // and auto-generated from clickTags. Applicable to the following
    // creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.
    CounterCustomEvents []*CreativeCustomEvent `json:"counterCustomEvents,omitempty"`

    // CreativeAssetSelection: Required if dynamicAssetSelection is true.
    CreativeAssetSelection *CreativeAssetSelection `json:"creativeAssetSelection,omitempty"`

    // CreativeAssets: Assets associated with a creative. Applicable to all
    // but the following creative types: INTERNAL_REDIRECT,
    // INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
    CreativeAssets []*CreativeAsset `json:"creativeAssets,omitempty"`

    // CreativeFieldAssignments: Creative field assignments for this
    // creative. Applicable to all creative types.
    CreativeFieldAssignments []*CreativeFieldAssignment `json:"creativeFieldAssignments,omitempty"`

    // CustomKeyValues: Custom key-values for a Rich Media creative.
    // Key-values let you customize the creative settings of a Rich Media ad
    // running on your site without having to contact the advertiser. You
    // can use key-values to dynamically change the look or functionality of
    // a creative. Applicable to the following creative types: all
    // RICH_MEDIA, and all VPAID.
    CustomKeyValues []string `json:"customKeyValues,omitempty"`

    // DynamicAssetSelection: Set this to true to enable the use of rules to
    // target individual assets in this creative. When set to true
    // creativeAssetSelection must be set. This also controls asset-level
    // companions. When this is true, companion creatives should be assigned
    // to creative assets. Learn more. Applicable to INSTREAM_VIDEO
    // creatives.
    DynamicAssetSelection bool `json:"dynamicAssetSelection,omitempty"`

    // ExitCustomEvents: List of exit events configured for the creative.
    // For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only
    // and auto-generated from clickTags, For DISPLAY, an event is also
    // created from the backupImageReportingLabel. Applicable to the
    // following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and
    // all VPAID. Applicable to DISPLAY when the primary asset type is not
    // HTML_IMAGE.
    ExitCustomEvents []*CreativeCustomEvent `json:"exitCustomEvents,omitempty"`

    // FsCommand: OpenWindow FSCommand of this creative. This lets the SWF
    // file communicate with either Flash Player or the program hosting
    // Flash Player, such as a web browser. This is only triggered if
    // allowScriptAccess field is true. Applicable to the following creative
    // types: FLASH_INPAGE.
    FsCommand *FsCommand `json:"fsCommand,omitempty"`

    // HtmlCode: HTML code for the creative. This is a required field when
    // applicable. This field is ignored if htmlCodeLocked is false.
    // Applicable to the following creative types: all CUSTOM, FLASH_INPAGE,
    // and HTML5_BANNER, and all RICH_MEDIA.
    HtmlCode string `json:"htmlCode,omitempty"`

    // HtmlCodeLocked: Whether HTML code is DCM-generated or manually
    // entered. Set to true to ignore changes to htmlCode. Applicable to the
    // following creative types: FLASH_INPAGE and HTML5_BANNER.
    HtmlCodeLocked bool `json:"htmlCodeLocked,omitempty"`

    // Id: ID of this creative. This is a read-only, auto-generated field.
    // Applicable to all creative types.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the ID of this creative. This
    // is a read-only field. Applicable to all creative types.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creative".
    Kind string `json:"kind,omitempty"`

    // LastModifiedInfo: Creative last modification information. This is a
    // read-only field. Applicable to all creative types.
    LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"`

    // LatestTraffickedCreativeId: Latest Studio trafficked creative ID
    // associated with rich media and VPAID creatives. This is a read-only
    // field. Applicable to the following creative types: all RICH_MEDIA,
    // and all VPAID.
    LatestTraffickedCreativeId int64 `json:"latestTraffickedCreativeId,omitempty,string"`

    // Name: Name of the creative. This is a required field and must be less
    // than 256 characters long. Applicable to all creative types.
    Name string `json:"name,omitempty"`

    // OverrideCss: Override CSS value for rich media creatives. Applicable
    // to the following creative types: all RICH_MEDIA.
    OverrideCss string `json:"overrideCss,omitempty"`

    // ProgressOffset: Amount of time to play the video before counting a
    // view. Applicable to the following creative types: all INSTREAM_VIDEO.
    ProgressOffset *VideoOffset `json:"progressOffset,omitempty"`

    // RedirectUrl: URL of hosted image or hosted video or another ad tag.
    // For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video
    // redirect URL. The standard for a VAST (Video Ad Serving Template) ad
    // response allows for a redirect link to another VAST 2.0 or 3.0 call.
    // This is a required field when applicable. Applicable to the following
    // creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT,
    // INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT
    RedirectUrl string `json:"redirectUrl,omitempty"`

    // RenderingId: ID of current rendering version. This is a read-only
    // field. Applicable to all creative types.
    RenderingId int64 `json:"renderingId,omitempty,string"`

    // RenderingIdDimensionValue: Dimension value for the rendering ID of
    // this creative. This is a read-only field. Applicable to all creative
    // types.
    RenderingIdDimensionValue *DimensionValue `json:"renderingIdDimensionValue,omitempty"`

    // RequiredFlashPluginVersion: The minimum required Flash plugin version
    // for this creative. For example, 11.2.202.235. This is a read-only
    // field. Applicable to the following creative types: all RICH_MEDIA,
    // and all VPAID.
    RequiredFlashPluginVersion string `json:"requiredFlashPluginVersion,omitempty"`

    // RequiredFlashVersion: The internal Flash version for this creative as
    // calculated by DoubleClick Studio. This is a read-only field.
    // Applicable to the following creative types: FLASH_INPAGE all
    // RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary
    // asset type is not HTML_IMAGE.
    RequiredFlashVersion int64 `json:"requiredFlashVersion,omitempty"`

    // Size: Size associated with this creative. When inserting or updating
    // a creative either the size ID field or size width and height fields
    // can be used. This is a required field when applicable; however for
    // IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a
    // primary asset of type HTML_IMAGE, if left blank, this field will be
    // automatically set using the actual size of the associated image
    // assets. Applicable to the following creative types: DISPLAY,
    // DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all
    // RICH_MEDIA.
    Size *Size `json:"size,omitempty"`

    // SkipOffset: Amount of time to play the video before the skip button
    // appears. Applicable to the following creative types: all
    // INSTREAM_VIDEO.
    SkipOffset *VideoOffset `json:"skipOffset,omitempty"`

    // Skippable: Whether the user can choose to skip the creative.
    // Applicable to the following creative types: all INSTREAM_VIDEO and
    // all VPAID.
    Skippable bool `json:"skippable,omitempty"`

    // SslCompliant: Whether the creative is SSL-compliant. This is a
    // read-only field. Applicable to all creative types.
    SslCompliant bool `json:"sslCompliant,omitempty"`

    // SslOverride: Whether creative should be treated as SSL compliant even
    // if the system scan shows it's not. Applicable to all creative types.
    SslOverride bool `json:"sslOverride,omitempty"`

    // StudioAdvertiserId: Studio advertiser ID associated with rich media
    // and VPAID creatives. This is a read-only field. Applicable to the
    // following creative types: all RICH_MEDIA, and all VPAID.
    StudioAdvertiserId int64 `json:"studioAdvertiserId,omitempty,string"`

    // StudioCreativeId: Studio creative ID associated with rich media and
    // VPAID creatives. This is a read-only field. Applicable to the
    // following creative types: all RICH_MEDIA, and all VPAID.
    StudioCreativeId int64 `json:"studioCreativeId,omitempty,string"`

    // StudioTraffickedCreativeId: Studio trafficked creative ID associated
    // with rich media and VPAID creatives. This is a read-only field.
    // Applicable to the following creative types: all RICH_MEDIA, and all
    // VPAID.
    StudioTraffickedCreativeId int64 `json:"studioTraffickedCreativeId,omitempty,string"`

    // SubaccountId: Subaccount ID of this creative. This field, if left
    // unset, will be auto-generated for both insert and update operations.
    // Applicable to all creative types.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // ThirdPartyBackupImageImpressionsUrl: Third-party URL used to record
    // backup image impressions. Applicable to the following creative types:
    // all RICH_MEDIA.
    ThirdPartyBackupImageImpressionsUrl string `json:"thirdPartyBackupImageImpressionsUrl,omitempty"`

    // ThirdPartyRichMediaImpressionsUrl: Third-party URL used to record
    // rich media impressions. Applicable to the following creative types:
    // all RICH_MEDIA.
    ThirdPartyRichMediaImpressionsUrl string `json:"thirdPartyRichMediaImpressionsUrl,omitempty"`

    // ThirdPartyUrls: Third-party URLs for tracking in-stream video
    // creative events. Applicable to the following creative types: all
    // INSTREAM_VIDEO and all VPAID.
    ThirdPartyUrls []*ThirdPartyTrackingUrl `json:"thirdPartyUrls,omitempty"`

    // TimerCustomEvents: List of timer events configured for the creative.
    // For DISPLAY_IMAGE_GALLERY creatives, these are read-only and
    // auto-generated from clickTags. Applicable to the following creative
    // types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.
    // Applicable to DISPLAY when the primary asset is not HTML_IMAGE.
    TimerCustomEvents []*CreativeCustomEvent `json:"timerCustomEvents,omitempty"`

    // TotalFileSize: Combined size of all creative assets. This is a
    // read-only field. Applicable to the following creative types: all
    // RICH_MEDIA, and all VPAID.
    TotalFileSize int64 `json:"totalFileSize,omitempty,string"`

    // Type: Type of this creative. This is a required field. Applicable to
    // all creative types.
    //
    // Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for
    // existing creatives. New creatives should use DISPLAY as a replacement
    // for these types.
    //
    // Possible values:
    //   "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
    //   "CUSTOM_DISPLAY"
    //   "CUSTOM_DISPLAY_INTERSTITIAL"
    //   "DISPLAY"
    //   "DISPLAY_IMAGE_GALLERY"
    //   "DISPLAY_REDIRECT"
    //   "FLASH_INPAGE"
    //   "HTML5_BANNER"
    //   "IMAGE"
    //   "INSTREAM_VIDEO"
    //   "INSTREAM_VIDEO_REDIRECT"
    //   "INTERNAL_REDIRECT"
    //   "INTERSTITIAL_INTERNAL_REDIRECT"
    //   "RICH_MEDIA_DISPLAY_BANNER"
    //   "RICH_MEDIA_DISPLAY_EXPANDING"
    //   "RICH_MEDIA_DISPLAY_INTERSTITIAL"
    //   "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
    //   "RICH_MEDIA_IM_EXPAND"
    //   "RICH_MEDIA_INPAGE_FLOATING"
    //   "RICH_MEDIA_MOBILE_IN_APP"
    //   "RICH_MEDIA_PEEL_DOWN"
    //   "TRACKING_TEXT"
    //   "VPAID_LINEAR_VIDEO"
    //   "VPAID_NON_LINEAR_VIDEO"
    Type string `json:"type,omitempty"`

    // UniversalAdId: A Universal Ad ID as per the VAST 4.0 spec. Applicable
    // to the following creative types: INSTREAM_VIDEO and VPAID.
    UniversalAdId *UniversalAdId `json:"universalAdId,omitempty"`

    // Version: The version number helps you keep track of multiple versions
    // of your creative in your reports. The version number will always be
    // auto-generated during insert operations to start at 1. For tracking
    // creatives the version cannot be incremented and will always remain at
    // 1. For all other creative types the version can be incremented only
    // by 1 during update operations. In addition, the version will be
    // automatically incremented by 1 when undergoing Rich Media creative
    // merging. Applicable to all creative types.
    Version int64 `json:"version,omitempty"`

    // VideoDescription: Description of the video ad. Applicable to the
    // following creative types: all INSTREAM_VIDEO and all VPAID.
    VideoDescription string `json:"videoDescription,omitempty"`

    // VideoDuration: Creative video duration in seconds. This is a
    // read-only field. Applicable to the following creative types:
    // INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
    VideoDuration float64 `json:"videoDuration,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Creative) MarshalJSON

func (s *Creative) MarshalJSON() ([]byte, error)

func (*Creative) UnmarshalJSON

func (s *Creative) UnmarshalJSON(data []byte) error

type CreativeAsset

CreativeAsset: Creative Asset.

type CreativeAsset struct {
    // ActionScript3: Whether ActionScript3 is enabled for the flash asset.
    // This is a read-only field. Applicable to the following creative type:
    // FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is
    // not HTML_IMAGE.
    ActionScript3 bool `json:"actionScript3,omitempty"`

    // Active: Whether the video asset is active. This is a read-only field
    // for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following
    // creative types: INSTREAM_VIDEO and all VPAID.
    Active bool `json:"active,omitempty"`

    // Alignment: Possible alignments for an asset. This is a read-only
    // field. Applicable to the following creative types:
    // RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL.
    //
    // Possible values:
    //   "ALIGNMENT_BOTTOM"
    //   "ALIGNMENT_LEFT"
    //   "ALIGNMENT_RIGHT"
    //   "ALIGNMENT_TOP"
    Alignment string `json:"alignment,omitempty"`

    // ArtworkType: Artwork type of rich media creative. This is a read-only
    // field. Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "ARTWORK_TYPE_FLASH"
    //   "ARTWORK_TYPE_HTML5"
    //   "ARTWORK_TYPE_IMAGE"
    //   "ARTWORK_TYPE_MIXED"
    ArtworkType string `json:"artworkType,omitempty"`

    // AssetIdentifier: Identifier of this asset. This is the same
    // identifier returned during creative asset insert operation. This is a
    // required field. Applicable to all but the following creative types:
    // all REDIRECT and TRACKING_TEXT.
    AssetIdentifier *CreativeAssetId `json:"assetIdentifier,omitempty"`

    // BackupImageExit: Exit event configured for the backup image.
    // Applicable to the following creative types: all RICH_MEDIA.
    BackupImageExit *CreativeCustomEvent `json:"backupImageExit,omitempty"`

    // BitRate: Detected bit-rate for video asset. This is a read-only
    // field. Applicable to the following creative types: INSTREAM_VIDEO and
    // all VPAID.
    BitRate int64 `json:"bitRate,omitempty"`

    // ChildAssetType: Rich media child asset type. This is a read-only
    // field. Applicable to the following creative types: all VPAID.
    //
    // Possible values:
    //   "CHILD_ASSET_TYPE_DATA"
    //   "CHILD_ASSET_TYPE_FLASH"
    //   "CHILD_ASSET_TYPE_IMAGE"
    //   "CHILD_ASSET_TYPE_VIDEO"
    ChildAssetType string `json:"childAssetType,omitempty"`

    // CollapsedSize: Size of an asset when collapsed. This is a read-only
    // field. Applicable to the following creative types: all RICH_MEDIA and
    // all VPAID. Additionally, applicable to assets whose displayType is
    // ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
    CollapsedSize *Size `json:"collapsedSize,omitempty"`

    // CompanionCreativeIds: List of companion creatives assigned to an
    // in-stream video creative asset. Acceptable values include IDs of
    // existing flash and image creatives. Applicable to INSTREAM_VIDEO
    // creative type with dynamicAssetSelection set to true.
    CompanionCreativeIds googleapi.Int64s `json:"companionCreativeIds,omitempty"`

    // CustomStartTimeValue: Custom start time in seconds for making the
    // asset visible. Applicable to the following creative types: all
    // RICH_MEDIA. Value must be greater than or equal to 0.
    CustomStartTimeValue int64 `json:"customStartTimeValue,omitempty"`

    // DetectedFeatures: List of feature dependencies for the creative asset
    // that are detected by DCM. Feature dependencies are features that a
    // browser must be able to support in order to render your HTML5
    // creative correctly. This is a read-only, auto-generated field.
    // Applicable to the following creative types: HTML5_BANNER. Applicable
    // to DISPLAY when the primary asset type is not HTML_IMAGE.
    //
    // Possible values:
    //   "APPLICATION_CACHE"
    //   "AUDIO"
    //   "CANVAS"
    //   "CANVAS_TEXT"
    //   "CSS_ANIMATIONS"
    //   "CSS_BACKGROUND_SIZE"
    //   "CSS_BORDER_IMAGE"
    //   "CSS_BORDER_RADIUS"
    //   "CSS_BOX_SHADOW"
    //   "CSS_COLUMNS"
    //   "CSS_FLEX_BOX"
    //   "CSS_FONT_FACE"
    //   "CSS_GENERATED_CONTENT"
    //   "CSS_GRADIENTS"
    //   "CSS_HSLA"
    //   "CSS_MULTIPLE_BGS"
    //   "CSS_OPACITY"
    //   "CSS_REFLECTIONS"
    //   "CSS_RGBA"
    //   "CSS_TEXT_SHADOW"
    //   "CSS_TRANSFORMS"
    //   "CSS_TRANSFORMS3D"
    //   "CSS_TRANSITIONS"
    //   "DRAG_AND_DROP"
    //   "GEO_LOCATION"
    //   "HASH_CHANGE"
    //   "HISTORY"
    //   "INDEXED_DB"
    //   "INLINE_SVG"
    //   "INPUT_ATTR_AUTOCOMPLETE"
    //   "INPUT_ATTR_AUTOFOCUS"
    //   "INPUT_ATTR_LIST"
    //   "INPUT_ATTR_MAX"
    //   "INPUT_ATTR_MIN"
    //   "INPUT_ATTR_MULTIPLE"
    //   "INPUT_ATTR_PATTERN"
    //   "INPUT_ATTR_PLACEHOLDER"
    //   "INPUT_ATTR_REQUIRED"
    //   "INPUT_ATTR_STEP"
    //   "INPUT_TYPE_COLOR"
    //   "INPUT_TYPE_DATE"
    //   "INPUT_TYPE_DATETIME"
    //   "INPUT_TYPE_DATETIME_LOCAL"
    //   "INPUT_TYPE_EMAIL"
    //   "INPUT_TYPE_MONTH"
    //   "INPUT_TYPE_NUMBER"
    //   "INPUT_TYPE_RANGE"
    //   "INPUT_TYPE_SEARCH"
    //   "INPUT_TYPE_TEL"
    //   "INPUT_TYPE_TIME"
    //   "INPUT_TYPE_URL"
    //   "INPUT_TYPE_WEEK"
    //   "LOCAL_STORAGE"
    //   "POST_MESSAGE"
    //   "SESSION_STORAGE"
    //   "SMIL"
    //   "SVG_CLIP_PATHS"
    //   "SVG_FE_IMAGE"
    //   "SVG_FILTERS"
    //   "SVG_HREF"
    //   "TOUCH"
    //   "VIDEO"
    //   "WEBGL"
    //   "WEB_SOCKETS"
    //   "WEB_SQL_DATABASE"
    //   "WEB_WORKERS"
    DetectedFeatures []string `json:"detectedFeatures,omitempty"`

    // DisplayType: Type of rich media asset. This is a read-only field.
    // Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "ASSET_DISPLAY_TYPE_BACKDROP"
    //   "ASSET_DISPLAY_TYPE_EXPANDING"
    //   "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH"
    //   "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING"
    //   "ASSET_DISPLAY_TYPE_FLOATING"
    //   "ASSET_DISPLAY_TYPE_INPAGE"
    //   "ASSET_DISPLAY_TYPE_OVERLAY"
    //   "ASSET_DISPLAY_TYPE_PEEL_DOWN"
    //   "ASSET_DISPLAY_TYPE_VPAID_LINEAR"
    //   "ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR"
    DisplayType string `json:"displayType,omitempty"`

    // Duration: Duration in seconds for which an asset will be displayed.
    // Applicable to the following creative types: INSTREAM_VIDEO and
    // VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.
    Duration int64 `json:"duration,omitempty"`

    // DurationType: Duration type for which an asset will be displayed.
    // Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "ASSET_DURATION_TYPE_AUTO"
    //   "ASSET_DURATION_TYPE_CUSTOM"
    //   "ASSET_DURATION_TYPE_NONE"
    DurationType string `json:"durationType,omitempty"`

    // ExpandedDimension: Detected expanded dimension for video asset. This
    // is a read-only field. Applicable to the following creative types:
    // INSTREAM_VIDEO and all VPAID.
    ExpandedDimension *Size `json:"expandedDimension,omitempty"`

    // FileSize: File size associated with this creative asset. This is a
    // read-only field. Applicable to all but the following creative types:
    // all REDIRECT and TRACKING_TEXT.
    FileSize int64 `json:"fileSize,omitempty,string"`

    // FlashVersion: Flash version of the asset. This is a read-only field.
    // Applicable to the following creative types: FLASH_INPAGE, all
    // RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary
    // asset type is not HTML_IMAGE.
    FlashVersion int64 `json:"flashVersion,omitempty"`

    // HideFlashObjects: Whether to hide Flash objects flag for an asset.
    // Applicable to the following creative types: all RICH_MEDIA.
    HideFlashObjects bool `json:"hideFlashObjects,omitempty"`

    // HideSelectionBoxes: Whether to hide selection boxes flag for an
    // asset. Applicable to the following creative types: all RICH_MEDIA.
    HideSelectionBoxes bool `json:"hideSelectionBoxes,omitempty"`

    // HorizontallyLocked: Whether the asset is horizontally locked. This is
    // a read-only field. Applicable to the following creative types: all
    // RICH_MEDIA.
    HorizontallyLocked bool `json:"horizontallyLocked,omitempty"`

    // Id: Numeric ID of this creative asset. This is a required field and
    // should not be modified. Applicable to all but the following creative
    // types: all REDIRECT and TRACKING_TEXT.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the ID of the asset. This is a
    // read-only, auto-generated field.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // MimeType: Detected MIME type for video asset. This is a read-only
    // field. Applicable to the following creative types: INSTREAM_VIDEO and
    // all VPAID.
    MimeType string `json:"mimeType,omitempty"`

    // Offset: Offset position for an asset in collapsed mode. This is a
    // read-only field. Applicable to the following creative types: all
    // RICH_MEDIA and all VPAID. Additionally, only applicable to assets
    // whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or
    // ASSET_DISPLAY_TYPE_PEEL_DOWN.
    Offset *OffsetPosition `json:"offset,omitempty"`

    // OriginalBackup: Whether the backup asset is original or changed by
    // the user in DCM. Applicable to the following creative types: all
    // RICH_MEDIA.
    OriginalBackup bool `json:"originalBackup,omitempty"`

    // Position: Offset position for an asset. Applicable to the following
    // creative types: all RICH_MEDIA.
    Position *OffsetPosition `json:"position,omitempty"`

    // PositionLeftUnit: Offset left unit for an asset. This is a read-only
    // field. Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "OFFSET_UNIT_PERCENT"
    //   "OFFSET_UNIT_PIXEL"
    //   "OFFSET_UNIT_PIXEL_FROM_CENTER"
    PositionLeftUnit string `json:"positionLeftUnit,omitempty"`

    // PositionTopUnit: Offset top unit for an asset. This is a read-only
    // field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY.
    // Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "OFFSET_UNIT_PERCENT"
    //   "OFFSET_UNIT_PIXEL"
    //   "OFFSET_UNIT_PIXEL_FROM_CENTER"
    PositionTopUnit string `json:"positionTopUnit,omitempty"`

    // ProgressiveServingUrl: Progressive URL for video asset. This is a
    // read-only field. Applicable to the following creative types:
    // INSTREAM_VIDEO and all VPAID.
    ProgressiveServingUrl string `json:"progressiveServingUrl,omitempty"`

    // Pushdown: Whether the asset pushes down other content. Applicable to
    // the following creative types: all RICH_MEDIA. Additionally, only
    // applicable when the asset offsets are 0, the collapsedSize.width
    // matches size.width, and the collapsedSize.height is less than
    // size.height.
    Pushdown bool `json:"pushdown,omitempty"`

    // PushdownDuration: Pushdown duration in seconds for an asset.
    // Applicable to the following creative types: all
    // RICH_MEDIA.Additionally, only applicable when the asset pushdown
    // field is true, the offsets are 0, the collapsedSize.width matches
    // size.width, and the collapsedSize.height is less than size.height.
    // Acceptable values are 0 to 9.99, inclusive.
    PushdownDuration float64 `json:"pushdownDuration,omitempty"`

    // Role: Role of the asset in relation to creative. Applicable to all
    // but the following creative types: all REDIRECT and TRACKING_TEXT.
    // This is a required field.
    // PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE,
    // DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple
    // primary assets), and all VPAID creatives.
    // BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA,
    // and all VPAID creatives. Applicable to DISPLAY when the primary asset
    // type is not HTML_IMAGE.
    // ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE
    // creatives.
    // OTHER refers to assets from sources other than DCM, such as Studio
    // uploaded assets, applicable to all RICH_MEDIA and all VPAID
    // creatives.
    // PARENT_VIDEO refers to videos uploaded by the user in DCM and is
    // applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO
    // creatives.
    // TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO
    // assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO
    // creatives.
    // ALTERNATE_VIDEO refers to the DCM representation of child asset
    // videos from Studio, and is applicable to VPAID_LINEAR_VIDEO
    // creatives. These cannot be added or removed within DCM.
    // For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and
    // ALTERNATE_VIDEO assets that are marked active serve as backup in case
    // the VPAID creative cannot be served. Only PARENT_VIDEO assets can be
    // added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO
    // creative.
    //
    // Possible values:
    //   "ADDITIONAL_FLASH"
    //   "ADDITIONAL_IMAGE"
    //   "ALTERNATE_VIDEO"
    //   "BACKUP_IMAGE"
    //   "OTHER"
    //   "PARENT_VIDEO"
    //   "PRIMARY"
    //   "TRANSCODED_VIDEO"
    Role string `json:"role,omitempty"`

    // Size: Size associated with this creative asset. This is a required
    // field when applicable; however for IMAGE and FLASH_INPAGE, creatives
    // if left blank, this field will be automatically set using the actual
    // size of the associated image asset. Applicable to the following
    // creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER,
    // IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary
    // asset type is not HTML_IMAGE.
    Size *Size `json:"size,omitempty"`

    // SslCompliant: Whether the asset is SSL-compliant. This is a read-only
    // field. Applicable to all but the following creative types: all
    // REDIRECT and TRACKING_TEXT.
    SslCompliant bool `json:"sslCompliant,omitempty"`

    // StartTimeType: Initial wait time type before making the asset
    // visible. Applicable to the following creative types: all RICH_MEDIA.
    //
    // Possible values:
    //   "ASSET_START_TIME_TYPE_CUSTOM"
    //   "ASSET_START_TIME_TYPE_NONE"
    StartTimeType string `json:"startTimeType,omitempty"`

    // StreamingServingUrl: Streaming URL for video asset. This is a
    // read-only field. Applicable to the following creative types:
    // INSTREAM_VIDEO and all VPAID.
    StreamingServingUrl string `json:"streamingServingUrl,omitempty"`

    // Transparency: Whether the asset is transparent. Applicable to the
    // following creative types: all RICH_MEDIA. Additionally, only
    // applicable to HTML5 assets.
    Transparency bool `json:"transparency,omitempty"`

    // VerticallyLocked: Whether the asset is vertically locked. This is a
    // read-only field. Applicable to the following creative types: all
    // RICH_MEDIA.
    VerticallyLocked bool `json:"verticallyLocked,omitempty"`

    // VideoDuration: Detected video duration for video asset. This is a
    // read-only field. Applicable to the following creative types:
    // INSTREAM_VIDEO and all VPAID.
    VideoDuration float64 `json:"videoDuration,omitempty"`

    // WindowMode: Window mode options for flash assets. Applicable to the
    // following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING,
    // RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and
    // RICH_MEDIA_INPAGE_FLOATING.
    //
    // Possible values:
    //   "OPAQUE"
    //   "TRANSPARENT"
    //   "WINDOW"
    WindowMode string `json:"windowMode,omitempty"`

    // ZIndex: zIndex value of an asset. Applicable to the following
    // creative types: all RICH_MEDIA.Additionally, only applicable to
    // assets whose displayType is NOT one of the following types:
    // ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable
    // values are -999999999 to 999999999, inclusive.
    ZIndex int64 `json:"zIndex,omitempty"`

    // ZipFilename: File name of zip file. This is a read-only field.
    // Applicable to the following creative types: HTML5_BANNER.
    ZipFilename string `json:"zipFilename,omitempty"`

    // ZipFilesize: Size of zip file. This is a read-only field. Applicable
    // to the following creative types: HTML5_BANNER.
    ZipFilesize string `json:"zipFilesize,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ActionScript3") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ActionScript3") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreativeAsset) MarshalJSON

func (s *CreativeAsset) MarshalJSON() ([]byte, error)

func (*CreativeAsset) UnmarshalJSON

func (s *CreativeAsset) UnmarshalJSON(data []byte) error

type CreativeAssetId

CreativeAssetId: Creative Asset ID.

type CreativeAssetId struct {
    // Name: Name of the creative asset. This is a required field while
    // inserting an asset. After insertion, this assetIdentifier is used to
    // identify the uploaded asset. Characters in the name must be
    // alphanumeric or one of the following: ".-_ ". Spaces are allowed.
    Name string `json:"name,omitempty"`

    // Type: Type of asset to upload. This is a required field. FLASH and
    // IMAGE are no longer supported for new uploads. All image assets
    // should use HTML_IMAGE.
    //
    // Possible values:
    //   "FLASH"
    //   "HTML"
    //   "HTML_IMAGE"
    //   "IMAGE"
    //   "VIDEO"
    Type string `json:"type,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Name") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Name") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreativeAssetId) MarshalJSON

func (s *CreativeAssetId) MarshalJSON() ([]byte, error)

type CreativeAssetMetadata

CreativeAssetMetadata: 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.

type CreativeAssetMetadata struct {
    // AssetIdentifier: ID of the creative asset. This is a required field.
    AssetIdentifier *CreativeAssetId `json:"assetIdentifier,omitempty"`

    // ClickTags: List of detected click tags for assets. This is a
    // read-only auto-generated field.
    ClickTags []*ClickTag `json:"clickTags,omitempty"`

    // DetectedFeatures: List of feature dependencies for the creative asset
    // that are detected by DCM. Feature dependencies are features that a
    // browser must be able to support in order to render your HTML5
    // creative correctly. This is a read-only, auto-generated field.
    //
    // Possible values:
    //   "APPLICATION_CACHE"
    //   "AUDIO"
    //   "CANVAS"
    //   "CANVAS_TEXT"
    //   "CSS_ANIMATIONS"
    //   "CSS_BACKGROUND_SIZE"
    //   "CSS_BORDER_IMAGE"
    //   "CSS_BORDER_RADIUS"
    //   "CSS_BOX_SHADOW"
    //   "CSS_COLUMNS"
    //   "CSS_FLEX_BOX"
    //   "CSS_FONT_FACE"
    //   "CSS_GENERATED_CONTENT"
    //   "CSS_GRADIENTS"
    //   "CSS_HSLA"
    //   "CSS_MULTIPLE_BGS"
    //   "CSS_OPACITY"
    //   "CSS_REFLECTIONS"
    //   "CSS_RGBA"
    //   "CSS_TEXT_SHADOW"
    //   "CSS_TRANSFORMS"
    //   "CSS_TRANSFORMS3D"
    //   "CSS_TRANSITIONS"
    //   "DRAG_AND_DROP"
    //   "GEO_LOCATION"
    //   "HASH_CHANGE"
    //   "HISTORY"
    //   "INDEXED_DB"
    //   "INLINE_SVG"
    //   "INPUT_ATTR_AUTOCOMPLETE"
    //   "INPUT_ATTR_AUTOFOCUS"
    //   "INPUT_ATTR_LIST"
    //   "INPUT_ATTR_MAX"
    //   "INPUT_ATTR_MIN"
    //   "INPUT_ATTR_MULTIPLE"
    //   "INPUT_ATTR_PATTERN"
    //   "INPUT_ATTR_PLACEHOLDER"
    //   "INPUT_ATTR_REQUIRED"
    //   "INPUT_ATTR_STEP"
    //   "INPUT_TYPE_COLOR"
    //   "INPUT_TYPE_DATE"
    //   "INPUT_TYPE_DATETIME"
    //   "INPUT_TYPE_DATETIME_LOCAL"
    //   "INPUT_TYPE_EMAIL"
    //   "INPUT_TYPE_MONTH"
    //   "INPUT_TYPE_NUMBER"
    //   "INPUT_TYPE_RANGE"
    //   "INPUT_TYPE_SEARCH"
    //   "INPUT_TYPE_TEL"
    //   "INPUT_TYPE_TIME"
    //   "INPUT_TYPE_URL"
    //   "INPUT_TYPE_WEEK"
    //   "LOCAL_STORAGE"
    //   "POST_MESSAGE"
    //   "SESSION_STORAGE"
    //   "SMIL"
    //   "SVG_CLIP_PATHS"
    //   "SVG_FE_IMAGE"
    //   "SVG_FILTERS"
    //   "SVG_HREF"
    //   "TOUCH"
    //   "VIDEO"
    //   "WEBGL"
    //   "WEB_SOCKETS"
    //   "WEB_SQL_DATABASE"
    //   "WEB_WORKERS"
    DetectedFeatures []string `json:"detectedFeatures,omitempty"`

    // Id: Numeric ID of the asset. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // IdDimensionValue: Dimension value for the numeric ID of the asset.
    // This is a read-only, auto-generated field.
    IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creativeAssetMetadata".
    Kind string `json:"kind,omitempty"`

    // WarnedValidationRules: Rules validated during code generation that
    // generated a warning. This is a read-only, auto-generated
    // field.
    //
    // Possible values are:
    // - "ADMOB_REFERENCED"
    // - "ASSET_FORMAT_UNSUPPORTED_DCM"
    // - "ASSET_INVALID"
    // - "CLICK_TAG_HARD_CODED"
    // - "CLICK_TAG_INVALID"
    // - "CLICK_TAG_IN_GWD"
    // - "CLICK_TAG_MISSING"
    // - "CLICK_TAG_MORE_THAN_ONE"
    // - "CLICK_TAG_NON_TOP_LEVEL"
    // - "COMPONENT_UNSUPPORTED_DCM"
    // - "ENABLER_UNSUPPORTED_METHOD_DCM"
    // - "EXTERNAL_FILE_REFERENCED"
    // - "FILE_DETAIL_EMPTY"
    // - "FILE_TYPE_INVALID"
    // - "GWD_PROPERTIES_INVALID"
    // - "HTML5_FEATURE_UNSUPPORTED"
    // - "LINKED_FILE_NOT_FOUND"
    // - "MAX_FLASH_VERSION_11"
    // - "MRAID_REFERENCED"
    // - "NOT_SSL_COMPLIANT"
    // - "ORPHANED_ASSET"
    // - "PRIMARY_HTML_MISSING"
    // - "SVG_INVALID"
    // - "ZIP_INVALID"
    //
    // Possible values:
    //   "ADMOB_REFERENCED"
    //   "ASSET_FORMAT_UNSUPPORTED_DCM"
    //   "ASSET_INVALID"
    //   "CLICK_TAG_HARD_CODED"
    //   "CLICK_TAG_INVALID"
    //   "CLICK_TAG_IN_GWD"
    //   "CLICK_TAG_MISSING"
    //   "CLICK_TAG_MORE_THAN_ONE"
    //   "CLICK_TAG_NON_TOP_LEVEL"
    //   "COMPONENT_UNSUPPORTED_DCM"
    //   "ENABLER_UNSUPPORTED_METHOD_DCM"
    //   "EXTERNAL_FILE_REFERENCED"
    //   "FILE_DETAIL_EMPTY"
    //   "FILE_TYPE_INVALID"
    //   "GWD_PROPERTIES_INVALID"
    //   "HTML5_FEATURE_UNSUPPORTED"
    //   "LINKED_FILE_NOT_FOUND"
    //   "MAX_FLASH_VERSION_11"
    //   "MRAID_REFERENCED"
    //   "NOT_SSL_COMPLIANT"
    //   "ORPHANED_ASSET"
    //   "PRIMARY_HTML_MISSING"
    //   "SVG_INVALID"
    //   "ZIP_INVALID"
    WarnedValidationRules []string `json:"warnedValidationRules,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AssetIdentifier") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AssetIdentifier") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeAssetMetadata) MarshalJSON

func (s *CreativeAssetMetadata) MarshalJSON() ([]byte, error)

type CreativeAssetSelection

CreativeAssetSelection: Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.

type CreativeAssetSelection struct {
    // DefaultAssetId: A creativeAssets[].id. This should refer to one of
    // the parent assets in this creative, and will be served if none of the
    // rules match. This is a required field.
    DefaultAssetId int64 `json:"defaultAssetId,omitempty,string"`

    // Rules: Rules determine which asset will be served to a viewer. Rules
    // will be evaluated in the order in which they are stored in this list.
    // This list must contain at least one rule. Applicable to
    // INSTREAM_VIDEO creatives.
    Rules []*Rule `json:"rules,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DefaultAssetId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DefaultAssetId") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeAssetSelection) MarshalJSON

func (s *CreativeAssetSelection) MarshalJSON() ([]byte, error)

type CreativeAssetsInsertCall

type CreativeAssetsInsertCall struct {
    // contains filtered or unexported fields
}

func (*CreativeAssetsInsertCall) Context

func (c *CreativeAssetsInsertCall) Context(ctx context.Context) *CreativeAssetsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

func (*CreativeAssetsInsertCall) Do

func (c *CreativeAssetsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeAssetMetadata, error)

Do executes the "dfareporting.creativeAssets.insert" call. Exactly one of *CreativeAssetMetadata or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeAssetMetadata.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeAssetsInsertCall) Fields

func (c *CreativeAssetsInsertCall) Fields(s ...googleapi.Field) *CreativeAssetsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeAssetsInsertCall) Header

func (c *CreativeAssetsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CreativeAssetsInsertCall) Media

func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *CreativeAssetsInsertCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*CreativeAssetsInsertCall) ProgressUpdater

func (c *CreativeAssetsInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *CreativeAssetsInsertCall

ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

func (*CreativeAssetsInsertCall) ResumableMedia

func (c *CreativeAssetsInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *CreativeAssetsInsertCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

type CreativeAssetsService

type CreativeAssetsService struct {
    // contains filtered or unexported fields
}

func NewCreativeAssetsService

func NewCreativeAssetsService(s *Service) *CreativeAssetsService

func (*CreativeAssetsService) Insert

func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall

Insert: Inserts a new creative asset.

type CreativeAssignment

CreativeAssignment: Creative Assignment.

type CreativeAssignment struct {
    // Active: Whether this creative assignment is active. When true, the
    // creative will be included in the ad's rotation.
    Active bool `json:"active,omitempty"`

    // ApplyEventTags: Whether applicable event tags should fire when this
    // creative assignment is rendered. If this value is unset when the ad
    // is inserted or updated, it will default to true for all creative
    // types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT,
    // and INSTREAM_VIDEO.
    ApplyEventTags bool `json:"applyEventTags,omitempty"`

    // ClickThroughUrl: Click-through URL of the creative assignment.
    ClickThroughUrl *ClickThroughUrl `json:"clickThroughUrl,omitempty"`

    // CompanionCreativeOverrides: Companion creative overrides for this
    // creative assignment. Applicable to video ads.
    CompanionCreativeOverrides []*CompanionClickThroughOverride `json:"companionCreativeOverrides,omitempty"`

    // CreativeGroupAssignments: Creative group assignments for this
    // creative assignment. Only one assignment per creative group number is
    // allowed for a maximum of two assignments.
    CreativeGroupAssignments []*CreativeGroupAssignment `json:"creativeGroupAssignments,omitempty"`

    // CreativeId: ID of the creative to be assigned. This is a required
    // field.
    CreativeId int64 `json:"creativeId,omitempty,string"`

    // CreativeIdDimensionValue: Dimension value for the ID of the creative.
    // This is a read-only, auto-generated field.
    CreativeIdDimensionValue *DimensionValue `json:"creativeIdDimensionValue,omitempty"`

    // EndTime: Date and time that the assigned creative should stop
    // serving. Must be later than the start time.
    EndTime string `json:"endTime,omitempty"`

    // RichMediaExitOverrides: Rich media exit overrides for this creative
    // assignment.
    // Applicable when the creative type is any of the following:
    // - DISPLAY
    // - RICH_MEDIA_INPAGE
    // - RICH_MEDIA_INPAGE_FLOATING
    // - RICH_MEDIA_IM_EXPAND
    // - RICH_MEDIA_EXPANDING
    // - RICH_MEDIA_INTERSTITIAL_FLOAT
    // - RICH_MEDIA_MOBILE_IN_APP
    // - RICH_MEDIA_MULTI_FLOATING
    // - RICH_MEDIA_PEEL_DOWN
    // - VPAID_LINEAR
    // - VPAID_NON_LINEAR
    RichMediaExitOverrides []*RichMediaExitOverride `json:"richMediaExitOverrides,omitempty"`

    // Sequence: Sequence number of the creative assignment, applicable when
    // the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable
    // values are 1 to 65535, inclusive.
    Sequence int64 `json:"sequence,omitempty"`

    // SslCompliant: Whether the creative to be assigned is SSL-compliant.
    // This is a read-only field that is auto-generated when the ad is
    // inserted or updated.
    SslCompliant bool `json:"sslCompliant,omitempty"`

    // StartTime: Date and time that the assigned creative should start
    // serving.
    StartTime string `json:"startTime,omitempty"`

    // Weight: Weight of the creative assignment, applicable when the
    // rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater
    // than or equal to 1.
    Weight int64 `json:"weight,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Active") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Active") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreativeAssignment) MarshalJSON

func (s *CreativeAssignment) MarshalJSON() ([]byte, error)

type CreativeCustomEvent

CreativeCustomEvent: Creative Custom Event.

type CreativeCustomEvent struct {
    // AdvertiserCustomEventId: Unique ID of this event used by DDM
    // Reporting and Data Transfer. This is a read-only field.
    AdvertiserCustomEventId int64 `json:"advertiserCustomEventId,omitempty,string"`

    // AdvertiserCustomEventName: User-entered name for the event.
    AdvertiserCustomEventName string `json:"advertiserCustomEventName,omitempty"`

    // AdvertiserCustomEventType: Type of the event. This is a read-only
    // field.
    //
    // Possible values:
    //   "ADVERTISER_EVENT_COUNTER"
    //   "ADVERTISER_EVENT_EXIT"
    //   "ADVERTISER_EVENT_TIMER"
    AdvertiserCustomEventType string `json:"advertiserCustomEventType,omitempty"`

    // ArtworkLabel: Artwork label column, used to link events in DCM back
    // to events in Studio. This is a required field and should not be
    // modified after insertion.
    ArtworkLabel string `json:"artworkLabel,omitempty"`

    // ArtworkType: Artwork type used by the creative.This is a read-only
    // field.
    //
    // Possible values:
    //   "ARTWORK_TYPE_FLASH"
    //   "ARTWORK_TYPE_HTML5"
    //   "ARTWORK_TYPE_IMAGE"
    //   "ARTWORK_TYPE_MIXED"
    ArtworkType string `json:"artworkType,omitempty"`

    // ExitUrl: Exit URL of the event. This field is used only for exit
    // events.
    ExitUrl string `json:"exitUrl,omitempty"`

    // Id: ID of this event. This is a required field and should not be
    // modified after insertion.
    Id int64 `json:"id,omitempty,string"`

    // PopupWindowProperties: Properties for rich media popup windows. This
    // field is used only for exit events.
    PopupWindowProperties *PopupWindowProperties `json:"popupWindowProperties,omitempty"`

    // TargetType: Target type used by the event.
    //
    // Possible values:
    //   "TARGET_BLANK"
    //   "TARGET_PARENT"
    //   "TARGET_POPUP"
    //   "TARGET_SELF"
    //   "TARGET_TOP"
    TargetType string `json:"targetType,omitempty"`

    // VideoReportingId: Video reporting ID, used to differentiate multiple
    // videos in a single creative. This is a read-only field.
    VideoReportingId string `json:"videoReportingId,omitempty"`

    // ForceSendFields is a list of field names (e.g.
    // "AdvertiserCustomEventId") to unconditionally include in API
    // requests. By default, fields with empty values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AdvertiserCustomEventId")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeCustomEvent) MarshalJSON

func (s *CreativeCustomEvent) MarshalJSON() ([]byte, error)

type CreativeField

CreativeField: Contains properties of a creative field.

type CreativeField struct {
    // AccountId: Account ID of this creative field. This is a read-only
    // field that can be left blank.
    AccountId int64 `json:"accountId,omitempty,string"`

    // AdvertiserId: Advertiser ID of this creative field. This is a
    // required field on insertion.
    AdvertiserId int64 `json:"advertiserId,omitempty,string"`

    // AdvertiserIdDimensionValue: Dimension value for the ID of the
    // advertiser. This is a read-only, auto-generated field.
    AdvertiserIdDimensionValue *DimensionValue `json:"advertiserIdDimensionValue,omitempty"`

    // Id: ID of this creative field. This is a read-only, auto-generated
    // field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creativeField".
    Kind string `json:"kind,omitempty"`

    // Name: Name of this creative field. This is a required field and must
    // be less than 256 characters long and unique among creative fields of
    // the same advertiser.
    Name string `json:"name,omitempty"`

    // SubaccountId: Subaccount ID of this creative field. This is a
    // read-only field that can be left blank.
    SubaccountId int64 `json:"subaccountId,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AccountId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreativeField) MarshalJSON

func (s *CreativeField) MarshalJSON() ([]byte, error)

type CreativeFieldAssignment

CreativeFieldAssignment: Creative Field Assignment.

type CreativeFieldAssignment struct {
    // CreativeFieldId: ID of the creative field.
    CreativeFieldId int64 `json:"creativeFieldId,omitempty,string"`

    // CreativeFieldValueId: ID of the creative field value.
    CreativeFieldValueId int64 `json:"creativeFieldValueId,omitempty,string"`

    // ForceSendFields is a list of field names (e.g. "CreativeFieldId") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreativeFieldId") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeFieldAssignment) MarshalJSON

func (s *CreativeFieldAssignment) MarshalJSON() ([]byte, error)

type CreativeFieldValue

CreativeFieldValue: Contains properties of a creative field value.

type CreativeFieldValue struct {
    // Id: ID of this creative field value. This is a read-only,
    // auto-generated field.
    Id int64 `json:"id,omitempty,string"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creativeFieldValue".
    Kind string `json:"kind,omitempty"`

    // Value: Value of this creative field value. It needs to be less than
    // 256 characters in length and unique per creative field.
    Value string `json:"value,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreativeFieldValue) MarshalJSON

func (s *CreativeFieldValue) MarshalJSON() ([]byte, error)

type CreativeFieldValuesDeleteCall

type CreativeFieldValuesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesDeleteCall) Context

func (c *CreativeFieldValuesDeleteCall) Context(ctx context.Context) *CreativeFieldValuesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesDeleteCall) Do

func (c *CreativeFieldValuesDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "dfareporting.creativeFieldValues.delete" call.

func (*CreativeFieldValuesDeleteCall) Fields

func (c *CreativeFieldValuesDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldValuesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesDeleteCall) Header

func (c *CreativeFieldValuesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldValuesGetCall

type CreativeFieldValuesGetCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesGetCall) Context

func (c *CreativeFieldValuesGetCall) Context(ctx context.Context) *CreativeFieldValuesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesGetCall) Do

func (c *CreativeFieldValuesGetCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)

Do executes the "dfareporting.creativeFieldValues.get" call. Exactly one of *CreativeFieldValue or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldValue.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldValuesGetCall) Fields

func (c *CreativeFieldValuesGetCall) Fields(s ...googleapi.Field) *CreativeFieldValuesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesGetCall) Header

func (c *CreativeFieldValuesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CreativeFieldValuesGetCall) IfNoneMatch

func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CreativeFieldValuesInsertCall

type CreativeFieldValuesInsertCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesInsertCall) Context

func (c *CreativeFieldValuesInsertCall) Context(ctx context.Context) *CreativeFieldValuesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesInsertCall) Do

func (c *CreativeFieldValuesInsertCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)

Do executes the "dfareporting.creativeFieldValues.insert" call. Exactly one of *CreativeFieldValue or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldValue.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldValuesInsertCall) Fields

func (c *CreativeFieldValuesInsertCall) Fields(s ...googleapi.Field) *CreativeFieldValuesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesInsertCall) Header

func (c *CreativeFieldValuesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldValuesListCall

type CreativeFieldValuesListCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesListCall) Context

func (c *CreativeFieldValuesListCall) Context(ctx context.Context) *CreativeFieldValuesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesListCall) Do

func (c *CreativeFieldValuesListCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValuesListResponse, error)

Do executes the "dfareporting.creativeFieldValues.list" call. Exactly one of *CreativeFieldValuesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldValuesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldValuesListCall) Fields

func (c *CreativeFieldValuesListCall) Fields(s ...googleapi.Field) *CreativeFieldValuesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesListCall) Header

func (c *CreativeFieldValuesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CreativeFieldValuesListCall) Ids

func (c *CreativeFieldValuesListCall) Ids(ids ...int64) *CreativeFieldValuesListCall

Ids sets the optional parameter "ids": Select only creative field values with these IDs.

func (*CreativeFieldValuesListCall) IfNoneMatch

func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CreativeFieldValuesListCall) MaxResults

func (c *CreativeFieldValuesListCall) MaxResults(maxResults int64) *CreativeFieldValuesListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*CreativeFieldValuesListCall) PageToken

func (c *CreativeFieldValuesListCall) PageToken(pageToken string) *CreativeFieldValuesListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*CreativeFieldValuesListCall) Pages

func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*CreativeFieldValuesListCall) SearchString

func (c *CreativeFieldValuesListCall) SearchString(searchString string) *CreativeFieldValuesListCall

SearchString sets the optional parameter "searchString": Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.

func (*CreativeFieldValuesListCall) SortField

func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"VALUE"

func (*CreativeFieldValuesListCall) SortOrder

func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type CreativeFieldValuesListResponse

CreativeFieldValuesListResponse: Creative Field Value List Response

type CreativeFieldValuesListResponse struct {
    // CreativeFieldValues: Creative field value collection.
    CreativeFieldValues []*CreativeFieldValue `json:"creativeFieldValues,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creativeFieldValuesListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreativeFieldValues")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreativeFieldValues") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeFieldValuesListResponse) MarshalJSON

func (s *CreativeFieldValuesListResponse) MarshalJSON() ([]byte, error)

type CreativeFieldValuesPatchCall

type CreativeFieldValuesPatchCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesPatchCall) Context

func (c *CreativeFieldValuesPatchCall) Context(ctx context.Context) *CreativeFieldValuesPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesPatchCall) Do

func (c *CreativeFieldValuesPatchCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)

Do executes the "dfareporting.creativeFieldValues.patch" call. Exactly one of *CreativeFieldValue or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldValue.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldValuesPatchCall) Fields

func (c *CreativeFieldValuesPatchCall) Fields(s ...googleapi.Field) *CreativeFieldValuesPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesPatchCall) Header

func (c *CreativeFieldValuesPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldValuesService

type CreativeFieldValuesService struct {
    // contains filtered or unexported fields
}

func NewCreativeFieldValuesService

func NewCreativeFieldValuesService(s *Service) *CreativeFieldValuesService

func (*CreativeFieldValuesService) Delete

func (r *CreativeFieldValuesService) Delete(profileId int64, creativeFieldId int64, id int64) *CreativeFieldValuesDeleteCall

Delete: Deletes an existing creative field value.

func (*CreativeFieldValuesService) Get

func (r *CreativeFieldValuesService) Get(profileId int64, creativeFieldId int64, id int64) *CreativeFieldValuesGetCall

Get: Gets one creative field value by ID.

func (*CreativeFieldValuesService) Insert

func (r *CreativeFieldValuesService) Insert(profileId int64, creativeFieldId int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesInsertCall

Insert: Inserts a new creative field value.

func (*CreativeFieldValuesService) List

func (r *CreativeFieldValuesService) List(profileId int64, creativeFieldId int64) *CreativeFieldValuesListCall

List: Retrieves a list of creative field values, possibly filtered. This method supports paging.

func (*CreativeFieldValuesService) Patch

func (r *CreativeFieldValuesService) Patch(profileId int64, creativeFieldId int64, id int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesPatchCall

Patch: Updates an existing creative field value. This method supports patch semantics.

func (*CreativeFieldValuesService) Update

func (r *CreativeFieldValuesService) Update(profileId int64, creativeFieldId int64, creativefieldvalue *CreativeFieldValue) *CreativeFieldValuesUpdateCall

Update: Updates an existing creative field value.

type CreativeFieldValuesUpdateCall

type CreativeFieldValuesUpdateCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldValuesUpdateCall) Context

func (c *CreativeFieldValuesUpdateCall) Context(ctx context.Context) *CreativeFieldValuesUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldValuesUpdateCall) Do

func (c *CreativeFieldValuesUpdateCall) Do(opts ...googleapi.CallOption) (*CreativeFieldValue, error)

Do executes the "dfareporting.creativeFieldValues.update" call. Exactly one of *CreativeFieldValue or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldValue.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldValuesUpdateCall) Fields

func (c *CreativeFieldValuesUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldValuesUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldValuesUpdateCall) Header

func (c *CreativeFieldValuesUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldsDeleteCall

type CreativeFieldsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldsDeleteCall) Context

func (c *CreativeFieldsDeleteCall) Context(ctx context.Context) *CreativeFieldsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldsDeleteCall) Do

func (c *CreativeFieldsDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "dfareporting.creativeFields.delete" call.

func (*CreativeFieldsDeleteCall) Fields

func (c *CreativeFieldsDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldsDeleteCall) Header

func (c *CreativeFieldsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldsGetCall

type CreativeFieldsGetCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldsGetCall) Context

func (c *CreativeFieldsGetCall) Context(ctx context.Context) *CreativeFieldsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldsGetCall) Do

func (c *CreativeFieldsGetCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)

Do executes the "dfareporting.creativeFields.get" call. Exactly one of *CreativeField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldsGetCall) Fields

func (c *CreativeFieldsGetCall) Fields(s ...googleapi.Field) *CreativeFieldsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldsGetCall) Header

func (c *CreativeFieldsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CreativeFieldsGetCall) IfNoneMatch

func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CreativeFieldsInsertCall

type CreativeFieldsInsertCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldsInsertCall) Context

func (c *CreativeFieldsInsertCall) Context(ctx context.Context) *CreativeFieldsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldsInsertCall) Do

func (c *CreativeFieldsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeField, error)

Do executes the "dfareporting.creativeFields.insert" call. Exactly one of *CreativeField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldsInsertCall) Fields

func (c *CreativeFieldsInsertCall) Fields(s ...googleapi.Field) *CreativeFieldsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldsInsertCall) Header

func (c *CreativeFieldsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CreativeFieldsListCall

type CreativeFieldsListCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldsListCall) AdvertiserIds

func (c *CreativeFieldsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeFieldsListCall

AdvertiserIds sets the optional parameter "advertiserIds": Select only creative fields that belong to these advertisers.

func (*CreativeFieldsListCall) Context

func (c *CreativeFieldsListCall) Context(ctx context.Context) *CreativeFieldsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldsListCall) Do

func (c *CreativeFieldsListCall) Do(opts ...googleapi.CallOption) (*CreativeFieldsListResponse, error)

Do executes the "dfareporting.creativeFields.list" call. Exactly one of *CreativeFieldsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeFieldsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CreativeFieldsListCall) Fields

func (c *CreativeFieldsListCall) Fields(s ...googleapi.Field) *CreativeFieldsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CreativeFieldsListCall) Header

func (c *CreativeFieldsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CreativeFieldsListCall) Ids

func (c *CreativeFieldsListCall) Ids(ids ...int64) *CreativeFieldsListCall

Ids sets the optional parameter "ids": Select only creative fields with these IDs.

func (*CreativeFieldsListCall) IfNoneMatch

func (c *CreativeFieldsListCall) IfNoneMatch(entityTag string) *CreativeFieldsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CreativeFieldsListCall) MaxResults

func (c *CreativeFieldsListCall) MaxResults(maxResults int64) *CreativeFieldsListCall

MaxResults sets the optional parameter "maxResults": Maximum number of results to return.

func (*CreativeFieldsListCall) PageToken

func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall

PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.

func (*CreativeFieldsListCall) Pages

func (c *CreativeFieldsListCall) Pages(ctx context.Context, f func(*CreativeFieldsListResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*CreativeFieldsListCall) SearchString

func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFieldsListCall

SearchString sets the optional parameter "searchString": Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will return creative fields with names like "creativefield June 2015", "creativefield April 2015", or simply "creativefield 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativefield" will match creative fields with the name "my creativefield", "creativefield 2015", or simply "creativefield".

func (*CreativeFieldsListCall) SortField

func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall

SortField sets the optional parameter "sortField": Field by which to sort the list.

Possible values:

"ID" (default)
"NAME"

func (*CreativeFieldsListCall) SortOrder

func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall

SortOrder sets the optional parameter "sortOrder": Order of sorted results.

Possible values:

"ASCENDING" (default)
"DESCENDING"

type CreativeFieldsListResponse

CreativeFieldsListResponse: Creative Field List Response

type CreativeFieldsListResponse struct {
    // CreativeFields: Creative field collection.
    CreativeFields []*CreativeField `json:"creativeFields,omitempty"`

    // Kind: Identifies what kind of resource this is. Value: the fixed
    // string "dfareporting#creativeFieldsListResponse".
    Kind string `json:"kind,omitempty"`

    // NextPageToken: Pagination token to be used for the next list
    // operation.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreativeFields") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreativeFields") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CreativeFieldsListResponse) MarshalJSON

func (s *CreativeFieldsListResponse) MarshalJSON() ([]byte, error)

type CreativeFieldsPatchCall

type CreativeFieldsPatchCall struct {
    // contains filtered or unexported fields
}

func (*CreativeFieldsPatchCall) Context

func (c *CreativeFieldsPatchCall) Context(ctx context.Context) *CreativeFieldsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CreativeFieldsPatchCall) Do