Documentation ¶
Overview ¶
Package dfareporting provides access to the DCM/DFA Reporting And Trafficking API.
See https://developers.google.com/doubleclick-advertisers/reporting/
Usage example:
import "github.com/zippoxer/google-api-go-client/dfareporting/v2.1" ... dfareportingService, err := dfareporting.New(oauthHttpClient)
Index ¶
- Constants
- type Account
- type AccountActiveAdSummariesGetCall
- func (c *AccountActiveAdSummariesGetCall) Context(ctx context.Context) *AccountActiveAdSummariesGetCall
- func (c *AccountActiveAdSummariesGetCall) Do() (*AccountActiveAdSummary, error)
- func (c *AccountActiveAdSummariesGetCall) Fields(s ...googleapi.Field) *AccountActiveAdSummariesGetCall
- func (c *AccountActiveAdSummariesGetCall) IfNoneMatch(entityTag string) *AccountActiveAdSummariesGetCall
- func (c *AccountActiveAdSummariesGetCall) QuotaUser(quotaUser string) *AccountActiveAdSummariesGetCall
- func (c *AccountActiveAdSummariesGetCall) UserIP(userIP string) *AccountActiveAdSummariesGetCall
- type AccountActiveAdSummariesService
- type AccountActiveAdSummary
- type AccountPermission
- type AccountPermissionGroup
- type AccountPermissionGroupsGetCall
- func (c *AccountPermissionGroupsGetCall) Context(ctx context.Context) *AccountPermissionGroupsGetCall
- func (c *AccountPermissionGroupsGetCall) Do() (*AccountPermissionGroup, error)
- func (c *AccountPermissionGroupsGetCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsGetCall
- func (c *AccountPermissionGroupsGetCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsGetCall
- func (c *AccountPermissionGroupsGetCall) QuotaUser(quotaUser string) *AccountPermissionGroupsGetCall
- func (c *AccountPermissionGroupsGetCall) UserIP(userIP string) *AccountPermissionGroupsGetCall
- type AccountPermissionGroupsListCall
- func (c *AccountPermissionGroupsListCall) Context(ctx context.Context) *AccountPermissionGroupsListCall
- func (c *AccountPermissionGroupsListCall) Do() (*AccountPermissionGroupsListResponse, error)
- func (c *AccountPermissionGroupsListCall) Fields(s ...googleapi.Field) *AccountPermissionGroupsListCall
- func (c *AccountPermissionGroupsListCall) IfNoneMatch(entityTag string) *AccountPermissionGroupsListCall
- func (c *AccountPermissionGroupsListCall) QuotaUser(quotaUser string) *AccountPermissionGroupsListCall
- func (c *AccountPermissionGroupsListCall) UserIP(userIP string) *AccountPermissionGroupsListCall
- type AccountPermissionGroupsListResponse
- type AccountPermissionGroupsService
- type AccountPermissionsGetCall
- func (c *AccountPermissionsGetCall) Context(ctx context.Context) *AccountPermissionsGetCall
- func (c *AccountPermissionsGetCall) Do() (*AccountPermission, error)
- func (c *AccountPermissionsGetCall) Fields(s ...googleapi.Field) *AccountPermissionsGetCall
- func (c *AccountPermissionsGetCall) IfNoneMatch(entityTag string) *AccountPermissionsGetCall
- func (c *AccountPermissionsGetCall) QuotaUser(quotaUser string) *AccountPermissionsGetCall
- func (c *AccountPermissionsGetCall) UserIP(userIP string) *AccountPermissionsGetCall
- type AccountPermissionsListCall
- func (c *AccountPermissionsListCall) Context(ctx context.Context) *AccountPermissionsListCall
- func (c *AccountPermissionsListCall) Do() (*AccountPermissionsListResponse, error)
- func (c *AccountPermissionsListCall) Fields(s ...googleapi.Field) *AccountPermissionsListCall
- func (c *AccountPermissionsListCall) IfNoneMatch(entityTag string) *AccountPermissionsListCall
- func (c *AccountPermissionsListCall) QuotaUser(quotaUser string) *AccountPermissionsListCall
- func (c *AccountPermissionsListCall) UserIP(userIP string) *AccountPermissionsListCall
- type AccountPermissionsListResponse
- type AccountPermissionsService
- type AccountUserProfile
- type AccountUserProfilesGetCall
- func (c *AccountUserProfilesGetCall) Context(ctx context.Context) *AccountUserProfilesGetCall
- func (c *AccountUserProfilesGetCall) Do() (*AccountUserProfile, error)
- func (c *AccountUserProfilesGetCall) Fields(s ...googleapi.Field) *AccountUserProfilesGetCall
- func (c *AccountUserProfilesGetCall) IfNoneMatch(entityTag string) *AccountUserProfilesGetCall
- func (c *AccountUserProfilesGetCall) QuotaUser(quotaUser string) *AccountUserProfilesGetCall
- func (c *AccountUserProfilesGetCall) UserIP(userIP string) *AccountUserProfilesGetCall
- type AccountUserProfilesInsertCall
- func (c *AccountUserProfilesInsertCall) Context(ctx context.Context) *AccountUserProfilesInsertCall
- func (c *AccountUserProfilesInsertCall) Do() (*AccountUserProfile, error)
- func (c *AccountUserProfilesInsertCall) Fields(s ...googleapi.Field) *AccountUserProfilesInsertCall
- func (c *AccountUserProfilesInsertCall) QuotaUser(quotaUser string) *AccountUserProfilesInsertCall
- func (c *AccountUserProfilesInsertCall) UserIP(userIP string) *AccountUserProfilesInsertCall
- type AccountUserProfilesListCall
- func (c *AccountUserProfilesListCall) Active(active bool) *AccountUserProfilesListCall
- func (c *AccountUserProfilesListCall) Context(ctx context.Context) *AccountUserProfilesListCall
- func (c *AccountUserProfilesListCall) Do() (*AccountUserProfilesListResponse, error)
- func (c *AccountUserProfilesListCall) Fields(s ...googleapi.Field) *AccountUserProfilesListCall
- 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) QuotaUser(quotaUser string) *AccountUserProfilesListCall
- 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) UserIP(userIP string) *AccountUserProfilesListCall
- func (c *AccountUserProfilesListCall) UserRoleId(userRoleId int64) *AccountUserProfilesListCall
- type AccountUserProfilesListResponse
- type AccountUserProfilesPatchCall
- func (c *AccountUserProfilesPatchCall) Context(ctx context.Context) *AccountUserProfilesPatchCall
- func (c *AccountUserProfilesPatchCall) Do() (*AccountUserProfile, error)
- func (c *AccountUserProfilesPatchCall) Fields(s ...googleapi.Field) *AccountUserProfilesPatchCall
- func (c *AccountUserProfilesPatchCall) QuotaUser(quotaUser string) *AccountUserProfilesPatchCall
- func (c *AccountUserProfilesPatchCall) UserIP(userIP string) *AccountUserProfilesPatchCall
- type 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() (*AccountUserProfile, error)
- func (c *AccountUserProfilesUpdateCall) Fields(s ...googleapi.Field) *AccountUserProfilesUpdateCall
- func (c *AccountUserProfilesUpdateCall) QuotaUser(quotaUser string) *AccountUserProfilesUpdateCall
- func (c *AccountUserProfilesUpdateCall) UserIP(userIP string) *AccountUserProfilesUpdateCall
- type AccountsGetCall
- func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
- func (c *AccountsGetCall) Do() (*Account, error)
- func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
- func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
- func (c *AccountsGetCall) QuotaUser(quotaUser string) *AccountsGetCall
- func (c *AccountsGetCall) UserIP(userIP string) *AccountsGetCall
- type AccountsListCall
- func (c *AccountsListCall) Active(active bool) *AccountsListCall
- func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
- func (c *AccountsListCall) Do() (*AccountsListResponse, error)
- func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
- 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) QuotaUser(quotaUser string) *AccountsListCall
- func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall
- func (c *AccountsListCall) SortField(sortField string) *AccountsListCall
- func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall
- func (c *AccountsListCall) UserIP(userIP string) *AccountsListCall
- type AccountsListResponse
- type AccountsPatchCall
- func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall
- func (c *AccountsPatchCall) Do() (*Account, error)
- func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall
- func (c *AccountsPatchCall) QuotaUser(quotaUser string) *AccountsPatchCall
- func (c *AccountsPatchCall) UserIP(userIP string) *AccountsPatchCall
- type 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() (*Account, error)
- func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
- func (c *AccountsUpdateCall) QuotaUser(quotaUser string) *AccountsUpdateCall
- func (c *AccountsUpdateCall) UserIP(userIP string) *AccountsUpdateCall
- type Activities
- type Ad
- type AdSlot
- type AdsGetCall
- func (c *AdsGetCall) Context(ctx context.Context) *AdsGetCall
- func (c *AdsGetCall) Do() (*Ad, error)
- func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall
- func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall
- func (c *AdsGetCall) QuotaUser(quotaUser string) *AdsGetCall
- func (c *AdsGetCall) UserIP(userIP string) *AdsGetCall
- type AdsInsertCall
- func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall
- func (c *AdsInsertCall) Do() (*Ad, error)
- func (c *AdsInsertCall) Fields(s ...googleapi.Field) *AdsInsertCall
- func (c *AdsInsertCall) QuotaUser(quotaUser string) *AdsInsertCall
- func (c *AdsInsertCall) UserIP(userIP string) *AdsInsertCall
- 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) CreativeType(creativeType string) *AdsListCall
- func (c *AdsListCall) Do() (*AdsListResponse, error)
- func (c *AdsListCall) DynamicClickTracker(dynamicClickTracker bool) *AdsListCall
- func (c *AdsListCall) Fields(s ...googleapi.Field) *AdsListCall
- 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) PlacementIds(placementIds ...int64) *AdsListCall
- func (c *AdsListCall) QuotaUser(quotaUser string) *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
- func (c *AdsListCall) UserIP(userIP string) *AdsListCall
- type AdsListResponse
- type AdsPatchCall
- type 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() (*Ad, error)
- func (c *AdsUpdateCall) Fields(s ...googleapi.Field) *AdsUpdateCall
- func (c *AdsUpdateCall) QuotaUser(quotaUser string) *AdsUpdateCall
- func (c *AdsUpdateCall) UserIP(userIP string) *AdsUpdateCall
- type Advertiser
- type AdvertiserGroup
- type AdvertiserGroupsDeleteCall
- func (c *AdvertiserGroupsDeleteCall) Context(ctx context.Context) *AdvertiserGroupsDeleteCall
- func (c *AdvertiserGroupsDeleteCall) Do() error
- func (c *AdvertiserGroupsDeleteCall) Fields(s ...googleapi.Field) *AdvertiserGroupsDeleteCall
- func (c *AdvertiserGroupsDeleteCall) QuotaUser(quotaUser string) *AdvertiserGroupsDeleteCall
- func (c *AdvertiserGroupsDeleteCall) UserIP(userIP string) *AdvertiserGroupsDeleteCall
- type AdvertiserGroupsGetCall
- func (c *AdvertiserGroupsGetCall) Context(ctx context.Context) *AdvertiserGroupsGetCall
- func (c *AdvertiserGroupsGetCall) Do() (*AdvertiserGroup, error)
- func (c *AdvertiserGroupsGetCall) Fields(s ...googleapi.Field) *AdvertiserGroupsGetCall
- func (c *AdvertiserGroupsGetCall) IfNoneMatch(entityTag string) *AdvertiserGroupsGetCall
- func (c *AdvertiserGroupsGetCall) QuotaUser(quotaUser string) *AdvertiserGroupsGetCall
- func (c *AdvertiserGroupsGetCall) UserIP(userIP string) *AdvertiserGroupsGetCall
- type AdvertiserGroupsInsertCall
- func (c *AdvertiserGroupsInsertCall) Context(ctx context.Context) *AdvertiserGroupsInsertCall
- func (c *AdvertiserGroupsInsertCall) Do() (*AdvertiserGroup, error)
- func (c *AdvertiserGroupsInsertCall) Fields(s ...googleapi.Field) *AdvertiserGroupsInsertCall
- func (c *AdvertiserGroupsInsertCall) QuotaUser(quotaUser string) *AdvertiserGroupsInsertCall
- func (c *AdvertiserGroupsInsertCall) UserIP(userIP string) *AdvertiserGroupsInsertCall
- type AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) Do() (*AdvertiserGroupsListResponse, error)
- func (c *AdvertiserGroupsListCall) Fields(s ...googleapi.Field) *AdvertiserGroupsListCall
- 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) QuotaUser(quotaUser string) *AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) SearchString(searchString string) *AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall
- func (c *AdvertiserGroupsListCall) UserIP(userIP string) *AdvertiserGroupsListCall
- type AdvertiserGroupsListResponse
- type AdvertiserGroupsPatchCall
- func (c *AdvertiserGroupsPatchCall) Context(ctx context.Context) *AdvertiserGroupsPatchCall
- func (c *AdvertiserGroupsPatchCall) Do() (*AdvertiserGroup, error)
- func (c *AdvertiserGroupsPatchCall) Fields(s ...googleapi.Field) *AdvertiserGroupsPatchCall
- func (c *AdvertiserGroupsPatchCall) QuotaUser(quotaUser string) *AdvertiserGroupsPatchCall
- func (c *AdvertiserGroupsPatchCall) UserIP(userIP string) *AdvertiserGroupsPatchCall
- type 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() (*AdvertiserGroup, error)
- func (c *AdvertiserGroupsUpdateCall) Fields(s ...googleapi.Field) *AdvertiserGroupsUpdateCall
- func (c *AdvertiserGroupsUpdateCall) QuotaUser(quotaUser string) *AdvertiserGroupsUpdateCall
- func (c *AdvertiserGroupsUpdateCall) UserIP(userIP string) *AdvertiserGroupsUpdateCall
- type AdvertisersGetCall
- func (c *AdvertisersGetCall) Context(ctx context.Context) *AdvertisersGetCall
- func (c *AdvertisersGetCall) Do() (*Advertiser, error)
- func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall
- func (c *AdvertisersGetCall) IfNoneMatch(entityTag string) *AdvertisersGetCall
- func (c *AdvertisersGetCall) QuotaUser(quotaUser string) *AdvertisersGetCall
- func (c *AdvertisersGetCall) UserIP(userIP string) *AdvertisersGetCall
- type AdvertisersInsertCall
- func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall
- func (c *AdvertisersInsertCall) Do() (*Advertiser, error)
- func (c *AdvertisersInsertCall) Fields(s ...googleapi.Field) *AdvertisersInsertCall
- func (c *AdvertisersInsertCall) QuotaUser(quotaUser string) *AdvertisersInsertCall
- func (c *AdvertisersInsertCall) UserIP(userIP string) *AdvertisersInsertCall
- type AdvertisersListCall
- func (c *AdvertisersListCall) AdvertiserGroupIds(advertiserGroupIds ...int64) *AdvertisersListCall
- func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall
- func (c *AdvertisersListCall) Do() (*AdvertisersListResponse, error)
- func (c *AdvertisersListCall) Fields(s ...googleapi.Field) *AdvertisersListCall
- func (c *AdvertisersListCall) FloodlightConfigurationIds(floodlightConfigurationIds ...int64) *AdvertisersListCall
- 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) QuotaUser(quotaUser string) *AdvertisersListCall
- 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
- func (c *AdvertisersListCall) UserIP(userIP string) *AdvertisersListCall
- type AdvertisersListResponse
- type AdvertisersPatchCall
- func (c *AdvertisersPatchCall) Context(ctx context.Context) *AdvertisersPatchCall
- func (c *AdvertisersPatchCall) Do() (*Advertiser, error)
- func (c *AdvertisersPatchCall) Fields(s ...googleapi.Field) *AdvertisersPatchCall
- func (c *AdvertisersPatchCall) QuotaUser(quotaUser string) *AdvertisersPatchCall
- func (c *AdvertisersPatchCall) UserIP(userIP string) *AdvertisersPatchCall
- type 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() (*Advertiser, error)
- func (c *AdvertisersUpdateCall) Fields(s ...googleapi.Field) *AdvertisersUpdateCall
- func (c *AdvertisersUpdateCall) QuotaUser(quotaUser string) *AdvertisersUpdateCall
- func (c *AdvertisersUpdateCall) UserIP(userIP string) *AdvertisersUpdateCall
- type AudienceSegment
- type AudienceSegmentGroup
- type Browser
- type BrowsersListCall
- func (c *BrowsersListCall) Context(ctx context.Context) *BrowsersListCall
- func (c *BrowsersListCall) Do() (*BrowsersListResponse, error)
- func (c *BrowsersListCall) Fields(s ...googleapi.Field) *BrowsersListCall
- func (c *BrowsersListCall) IfNoneMatch(entityTag string) *BrowsersListCall
- func (c *BrowsersListCall) QuotaUser(quotaUser string) *BrowsersListCall
- func (c *BrowsersListCall) UserIP(userIP string) *BrowsersListCall
- type BrowsersListResponse
- type BrowsersService
- type Campaign
- type CampaignCreativeAssociation
- type CampaignCreativeAssociationsInsertCall
- func (c *CampaignCreativeAssociationsInsertCall) Context(ctx context.Context) *CampaignCreativeAssociationsInsertCall
- func (c *CampaignCreativeAssociationsInsertCall) Do() (*CampaignCreativeAssociation, error)
- func (c *CampaignCreativeAssociationsInsertCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsInsertCall
- func (c *CampaignCreativeAssociationsInsertCall) QuotaUser(quotaUser string) *CampaignCreativeAssociationsInsertCall
- func (c *CampaignCreativeAssociationsInsertCall) UserIP(userIP string) *CampaignCreativeAssociationsInsertCall
- type CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) Context(ctx context.Context) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) Do() (*CampaignCreativeAssociationsListResponse, error)
- func (c *CampaignCreativeAssociationsListCall) Fields(s ...googleapi.Field) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) IfNoneMatch(entityTag string) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) MaxResults(maxResults int64) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) QuotaUser(quotaUser string) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall
- func (c *CampaignCreativeAssociationsListCall) UserIP(userIP string) *CampaignCreativeAssociationsListCall
- type CampaignCreativeAssociationsListResponse
- type CampaignCreativeAssociationsService
- type CampaignsGetCall
- func (c *CampaignsGetCall) Context(ctx context.Context) *CampaignsGetCall
- func (c *CampaignsGetCall) Do() (*Campaign, error)
- func (c *CampaignsGetCall) Fields(s ...googleapi.Field) *CampaignsGetCall
- func (c *CampaignsGetCall) IfNoneMatch(entityTag string) *CampaignsGetCall
- func (c *CampaignsGetCall) QuotaUser(quotaUser string) *CampaignsGetCall
- func (c *CampaignsGetCall) UserIP(userIP string) *CampaignsGetCall
- type CampaignsInsertCall
- func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall
- func (c *CampaignsInsertCall) Do() (*Campaign, error)
- func (c *CampaignsInsertCall) Fields(s ...googleapi.Field) *CampaignsInsertCall
- func (c *CampaignsInsertCall) QuotaUser(quotaUser string) *CampaignsInsertCall
- func (c *CampaignsInsertCall) UserIP(userIP string) *CampaignsInsertCall
- 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() (*CampaignsListResponse, error)
- func (c *CampaignsListCall) ExcludedIds(excludedIds ...int64) *CampaignsListCall
- func (c *CampaignsListCall) Fields(s ...googleapi.Field) *CampaignsListCall
- 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) QuotaUser(quotaUser string) *CampaignsListCall
- 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
- func (c *CampaignsListCall) UserIP(userIP string) *CampaignsListCall
- type CampaignsListResponse
- type CampaignsPatchCall
- func (c *CampaignsPatchCall) Context(ctx context.Context) *CampaignsPatchCall
- func (c *CampaignsPatchCall) Do() (*Campaign, error)
- func (c *CampaignsPatchCall) Fields(s ...googleapi.Field) *CampaignsPatchCall
- func (c *CampaignsPatchCall) QuotaUser(quotaUser string) *CampaignsPatchCall
- func (c *CampaignsPatchCall) UserIP(userIP string) *CampaignsPatchCall
- type CampaignsService
- func (r *CampaignsService) Get(profileId int64, id int64) *CampaignsGetCall
- func (r *CampaignsService) Insert(profileId int64, defaultLandingPageName string, defaultLandingPageUrl string, ...) *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() (*Campaign, error)
- func (c *CampaignsUpdateCall) Fields(s ...googleapi.Field) *CampaignsUpdateCall
- func (c *CampaignsUpdateCall) QuotaUser(quotaUser string) *CampaignsUpdateCall
- func (c *CampaignsUpdateCall) UserIP(userIP string) *CampaignsUpdateCall
- type ChangeLog
- type ChangeLogsGetCall
- func (c *ChangeLogsGetCall) Context(ctx context.Context) *ChangeLogsGetCall
- func (c *ChangeLogsGetCall) Do() (*ChangeLog, error)
- func (c *ChangeLogsGetCall) Fields(s ...googleapi.Field) *ChangeLogsGetCall
- func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall
- func (c *ChangeLogsGetCall) QuotaUser(quotaUser string) *ChangeLogsGetCall
- func (c *ChangeLogsGetCall) UserIP(userIP string) *ChangeLogsGetCall
- type ChangeLogsListCall
- func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall
- func (c *ChangeLogsListCall) Context(ctx context.Context) *ChangeLogsListCall
- func (c *ChangeLogsListCall) Do() (*ChangeLogsListResponse, error)
- func (c *ChangeLogsListCall) Fields(s ...googleapi.Field) *ChangeLogsListCall
- 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) QuotaUser(quotaUser string) *ChangeLogsListCall
- func (c *ChangeLogsListCall) SearchString(searchString string) *ChangeLogsListCall
- func (c *ChangeLogsListCall) UserIP(userIP string) *ChangeLogsListCall
- func (c *ChangeLogsListCall) UserProfileIds(userProfileIds ...int64) *ChangeLogsListCall
- type ChangeLogsListResponse
- type ChangeLogsService
- 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() (*CitiesListResponse, error)
- func (c *CitiesListCall) Fields(s ...googleapi.Field) *CitiesListCall
- func (c *CitiesListCall) IfNoneMatch(entityTag string) *CitiesListCall
- func (c *CitiesListCall) NamePrefix(namePrefix string) *CitiesListCall
- func (c *CitiesListCall) QuotaUser(quotaUser string) *CitiesListCall
- func (c *CitiesListCall) RegionDartIds(regionDartIds ...int64) *CitiesListCall
- func (c *CitiesListCall) UserIP(userIP string) *CitiesListCall
- type CitiesListResponse
- type CitiesService
- type City
- type ClickTag
- type ClickThroughUrl
- type ClickThroughUrlSuffixProperties
- type CompanionClickThroughOverride
- type CompatibleFields
- type ConnectionType
- type ConnectionTypesGetCall
- func (c *ConnectionTypesGetCall) Context(ctx context.Context) *ConnectionTypesGetCall
- func (c *ConnectionTypesGetCall) Do() (*ConnectionType, error)
- func (c *ConnectionTypesGetCall) Fields(s ...googleapi.Field) *ConnectionTypesGetCall
- func (c *ConnectionTypesGetCall) IfNoneMatch(entityTag string) *ConnectionTypesGetCall
- func (c *ConnectionTypesGetCall) QuotaUser(quotaUser string) *ConnectionTypesGetCall
- func (c *ConnectionTypesGetCall) UserIP(userIP string) *ConnectionTypesGetCall
- type ConnectionTypesListCall
- func (c *ConnectionTypesListCall) Context(ctx context.Context) *ConnectionTypesListCall
- func (c *ConnectionTypesListCall) Do() (*ConnectionTypesListResponse, error)
- func (c *ConnectionTypesListCall) Fields(s ...googleapi.Field) *ConnectionTypesListCall
- func (c *ConnectionTypesListCall) IfNoneMatch(entityTag string) *ConnectionTypesListCall
- func (c *ConnectionTypesListCall) QuotaUser(quotaUser string) *ConnectionTypesListCall
- func (c *ConnectionTypesListCall) UserIP(userIP string) *ConnectionTypesListCall
- type ConnectionTypesListResponse
- type ConnectionTypesService
- type ContentCategoriesDeleteCall
- func (c *ContentCategoriesDeleteCall) Context(ctx context.Context) *ContentCategoriesDeleteCall
- func (c *ContentCategoriesDeleteCall) Do() error
- func (c *ContentCategoriesDeleteCall) Fields(s ...googleapi.Field) *ContentCategoriesDeleteCall
- func (c *ContentCategoriesDeleteCall) QuotaUser(quotaUser string) *ContentCategoriesDeleteCall
- func (c *ContentCategoriesDeleteCall) UserIP(userIP string) *ContentCategoriesDeleteCall
- type ContentCategoriesGetCall
- func (c *ContentCategoriesGetCall) Context(ctx context.Context) *ContentCategoriesGetCall
- func (c *ContentCategoriesGetCall) Do() (*ContentCategory, error)
- func (c *ContentCategoriesGetCall) Fields(s ...googleapi.Field) *ContentCategoriesGetCall
- func (c *ContentCategoriesGetCall) IfNoneMatch(entityTag string) *ContentCategoriesGetCall
- func (c *ContentCategoriesGetCall) QuotaUser(quotaUser string) *ContentCategoriesGetCall
- func (c *ContentCategoriesGetCall) UserIP(userIP string) *ContentCategoriesGetCall
- type ContentCategoriesInsertCall
- func (c *ContentCategoriesInsertCall) Context(ctx context.Context) *ContentCategoriesInsertCall
- func (c *ContentCategoriesInsertCall) Do() (*ContentCategory, error)
- func (c *ContentCategoriesInsertCall) Fields(s ...googleapi.Field) *ContentCategoriesInsertCall
- func (c *ContentCategoriesInsertCall) QuotaUser(quotaUser string) *ContentCategoriesInsertCall
- func (c *ContentCategoriesInsertCall) UserIP(userIP string) *ContentCategoriesInsertCall
- type ContentCategoriesListCall
- func (c *ContentCategoriesListCall) Context(ctx context.Context) *ContentCategoriesListCall
- func (c *ContentCategoriesListCall) Do() (*ContentCategoriesListResponse, error)
- func (c *ContentCategoriesListCall) Fields(s ...googleapi.Field) *ContentCategoriesListCall
- 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) QuotaUser(quotaUser string) *ContentCategoriesListCall
- func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCategoriesListCall
- func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall
- func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall
- func (c *ContentCategoriesListCall) UserIP(userIP string) *ContentCategoriesListCall
- type ContentCategoriesListResponse
- type ContentCategoriesPatchCall
- func (c *ContentCategoriesPatchCall) Context(ctx context.Context) *ContentCategoriesPatchCall
- func (c *ContentCategoriesPatchCall) Do() (*ContentCategory, error)
- func (c *ContentCategoriesPatchCall) Fields(s ...googleapi.Field) *ContentCategoriesPatchCall
- func (c *ContentCategoriesPatchCall) QuotaUser(quotaUser string) *ContentCategoriesPatchCall
- func (c *ContentCategoriesPatchCall) UserIP(userIP string) *ContentCategoriesPatchCall
- type 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() (*ContentCategory, error)
- func (c *ContentCategoriesUpdateCall) Fields(s ...googleapi.Field) *ContentCategoriesUpdateCall
- func (c *ContentCategoriesUpdateCall) QuotaUser(quotaUser string) *ContentCategoriesUpdateCall
- func (c *ContentCategoriesUpdateCall) UserIP(userIP string) *ContentCategoriesUpdateCall
- type ContentCategory
- type CountriesGetCall
- func (c *CountriesGetCall) Context(ctx context.Context) *CountriesGetCall
- func (c *CountriesGetCall) Do() (*Country, error)
- func (c *CountriesGetCall) Fields(s ...googleapi.Field) *CountriesGetCall
- func (c *CountriesGetCall) IfNoneMatch(entityTag string) *CountriesGetCall
- func (c *CountriesGetCall) QuotaUser(quotaUser string) *CountriesGetCall
- func (c *CountriesGetCall) UserIP(userIP string) *CountriesGetCall
- type CountriesListCall
- func (c *CountriesListCall) Context(ctx context.Context) *CountriesListCall
- func (c *CountriesListCall) Do() (*CountriesListResponse, error)
- func (c *CountriesListCall) Fields(s ...googleapi.Field) *CountriesListCall
- func (c *CountriesListCall) IfNoneMatch(entityTag string) *CountriesListCall
- func (c *CountriesListCall) QuotaUser(quotaUser string) *CountriesListCall
- func (c *CountriesListCall) UserIP(userIP string) *CountriesListCall
- type CountriesListResponse
- type CountriesService
- type Country
- type Creative
- type CreativeAsset
- type CreativeAssetId
- type CreativeAssetMetadata
- type CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) Context(ctx context.Context) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) Do() (*CreativeAssetMetadata, error)
- func (c *CreativeAssetsInsertCall) Fields(s ...googleapi.Field) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) QuotaUser(quotaUser string) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *CreativeAssetsInsertCall
- func (c *CreativeAssetsInsertCall) UserIP(userIP string) *CreativeAssetsInsertCall
- type CreativeAssetsService
- type CreativeAssignment
- type CreativeCustomEvent
- type CreativeField
- type CreativeFieldAssignment
- type CreativeFieldValue
- type CreativeFieldValuesDeleteCall
- func (c *CreativeFieldValuesDeleteCall) Context(ctx context.Context) *CreativeFieldValuesDeleteCall
- func (c *CreativeFieldValuesDeleteCall) Do() error
- func (c *CreativeFieldValuesDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldValuesDeleteCall
- func (c *CreativeFieldValuesDeleteCall) QuotaUser(quotaUser string) *CreativeFieldValuesDeleteCall
- func (c *CreativeFieldValuesDeleteCall) UserIP(userIP string) *CreativeFieldValuesDeleteCall
- type CreativeFieldValuesGetCall
- func (c *CreativeFieldValuesGetCall) Context(ctx context.Context) *CreativeFieldValuesGetCall
- func (c *CreativeFieldValuesGetCall) Do() (*CreativeFieldValue, error)
- func (c *CreativeFieldValuesGetCall) Fields(s ...googleapi.Field) *CreativeFieldValuesGetCall
- func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall
- func (c *CreativeFieldValuesGetCall) QuotaUser(quotaUser string) *CreativeFieldValuesGetCall
- func (c *CreativeFieldValuesGetCall) UserIP(userIP string) *CreativeFieldValuesGetCall
- type CreativeFieldValuesInsertCall
- func (c *CreativeFieldValuesInsertCall) Context(ctx context.Context) *CreativeFieldValuesInsertCall
- func (c *CreativeFieldValuesInsertCall) Do() (*CreativeFieldValue, error)
- func (c *CreativeFieldValuesInsertCall) Fields(s ...googleapi.Field) *CreativeFieldValuesInsertCall
- func (c *CreativeFieldValuesInsertCall) QuotaUser(quotaUser string) *CreativeFieldValuesInsertCall
- func (c *CreativeFieldValuesInsertCall) UserIP(userIP string) *CreativeFieldValuesInsertCall
- type CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) Context(ctx context.Context) *CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) Do() (*CreativeFieldValuesListResponse, error)
- func (c *CreativeFieldValuesListCall) Fields(s ...googleapi.Field) *CreativeFieldValuesListCall
- 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) QuotaUser(quotaUser string) *CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) SearchString(searchString string) *CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall
- func (c *CreativeFieldValuesListCall) UserIP(userIP string) *CreativeFieldValuesListCall
- type CreativeFieldValuesListResponse
- type CreativeFieldValuesPatchCall
- func (c *CreativeFieldValuesPatchCall) Context(ctx context.Context) *CreativeFieldValuesPatchCall
- func (c *CreativeFieldValuesPatchCall) Do() (*CreativeFieldValue, error)
- func (c *CreativeFieldValuesPatchCall) Fields(s ...googleapi.Field) *CreativeFieldValuesPatchCall
- func (c *CreativeFieldValuesPatchCall) QuotaUser(quotaUser string) *CreativeFieldValuesPatchCall
- func (c *CreativeFieldValuesPatchCall) UserIP(userIP string) *CreativeFieldValuesPatchCall
- type 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, ...) *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() (*CreativeFieldValue, error)
- func (c *CreativeFieldValuesUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldValuesUpdateCall
- func (c *CreativeFieldValuesUpdateCall) QuotaUser(quotaUser string) *CreativeFieldValuesUpdateCall
- func (c *CreativeFieldValuesUpdateCall) UserIP(userIP string) *CreativeFieldValuesUpdateCall
- type CreativeFieldsDeleteCall
- func (c *CreativeFieldsDeleteCall) Context(ctx context.Context) *CreativeFieldsDeleteCall
- func (c *CreativeFieldsDeleteCall) Do() error
- func (c *CreativeFieldsDeleteCall) Fields(s ...googleapi.Field) *CreativeFieldsDeleteCall
- func (c *CreativeFieldsDeleteCall) QuotaUser(quotaUser string) *CreativeFieldsDeleteCall
- func (c *CreativeFieldsDeleteCall) UserIP(userIP string) *CreativeFieldsDeleteCall
- type CreativeFieldsGetCall
- func (c *CreativeFieldsGetCall) Context(ctx context.Context) *CreativeFieldsGetCall
- func (c *CreativeFieldsGetCall) Do() (*CreativeField, error)
- func (c *CreativeFieldsGetCall) Fields(s ...googleapi.Field) *CreativeFieldsGetCall
- func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall
- func (c *CreativeFieldsGetCall) QuotaUser(quotaUser string) *CreativeFieldsGetCall
- func (c *CreativeFieldsGetCall) UserIP(userIP string) *CreativeFieldsGetCall
- type CreativeFieldsInsertCall
- func (c *CreativeFieldsInsertCall) Context(ctx context.Context) *CreativeFieldsInsertCall
- func (c *CreativeFieldsInsertCall) Do() (*CreativeField, error)
- func (c *CreativeFieldsInsertCall) Fields(s ...googleapi.Field) *CreativeFieldsInsertCall
- func (c *CreativeFieldsInsertCall) QuotaUser(quotaUser string) *CreativeFieldsInsertCall
- func (c *CreativeFieldsInsertCall) UserIP(userIP string) *CreativeFieldsInsertCall
- type CreativeFieldsListCall
- func (c *CreativeFieldsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) Context(ctx context.Context) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) Do() (*CreativeFieldsListResponse, error)
- func (c *CreativeFieldsListCall) Fields(s ...googleapi.Field) *CreativeFieldsListCall
- 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) QuotaUser(quotaUser string) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall
- func (c *CreativeFieldsListCall) UserIP(userIP string) *CreativeFieldsListCall
- type CreativeFieldsListResponse
- type CreativeFieldsPatchCall
- func (c *CreativeFieldsPatchCall) Context(ctx context.Context) *CreativeFieldsPatchCall
- func (c *CreativeFieldsPatchCall) Do() (*CreativeField, error)
- func (c *CreativeFieldsPatchCall) Fields(s ...googleapi.Field) *CreativeFieldsPatchCall
- func (c *CreativeFieldsPatchCall) QuotaUser(quotaUser string) *CreativeFieldsPatchCall
- func (c *CreativeFieldsPatchCall) UserIP(userIP string) *CreativeFieldsPatchCall
- type 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() (*CreativeField, error)
- func (c *CreativeFieldsUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldsUpdateCall
- func (c *CreativeFieldsUpdateCall) QuotaUser(quotaUser string) *CreativeFieldsUpdateCall
- func (c *CreativeFieldsUpdateCall) UserIP(userIP string) *CreativeFieldsUpdateCall
- type CreativeGroup
- type CreativeGroupAssignment
- type CreativeGroupsGetCall
- func (c *CreativeGroupsGetCall) Context(ctx context.Context) *CreativeGroupsGetCall
- func (c *CreativeGroupsGetCall) Do() (*CreativeGroup, error)
- func (c *CreativeGroupsGetCall) Fields(s ...googleapi.Field) *CreativeGroupsGetCall
- func (c *CreativeGroupsGetCall) IfNoneMatch(entityTag string) *CreativeGroupsGetCall
- func (c *CreativeGroupsGetCall) QuotaUser(quotaUser string) *CreativeGroupsGetCall
- func (c *CreativeGroupsGetCall) UserIP(userIP string) *CreativeGroupsGetCall
- type CreativeGroupsInsertCall
- func (c *CreativeGroupsInsertCall) Context(ctx context.Context) *CreativeGroupsInsertCall
- func (c *CreativeGroupsInsertCall) Do() (*CreativeGroup, error)
- func (c *CreativeGroupsInsertCall) Fields(s ...googleapi.Field) *CreativeGroupsInsertCall
- func (c *CreativeGroupsInsertCall) QuotaUser(quotaUser string) *CreativeGroupsInsertCall
- func (c *CreativeGroupsInsertCall) UserIP(userIP string) *CreativeGroupsInsertCall
- type CreativeGroupsListCall
- func (c *CreativeGroupsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) Context(ctx context.Context) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) Do() (*CreativeGroupsListResponse, error)
- func (c *CreativeGroupsListCall) Fields(s ...googleapi.Field) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) GroupNumber(groupNumber int64) *CreativeGroupsListCall
- 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) QuotaUser(quotaUser string) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall
- func (c *CreativeGroupsListCall) UserIP(userIP string) *CreativeGroupsListCall
- type CreativeGroupsListResponse
- type CreativeGroupsPatchCall
- func (c *CreativeGroupsPatchCall) Context(ctx context.Context) *CreativeGroupsPatchCall
- func (c *CreativeGroupsPatchCall) Do() (*CreativeGroup, error)
- func (c *CreativeGroupsPatchCall) Fields(s ...googleapi.Field) *CreativeGroupsPatchCall
- func (c *CreativeGroupsPatchCall) QuotaUser(quotaUser string) *CreativeGroupsPatchCall
- func (c *CreativeGroupsPatchCall) UserIP(userIP string) *CreativeGroupsPatchCall
- type 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() (*CreativeGroup, error)
- func (c *CreativeGroupsUpdateCall) Fields(s ...googleapi.Field) *CreativeGroupsUpdateCall
- func (c *CreativeGroupsUpdateCall) QuotaUser(quotaUser string) *CreativeGroupsUpdateCall
- func (c *CreativeGroupsUpdateCall) UserIP(userIP string) *CreativeGroupsUpdateCall
- type CreativeOptimizationConfiguration
- type CreativeRotation
- type CreativeSettings
- type CreativesGetCall
- func (c *CreativesGetCall) Context(ctx context.Context) *CreativesGetCall
- func (c *CreativesGetCall) Do() (*Creative, error)
- func (c *CreativesGetCall) Fields(s ...googleapi.Field) *CreativesGetCall
- func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall
- func (c *CreativesGetCall) QuotaUser(quotaUser string) *CreativesGetCall
- func (c *CreativesGetCall) UserIP(userIP string) *CreativesGetCall
- type CreativesInsertCall
- func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall
- func (c *CreativesInsertCall) Do() (*Creative, error)
- func (c *CreativesInsertCall) Fields(s ...googleapi.Field) *CreativesInsertCall
- func (c *CreativesInsertCall) QuotaUser(quotaUser string) *CreativesInsertCall
- func (c *CreativesInsertCall) UserIP(userIP string) *CreativesInsertCall
- 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() (*CreativesListResponse, error)
- func (c *CreativesListCall) Fields(s ...googleapi.Field) *CreativesListCall
- 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) QuotaUser(quotaUser string) *CreativesListCall
- 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
- func (c *CreativesListCall) UserIP(userIP string) *CreativesListCall
- type CreativesListResponse
- type CreativesPatchCall
- func (c *CreativesPatchCall) Context(ctx context.Context) *CreativesPatchCall
- func (c *CreativesPatchCall) Do() (*Creative, error)
- func (c *CreativesPatchCall) Fields(s ...googleapi.Field) *CreativesPatchCall
- func (c *CreativesPatchCall) QuotaUser(quotaUser string) *CreativesPatchCall
- func (c *CreativesPatchCall) UserIP(userIP string) *CreativesPatchCall
- type 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() (*Creative, error)
- func (c *CreativesUpdateCall) Fields(s ...googleapi.Field) *CreativesUpdateCall
- func (c *CreativesUpdateCall) QuotaUser(quotaUser string) *CreativesUpdateCall
- func (c *CreativesUpdateCall) UserIP(userIP string) *CreativesUpdateCall
- type CrossDimensionReachReportCompatibleFields
- type CustomRichMediaEvents
- type DateRange
- type DayPartTargeting
- type DefaultClickThroughEventTagProperties
- type DeliverySchedule
- type DfpSettings
- type Dimension
- type DimensionFilter
- type DimensionValue
- type DimensionValueList
- type DimensionValueRequest
- type DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) Context(ctx context.Context) *DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) Do() (*DimensionValueList, error)
- func (c *DimensionValuesQueryCall) Fields(s ...googleapi.Field) *DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) MaxResults(maxResults int64) *DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) QuotaUser(quotaUser string) *DimensionValuesQueryCall
- func (c *DimensionValuesQueryCall) UserIP(userIP string) *DimensionValuesQueryCall
- type DimensionValuesService
- type DirectorySite
- type DirectorySiteContact
- type DirectorySiteContactAssignment
- type DirectorySiteContactsGetCall
- func (c *DirectorySiteContactsGetCall) Context(ctx context.Context) *DirectorySiteContactsGetCall
- func (c *DirectorySiteContactsGetCall) Do() (*DirectorySiteContact, error)
- func (c *DirectorySiteContactsGetCall) Fields(s ...googleapi.Field) *DirectorySiteContactsGetCall
- func (c *DirectorySiteContactsGetCall) IfNoneMatch(entityTag string) *DirectorySiteContactsGetCall
- func (c *DirectorySiteContactsGetCall) QuotaUser(quotaUser string) *DirectorySiteContactsGetCall
- func (c *DirectorySiteContactsGetCall) UserIP(userIP string) *DirectorySiteContactsGetCall
- type DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) Context(ctx context.Context) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) DirectorySiteIds(directorySiteIds ...int64) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) Do() (*DirectorySiteContactsListResponse, error)
- func (c *DirectorySiteContactsListCall) Fields(s ...googleapi.Field) *DirectorySiteContactsListCall
- 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) QuotaUser(quotaUser string) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) SearchString(searchString string) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall
- func (c *DirectorySiteContactsListCall) UserIP(userIP string) *DirectorySiteContactsListCall
- type DirectorySiteContactsListResponse
- type DirectorySiteContactsService
- type DirectorySiteSettings
- type DirectorySitesGetCall
- func (c *DirectorySitesGetCall) Context(ctx context.Context) *DirectorySitesGetCall
- func (c *DirectorySitesGetCall) Do() (*DirectorySite, error)
- func (c *DirectorySitesGetCall) Fields(s ...googleapi.Field) *DirectorySitesGetCall
- func (c *DirectorySitesGetCall) IfNoneMatch(entityTag string) *DirectorySitesGetCall
- func (c *DirectorySitesGetCall) QuotaUser(quotaUser string) *DirectorySitesGetCall
- func (c *DirectorySitesGetCall) UserIP(userIP string) *DirectorySitesGetCall
- type DirectorySitesInsertCall
- func (c *DirectorySitesInsertCall) Context(ctx context.Context) *DirectorySitesInsertCall
- func (c *DirectorySitesInsertCall) Do() (*DirectorySite, error)
- func (c *DirectorySitesInsertCall) Fields(s ...googleapi.Field) *DirectorySitesInsertCall
- func (c *DirectorySitesInsertCall) QuotaUser(quotaUser string) *DirectorySitesInsertCall
- func (c *DirectorySitesInsertCall) UserIP(userIP string) *DirectorySitesInsertCall
- 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() (*DirectorySitesListResponse, error)
- func (c *DirectorySitesListCall) Fields(s ...googleapi.Field) *DirectorySitesListCall
- 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) ParentId(parentId int64) *DirectorySitesListCall
- func (c *DirectorySitesListCall) QuotaUser(quotaUser string) *DirectorySitesListCall
- func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySitesListCall
- func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall
- func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall
- func (c *DirectorySitesListCall) UserIP(userIP string) *DirectorySitesListCall
- type DirectorySitesListResponse
- type DirectorySitesService
- type EventTag
- type EventTagOverride
- type EventTagsDeleteCall
- func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall
- func (c *EventTagsDeleteCall) Do() error
- func (c *EventTagsDeleteCall) Fields(s ...googleapi.Field) *EventTagsDeleteCall
- func (c *EventTagsDeleteCall) QuotaUser(quotaUser string) *EventTagsDeleteCall
- func (c *EventTagsDeleteCall) UserIP(userIP string) *EventTagsDeleteCall
- type EventTagsGetCall
- func (c *EventTagsGetCall) Context(ctx context.Context) *EventTagsGetCall
- func (c *EventTagsGetCall) Do() (*EventTag, error)
- func (c *EventTagsGetCall) Fields(s ...googleapi.Field) *EventTagsGetCall
- func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall
- func (c *EventTagsGetCall) QuotaUser(quotaUser string) *EventTagsGetCall
- func (c *EventTagsGetCall) UserIP(userIP string) *EventTagsGetCall
- type EventTagsInsertCall
- func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall
- func (c *EventTagsInsertCall) Do() (*EventTag, error)
- func (c *EventTagsInsertCall) Fields(s ...googleapi.Field) *EventTagsInsertCall
- func (c *EventTagsInsertCall) QuotaUser(quotaUser string) *EventTagsInsertCall
- func (c *EventTagsInsertCall) UserIP(userIP string) *EventTagsInsertCall
- 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() (*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) Ids(ids ...int64) *EventTagsListCall
- func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall
- func (c *EventTagsListCall) QuotaUser(quotaUser string) *EventTagsListCall
- func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
- func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall
- func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall
- func (c *EventTagsListCall) UserIP(userIP string) *EventTagsListCall
- type EventTagsListResponse
- type EventTagsPatchCall
- func (c *EventTagsPatchCall) Context(ctx context.Context) *EventTagsPatchCall
- func (c *EventTagsPatchCall) Do() (*EventTag, error)
- func (c *EventTagsPatchCall) Fields(s ...googleapi.Field) *EventTagsPatchCall
- func (c *EventTagsPatchCall) QuotaUser(quotaUser string) *EventTagsPatchCall
- func (c *EventTagsPatchCall) UserIP(userIP string) *EventTagsPatchCall
- type 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() (*EventTag, error)
- func (c *EventTagsUpdateCall) Fields(s ...googleapi.Field) *EventTagsUpdateCall
- func (c *EventTagsUpdateCall) QuotaUser(quotaUser string) *EventTagsUpdateCall
- func (c *EventTagsUpdateCall) UserIP(userIP string) *EventTagsUpdateCall
- type File
- type FileList
- type FileUrls
- type FilesGetCall
- func (c *FilesGetCall) Context(ctx context.Context) *FilesGetCall
- func (c *FilesGetCall) Do() (*File, error)
- func (c *FilesGetCall) Download() (*http.Response, error)
- func (c *FilesGetCall) Fields(s ...googleapi.Field) *FilesGetCall
- func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall
- func (c *FilesGetCall) QuotaUser(quotaUser string) *FilesGetCall
- func (c *FilesGetCall) UserIP(userIP string) *FilesGetCall
- type FilesListCall
- func (c *FilesListCall) Context(ctx context.Context) *FilesListCall
- func (c *FilesListCall) Do() (*FileList, error)
- func (c *FilesListCall) Fields(s ...googleapi.Field) *FilesListCall
- func (c *FilesListCall) IfNoneMatch(entityTag string) *FilesListCall
- func (c *FilesListCall) MaxResults(maxResults int64) *FilesListCall
- func (c *FilesListCall) PageToken(pageToken string) *FilesListCall
- func (c *FilesListCall) QuotaUser(quotaUser string) *FilesListCall
- func (c *FilesListCall) Scope(scope string) *FilesListCall
- func (c *FilesListCall) SortField(sortField string) *FilesListCall
- func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall
- func (c *FilesListCall) UserIP(userIP string) *FilesListCall
- type FilesService
- type Flight
- type FloodlightActivitiesDeleteCall
- func (c *FloodlightActivitiesDeleteCall) Context(ctx context.Context) *FloodlightActivitiesDeleteCall
- func (c *FloodlightActivitiesDeleteCall) Do() error
- func (c *FloodlightActivitiesDeleteCall) Fields(s ...googleapi.Field) *FloodlightActivitiesDeleteCall
- func (c *FloodlightActivitiesDeleteCall) QuotaUser(quotaUser string) *FloodlightActivitiesDeleteCall
- func (c *FloodlightActivitiesDeleteCall) UserIP(userIP string) *FloodlightActivitiesDeleteCall
- type FloodlightActivitiesGenerateTagResponse
- type FloodlightActivitiesGeneratetagCall
- func (c *FloodlightActivitiesGeneratetagCall) Context(ctx context.Context) *FloodlightActivitiesGeneratetagCall
- func (c *FloodlightActivitiesGeneratetagCall) Do() (*FloodlightActivitiesGenerateTagResponse, error)
- func (c *FloodlightActivitiesGeneratetagCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGeneratetagCall
- func (c *FloodlightActivitiesGeneratetagCall) FloodlightActivityId(floodlightActivityId int64) *FloodlightActivitiesGeneratetagCall
- func (c *FloodlightActivitiesGeneratetagCall) QuotaUser(quotaUser string) *FloodlightActivitiesGeneratetagCall
- func (c *FloodlightActivitiesGeneratetagCall) UserIP(userIP string) *FloodlightActivitiesGeneratetagCall
- type FloodlightActivitiesGetCall
- func (c *FloodlightActivitiesGetCall) Context(ctx context.Context) *FloodlightActivitiesGetCall
- func (c *FloodlightActivitiesGetCall) Do() (*FloodlightActivity, error)
- func (c *FloodlightActivitiesGetCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGetCall
- func (c *FloodlightActivitiesGetCall) IfNoneMatch(entityTag string) *FloodlightActivitiesGetCall
- func (c *FloodlightActivitiesGetCall) QuotaUser(quotaUser string) *FloodlightActivitiesGetCall
- func (c *FloodlightActivitiesGetCall) UserIP(userIP string) *FloodlightActivitiesGetCall
- type FloodlightActivitiesInsertCall
- func (c *FloodlightActivitiesInsertCall) Context(ctx context.Context) *FloodlightActivitiesInsertCall
- func (c *FloodlightActivitiesInsertCall) Do() (*FloodlightActivity, error)
- func (c *FloodlightActivitiesInsertCall) Fields(s ...googleapi.Field) *FloodlightActivitiesInsertCall
- func (c *FloodlightActivitiesInsertCall) QuotaUser(quotaUser string) *FloodlightActivitiesInsertCall
- func (c *FloodlightActivitiesInsertCall) UserIP(userIP string) *FloodlightActivitiesInsertCall
- type FloodlightActivitiesListCall
- func (c *FloodlightActivitiesListCall) AdvertiserId(advertiserId int64) *FloodlightActivitiesListCall
- func (c *FloodlightActivitiesListCall) Context(ctx context.Context) *FloodlightActivitiesListCall
- func (c *FloodlightActivitiesListCall) Do() (*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) 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) QuotaUser(quotaUser string) *FloodlightActivitiesListCall
- 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
- func (c *FloodlightActivitiesListCall) UserIP(userIP string) *FloodlightActivitiesListCall
- type FloodlightActivitiesListResponse
- type FloodlightActivitiesPatchCall
- func (c *FloodlightActivitiesPatchCall) Context(ctx context.Context) *FloodlightActivitiesPatchCall
- func (c *FloodlightActivitiesPatchCall) Do() (*FloodlightActivity, error)
- func (c *FloodlightActivitiesPatchCall) Fields(s ...googleapi.Field) *FloodlightActivitiesPatchCall
- func (c *FloodlightActivitiesPatchCall) QuotaUser(quotaUser string) *FloodlightActivitiesPatchCall
- func (c *FloodlightActivitiesPatchCall) UserIP(userIP string) *FloodlightActivitiesPatchCall
- type 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() (*FloodlightActivity, error)
- func (c *FloodlightActivitiesUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivitiesUpdateCall
- func (c *FloodlightActivitiesUpdateCall) QuotaUser(quotaUser string) *FloodlightActivitiesUpdateCall
- func (c *FloodlightActivitiesUpdateCall) UserIP(userIP string) *FloodlightActivitiesUpdateCall
- type FloodlightActivity
- type FloodlightActivityDynamicTag
- type FloodlightActivityGroup
- type FloodlightActivityGroupsDeleteCall
- func (c *FloodlightActivityGroupsDeleteCall) Context(ctx context.Context) *FloodlightActivityGroupsDeleteCall
- func (c *FloodlightActivityGroupsDeleteCall) Do() error
- func (c *FloodlightActivityGroupsDeleteCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsDeleteCall
- func (c *FloodlightActivityGroupsDeleteCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsDeleteCall
- func (c *FloodlightActivityGroupsDeleteCall) UserIP(userIP string) *FloodlightActivityGroupsDeleteCall
- type FloodlightActivityGroupsGetCall
- func (c *FloodlightActivityGroupsGetCall) Context(ctx context.Context) *FloodlightActivityGroupsGetCall
- func (c *FloodlightActivityGroupsGetCall) Do() (*FloodlightActivityGroup, error)
- func (c *FloodlightActivityGroupsGetCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsGetCall
- func (c *FloodlightActivityGroupsGetCall) IfNoneMatch(entityTag string) *FloodlightActivityGroupsGetCall
- func (c *FloodlightActivityGroupsGetCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsGetCall
- func (c *FloodlightActivityGroupsGetCall) UserIP(userIP string) *FloodlightActivityGroupsGetCall
- type FloodlightActivityGroupsInsertCall
- func (c *FloodlightActivityGroupsInsertCall) Context(ctx context.Context) *FloodlightActivityGroupsInsertCall
- func (c *FloodlightActivityGroupsInsertCall) Do() (*FloodlightActivityGroup, error)
- func (c *FloodlightActivityGroupsInsertCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsInsertCall
- func (c *FloodlightActivityGroupsInsertCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsInsertCall
- func (c *FloodlightActivityGroupsInsertCall) UserIP(userIP string) *FloodlightActivityGroupsInsertCall
- type FloodlightActivityGroupsListCall
- func (c *FloodlightActivityGroupsListCall) AdvertiserId(advertiserId int64) *FloodlightActivityGroupsListCall
- func (c *FloodlightActivityGroupsListCall) Context(ctx context.Context) *FloodlightActivityGroupsListCall
- func (c *FloodlightActivityGroupsListCall) Do() (*FloodlightActivityGroupsListResponse, error)
- func (c *FloodlightActivityGroupsListCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsListCall
- func (c *FloodlightActivityGroupsListCall) FloodlightConfigurationId(floodlightConfigurationId int64) *FloodlightActivityGroupsListCall
- 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) QuotaUser(quotaUser string) *FloodlightActivityGroupsListCall
- 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
- func (c *FloodlightActivityGroupsListCall) UserIP(userIP string) *FloodlightActivityGroupsListCall
- type FloodlightActivityGroupsListResponse
- type FloodlightActivityGroupsPatchCall
- func (c *FloodlightActivityGroupsPatchCall) Context(ctx context.Context) *FloodlightActivityGroupsPatchCall
- func (c *FloodlightActivityGroupsPatchCall) Do() (*FloodlightActivityGroup, error)
- func (c *FloodlightActivityGroupsPatchCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsPatchCall
- func (c *FloodlightActivityGroupsPatchCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsPatchCall
- func (c *FloodlightActivityGroupsPatchCall) UserIP(userIP string) *FloodlightActivityGroupsPatchCall
- type FloodlightActivityGroupsService
- func (r *FloodlightActivityGroupsService) Delete(profileId int64, id int64) *FloodlightActivityGroupsDeleteCall
- 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() (*FloodlightActivityGroup, error)
- func (c *FloodlightActivityGroupsUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsUpdateCall
- func (c *FloodlightActivityGroupsUpdateCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsUpdateCall
- func (c *FloodlightActivityGroupsUpdateCall) UserIP(userIP string) *FloodlightActivityGroupsUpdateCall
- type FloodlightActivityPublisherDynamicTag
- type FloodlightConfiguration
- type FloodlightConfigurationsGetCall
- func (c *FloodlightConfigurationsGetCall) Context(ctx context.Context) *FloodlightConfigurationsGetCall
- func (c *FloodlightConfigurationsGetCall) Do() (*FloodlightConfiguration, error)
- func (c *FloodlightConfigurationsGetCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsGetCall
- func (c *FloodlightConfigurationsGetCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsGetCall
- func (c *FloodlightConfigurationsGetCall) QuotaUser(quotaUser string) *FloodlightConfigurationsGetCall
- func (c *FloodlightConfigurationsGetCall) UserIP(userIP string) *FloodlightConfigurationsGetCall
- type FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) Context(ctx context.Context) *FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) Do() (*FloodlightConfigurationsListResponse, error)
- func (c *FloodlightConfigurationsListCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) Ids(ids ...int64) *FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) QuotaUser(quotaUser string) *FloodlightConfigurationsListCall
- func (c *FloodlightConfigurationsListCall) UserIP(userIP string) *FloodlightConfigurationsListCall
- type FloodlightConfigurationsListResponse
- type FloodlightConfigurationsPatchCall
- func (c *FloodlightConfigurationsPatchCall) Context(ctx context.Context) *FloodlightConfigurationsPatchCall
- func (c *FloodlightConfigurationsPatchCall) Do() (*FloodlightConfiguration, error)
- func (c *FloodlightConfigurationsPatchCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsPatchCall
- func (c *FloodlightConfigurationsPatchCall) QuotaUser(quotaUser string) *FloodlightConfigurationsPatchCall
- func (c *FloodlightConfigurationsPatchCall) UserIP(userIP string) *FloodlightConfigurationsPatchCall
- type 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() (*FloodlightConfiguration, error)
- func (c *FloodlightConfigurationsUpdateCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsUpdateCall
- func (c *FloodlightConfigurationsUpdateCall) QuotaUser(quotaUser string) *FloodlightConfigurationsUpdateCall
- func (c *FloodlightConfigurationsUpdateCall) UserIP(userIP string) *FloodlightConfigurationsUpdateCall
- type FloodlightReportCompatibleFields
- type FrequencyCap
- type FsCommand
- type GeoTargeting
- type InventoryItem
- type InventoryItemsGetCall
- func (c *InventoryItemsGetCall) Context(ctx context.Context) *InventoryItemsGetCall
- func (c *InventoryItemsGetCall) Do() (*InventoryItem, error)
- func (c *InventoryItemsGetCall) Fields(s ...googleapi.Field) *InventoryItemsGetCall
- func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall
- func (c *InventoryItemsGetCall) QuotaUser(quotaUser string) *InventoryItemsGetCall
- func (c *InventoryItemsGetCall) UserIP(userIP string) *InventoryItemsGetCall
- type InventoryItemsListCall
- func (c *InventoryItemsListCall) Context(ctx context.Context) *InventoryItemsListCall
- func (c *InventoryItemsListCall) Do() (*InventoryItemsListResponse, error)
- func (c *InventoryItemsListCall) Fields(s ...googleapi.Field) *InventoryItemsListCall
- 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) QuotaUser(quotaUser string) *InventoryItemsListCall
- func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
- func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall
- func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall
- func (c *InventoryItemsListCall) UserIP(userIP string) *InventoryItemsListCall
- type InventoryItemsListResponse
- type InventoryItemsService
- type KeyValueTargetingExpression
- type LandingPage
- type LandingPagesDeleteCall
- func (c *LandingPagesDeleteCall) Context(ctx context.Context) *LandingPagesDeleteCall
- func (c *LandingPagesDeleteCall) Do() error
- func (c *LandingPagesDeleteCall) Fields(s ...googleapi.Field) *LandingPagesDeleteCall
- func (c *LandingPagesDeleteCall) QuotaUser(quotaUser string) *LandingPagesDeleteCall
- func (c *LandingPagesDeleteCall) UserIP(userIP string) *LandingPagesDeleteCall
- type LandingPagesGetCall
- func (c *LandingPagesGetCall) Context(ctx context.Context) *LandingPagesGetCall
- func (c *LandingPagesGetCall) Do() (*LandingPage, error)
- func (c *LandingPagesGetCall) Fields(s ...googleapi.Field) *LandingPagesGetCall
- func (c *LandingPagesGetCall) IfNoneMatch(entityTag string) *LandingPagesGetCall
- func (c *LandingPagesGetCall) QuotaUser(quotaUser string) *LandingPagesGetCall
- func (c *LandingPagesGetCall) UserIP(userIP string) *LandingPagesGetCall
- type LandingPagesInsertCall
- func (c *LandingPagesInsertCall) Context(ctx context.Context) *LandingPagesInsertCall
- func (c *LandingPagesInsertCall) Do() (*LandingPage, error)
- func (c *LandingPagesInsertCall) Fields(s ...googleapi.Field) *LandingPagesInsertCall
- func (c *LandingPagesInsertCall) QuotaUser(quotaUser string) *LandingPagesInsertCall
- func (c *LandingPagesInsertCall) UserIP(userIP string) *LandingPagesInsertCall
- type LandingPagesListCall
- func (c *LandingPagesListCall) Context(ctx context.Context) *LandingPagesListCall
- func (c *LandingPagesListCall) Do() (*LandingPagesListResponse, error)
- func (c *LandingPagesListCall) Fields(s ...googleapi.Field) *LandingPagesListCall
- func (c *LandingPagesListCall) IfNoneMatch(entityTag string) *LandingPagesListCall
- func (c *LandingPagesListCall) QuotaUser(quotaUser string) *LandingPagesListCall
- func (c *LandingPagesListCall) UserIP(userIP string) *LandingPagesListCall
- type LandingPagesListResponse
- type LandingPagesPatchCall
- func (c *LandingPagesPatchCall) Context(ctx context.Context) *LandingPagesPatchCall
- func (c *LandingPagesPatchCall) Do() (*LandingPage, error)
- func (c *LandingPagesPatchCall) Fields(s ...googleapi.Field) *LandingPagesPatchCall
- func (c *LandingPagesPatchCall) QuotaUser(quotaUser string) *LandingPagesPatchCall
- func (c *LandingPagesPatchCall) UserIP(userIP string) *LandingPagesPatchCall
- type 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() (*LandingPage, error)
- func (c *LandingPagesUpdateCall) Fields(s ...googleapi.Field) *LandingPagesUpdateCall
- func (c *LandingPagesUpdateCall) QuotaUser(quotaUser string) *LandingPagesUpdateCall
- func (c *LandingPagesUpdateCall) UserIP(userIP string) *LandingPagesUpdateCall
- type LastModifiedInfo
- type ListPopulationClause
- type ListPopulationRule
- type ListPopulationTerm
- type ListTargetingExpression
- type LookbackConfiguration
- type Metric
- type Metro
- type MetrosListCall
- func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall
- func (c *MetrosListCall) Do() (*MetrosListResponse, error)
- func (c *MetrosListCall) Fields(s ...googleapi.Field) *MetrosListCall
- func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall
- func (c *MetrosListCall) QuotaUser(quotaUser string) *MetrosListCall
- func (c *MetrosListCall) UserIP(userIP string) *MetrosListCall
- type MetrosListResponse
- type MetrosService
- type MobileCarrier
- type MobileCarriersGetCall
- func (c *MobileCarriersGetCall) Context(ctx context.Context) *MobileCarriersGetCall
- func (c *MobileCarriersGetCall) Do() (*MobileCarrier, error)
- func (c *MobileCarriersGetCall) Fields(s ...googleapi.Field) *MobileCarriersGetCall
- func (c *MobileCarriersGetCall) IfNoneMatch(entityTag string) *MobileCarriersGetCall
- func (c *MobileCarriersGetCall) QuotaUser(quotaUser string) *MobileCarriersGetCall
- func (c *MobileCarriersGetCall) UserIP(userIP string) *MobileCarriersGetCall
- type MobileCarriersListCall
- func (c *MobileCarriersListCall) Context(ctx context.Context) *MobileCarriersListCall
- func (c *MobileCarriersListCall) Do() (*MobileCarriersListResponse, error)
- func (c *MobileCarriersListCall) Fields(s ...googleapi.Field) *MobileCarriersListCall
- func (c *MobileCarriersListCall) IfNoneMatch(entityTag string) *MobileCarriersListCall
- func (c *MobileCarriersListCall) QuotaUser(quotaUser string) *MobileCarriersListCall
- func (c *MobileCarriersListCall) UserIP(userIP string) *MobileCarriersListCall
- type MobileCarriersListResponse
- type MobileCarriersService
- type ObjectFilter
- type OffsetPosition
- type OmnitureSettings
- type OperatingSystem
- type OperatingSystemVersion
- type OperatingSystemVersionsGetCall
- func (c *OperatingSystemVersionsGetCall) Context(ctx context.Context) *OperatingSystemVersionsGetCall
- func (c *OperatingSystemVersionsGetCall) Do() (*OperatingSystemVersion, error)
- func (c *OperatingSystemVersionsGetCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsGetCall
- func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall
- func (c *OperatingSystemVersionsGetCall) QuotaUser(quotaUser string) *OperatingSystemVersionsGetCall
- func (c *OperatingSystemVersionsGetCall) UserIP(userIP string) *OperatingSystemVersionsGetCall
- type OperatingSystemVersionsListCall
- func (c *OperatingSystemVersionsListCall) Context(ctx context.Context) *OperatingSystemVersionsListCall
- func (c *OperatingSystemVersionsListCall) Do() (*OperatingSystemVersionsListResponse, error)
- func (c *OperatingSystemVersionsListCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsListCall
- func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall
- func (c *OperatingSystemVersionsListCall) QuotaUser(quotaUser string) *OperatingSystemVersionsListCall
- func (c *OperatingSystemVersionsListCall) UserIP(userIP string) *OperatingSystemVersionsListCall
- type OperatingSystemVersionsListResponse
- type OperatingSystemVersionsService
- type OperatingSystemsGetCall
- func (c *OperatingSystemsGetCall) Context(ctx context.Context) *OperatingSystemsGetCall
- func (c *OperatingSystemsGetCall) Do() (*OperatingSystem, error)
- func (c *OperatingSystemsGetCall) Fields(s ...googleapi.Field) *OperatingSystemsGetCall
- func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall
- func (c *OperatingSystemsGetCall) QuotaUser(quotaUser string) *OperatingSystemsGetCall
- func (c *OperatingSystemsGetCall) UserIP(userIP string) *OperatingSystemsGetCall
- type OperatingSystemsListCall
- func (c *OperatingSystemsListCall) Context(ctx context.Context) *OperatingSystemsListCall
- func (c *OperatingSystemsListCall) Do() (*OperatingSystemsListResponse, error)
- func (c *OperatingSystemsListCall) Fields(s ...googleapi.Field) *OperatingSystemsListCall
- func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall
- func (c *OperatingSystemsListCall) QuotaUser(quotaUser string) *OperatingSystemsListCall
- func (c *OperatingSystemsListCall) UserIP(userIP string) *OperatingSystemsListCall
- type OperatingSystemsListResponse
- type OperatingSystemsService
- type OptimizationActivity
- type Order
- type OrderContact
- type OrderDocument
- type OrderDocumentsGetCall
- func (c *OrderDocumentsGetCall) Context(ctx context.Context) *OrderDocumentsGetCall
- func (c *OrderDocumentsGetCall) Do() (*OrderDocument, error)
- func (c *OrderDocumentsGetCall) Fields(s ...googleapi.Field) *OrderDocumentsGetCall
- func (c *OrderDocumentsGetCall) IfNoneMatch(entityTag string) *OrderDocumentsGetCall
- func (c *OrderDocumentsGetCall) QuotaUser(quotaUser string) *OrderDocumentsGetCall
- func (c *OrderDocumentsGetCall) UserIP(userIP string) *OrderDocumentsGetCall
- type OrderDocumentsListCall
- func (c *OrderDocumentsListCall) Approved(approved bool) *OrderDocumentsListCall
- func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall
- func (c *OrderDocumentsListCall) Do() (*OrderDocumentsListResponse, error)
- func (c *OrderDocumentsListCall) Fields(s ...googleapi.Field) *OrderDocumentsListCall
- 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) QuotaUser(quotaUser string) *OrderDocumentsListCall
- 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
- func (c *OrderDocumentsListCall) UserIP(userIP string) *OrderDocumentsListCall
- type OrderDocumentsListResponse
- type OrderDocumentsService
- type OrdersGetCall
- func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall
- func (c *OrdersGetCall) Do() (*Order, error)
- func (c *OrdersGetCall) Fields(s ...googleapi.Field) *OrdersGetCall
- func (c *OrdersGetCall) IfNoneMatch(entityTag string) *OrdersGetCall
- func (c *OrdersGetCall) QuotaUser(quotaUser string) *OrdersGetCall
- func (c *OrdersGetCall) UserIP(userIP string) *OrdersGetCall
- type OrdersListCall
- func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall
- func (c *OrdersListCall) Do() (*OrdersListResponse, error)
- func (c *OrdersListCall) Fields(s ...googleapi.Field) *OrdersListCall
- 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) QuotaUser(quotaUser string) *OrdersListCall
- 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
- func (c *OrdersListCall) UserIP(userIP string) *OrdersListCall
- type OrdersListResponse
- type OrdersService
- type PathToConversionReportCompatibleFields
- type Placement
- type PlacementAssignment
- type PlacementGroup
- type PlacementGroupsGetCall
- func (c *PlacementGroupsGetCall) Context(ctx context.Context) *PlacementGroupsGetCall
- func (c *PlacementGroupsGetCall) Do() (*PlacementGroup, error)
- func (c *PlacementGroupsGetCall) Fields(s ...googleapi.Field) *PlacementGroupsGetCall
- func (c *PlacementGroupsGetCall) IfNoneMatch(entityTag string) *PlacementGroupsGetCall
- func (c *PlacementGroupsGetCall) QuotaUser(quotaUser string) *PlacementGroupsGetCall
- func (c *PlacementGroupsGetCall) UserIP(userIP string) *PlacementGroupsGetCall
- type PlacementGroupsInsertCall
- func (c *PlacementGroupsInsertCall) Context(ctx context.Context) *PlacementGroupsInsertCall
- func (c *PlacementGroupsInsertCall) Do() (*PlacementGroup, error)
- func (c *PlacementGroupsInsertCall) Fields(s ...googleapi.Field) *PlacementGroupsInsertCall
- func (c *PlacementGroupsInsertCall) QuotaUser(quotaUser string) *PlacementGroupsInsertCall
- func (c *PlacementGroupsInsertCall) UserIP(userIP string) *PlacementGroupsInsertCall
- 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() (*PlacementGroupsListResponse, error)
- func (c *PlacementGroupsListCall) Fields(s ...googleapi.Field) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) Ids(ids ...int64) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) IfNoneMatch(entityTag string) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) MaxResults(maxResults int64) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall
- func (c *PlacementGroupsListCall) QuotaUser(quotaUser 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
- func (c *PlacementGroupsListCall) UserIP(userIP string) *PlacementGroupsListCall
- type PlacementGroupsListResponse
- type PlacementGroupsPatchCall
- func (c *PlacementGroupsPatchCall) Context(ctx context.Context) *PlacementGroupsPatchCall
- func (c *PlacementGroupsPatchCall) Do() (*PlacementGroup, error)
- func (c *PlacementGroupsPatchCall) Fields(s ...googleapi.Field) *PlacementGroupsPatchCall
- func (c *PlacementGroupsPatchCall) QuotaUser(quotaUser string) *PlacementGroupsPatchCall
- func (c *PlacementGroupsPatchCall) UserIP(userIP string) *PlacementGroupsPatchCall
- type 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() (*PlacementGroup, error)
- func (c *PlacementGroupsUpdateCall) Fields(s ...googleapi.Field) *PlacementGroupsUpdateCall
- func (c *PlacementGroupsUpdateCall) QuotaUser(quotaUser string) *PlacementGroupsUpdateCall
- func (c *PlacementGroupsUpdateCall) UserIP(userIP string) *PlacementGroupsUpdateCall
- type PlacementStrategiesDeleteCall
- func (c *PlacementStrategiesDeleteCall) Context(ctx context.Context) *PlacementStrategiesDeleteCall
- func (c *PlacementStrategiesDeleteCall) Do() error
- func (c *PlacementStrategiesDeleteCall) Fields(s ...googleapi.Field) *PlacementStrategiesDeleteCall
- func (c *PlacementStrategiesDeleteCall) QuotaUser(quotaUser string) *PlacementStrategiesDeleteCall
- func (c *PlacementStrategiesDeleteCall) UserIP(userIP string) *PlacementStrategiesDeleteCall
- type PlacementStrategiesGetCall
- func (c *PlacementStrategiesGetCall) Context(ctx context.Context) *PlacementStrategiesGetCall
- func (c *PlacementStrategiesGetCall) Do() (*PlacementStrategy, error)
- func (c *PlacementStrategiesGetCall) Fields(s ...googleapi.Field) *PlacementStrategiesGetCall
- func (c *PlacementStrategiesGetCall) IfNoneMatch(entityTag string) *PlacementStrategiesGetCall
- func (c *PlacementStrategiesGetCall) QuotaUser(quotaUser string) *PlacementStrategiesGetCall
- func (c *PlacementStrategiesGetCall) UserIP(userIP string) *PlacementStrategiesGetCall
- type PlacementStrategiesInsertCall
- func (c *PlacementStrategiesInsertCall) Context(ctx context.Context) *PlacementStrategiesInsertCall
- func (c *PlacementStrategiesInsertCall) Do() (*PlacementStrategy, error)
- func (c *PlacementStrategiesInsertCall) Fields(s ...googleapi.Field) *PlacementStrategiesInsertCall
- func (c *PlacementStrategiesInsertCall) QuotaUser(quotaUser string) *PlacementStrategiesInsertCall
- func (c *PlacementStrategiesInsertCall) UserIP(userIP string) *PlacementStrategiesInsertCall
- type PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) Context(ctx context.Context) *PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) Do() (*PlacementStrategiesListResponse, error)
- func (c *PlacementStrategiesListCall) Fields(s ...googleapi.Field) *PlacementStrategiesListCall
- 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) QuotaUser(quotaUser string) *PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) SearchString(searchString string) *PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall
- func (c *PlacementStrategiesListCall) UserIP(userIP string) *PlacementStrategiesListCall
- type PlacementStrategiesListResponse
- type PlacementStrategiesPatchCall
- func (c *PlacementStrategiesPatchCall) Context(ctx context.Context) *PlacementStrategiesPatchCall
- func (c *PlacementStrategiesPatchCall) Do() (*PlacementStrategy, error)
- func (c *PlacementStrategiesPatchCall) Fields(s ...googleapi.Field) *PlacementStrategiesPatchCall
- func (c *PlacementStrategiesPatchCall) QuotaUser(quotaUser string) *PlacementStrategiesPatchCall
- func (c *PlacementStrategiesPatchCall) UserIP(userIP string) *PlacementStrategiesPatchCall
- type 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() (*PlacementStrategy, error)
- func (c *PlacementStrategiesUpdateCall) Fields(s ...googleapi.Field) *PlacementStrategiesUpdateCall
- func (c *PlacementStrategiesUpdateCall) QuotaUser(quotaUser string) *PlacementStrategiesUpdateCall
- func (c *PlacementStrategiesUpdateCall) UserIP(userIP string) *PlacementStrategiesUpdateCall
- type PlacementStrategy
- type PlacementTag
- type PlacementsGenerateTagsResponse
- type PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) CampaignId(campaignId int64) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) Context(ctx context.Context) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) Do() (*PlacementsGenerateTagsResponse, error)
- func (c *PlacementsGeneratetagsCall) Fields(s ...googleapi.Field) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) QuotaUser(quotaUser string) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall
- func (c *PlacementsGeneratetagsCall) UserIP(userIP string) *PlacementsGeneratetagsCall
- type PlacementsGetCall
- func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall
- func (c *PlacementsGetCall) Do() (*Placement, error)
- func (c *PlacementsGetCall) Fields(s ...googleapi.Field) *PlacementsGetCall
- func (c *PlacementsGetCall) IfNoneMatch(entityTag string) *PlacementsGetCall
- func (c *PlacementsGetCall) QuotaUser(quotaUser string) *PlacementsGetCall
- func (c *PlacementsGetCall) UserIP(userIP string) *PlacementsGetCall
- type PlacementsInsertCall
- func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall
- func (c *PlacementsInsertCall) Do() (*Placement, error)
- func (c *PlacementsInsertCall) Fields(s ...googleapi.Field) *PlacementsInsertCall
- func (c *PlacementsInsertCall) QuotaUser(quotaUser string) *PlacementsInsertCall
- func (c *PlacementsInsertCall) UserIP(userIP string) *PlacementsInsertCall
- 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() (*PlacementsListResponse, error)
- func (c *PlacementsListCall) Fields(s ...googleapi.Field) *PlacementsListCall
- func (c *PlacementsListCall) GroupIds(groupIds ...int64) *PlacementsListCall
- func (c *PlacementsListCall) Ids(ids ...int64) *PlacementsListCall
- func (c *PlacementsListCall) IfNoneMatch(entityTag string) *PlacementsListCall
- func (c *PlacementsListCall) MaxResults(maxResults int64) *PlacementsListCall
- func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall
- func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall
- func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementsListCall
- func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall
- func (c *PlacementsListCall) QuotaUser(quotaUser 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
- func (c *PlacementsListCall) UserIP(userIP string) *PlacementsListCall
- type PlacementsListResponse
- type PlacementsPatchCall
- func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall
- func (c *PlacementsPatchCall) Do() (*Placement, error)
- func (c *PlacementsPatchCall) Fields(s ...googleapi.Field) *PlacementsPatchCall
- func (c *PlacementsPatchCall) QuotaUser(quotaUser string) *PlacementsPatchCall
- func (c *PlacementsPatchCall) UserIP(userIP string) *PlacementsPatchCall
- type 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() (*Placement, error)
- func (c *PlacementsUpdateCall) Fields(s ...googleapi.Field) *PlacementsUpdateCall
- func (c *PlacementsUpdateCall) QuotaUser(quotaUser string) *PlacementsUpdateCall
- func (c *PlacementsUpdateCall) UserIP(userIP string) *PlacementsUpdateCall
- type PlatformType
- type PlatformTypesGetCall
- func (c *PlatformTypesGetCall) Context(ctx context.Context) *PlatformTypesGetCall
- func (c *PlatformTypesGetCall) Do() (*PlatformType, error)
- func (c *PlatformTypesGetCall) Fields(s ...googleapi.Field) *PlatformTypesGetCall
- func (c *PlatformTypesGetCall) IfNoneMatch(entityTag string) *PlatformTypesGetCall
- func (c *PlatformTypesGetCall) QuotaUser(quotaUser string) *PlatformTypesGetCall
- func (c *PlatformTypesGetCall) UserIP(userIP string) *PlatformTypesGetCall
- type PlatformTypesListCall
- func (c *PlatformTypesListCall) Context(ctx context.Context) *PlatformTypesListCall
- func (c *PlatformTypesListCall) Do() (*PlatformTypesListResponse, error)
- func (c *PlatformTypesListCall) Fields(s ...googleapi.Field) *PlatformTypesListCall
- func (c *PlatformTypesListCall) IfNoneMatch(entityTag string) *PlatformTypesListCall
- func (c *PlatformTypesListCall) QuotaUser(quotaUser string) *PlatformTypesListCall
- func (c *PlatformTypesListCall) UserIP(userIP string) *PlatformTypesListCall
- type PlatformTypesListResponse
- type PlatformTypesService
- type PopupWindowProperties
- type PostalCode
- type PostalCodesGetCall
- func (c *PostalCodesGetCall) Context(ctx context.Context) *PostalCodesGetCall
- func (c *PostalCodesGetCall) Do() (*PostalCode, error)
- func (c *PostalCodesGetCall) Fields(s ...googleapi.Field) *PostalCodesGetCall
- func (c *PostalCodesGetCall) IfNoneMatch(entityTag string) *PostalCodesGetCall
- func (c *PostalCodesGetCall) QuotaUser(quotaUser string) *PostalCodesGetCall
- func (c *PostalCodesGetCall) UserIP(userIP string) *PostalCodesGetCall
- type PostalCodesListCall
- func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall
- func (c *PostalCodesListCall) Do() (*PostalCodesListResponse, error)
- func (c *PostalCodesListCall) Fields(s ...googleapi.Field) *PostalCodesListCall
- func (c *PostalCodesListCall) IfNoneMatch(entityTag string) *PostalCodesListCall
- func (c *PostalCodesListCall) QuotaUser(quotaUser string) *PostalCodesListCall
- func (c *PostalCodesListCall) UserIP(userIP string) *PostalCodesListCall
- type PostalCodesListResponse
- type PostalCodesService
- type Pricing
- type PricingSchedule
- type PricingSchedulePricingPeriod
- type ProgrammaticSetting
- type Project
- type ProjectsGetCall
- func (c *ProjectsGetCall) Context(ctx context.Context) *ProjectsGetCall
- func (c *ProjectsGetCall) Do() (*Project, error)
- func (c *ProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsGetCall
- func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall
- func (c *ProjectsGetCall) QuotaUser(quotaUser string) *ProjectsGetCall
- func (c *ProjectsGetCall) UserIP(userIP string) *ProjectsGetCall
- type ProjectsListCall
- func (c *ProjectsListCall) AdvertiserIds(advertiserIds ...int64) *ProjectsListCall
- func (c *ProjectsListCall) Context(ctx context.Context) *ProjectsListCall
- func (c *ProjectsListCall) Do() (*ProjectsListResponse, error)
- func (c *ProjectsListCall) Fields(s ...googleapi.Field) *ProjectsListCall
- 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) QuotaUser(quotaUser string) *ProjectsListCall
- func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall
- func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall
- func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall
- func (c *ProjectsListCall) UserIP(userIP string) *ProjectsListCall
- type ProjectsListResponse
- type ProjectsService
- type ReachReportCompatibleFields
- type Recipient
- type Region
- type RegionsListCall
- func (c *RegionsListCall) Context(ctx context.Context) *RegionsListCall
- func (c *RegionsListCall) Do() (*RegionsListResponse, error)
- func (c *RegionsListCall) Fields(s ...googleapi.Field) *RegionsListCall
- func (c *RegionsListCall) IfNoneMatch(entityTag string) *RegionsListCall
- func (c *RegionsListCall) QuotaUser(quotaUser string) *RegionsListCall
- func (c *RegionsListCall) UserIP(userIP string) *RegionsListCall
- type RegionsListResponse
- type RegionsService
- type RemarketingList
- type RemarketingListShare
- type RemarketingListSharesGetCall
- func (c *RemarketingListSharesGetCall) Context(ctx context.Context) *RemarketingListSharesGetCall
- func (c *RemarketingListSharesGetCall) Do() (*RemarketingListShare, error)
- func (c *RemarketingListSharesGetCall) Fields(s ...googleapi.Field) *RemarketingListSharesGetCall
- func (c *RemarketingListSharesGetCall) IfNoneMatch(entityTag string) *RemarketingListSharesGetCall
- func (c *RemarketingListSharesGetCall) QuotaUser(quotaUser string) *RemarketingListSharesGetCall
- func (c *RemarketingListSharesGetCall) UserIP(userIP string) *RemarketingListSharesGetCall
- type RemarketingListSharesPatchCall
- func (c *RemarketingListSharesPatchCall) Context(ctx context.Context) *RemarketingListSharesPatchCall
- func (c *RemarketingListSharesPatchCall) Do() (*RemarketingListShare, error)
- func (c *RemarketingListSharesPatchCall) Fields(s ...googleapi.Field) *RemarketingListSharesPatchCall
- func (c *RemarketingListSharesPatchCall) QuotaUser(quotaUser string) *RemarketingListSharesPatchCall
- func (c *RemarketingListSharesPatchCall) UserIP(userIP string) *RemarketingListSharesPatchCall
- type RemarketingListSharesService
- func (r *RemarketingListSharesService) Get(profileId int64, remarketingListId int64) *RemarketingListSharesGetCall
- func (r *RemarketingListSharesService) Patch(profileId int64, remarketingListId int64, ...) *RemarketingListSharesPatchCall
- func (r *RemarketingListSharesService) Update(profileId int64, remarketinglistshare *RemarketingListShare) *RemarketingListSharesUpdateCall
- type RemarketingListSharesUpdateCall
- func (c *RemarketingListSharesUpdateCall) Context(ctx context.Context) *RemarketingListSharesUpdateCall
- func (c *RemarketingListSharesUpdateCall) Do() (*RemarketingListShare, error)
- func (c *RemarketingListSharesUpdateCall) Fields(s ...googleapi.Field) *RemarketingListSharesUpdateCall
- func (c *RemarketingListSharesUpdateCall) QuotaUser(quotaUser string) *RemarketingListSharesUpdateCall
- func (c *RemarketingListSharesUpdateCall) UserIP(userIP string) *RemarketingListSharesUpdateCall
- type RemarketingListsGetCall
- func (c *RemarketingListsGetCall) Context(ctx context.Context) *RemarketingListsGetCall
- func (c *RemarketingListsGetCall) Do() (*RemarketingList, error)
- func (c *RemarketingListsGetCall) Fields(s ...googleapi.Field) *RemarketingListsGetCall
- func (c *RemarketingListsGetCall) IfNoneMatch(entityTag string) *RemarketingListsGetCall
- func (c *RemarketingListsGetCall) QuotaUser(quotaUser string) *RemarketingListsGetCall
- func (c *RemarketingListsGetCall) UserIP(userIP string) *RemarketingListsGetCall
- type RemarketingListsInsertCall
- func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall
- func (c *RemarketingListsInsertCall) Do() (*RemarketingList, error)
- func (c *RemarketingListsInsertCall) Fields(s ...googleapi.Field) *RemarketingListsInsertCall
- func (c *RemarketingListsInsertCall) QuotaUser(quotaUser string) *RemarketingListsInsertCall
- func (c *RemarketingListsInsertCall) UserIP(userIP string) *RemarketingListsInsertCall
- type RemarketingListsListCall
- func (c *RemarketingListsListCall) Active(active bool) *RemarketingListsListCall
- func (c *RemarketingListsListCall) Context(ctx context.Context) *RemarketingListsListCall
- func (c *RemarketingListsListCall) Do() (*RemarketingListsListResponse, error)
- func (c *RemarketingListsListCall) Fields(s ...googleapi.Field) *RemarketingListsListCall
- func (c *RemarketingListsListCall) FloodlightActivityId(floodlightActivityId int64) *RemarketingListsListCall
- 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) QuotaUser(quotaUser string) *RemarketingListsListCall
- func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall
- func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall
- func (c *RemarketingListsListCall) UserIP(userIP string) *RemarketingListsListCall
- type RemarketingListsListResponse
- type RemarketingListsPatchCall
- func (c *RemarketingListsPatchCall) Context(ctx context.Context) *RemarketingListsPatchCall
- func (c *RemarketingListsPatchCall) Do() (*RemarketingList, error)
- func (c *RemarketingListsPatchCall) Fields(s ...googleapi.Field) *RemarketingListsPatchCall
- func (c *RemarketingListsPatchCall) QuotaUser(quotaUser string) *RemarketingListsPatchCall
- func (c *RemarketingListsPatchCall) UserIP(userIP string) *RemarketingListsPatchCall
- type 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() (*RemarketingList, error)
- func (c *RemarketingListsUpdateCall) Fields(s ...googleapi.Field) *RemarketingListsUpdateCall
- func (c *RemarketingListsUpdateCall) QuotaUser(quotaUser string) *RemarketingListsUpdateCall
- func (c *RemarketingListsUpdateCall) UserIP(userIP string) *RemarketingListsUpdateCall
- type Report
- type ReportCompatibleFields
- type ReportCriteria
- type ReportCrossDimensionReachCriteria
- type ReportDelivery
- type ReportFloodlightCriteria
- type ReportFloodlightCriteriaReportProperties
- type ReportList
- type ReportPathToConversionCriteria
- type ReportPathToConversionCriteriaReportProperties
- type ReportReachCriteria
- type ReportSchedule
- type ReportsCompatibleFieldsQueryCall
- func (c *ReportsCompatibleFieldsQueryCall) Context(ctx context.Context) *ReportsCompatibleFieldsQueryCall
- func (c *ReportsCompatibleFieldsQueryCall) Do() (*CompatibleFields, error)
- func (c *ReportsCompatibleFieldsQueryCall) Fields(s ...googleapi.Field) *ReportsCompatibleFieldsQueryCall
- func (c *ReportsCompatibleFieldsQueryCall) QuotaUser(quotaUser string) *ReportsCompatibleFieldsQueryCall
- func (c *ReportsCompatibleFieldsQueryCall) UserIP(userIP string) *ReportsCompatibleFieldsQueryCall
- type ReportsCompatibleFieldsService
- type ReportsConfiguration
- type ReportsDeleteCall
- func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall
- func (c *ReportsDeleteCall) Do() error
- func (c *ReportsDeleteCall) Fields(s ...googleapi.Field) *ReportsDeleteCall
- func (c *ReportsDeleteCall) QuotaUser(quotaUser string) *ReportsDeleteCall
- func (c *ReportsDeleteCall) UserIP(userIP string) *ReportsDeleteCall
- type ReportsFilesGetCall
- func (c *ReportsFilesGetCall) Context(ctx context.Context) *ReportsFilesGetCall
- func (c *ReportsFilesGetCall) Do() (*File, error)
- func (c *ReportsFilesGetCall) Download() (*http.Response, error)
- func (c *ReportsFilesGetCall) Fields(s ...googleapi.Field) *ReportsFilesGetCall
- func (c *ReportsFilesGetCall) IfNoneMatch(entityTag string) *ReportsFilesGetCall
- func (c *ReportsFilesGetCall) QuotaUser(quotaUser string) *ReportsFilesGetCall
- func (c *ReportsFilesGetCall) UserIP(userIP string) *ReportsFilesGetCall
- type ReportsFilesListCall
- func (c *ReportsFilesListCall) Context(ctx context.Context) *ReportsFilesListCall
- func (c *ReportsFilesListCall) Do() (*FileList, error)
- func (c *ReportsFilesListCall) Fields(s ...googleapi.Field) *ReportsFilesListCall
- func (c *ReportsFilesListCall) IfNoneMatch(entityTag string) *ReportsFilesListCall
- func (c *ReportsFilesListCall) MaxResults(maxResults int64) *ReportsFilesListCall
- func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
- func (c *ReportsFilesListCall) QuotaUser(quotaUser string) *ReportsFilesListCall
- func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
- func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall
- func (c *ReportsFilesListCall) UserIP(userIP string) *ReportsFilesListCall
- type ReportsFilesService
- type ReportsGetCall
- func (c *ReportsGetCall) Context(ctx context.Context) *ReportsGetCall
- func (c *ReportsGetCall) Do() (*Report, error)
- func (c *ReportsGetCall) Fields(s ...googleapi.Field) *ReportsGetCall
- func (c *ReportsGetCall) IfNoneMatch(entityTag string) *ReportsGetCall
- func (c *ReportsGetCall) QuotaUser(quotaUser string) *ReportsGetCall
- func (c *ReportsGetCall) UserIP(userIP string) *ReportsGetCall
- type ReportsInsertCall
- func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall
- func (c *ReportsInsertCall) Do() (*Report, error)
- func (c *ReportsInsertCall) Fields(s ...googleapi.Field) *ReportsInsertCall
- func (c *ReportsInsertCall) QuotaUser(quotaUser string) *ReportsInsertCall
- func (c *ReportsInsertCall) UserIP(userIP string) *ReportsInsertCall
- type ReportsListCall
- func (c *ReportsListCall) Context(ctx context.Context) *ReportsListCall
- func (c *ReportsListCall) Do() (*ReportList, error)
- func (c *ReportsListCall) Fields(s ...googleapi.Field) *ReportsListCall
- func (c *ReportsListCall) IfNoneMatch(entityTag string) *ReportsListCall
- func (c *ReportsListCall) MaxResults(maxResults int64) *ReportsListCall
- func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall
- func (c *ReportsListCall) QuotaUser(quotaUser string) *ReportsListCall
- func (c *ReportsListCall) Scope(scope string) *ReportsListCall
- func (c *ReportsListCall) SortField(sortField string) *ReportsListCall
- func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall
- func (c *ReportsListCall) UserIP(userIP string) *ReportsListCall
- type ReportsPatchCall
- func (c *ReportsPatchCall) Context(ctx context.Context) *ReportsPatchCall
- func (c *ReportsPatchCall) Do() (*Report, error)
- func (c *ReportsPatchCall) Fields(s ...googleapi.Field) *ReportsPatchCall
- func (c *ReportsPatchCall) QuotaUser(quotaUser string) *ReportsPatchCall
- func (c *ReportsPatchCall) UserIP(userIP string) *ReportsPatchCall
- type ReportsRunCall
- func (c *ReportsRunCall) Context(ctx context.Context) *ReportsRunCall
- func (c *ReportsRunCall) Do() (*File, error)
- func (c *ReportsRunCall) Fields(s ...googleapi.Field) *ReportsRunCall
- func (c *ReportsRunCall) QuotaUser(quotaUser string) *ReportsRunCall
- func (c *ReportsRunCall) Synchronous(synchronous bool) *ReportsRunCall
- func (c *ReportsRunCall) UserIP(userIP string) *ReportsRunCall
- type 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() (*Report, error)
- func (c *ReportsUpdateCall) Fields(s ...googleapi.Field) *ReportsUpdateCall
- func (c *ReportsUpdateCall) QuotaUser(quotaUser string) *ReportsUpdateCall
- func (c *ReportsUpdateCall) UserIP(userIP string) *ReportsUpdateCall
- type RichMediaExitOverride
- type Service
- type Site
- type SiteContact
- type SiteSettings
- type SitesGetCall
- func (c *SitesGetCall) Context(ctx context.Context) *SitesGetCall
- func (c *SitesGetCall) Do() (*Site, error)
- func (c *SitesGetCall) Fields(s ...googleapi.Field) *SitesGetCall
- func (c *SitesGetCall) IfNoneMatch(entityTag string) *SitesGetCall
- func (c *SitesGetCall) QuotaUser(quotaUser string) *SitesGetCall
- func (c *SitesGetCall) UserIP(userIP string) *SitesGetCall
- type SitesInsertCall
- func (c *SitesInsertCall) Context(ctx context.Context) *SitesInsertCall
- func (c *SitesInsertCall) Do() (*Site, error)
- func (c *SitesInsertCall) Fields(s ...googleapi.Field) *SitesInsertCall
- func (c *SitesInsertCall) QuotaUser(quotaUser string) *SitesInsertCall
- func (c *SitesInsertCall) UserIP(userIP string) *SitesInsertCall
- 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() (*SitesListResponse, error)
- func (c *SitesListCall) Fields(s ...googleapi.Field) *SitesListCall
- 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) QuotaUser(quotaUser string) *SitesListCall
- 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
- func (c *SitesListCall) UserIP(userIP string) *SitesListCall
- type SitesListResponse
- type SitesPatchCall
- func (c *SitesPatchCall) Context(ctx context.Context) *SitesPatchCall
- func (c *SitesPatchCall) Do() (*Site, error)
- func (c *SitesPatchCall) Fields(s ...googleapi.Field) *SitesPatchCall
- func (c *SitesPatchCall) QuotaUser(quotaUser string) *SitesPatchCall
- func (c *SitesPatchCall) UserIP(userIP string) *SitesPatchCall
- type 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() (*Site, error)
- func (c *SitesUpdateCall) Fields(s ...googleapi.Field) *SitesUpdateCall
- func (c *SitesUpdateCall) QuotaUser(quotaUser string) *SitesUpdateCall
- func (c *SitesUpdateCall) UserIP(userIP string) *SitesUpdateCall
- type Size
- type SizesGetCall
- func (c *SizesGetCall) Context(ctx context.Context) *SizesGetCall
- func (c *SizesGetCall) Do() (*Size, error)
- func (c *SizesGetCall) Fields(s ...googleapi.Field) *SizesGetCall
- func (c *SizesGetCall) IfNoneMatch(entityTag string) *SizesGetCall
- func (c *SizesGetCall) QuotaUser(quotaUser string) *SizesGetCall
- func (c *SizesGetCall) UserIP(userIP string) *SizesGetCall
- type SizesInsertCall
- func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall
- func (c *SizesInsertCall) Do() (*Size, error)
- func (c *SizesInsertCall) Fields(s ...googleapi.Field) *SizesInsertCall
- func (c *SizesInsertCall) QuotaUser(quotaUser string) *SizesInsertCall
- func (c *SizesInsertCall) UserIP(userIP string) *SizesInsertCall
- type SizesListCall
- func (c *SizesListCall) Context(ctx context.Context) *SizesListCall
- func (c *SizesListCall) Do() (*SizesListResponse, error)
- func (c *SizesListCall) Fields(s ...googleapi.Field) *SizesListCall
- 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) QuotaUser(quotaUser string) *SizesListCall
- func (c *SizesListCall) UserIP(userIP string) *SizesListCall
- func (c *SizesListCall) Width(width int64) *SizesListCall
- type SizesListResponse
- type SizesService
- type SortedDimension
- type Subaccount
- type SubaccountsGetCall
- func (c *SubaccountsGetCall) Context(ctx context.Context) *SubaccountsGetCall
- func (c *SubaccountsGetCall) Do() (*Subaccount, error)
- func (c *SubaccountsGetCall) Fields(s ...googleapi.Field) *SubaccountsGetCall
- func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall
- func (c *SubaccountsGetCall) QuotaUser(quotaUser string) *SubaccountsGetCall
- func (c *SubaccountsGetCall) UserIP(userIP string) *SubaccountsGetCall
- type SubaccountsInsertCall
- func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall
- func (c *SubaccountsInsertCall) Do() (*Subaccount, error)
- func (c *SubaccountsInsertCall) Fields(s ...googleapi.Field) *SubaccountsInsertCall
- func (c *SubaccountsInsertCall) QuotaUser(quotaUser string) *SubaccountsInsertCall
- func (c *SubaccountsInsertCall) UserIP(userIP string) *SubaccountsInsertCall
- type SubaccountsListCall
- func (c *SubaccountsListCall) Context(ctx context.Context) *SubaccountsListCall
- func (c *SubaccountsListCall) Do() (*SubaccountsListResponse, error)
- func (c *SubaccountsListCall) Fields(s ...googleapi.Field) *SubaccountsListCall
- 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) QuotaUser(quotaUser string) *SubaccountsListCall
- func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsListCall
- func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall
- func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall
- func (c *SubaccountsListCall) UserIP(userIP string) *SubaccountsListCall
- type SubaccountsListResponse
- type SubaccountsPatchCall
- func (c *SubaccountsPatchCall) Context(ctx context.Context) *SubaccountsPatchCall
- func (c *SubaccountsPatchCall) Do() (*Subaccount, error)
- func (c *SubaccountsPatchCall) Fields(s ...googleapi.Field) *SubaccountsPatchCall
- func (c *SubaccountsPatchCall) QuotaUser(quotaUser string) *SubaccountsPatchCall
- func (c *SubaccountsPatchCall) UserIP(userIP string) *SubaccountsPatchCall
- type 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() (*Subaccount, error)
- func (c *SubaccountsUpdateCall) Fields(s ...googleapi.Field) *SubaccountsUpdateCall
- func (c *SubaccountsUpdateCall) QuotaUser(quotaUser string) *SubaccountsUpdateCall
- func (c *SubaccountsUpdateCall) UserIP(userIP string) *SubaccountsUpdateCall
- type TagData
- type TagSetting
- type TagSettings
- type TargetWindow
- type TargetableRemarketingList
- type TargetableRemarketingListsGetCall
- func (c *TargetableRemarketingListsGetCall) Context(ctx context.Context) *TargetableRemarketingListsGetCall
- func (c *TargetableRemarketingListsGetCall) Do() (*TargetableRemarketingList, error)
- func (c *TargetableRemarketingListsGetCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsGetCall
- func (c *TargetableRemarketingListsGetCall) IfNoneMatch(entityTag string) *TargetableRemarketingListsGetCall
- func (c *TargetableRemarketingListsGetCall) QuotaUser(quotaUser string) *TargetableRemarketingListsGetCall
- func (c *TargetableRemarketingListsGetCall) UserIP(userIP string) *TargetableRemarketingListsGetCall
- type TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) Active(active bool) *TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) Context(ctx context.Context) *TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) Do() (*TargetableRemarketingListsListResponse, error)
- func (c *TargetableRemarketingListsListCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsListCall
- 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) QuotaUser(quotaUser string) *TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall
- func (c *TargetableRemarketingListsListCall) UserIP(userIP string) *TargetableRemarketingListsListCall
- type TargetableRemarketingListsListResponse
- type TargetableRemarketingListsService
- type TechnologyTargeting
- type ThirdPartyTrackingUrl
- type UserDefinedVariableConfiguration
- type UserProfile
- type UserProfileList
- type UserProfilesGetCall
- func (c *UserProfilesGetCall) Context(ctx context.Context) *UserProfilesGetCall
- func (c *UserProfilesGetCall) Do() (*UserProfile, error)
- func (c *UserProfilesGetCall) Fields(s ...googleapi.Field) *UserProfilesGetCall
- func (c *UserProfilesGetCall) IfNoneMatch(entityTag string) *UserProfilesGetCall
- func (c *UserProfilesGetCall) QuotaUser(quotaUser string) *UserProfilesGetCall
- func (c *UserProfilesGetCall) UserIP(userIP string) *UserProfilesGetCall
- type UserProfilesListCall
- func (c *UserProfilesListCall) Context(ctx context.Context) *UserProfilesListCall
- func (c *UserProfilesListCall) Do() (*UserProfileList, error)
- func (c *UserProfilesListCall) Fields(s ...googleapi.Field) *UserProfilesListCall
- func (c *UserProfilesListCall) IfNoneMatch(entityTag string) *UserProfilesListCall
- func (c *UserProfilesListCall) QuotaUser(quotaUser string) *UserProfilesListCall
- func (c *UserProfilesListCall) UserIP(userIP string) *UserProfilesListCall
- type UserProfilesService
- type UserRole
- type UserRolePermission
- type UserRolePermissionGroup
- type UserRolePermissionGroupsGetCall
- func (c *UserRolePermissionGroupsGetCall) Context(ctx context.Context) *UserRolePermissionGroupsGetCall
- func (c *UserRolePermissionGroupsGetCall) Do() (*UserRolePermissionGroup, error)
- func (c *UserRolePermissionGroupsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsGetCall
- func (c *UserRolePermissionGroupsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsGetCall
- func (c *UserRolePermissionGroupsGetCall) QuotaUser(quotaUser string) *UserRolePermissionGroupsGetCall
- func (c *UserRolePermissionGroupsGetCall) UserIP(userIP string) *UserRolePermissionGroupsGetCall
- type UserRolePermissionGroupsListCall
- func (c *UserRolePermissionGroupsListCall) Context(ctx context.Context) *UserRolePermissionGroupsListCall
- func (c *UserRolePermissionGroupsListCall) Do() (*UserRolePermissionGroupsListResponse, error)
- func (c *UserRolePermissionGroupsListCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsListCall
- func (c *UserRolePermissionGroupsListCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsListCall
- func (c *UserRolePermissionGroupsListCall) QuotaUser(quotaUser string) *UserRolePermissionGroupsListCall
- func (c *UserRolePermissionGroupsListCall) UserIP(userIP string) *UserRolePermissionGroupsListCall
- type UserRolePermissionGroupsListResponse
- type UserRolePermissionGroupsService
- type UserRolePermissionsGetCall
- func (c *UserRolePermissionsGetCall) Context(ctx context.Context) *UserRolePermissionsGetCall
- func (c *UserRolePermissionsGetCall) Do() (*UserRolePermission, error)
- func (c *UserRolePermissionsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionsGetCall
- func (c *UserRolePermissionsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionsGetCall
- func (c *UserRolePermissionsGetCall) QuotaUser(quotaUser string) *UserRolePermissionsGetCall
- func (c *UserRolePermissionsGetCall) UserIP(userIP string) *UserRolePermissionsGetCall
- type UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) Context(ctx context.Context) *UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) Do() (*UserRolePermissionsListResponse, error)
- func (c *UserRolePermissionsListCall) Fields(s ...googleapi.Field) *UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) Ids(ids ...int64) *UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) IfNoneMatch(entityTag string) *UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) QuotaUser(quotaUser string) *UserRolePermissionsListCall
- func (c *UserRolePermissionsListCall) UserIP(userIP string) *UserRolePermissionsListCall
- type UserRolePermissionsListResponse
- type UserRolePermissionsService
- type UserRolesDeleteCall
- func (c *UserRolesDeleteCall) Context(ctx context.Context) *UserRolesDeleteCall
- func (c *UserRolesDeleteCall) Do() error
- func (c *UserRolesDeleteCall) Fields(s ...googleapi.Field) *UserRolesDeleteCall
- func (c *UserRolesDeleteCall) QuotaUser(quotaUser string) *UserRolesDeleteCall
- func (c *UserRolesDeleteCall) UserIP(userIP string) *UserRolesDeleteCall
- type UserRolesGetCall
- func (c *UserRolesGetCall) Context(ctx context.Context) *UserRolesGetCall
- func (c *UserRolesGetCall) Do() (*UserRole, error)
- func (c *UserRolesGetCall) Fields(s ...googleapi.Field) *UserRolesGetCall
- func (c *UserRolesGetCall) IfNoneMatch(entityTag string) *UserRolesGetCall
- func (c *UserRolesGetCall) QuotaUser(quotaUser string) *UserRolesGetCall
- func (c *UserRolesGetCall) UserIP(userIP string) *UserRolesGetCall
- type UserRolesInsertCall
- func (c *UserRolesInsertCall) Context(ctx context.Context) *UserRolesInsertCall
- func (c *UserRolesInsertCall) Do() (*UserRole, error)
- func (c *UserRolesInsertCall) Fields(s ...googleapi.Field) *UserRolesInsertCall
- func (c *UserRolesInsertCall) QuotaUser(quotaUser string) *UserRolesInsertCall
- func (c *UserRolesInsertCall) UserIP(userIP string) *UserRolesInsertCall
- type UserRolesListCall
- func (c *UserRolesListCall) AccountUserRoleOnly(accountUserRoleOnly bool) *UserRolesListCall
- func (c *UserRolesListCall) Context(ctx context.Context) *UserRolesListCall
- func (c *UserRolesListCall) Do() (*UserRolesListResponse, error)
- func (c *UserRolesListCall) Fields(s ...googleapi.Field) *UserRolesListCall
- 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) QuotaUser(quotaUser string) *UserRolesListCall
- 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
- func (c *UserRolesListCall) UserIP(userIP string) *UserRolesListCall
- type UserRolesListResponse
- type UserRolesPatchCall
- func (c *UserRolesPatchCall) Context(ctx context.Context) *UserRolesPatchCall
- func (c *UserRolesPatchCall) Do() (*UserRole, error)
- func (c *UserRolesPatchCall) Fields(s ...googleapi.Field) *UserRolesPatchCall
- func (c *UserRolesPatchCall) QuotaUser(quotaUser string) *UserRolesPatchCall
- func (c *UserRolesPatchCall) UserIP(userIP string) *UserRolesPatchCall
- type 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() (*UserRole, error)
- func (c *UserRolesUpdateCall) Fields(s ...googleapi.Field) *UserRolesUpdateCall
- func (c *UserRolesUpdateCall) QuotaUser(quotaUser string) *UserRolesUpdateCall
- func (c *UserRolesUpdateCall) UserIP(userIP string) *UserRolesUpdateCall
Constants ¶
const ( // 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" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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_200K" // "ACTIVE_ADS_TIER_300K" // "ACTIVE_ADS_TIER_40K" // "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"` // ComscoreVceEnabled: Whether campaigns created in this account will be // enabled for comScore vCE by default. ComscoreVceEnabled bool `json:"comscoreVceEnabled,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 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. 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"` // creatives. Must be between 1 and 10240. 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:"-"` }
Account: Contains properties of a DCM account.
func (*Account) MarshalJSON ¶
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() (*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) 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.
func (*AccountActiveAdSummariesGetCall) QuotaUser ¶
func (c *AccountActiveAdSummariesGetCall) QuotaUser(quotaUser string) *AccountActiveAdSummariesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountActiveAdSummariesGetCall) UserIP ¶
func (c *AccountActiveAdSummariesGetCall) UserIP(userIP string) *AccountActiveAdSummariesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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 ¶
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_200K" // "ACTIVE_ADS_TIER_300K" // "ACTIVE_ADS_TIER_40K" // "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:"-"` }
AccountActiveAdSummary: Gets a summary of active ads in an account.
func (*AccountActiveAdSummary) MarshalJSON ¶
func (s *AccountActiveAdSummary) MarshalJSON() ([]byte, error)
type AccountPermission ¶
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:"-"` }
AccountPermission: AccountPermissions contains information about a particular account permission. Some features of DCM require an account permission to be present in the account.
func (*AccountPermission) MarshalJSON ¶
func (s *AccountPermission) MarshalJSON() ([]byte, error)
type AccountPermissionGroup ¶
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:"-"` }
AccountPermissionGroup: AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
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() (*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) 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.
func (*AccountPermissionGroupsGetCall) QuotaUser ¶
func (c *AccountPermissionGroupsGetCall) QuotaUser(quotaUser string) *AccountPermissionGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountPermissionGroupsGetCall) UserIP ¶
func (c *AccountPermissionGroupsGetCall) UserIP(userIP string) *AccountPermissionGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*AccountPermissionGroupsListCall) QuotaUser ¶
func (c *AccountPermissionGroupsListCall) QuotaUser(quotaUser string) *AccountPermissionGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountPermissionGroupsListCall) UserIP ¶
func (c *AccountPermissionGroupsListCall) UserIP(userIP string) *AccountPermissionGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountPermissionGroupsListResponse ¶
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:"-"` }
AccountPermissionGroupsListResponse: Account Permission Group List Response
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() (*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) 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.
func (*AccountPermissionsGetCall) QuotaUser ¶
func (c *AccountPermissionsGetCall) QuotaUser(quotaUser string) *AccountPermissionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountPermissionsGetCall) UserIP ¶
func (c *AccountPermissionsGetCall) UserIP(userIP string) *AccountPermissionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*AccountPermissionsListCall) QuotaUser ¶
func (c *AccountPermissionsListCall) QuotaUser(quotaUser string) *AccountPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountPermissionsListCall) UserIP ¶
func (c *AccountPermissionsListCall) UserIP(userIP string) *AccountPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountPermissionsListResponse ¶
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:"-"` }
AccountPermissionsListResponse: Account Permission List Response
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 ¶
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" // "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:"-"` }
AccountUserProfile: AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
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() (*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) 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.
func (*AccountUserProfilesGetCall) QuotaUser ¶
func (c *AccountUserProfilesGetCall) QuotaUser(quotaUser string) *AccountUserProfilesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountUserProfilesGetCall) UserIP ¶
func (c *AccountUserProfilesGetCall) UserIP(userIP string) *AccountUserProfilesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *AccountUserProfilesInsertCall) QuotaUser(quotaUser string) *AccountUserProfilesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountUserProfilesInsertCall) UserIP ¶
func (c *AccountUserProfilesInsertCall) UserIP(userIP string) *AccountUserProfilesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *AccountUserProfilesListCall) QuotaUser(quotaUser string) *AccountUserProfilesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*AccountUserProfilesListCall) SortOrder ¶
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "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) UserIP ¶
func (c *AccountUserProfilesListCall) UserIP(userIP string) *AccountUserProfilesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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 ¶
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:"-"` }
AccountUserProfilesListResponse: Account User Profile List Response
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() (*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) QuotaUser ¶
func (c *AccountUserProfilesPatchCall) QuotaUser(quotaUser string) *AccountUserProfilesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountUserProfilesPatchCall) UserIP ¶
func (c *AccountUserProfilesPatchCall) UserIP(userIP string) *AccountUserProfilesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *AccountUserProfilesUpdateCall) QuotaUser(quotaUser string) *AccountUserProfilesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountUserProfilesUpdateCall) UserIP ¶
func (c *AccountUserProfilesUpdateCall) UserIP(userIP string) *AccountUserProfilesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*AccountsGetCall) QuotaUser ¶
func (c *AccountsGetCall) QuotaUser(quotaUser string) *AccountsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsGetCall) UserIP ¶
func (c *AccountsGetCall) UserIP(userIP string) *AccountsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *AccountsListCall) QuotaUser(quotaUser string) *AccountsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*AccountsListCall) SortOrder ¶
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*AccountsListCall) UserIP ¶
func (c *AccountsListCall) UserIP(userIP string) *AccountsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsListResponse ¶
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:"-"` }
AccountsListResponse: Account List Response
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() (*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) QuotaUser ¶
func (c *AccountsPatchCall) QuotaUser(quotaUser string) *AccountsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPatchCall) UserIP ¶
func (c *AccountsPatchCall) UserIP(userIP string) *AccountsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *AccountsUpdateCall) QuotaUser(quotaUser string) *AccountsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsUpdateCall) UserIP ¶
func (c *AccountsUpdateCall) UserIP(userIP string) *AccountsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Activities ¶
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:"-"` }
Activities: Represents an activity group.
func (*Activities) MarshalJSON ¶
func (s *Activities) MarshalJSON() ([]byte, error)
type 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. 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. 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. WEB and WEB_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" // "IN_STREAM_VIDEO" // "WEB" // "WEB_INTERSTITIAL" 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. // 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.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. 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"` // 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: Applicable when type is // AD_SERVING_STANDARD_AD. Remarketing list targeting expression for // this ad. RemarketingListExpression *ListTargetingExpression `json:"remarketing_list_expression,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"` // TechnologyTargeting: Technology platform targeting information for // this ad. 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:"-"` }
Ad: Contains properties of a DCM ad.
func (*Ad) MarshalJSON ¶
type AdSlot ¶
type AdSlot struct { // Comment: Comment for this ad slot. Comment string `json:"comment,omitempty"` // Compatibility: Ad slot compatibility. WEB and WEB_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 in // in-stream video ads developed with the VAST standard. // // Possible values: // "PLANNING_RENDERING_ENVIRONMENT_TYPE_APP" // "PLANNING_RENDERING_ENVIRONMENT_TYPE_APP_INTERSTITIAL" // "PLANNING_RENDERING_ENVIRONMENT_TYPE_IN_STREAM_VIDEO" // "PLANNING_RENDERING_ENVIRONMENT_TYPE_WEB" // "PLANNING_RENDERING_ENVIRONMENT_TYPE_WEB_INTERSTITIAL" 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:"-"` }
AdSlot: Ad Slot
func (*AdSlot) MarshalJSON ¶
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() (*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) 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.
func (*AdsGetCall) QuotaUser ¶
func (c *AdsGetCall) QuotaUser(quotaUser string) *AdsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdsGetCall) UserIP ¶
func (c *AdsGetCall) UserIP(userIP string) *AdsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *AdsInsertCall) QuotaUser(quotaUser string) *AdsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdsInsertCall) UserIP ¶
func (c *AdsInsertCall) UserIP(userIP string) *AdsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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. WEB and WEB_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" "IN_STREAM_VIDEO" "WEB" "WEB_INTERSTITIAL"
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) CreativeType ¶
func (c *AdsListCall) CreativeType(creativeType string) *AdsListCall
CreativeType sets the optional parameter "creativeType": Select only ads with the specified creativeType.
Possible values:
"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO" "CUSTOM_INPAGE" "CUSTOM_INTERSTITIAL" "ENHANCED_BANNER" "ENHANCED_IMAGE" "FLASH_INPAGE" "HTML5_BANNER" "IMAGE" "INSTREAM_VIDEO" "INTERNAL_REDIRECT" "INTERSTITIAL_INTERNAL_REDIRECT" "REDIRECT" "RICH_MEDIA_EXPANDING" "RICH_MEDIA_IM_EXPAND" "RICH_MEDIA_INPAGE" "RICH_MEDIA_INPAGE_FLOATING" "RICH_MEDIA_INTERSTITIAL_FLOAT" "RICH_MEDIA_MOBILE_IN_APP" "RICH_MEDIA_MULTI_FLOATING" "RICH_MEDIA_PEEL_DOWN" "TRACKING_TEXT" "VAST_REDIRECT" "VPAID_LINEAR" "VPAID_NON_LINEAR"
func (*AdsListCall) Do ¶
func (c *AdsListCall) Do() (*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) 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) PlacementIds ¶
func (c *AdsListCall) PlacementIds(placementIds ...int64) *AdsListCall
PlacementIds sets the optional parameter "placementIds": Select only ads with these placement IDs assigned.
func (*AdsListCall) QuotaUser ¶
func (c *AdsListCall) QuotaUser(quotaUser string) *AdsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*AdsListCall) SortOrder ¶
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "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"
func (*AdsListCall) UserIP ¶
func (c *AdsListCall) UserIP(userIP string) *AdsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AdsListResponse ¶
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:"-"` }
AdsListResponse: Ad List Response
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() (*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) QuotaUser ¶
func (c *AdsPatchCall) QuotaUser(quotaUser string) *AdsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdsPatchCall) UserIP ¶
func (c *AdsPatchCall) UserIP(userIP string) *AdsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *AdsUpdateCall) QuotaUser(quotaUser string) *AdsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdsUpdateCall) UserIP ¶
func (c *AdsUpdateCall) UserIP(userIP string) *AdsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type 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"` // 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:"-"` }
Advertiser: Contains properties of a DCM advertiser.
func (*Advertiser) MarshalJSON ¶
func (s *Advertiser) MarshalJSON() ([]byte, error)
type AdvertiserGroup ¶
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:"-"` }
AdvertiserGroup: Groups advertisers together so that reports can be generated for the entire group at once.
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() 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) QuotaUser ¶
func (c *AdvertiserGroupsDeleteCall) QuotaUser(quotaUser string) *AdvertiserGroupsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertiserGroupsDeleteCall) UserIP ¶
func (c *AdvertiserGroupsDeleteCall) UserIP(userIP string) *AdvertiserGroupsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*AdvertiserGroupsGetCall) QuotaUser ¶
func (c *AdvertiserGroupsGetCall) QuotaUser(quotaUser string) *AdvertiserGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertiserGroupsGetCall) UserIP ¶
func (c *AdvertiserGroupsGetCall) UserIP(userIP string) *AdvertiserGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *AdvertiserGroupsInsertCall) QuotaUser(quotaUser string) *AdvertiserGroupsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertiserGroupsInsertCall) UserIP ¶
func (c *AdvertiserGroupsInsertCall) UserIP(userIP string) *AdvertiserGroupsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *AdvertiserGroupsListCall) QuotaUser(quotaUser string) *AdvertiserGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*AdvertiserGroupsListCall) SortOrder ¶
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*AdvertiserGroupsListCall) UserIP ¶
func (c *AdvertiserGroupsListCall) UserIP(userIP string) *AdvertiserGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AdvertiserGroupsListResponse ¶
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:"-"` }
AdvertiserGroupsListResponse: Advertiser Group List Response
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() (*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) QuotaUser ¶
func (c *AdvertiserGroupsPatchCall) QuotaUser(quotaUser string) *AdvertiserGroupsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertiserGroupsPatchCall) UserIP ¶
func (c *AdvertiserGroupsPatchCall) UserIP(userIP string) *AdvertiserGroupsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *AdvertiserGroupsUpdateCall) QuotaUser(quotaUser string) *AdvertiserGroupsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertiserGroupsUpdateCall) UserIP ¶
func (c *AdvertiserGroupsUpdateCall) UserIP(userIP string) *AdvertiserGroupsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*AdvertisersGetCall) QuotaUser ¶
func (c *AdvertisersGetCall) QuotaUser(quotaUser string) *AdvertisersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertisersGetCall) UserIP ¶
func (c *AdvertisersGetCall) UserIP(userIP string) *AdvertisersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *AdvertisersInsertCall) QuotaUser(quotaUser string) *AdvertisersInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertisersInsertCall) UserIP ¶
func (c *AdvertisersInsertCall) UserIP(userIP string) *AdvertisersInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *AdvertisersListCall) QuotaUser(quotaUser string) *AdvertisersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*AdvertisersListCall) SortOrder ¶
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "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.
func (*AdvertisersListCall) UserIP ¶
func (c *AdvertisersListCall) UserIP(userIP string) *AdvertisersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AdvertisersListResponse ¶
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:"-"` }
AdvertisersListResponse: Advertiser List Response
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() (*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) QuotaUser ¶
func (c *AdvertisersPatchCall) QuotaUser(quotaUser string) *AdvertisersPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertisersPatchCall) UserIP ¶
func (c *AdvertisersPatchCall) UserIP(userIP string) *AdvertisersPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *AdvertisersUpdateCall) QuotaUser(quotaUser string) *AdvertisersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AdvertisersUpdateCall) UserIP ¶
func (c *AdvertisersUpdateCall) UserIP(userIP string) *AdvertisersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AudienceSegment ¶
type AudienceSegment struct { // Allocation: Weight allocated to this segment. Must be between 1 and // 1000. The weight assigned will be understood in proportion to the // weights assigned to other segments in the same segment group. 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:"-"` }
AudienceSegment: Audience Segment.
func (*AudienceSegment) MarshalJSON ¶
func (s *AudienceSegment) MarshalJSON() ([]byte, error)
type AudienceSegmentGroup ¶
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:"-"` }
AudienceSegmentGroup: Audience Segment Group.
func (*AudienceSegmentGroup) MarshalJSON ¶
func (s *AudienceSegmentGroup) MarshalJSON() ([]byte, error)
type Browser ¶
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:"-"` }
Browser: Contains information about a browser that can be targeted by ads.
func (*Browser) MarshalJSON ¶
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() (*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) 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.
func (*BrowsersListCall) QuotaUser ¶
func (c *BrowsersListCall) QuotaUser(quotaUser string) *BrowsersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*BrowsersListCall) UserIP ¶
func (c *BrowsersListCall) UserIP(userIP string) *BrowsersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type BrowsersListResponse ¶
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:"-"` }
BrowsersListResponse: Browser List Response
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 ¶
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"` // 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"` // ComscoreVceEnabled: Whether comScore vCE reports are enabled for this // campaign. ComscoreVceEnabled bool `json:"comscoreVceEnabled,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:"-"` }
Campaign: Contains properties of a DCM campaign.
func (*Campaign) MarshalJSON ¶
type CampaignCreativeAssociation ¶
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:"-"` }
CampaignCreativeAssociation: Identifies a creative which has been associated with a given campaign.
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() (*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) QuotaUser ¶
func (c *CampaignCreativeAssociationsInsertCall) QuotaUser(quotaUser string) *CampaignCreativeAssociationsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignCreativeAssociationsInsertCall) UserIP ¶
func (c *CampaignCreativeAssociationsInsertCall) UserIP(userIP string) *CampaignCreativeAssociationsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *CampaignCreativeAssociationsListCall) QuotaUser(quotaUser string) *CampaignCreativeAssociationsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignCreativeAssociationsListCall) SortOrder ¶
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*CampaignCreativeAssociationsListCall) UserIP ¶
func (c *CampaignCreativeAssociationsListCall) UserIP(userIP string) *CampaignCreativeAssociationsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CampaignCreativeAssociationsListResponse ¶
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:"-"` }
CampaignCreativeAssociationsListResponse: Campaign Creative Association List Response
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.
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() (*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) 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.
func (*CampaignsGetCall) QuotaUser ¶
func (c *CampaignsGetCall) QuotaUser(quotaUser string) *CampaignsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignsGetCall) UserIP ¶
func (c *CampaignsGetCall) UserIP(userIP string) *CampaignsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *CampaignsInsertCall) QuotaUser(quotaUser string) *CampaignsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignsInsertCall) UserIP ¶
func (c *CampaignsInsertCall) UserIP(userIP string) *CampaignsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *CampaignsListCall) QuotaUser(quotaUser string) *CampaignsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*CampaignsListCall) SortOrder ¶
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "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.
func (*CampaignsListCall) UserIP ¶
func (c *CampaignsListCall) UserIP(userIP string) *CampaignsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CampaignsListResponse ¶
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:"-"` }
CampaignsListResponse: Campaign List Response
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() (*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) QuotaUser ¶
func (c *CampaignsPatchCall) QuotaUser(quotaUser string) *CampaignsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignsPatchCall) UserIP ¶
func (c *CampaignsPatchCall) UserIP(userIP string) *CampaignsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *CampaignsUpdateCall) QuotaUser(quotaUser string) *CampaignsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CampaignsUpdateCall) UserIP ¶
func (c *CampaignsUpdateCall) UserIP(userIP string) *CampaignsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ChangeLog ¶
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:"-"` }
ChangeLog: Describes a change that a user has made to a resource.
func (*ChangeLog) MarshalJSON ¶
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() (*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) 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.
func (*ChangeLogsGetCall) QuotaUser ¶
func (c *ChangeLogsGetCall) QuotaUser(quotaUser string) *ChangeLogsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ChangeLogsGetCall) UserIP ¶
func (c *ChangeLogsGetCall) UserIP(userIP string) *ChangeLogsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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_PROVIDED_LIST_CLIENT" "OBJECT_RATE_CARD" "OBJECT_REMARKETING_LIST" "OBJECT_RICHMEDIA_CREATIVE" "OBJECT_SD_SITE" "OBJECT_SIZE" "OBJECT_SUBACCOUNT" "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) QuotaUser ¶
func (c *ChangeLogsListCall) QuotaUser(quotaUser string) *ChangeLogsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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) UserIP ¶
func (c *ChangeLogsListCall) UserIP(userIP string) *ChangeLogsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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 ¶
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:"-"` }
ChangeLogsListResponse: Change Log List Response
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.
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() (*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) 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) QuotaUser ¶
func (c *CitiesListCall) QuotaUser(quotaUser string) *CitiesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CitiesListCall) RegionDartIds ¶
func (c *CitiesListCall) RegionDartIds(regionDartIds ...int64) *CitiesListCall
RegionDartIds sets the optional parameter "regionDartIds": Select only cities from these regions.
func (*CitiesListCall) UserIP ¶
func (c *CitiesListCall) UserIP(userIP string) *CitiesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CitiesListResponse ¶
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:"-"` }
CitiesListResponse: City List Response
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 ¶
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:"-"` }
City: Contains information about a city that can be targeted by ads.
func (*City) MarshalJSON ¶
type ClickTag ¶
type ClickTag struct { // EventName: Advertiser event name associated with the click tag. This // field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER // creatives. EventName string `json:"eventName,omitempty"` // Name: Parameter name for the specified click tag. For ENHANCED_IMAGE // 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:"-"` }
ClickTag: Creative Click Tag.
func (*ClickTag) MarshalJSON ¶
type ClickThroughUrl ¶
type ClickThroughUrl struct { // 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. // "CustomClickThroughUrl") 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:"-"` }
ClickThroughUrl: Click-through URL
func (*ClickThroughUrl) MarshalJSON ¶
func (s *ClickThroughUrl) MarshalJSON() ([]byte, error)
type ClickThroughUrlSuffixProperties ¶
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:"-"` }
ClickThroughUrlSuffixProperties: Click Through URL Suffix settings.
func (*ClickThroughUrlSuffixProperties) MarshalJSON ¶
func (s *ClickThroughUrlSuffixProperties) MarshalJSON() ([]byte, error)
type CompanionClickThroughOverride ¶
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:"-"` }
CompanionClickThroughOverride: Companion Click-through override.
func (*CompanionClickThroughOverride) MarshalJSON ¶
func (s *CompanionClickThroughOverride) MarshalJSON() ([]byte, error)
type CompatibleFields ¶
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:"-"` }
CompatibleFields: Represents a response to the queryCompatibleFields method.
func (*CompatibleFields) MarshalJSON ¶
func (s *CompatibleFields) MarshalJSON() ([]byte, error)
type ConnectionType ¶
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:"-"` }
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.
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() (*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) 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.
func (*ConnectionTypesGetCall) QuotaUser ¶
func (c *ConnectionTypesGetCall) QuotaUser(quotaUser string) *ConnectionTypesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ConnectionTypesGetCall) UserIP ¶
func (c *ConnectionTypesGetCall) UserIP(userIP string) *ConnectionTypesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*ConnectionTypesListCall) QuotaUser ¶
func (c *ConnectionTypesListCall) QuotaUser(quotaUser string) *ConnectionTypesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ConnectionTypesListCall) UserIP ¶
func (c *ConnectionTypesListCall) UserIP(userIP string) *ConnectionTypesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ConnectionTypesListResponse ¶
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:"-"` }
ConnectionTypesListResponse: Connection Type List Response
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() 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) QuotaUser ¶
func (c *ContentCategoriesDeleteCall) QuotaUser(quotaUser string) *ContentCategoriesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ContentCategoriesDeleteCall) UserIP ¶
func (c *ContentCategoriesDeleteCall) UserIP(userIP string) *ContentCategoriesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*ContentCategoriesGetCall) QuotaUser ¶
func (c *ContentCategoriesGetCall) QuotaUser(quotaUser string) *ContentCategoriesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ContentCategoriesGetCall) UserIP ¶
func (c *ContentCategoriesGetCall) UserIP(userIP string) *ContentCategoriesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *ContentCategoriesInsertCall) QuotaUser(quotaUser string) *ContentCategoriesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ContentCategoriesInsertCall) UserIP ¶
func (c *ContentCategoriesInsertCall) UserIP(userIP string) *ContentCategoriesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *ContentCategoriesListCall) QuotaUser(quotaUser string) *ContentCategoriesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*ContentCategoriesListCall) SortOrder ¶
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*ContentCategoriesListCall) UserIP ¶
func (c *ContentCategoriesListCall) UserIP(userIP string) *ContentCategoriesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ContentCategoriesListResponse ¶
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:"-"` }
ContentCategoriesListResponse: Content Category List Response
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() (*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) QuotaUser ¶
func (c *ContentCategoriesPatchCall) QuotaUser(quotaUser string) *ContentCategoriesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ContentCategoriesPatchCall) UserIP ¶
func (c *ContentCategoriesPatchCall) UserIP(userIP string) *ContentCategoriesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *ContentCategoriesUpdateCall) QuotaUser(quotaUser string) *ContentCategoriesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ContentCategoriesUpdateCall) UserIP ¶
func (c *ContentCategoriesUpdateCall) UserIP(userIP string) *ContentCategoriesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ContentCategory ¶
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:"-"` }
ContentCategory: Organizes placements according to the contents of their associated webpages.
func (*ContentCategory) MarshalJSON ¶
func (s *ContentCategory) MarshalJSON() ([]byte, error)
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() (*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) 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.
func (*CountriesGetCall) QuotaUser ¶
func (c *CountriesGetCall) QuotaUser(quotaUser string) *CountriesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CountriesGetCall) UserIP ¶
func (c *CountriesGetCall) UserIP(userIP string) *CountriesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*CountriesListCall) QuotaUser ¶
func (c *CountriesListCall) QuotaUser(quotaUser string) *CountriesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CountriesListCall) UserIP ¶
func (c *CountriesListCall) UserIP(userIP string) *CountriesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CountriesListResponse ¶
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:"-"` }
CountriesListResponse: Country List Response
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 ¶
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:"-"` }
Country: Contains information about a country that can be targeted by ads.
func (*Country) MarshalJSON ¶
type 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_MIXED" ArtworkType string `json:"artworkType,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 // enhanced image creatives. Applicable to the following creative types: // ENHANCED_IMAGE. AutoAdvanceImages bool `json:"auto_advance_images,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: ENHANCED_BANNER, // FLASH_INPAGE, and HTML5_BANNER. 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: ENHANCED_BANNER and HTML5_BANNER. // // 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: // ENHANCED_BANNER. BackupImageReportingLabel string `json:"backupImageReportingLabel,omitempty"` // BackupImageTargetWindow: Target window for backup image. Applicable // to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and // HTML5_BANNER. BackupImageTargetWindow *TargetWindow `json:"backupImageTargetWindow,omitempty"` // ClickTags: Click tags of the creative. For ENHANCED_BANNER, // 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 ENHANCED_IMAGE 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: ENHANCED_BANNER, // ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER. ClickTags []*ClickTag `json:"clickTags,omitempty"` // CommercialId: Industry standard ID assigned to creative for reach and // frequency. Applicable to the following creative types: all // INSTREAM_VIDEO and all VPAID. 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 INSTREAM_VIDEO and all VPAID. CompanionCreatives googleapi.Int64s `json:"companionCreatives,omitempty"` // Compatibility: Compatibilities associated with this creative. This is // a read-only field. WEB and WEB_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 in in-stream video ads // developed with the VAST standard. Applicable to all creative // types. // // Acceptable values are: // - "APP" // - "APP_INTERSTITIAL" // - "IN_STREAM_VIDEO" // - "WEB" // - "WEB_INTERSTITIAL" // // Possible values: // "APP" // "APP_INTERSTITIAL" // "IN_STREAM_VIDEO" // "WEB" // "WEB_INTERSTITIAL" 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 types: ENHANCED_BANNER and // FLASH_INPAGE. ConvertFlashToHtml5 bool `json:"convertFlashToHtml5,omitempty"` // CounterCustomEvents: List of counter events configured for the // creative. For ENHANCED_IMAGE creatives, these are read-only and // auto-generated from clickTags. Applicable to the following creative // types: ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID. CounterCustomEvents []*CreativeCustomEvent `json:"counterCustomEvents,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"` // ExitCustomEvents: List of exit events configured for the creative. // For ENHANCED_BANNER and ENHANCED_IMAGE creatives, these are read-only // and auto-generated from clickTags, For ENHANCED_BANNER, an event is // also created from the backupImageReportingLabel. Applicable to the // following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, all // RICH_MEDIA, and all VPAID. 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"` // 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: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, // 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, // ENHANCED_BANNER, all RICH_MEDIA, and all VPAID. 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 and FLASH_INPAGE creatives, if left blank, this field will be // automatically set using the actual size of the associated image // assets. Applicable to the following creative types: ENHANCED_BANNER, // ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all // RICH_MEDIA. Size *Size `json:"size,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"` // 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 ENHANCED_IMAGE creatives, these are read-only and auto-generated // from clickTags. Applicable to the following creative types: // ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID. 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. // // Possible values: // "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO" // "CUSTOM_INPAGE" // "CUSTOM_INTERSTITIAL" // "ENHANCED_BANNER" // "ENHANCED_IMAGE" // "FLASH_INPAGE" // "HTML5_BANNER" // "IMAGE" // "INSTREAM_VIDEO" // "INTERNAL_REDIRECT" // "INTERSTITIAL_INTERNAL_REDIRECT" // "REDIRECT" // "RICH_MEDIA_EXPANDING" // "RICH_MEDIA_IM_EXPAND" // "RICH_MEDIA_INPAGE" // "RICH_MEDIA_INPAGE_FLOATING" // "RICH_MEDIA_INTERSTITIAL_FLOAT" // "RICH_MEDIA_MOBILE_IN_APP" // "RICH_MEDIA_MULTI_FLOATING" // "RICH_MEDIA_PEEL_DOWN" // "TRACKING_TEXT" // "VAST_REDIRECT" // "VPAID_LINEAR" // "VPAID_NON_LINEAR" Type string `json:"type,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:"-"` }
Creative: Contains properties of a Creative.
func (*Creative) MarshalJSON ¶
type CreativeAsset ¶
type CreativeAsset struct { // ActionScript3: Whether ActionScript3 is enabled for the flash asset. // This is a read-only field. Applicable to the following creative // types: FLASH_INPAGE and ENHANCED_BANNER. ActionScript3 bool `json:"actionScript3,omitempty"` // Active: Whether the video asset is active. This is a read-only field // for VPAID_NON_LINEAR 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_MULTI_FLOATING. // // 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_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"` // CustomStartTimeValue: Custom start time in seconds for making the // asset visible. Applicable to the following creative types: all // RICH_MEDIA. 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: ENHANCED_BANNER and // HTML5_BANNER. // // 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_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. 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, // ENHANCED_BANNER, all RICH_MEDIA, and all VPAID. 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"` // 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. Must be // between 0 and 9.99. 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. 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 ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, // IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple // primary assets), and all VPAID creatives. // BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, // all RICH_MEDIA, and all VPAID creatives. // 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 // creatives. // TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO // assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR // creatives. // ALTERNATE_VIDEO refers to the DCM representation of child asset // videos from Studio, and is applicable to VPAID_LINEAR creatives. // These cannot be added or removed within DCM. // For VPAID_LINEAR 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 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: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, // HTML5_BANNER, IMAGE, and all RICH_MEDIA. 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_EXPANDING, // RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and // RICH_MEDIA_INPAGE_FLOATING. // // Possible values: // "OPAQUE" // "TRANSPARENT" // "WINDOW" WindowMode string `json:"windowMode,omitempty"` // ZIndex: zIndex value of an asset. This is a read-only field. // 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. 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:"-"` }
CreativeAsset: Creative Asset.
func (*CreativeAsset) MarshalJSON ¶
func (s *CreativeAsset) MarshalJSON() ([]byte, error)
type CreativeAssetId ¶
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. IMAGE is // solely used for IMAGE creatives. Other 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:"-"` }
CreativeAssetId: Creative Asset ID.
func (*CreativeAssetId) MarshalJSON ¶
func (s *CreativeAssetId) MarshalJSON() ([]byte, error)
type CreativeAssetMetadata ¶
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"` // 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: // - "CLICK_TAG_NON_TOP_LEVEL" // - "CLICK_TAG_MISSING" // - "CLICK_TAG_MORE_THAN_ONE" // - "CLICK_TAG_INVALID" // - "ORPHANED_ASSET" // - "PRIMARY_HTML_MISSING" // - "EXTERNAL_FILE_REFERENCED" // - "MRAID_REFERENCED" // - "ADMOB_REFERENCED" // - "FILE_TYPE_INVALID" // - "ZIP_INVALID" // - "LINKED_FILE_NOT_FOUND" // - "MAX_FLASH_VERSION_11" // - "NOT_SSL_COMPLIANT" // - "FILE_DETAIL_EMPTY" // - "ASSET_INVALID" // - "GWD_PROPERTIES_INVALID" // - "ENABLER_UNSUPPORTED_METHOD_DCM" // - "ASSET_FORMAT_UNSUPPORTED_DCM" // - "COMPONENT_UNSUPPORTED_DCM" // - "HTML5_FEATURE_UNSUPPORTED' " // // 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" // "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:"-"` }
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.
func (*CreativeAssetMetadata) MarshalJSON ¶
func (s *CreativeAssetMetadata) 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() (*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) Media ¶
func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *CreativeAssetsInsertCall
Media specifies the media to upload in a single chunk. 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) QuotaUser ¶
func (c *CreativeAssetsInsertCall) QuotaUser(quotaUser string) *CreativeAssetsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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. 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.
func (*CreativeAssetsInsertCall) UserIP ¶
func (c *CreativeAssetsInsertCall) UserIP(userIP string) *CreativeAssetsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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 ¶
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: // - 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 // - ADVANCED_BANNER // - 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. 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. 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:"-"` }
CreativeAssignment: Creative Assignment.
func (*CreativeAssignment) MarshalJSON ¶
func (s *CreativeAssignment) MarshalJSON() ([]byte, error)
type CreativeCustomEvent ¶
type CreativeCustomEvent struct { // Active: Whether the event is active. Active bool `json:"active,omitempty"` // 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_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. "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:"-"` }
CreativeCustomEvent: Creative Custom Event.
func (*CreativeCustomEvent) MarshalJSON ¶
func (s *CreativeCustomEvent) MarshalJSON() ([]byte, error)
type CreativeField ¶
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:"-"` }
CreativeField: Contains properties of a creative field.
func (*CreativeField) MarshalJSON ¶
func (s *CreativeField) MarshalJSON() ([]byte, error)
type CreativeFieldAssignment ¶
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:"-"` }
CreativeFieldAssignment: Creative Field Assignment.
func (*CreativeFieldAssignment) MarshalJSON ¶
func (s *CreativeFieldAssignment) MarshalJSON() ([]byte, error)
type CreativeFieldValue ¶
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:"-"` }
CreativeFieldValue: Contains properties of a creative field value.
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() 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) QuotaUser ¶
func (c *CreativeFieldValuesDeleteCall) QuotaUser(quotaUser string) *CreativeFieldValuesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldValuesDeleteCall) UserIP ¶
func (c *CreativeFieldValuesDeleteCall) UserIP(userIP string) *CreativeFieldValuesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*CreativeFieldValuesGetCall) QuotaUser ¶
func (c *CreativeFieldValuesGetCall) QuotaUser(quotaUser string) *CreativeFieldValuesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldValuesGetCall) UserIP ¶
func (c *CreativeFieldValuesGetCall) UserIP(userIP string) *CreativeFieldValuesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *CreativeFieldValuesInsertCall) QuotaUser(quotaUser string) *CreativeFieldValuesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldValuesInsertCall) UserIP ¶
func (c *CreativeFieldValuesInsertCall) UserIP(userIP string) *CreativeFieldValuesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *CreativeFieldValuesListCall) QuotaUser(quotaUser string) *CreativeFieldValuesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "VALUE"
func (*CreativeFieldValuesListCall) SortOrder ¶
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*CreativeFieldValuesListCall) UserIP ¶
func (c *CreativeFieldValuesListCall) UserIP(userIP string) *CreativeFieldValuesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeFieldValuesListResponse ¶
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:"-"` }
CreativeFieldValuesListResponse: Creative Field Value List Response
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() (*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) QuotaUser ¶
func (c *CreativeFieldValuesPatchCall) QuotaUser(quotaUser string) *CreativeFieldValuesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldValuesPatchCall) UserIP ¶
func (c *CreativeFieldValuesPatchCall) UserIP(userIP string) *CreativeFieldValuesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
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() (*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) QuotaUser ¶
func (c *CreativeFieldValuesUpdateCall) QuotaUser(quotaUser string) *CreativeFieldValuesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldValuesUpdateCall) UserIP ¶
func (c *CreativeFieldValuesUpdateCall) UserIP(userIP string) *CreativeFieldValuesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() 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) QuotaUser ¶
func (c *CreativeFieldsDeleteCall) QuotaUser(quotaUser string) *CreativeFieldsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldsDeleteCall) UserIP ¶
func (c *CreativeFieldsDeleteCall) UserIP(userIP string) *CreativeFieldsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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.
func (*CreativeFieldsGetCall) QuotaUser ¶
func (c *CreativeFieldsGetCall) QuotaUser(quotaUser string) *CreativeFieldsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldsGetCall) UserIP ¶
func (c *CreativeFieldsGetCall) UserIP(userIP string) *CreativeFieldsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) QuotaUser ¶
func (c *CreativeFieldsInsertCall) QuotaUser(quotaUser string) *CreativeFieldsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldsInsertCall) UserIP ¶
func (c *CreativeFieldsInsertCall) UserIP(userIP string) *CreativeFieldsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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() (*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) 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) QuotaUser ¶
func (c *CreativeFieldsListCall) QuotaUser(quotaUser string) *CreativeFieldsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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" "NAME"
func (*CreativeFieldsListCall) SortOrder ¶
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*CreativeFieldsListCall) UserIP ¶
func (c *CreativeFieldsListCall) UserIP(userIP string) *CreativeFieldsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeFieldsListResponse ¶
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:"-"` }
CreativeFieldsListResponse: Creative Field List Response
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 ¶
func (c *CreativeFieldsPatchCall) Do() (*CreativeField, error)
Do executes the "dfareporting.creativeFields.patch" 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 (*CreativeFieldsPatchCall) Fields ¶
func (c *CreativeFieldsPatchCall) Fields(s ...googleapi.Field) *CreativeFieldsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeFieldsPatchCall) QuotaUser ¶
func (c *CreativeFieldsPatchCall) QuotaUser(quotaUser string) *CreativeFieldsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldsPatchCall) UserIP ¶
func (c *CreativeFieldsPatchCall) UserIP(userIP string) *CreativeFieldsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeFieldsService ¶
type CreativeFieldsService struct {
// contains filtered or unexported fields
}
func NewCreativeFieldsService ¶
func NewCreativeFieldsService(s *Service) *CreativeFieldsService
func (*CreativeFieldsService) Delete ¶
func (r *CreativeFieldsService) Delete(profileId int64, id int64) *CreativeFieldsDeleteCall
Delete: Deletes an existing creative field.
func (*CreativeFieldsService) Get ¶
func (r *CreativeFieldsService) Get(profileId int64, id int64) *CreativeFieldsGetCall
Get: Gets one creative field by ID.
func (*CreativeFieldsService) Insert ¶
func (r *CreativeFieldsService) Insert(profileId int64, creativefield *CreativeField) *CreativeFieldsInsertCall
Insert: Inserts a new creative field.
func (*CreativeFieldsService) List ¶
func (r *CreativeFieldsService) List(profileId int64) *CreativeFieldsListCall
List: Retrieves a list of creative fields, possibly filtered.
func (*CreativeFieldsService) Patch ¶
func (r *CreativeFieldsService) Patch(profileId int64, id int64, creativefield *CreativeField) *CreativeFieldsPatchCall
Patch: Updates an existing creative field. This method supports patch semantics.
func (*CreativeFieldsService) Update ¶
func (r *CreativeFieldsService) Update(profileId int64, creativefield *CreativeField) *CreativeFieldsUpdateCall
Update: Updates an existing creative field.
type CreativeFieldsUpdateCall ¶
type CreativeFieldsUpdateCall struct {
// contains filtered or unexported fields
}
func (*CreativeFieldsUpdateCall) Context ¶
func (c *CreativeFieldsUpdateCall) Context(ctx context.Context) *CreativeFieldsUpdateCall
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 (*CreativeFieldsUpdateCall) Do ¶
func (c *CreativeFieldsUpdateCall) Do() (*CreativeField, error)
Do executes the "dfareporting.creativeFields.update" 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 (*CreativeFieldsUpdateCall) Fields ¶
func (c *CreativeFieldsUpdateCall) Fields(s ...googleapi.Field) *CreativeFieldsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeFieldsUpdateCall) QuotaUser ¶
func (c *CreativeFieldsUpdateCall) QuotaUser(quotaUser string) *CreativeFieldsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeFieldsUpdateCall) UserIP ¶
func (c *CreativeFieldsUpdateCall) UserIP(userIP string) *CreativeFieldsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeGroup ¶
type CreativeGroup struct { // AccountId: Account ID of this creative group. This is a read-only // field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this creative group. 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"` // GroupNumber: Subgroup of the creative group. Assign your creative // groups to one of the following subgroups in order to filter or manage // them more easily. This field is required on insertion and is // read-only after insertion. // Acceptable values are: // - 1 // - 2 GroupNumber int64 `json:"groupNumber,omitempty"` // Id: ID of this creative 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#creativeGroup". Kind string `json:"kind,omitempty"` // Name: Name of this creative group. This is a required field and must // be less than 256 characters long and unique among creative groups of // the same advertiser. Name string `json:"name,omitempty"` // SubaccountId: Subaccount ID of this creative group. 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:"-"` }
CreativeGroup: Contains properties of a creative group.
func (*CreativeGroup) MarshalJSON ¶
func (s *CreativeGroup) MarshalJSON() ([]byte, error)
type CreativeGroupAssignment ¶
type CreativeGroupAssignment struct { // CreativeGroupId: ID of the creative group to be assigned. CreativeGroupId int64 `json:"creativeGroupId,omitempty,string"` // CreativeGroupNumber: Creative group number of the creative group // assignment. // // Possible values: // "CREATIVE_GROUP_ONE" // "CREATIVE_GROUP_TWO" CreativeGroupNumber string `json:"creativeGroupNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "CreativeGroupId") 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:"-"` }
CreativeGroupAssignment: Creative Group Assignment.
func (*CreativeGroupAssignment) MarshalJSON ¶
func (s *CreativeGroupAssignment) MarshalJSON() ([]byte, error)
type CreativeGroupsGetCall ¶
type CreativeGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*CreativeGroupsGetCall) Context ¶
func (c *CreativeGroupsGetCall) Context(ctx context.Context) *CreativeGroupsGetCall
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 (*CreativeGroupsGetCall) Do ¶
func (c *CreativeGroupsGetCall) Do() (*CreativeGroup, error)
Do executes the "dfareporting.creativeGroups.get" call. Exactly one of *CreativeGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeGroup.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 (*CreativeGroupsGetCall) Fields ¶
func (c *CreativeGroupsGetCall) Fields(s ...googleapi.Field) *CreativeGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeGroupsGetCall) IfNoneMatch ¶
func (c *CreativeGroupsGetCall) IfNoneMatch(entityTag string) *CreativeGroupsGetCall
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 (*CreativeGroupsGetCall) QuotaUser ¶
func (c *CreativeGroupsGetCall) QuotaUser(quotaUser string) *CreativeGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeGroupsGetCall) UserIP ¶
func (c *CreativeGroupsGetCall) UserIP(userIP string) *CreativeGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeGroupsInsertCall ¶
type CreativeGroupsInsertCall struct {
// contains filtered or unexported fields
}
func (*CreativeGroupsInsertCall) Context ¶
func (c *CreativeGroupsInsertCall) Context(ctx context.Context) *CreativeGroupsInsertCall
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 (*CreativeGroupsInsertCall) Do ¶
func (c *CreativeGroupsInsertCall) Do() (*CreativeGroup, error)
Do executes the "dfareporting.creativeGroups.insert" call. Exactly one of *CreativeGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeGroup.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 (*CreativeGroupsInsertCall) Fields ¶
func (c *CreativeGroupsInsertCall) Fields(s ...googleapi.Field) *CreativeGroupsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeGroupsInsertCall) QuotaUser ¶
func (c *CreativeGroupsInsertCall) QuotaUser(quotaUser string) *CreativeGroupsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeGroupsInsertCall) UserIP ¶
func (c *CreativeGroupsInsertCall) UserIP(userIP string) *CreativeGroupsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeGroupsListCall ¶
type CreativeGroupsListCall struct {
// contains filtered or unexported fields
}
func (*CreativeGroupsListCall) AdvertiserIds ¶
func (c *CreativeGroupsListCall) AdvertiserIds(advertiserIds ...int64) *CreativeGroupsListCall
AdvertiserIds sets the optional parameter "advertiserIds": Select only creative groups that belong to these advertisers.
func (*CreativeGroupsListCall) Context ¶
func (c *CreativeGroupsListCall) Context(ctx context.Context) *CreativeGroupsListCall
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 (*CreativeGroupsListCall) Do ¶
func (c *CreativeGroupsListCall) Do() (*CreativeGroupsListResponse, error)
Do executes the "dfareporting.creativeGroups.list" call. Exactly one of *CreativeGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeGroupsListResponse.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 (*CreativeGroupsListCall) Fields ¶
func (c *CreativeGroupsListCall) Fields(s ...googleapi.Field) *CreativeGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeGroupsListCall) GroupNumber ¶
func (c *CreativeGroupsListCall) GroupNumber(groupNumber int64) *CreativeGroupsListCall
GroupNumber sets the optional parameter "groupNumber": Select only creative groups that belong to this subgroup.
func (*CreativeGroupsListCall) Ids ¶
func (c *CreativeGroupsListCall) Ids(ids ...int64) *CreativeGroupsListCall
Ids sets the optional parameter "ids": Select only creative groups with these IDs.
func (*CreativeGroupsListCall) IfNoneMatch ¶
func (c *CreativeGroupsListCall) IfNoneMatch(entityTag string) *CreativeGroupsListCall
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 (*CreativeGroupsListCall) MaxResults ¶
func (c *CreativeGroupsListCall) MaxResults(maxResults int64) *CreativeGroupsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*CreativeGroupsListCall) PageToken ¶
func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*CreativeGroupsListCall) QuotaUser ¶
func (c *CreativeGroupsListCall) QuotaUser(quotaUser string) *CreativeGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeGroupsListCall) SearchString ¶
func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGroupsListCall
SearchString sets the optional parameter "searchString": Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 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 "creativegroup" will match creative groups with the name "my creativegroup", "creativegroup 2015", or simply "creativegroup".
func (*CreativeGroupsListCall) SortField ¶
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*CreativeGroupsListCall) SortOrder ¶
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*CreativeGroupsListCall) UserIP ¶
func (c *CreativeGroupsListCall) UserIP(userIP string) *CreativeGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeGroupsListResponse ¶
type CreativeGroupsListResponse struct { // CreativeGroups: Creative group collection. CreativeGroups []*CreativeGroup `json:"creativeGroups,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#creativeGroupsListResponse". 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. "CreativeGroups") 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:"-"` }
CreativeGroupsListResponse: Creative Group List Response
func (*CreativeGroupsListResponse) MarshalJSON ¶
func (s *CreativeGroupsListResponse) MarshalJSON() ([]byte, error)
type CreativeGroupsPatchCall ¶
type CreativeGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*CreativeGroupsPatchCall) Context ¶
func (c *CreativeGroupsPatchCall) Context(ctx context.Context) *CreativeGroupsPatchCall
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 (*CreativeGroupsPatchCall) Do ¶
func (c *CreativeGroupsPatchCall) Do() (*CreativeGroup, error)
Do executes the "dfareporting.creativeGroups.patch" call. Exactly one of *CreativeGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeGroup.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 (*CreativeGroupsPatchCall) Fields ¶
func (c *CreativeGroupsPatchCall) Fields(s ...googleapi.Field) *CreativeGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeGroupsPatchCall) QuotaUser ¶
func (c *CreativeGroupsPatchCall) QuotaUser(quotaUser string) *CreativeGroupsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeGroupsPatchCall) UserIP ¶
func (c *CreativeGroupsPatchCall) UserIP(userIP string) *CreativeGroupsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeGroupsService ¶
type CreativeGroupsService struct {
// contains filtered or unexported fields
}
func NewCreativeGroupsService ¶
func NewCreativeGroupsService(s *Service) *CreativeGroupsService
func (*CreativeGroupsService) Get ¶
func (r *CreativeGroupsService) Get(profileId int64, id int64) *CreativeGroupsGetCall
Get: Gets one creative group by ID.
func (*CreativeGroupsService) Insert ¶
func (r *CreativeGroupsService) Insert(profileId int64, creativegroup *CreativeGroup) *CreativeGroupsInsertCall
Insert: Inserts a new creative group.
func (*CreativeGroupsService) List ¶
func (r *CreativeGroupsService) List(profileId int64) *CreativeGroupsListCall
List: Retrieves a list of creative groups, possibly filtered.
func (*CreativeGroupsService) Patch ¶
func (r *CreativeGroupsService) Patch(profileId int64, id int64, creativegroup *CreativeGroup) *CreativeGroupsPatchCall
Patch: Updates an existing creative group. This method supports patch semantics.
func (*CreativeGroupsService) Update ¶
func (r *CreativeGroupsService) Update(profileId int64, creativegroup *CreativeGroup) *CreativeGroupsUpdateCall
Update: Updates an existing creative group.
type CreativeGroupsUpdateCall ¶
type CreativeGroupsUpdateCall struct {
// contains filtered or unexported fields
}
func (*CreativeGroupsUpdateCall) Context ¶
func (c *CreativeGroupsUpdateCall) Context(ctx context.Context) *CreativeGroupsUpdateCall
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 (*CreativeGroupsUpdateCall) Do ¶
func (c *CreativeGroupsUpdateCall) Do() (*CreativeGroup, error)
Do executes the "dfareporting.creativeGroups.update" call. Exactly one of *CreativeGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativeGroup.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 (*CreativeGroupsUpdateCall) Fields ¶
func (c *CreativeGroupsUpdateCall) Fields(s ...googleapi.Field) *CreativeGroupsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativeGroupsUpdateCall) QuotaUser ¶
func (c *CreativeGroupsUpdateCall) QuotaUser(quotaUser string) *CreativeGroupsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativeGroupsUpdateCall) UserIP ¶
func (c *CreativeGroupsUpdateCall) UserIP(userIP string) *CreativeGroupsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativeOptimizationConfiguration ¶
type CreativeOptimizationConfiguration struct { // Id: ID of this creative optimization config. This field is // auto-generated when the campaign is inserted or updated. It can be // null for existing campaigns. Id int64 `json:"id,omitempty,string"` // Name: Name of this creative optimization config. This is a required // field and must be less than 129 characters long. Name string `json:"name,omitempty"` // OptimizationActivitys: List of optimization activities associated // with this configuration. OptimizationActivitys []*OptimizationActivity `json:"optimizationActivitys,omitempty"` // OptimizationModel: Optimization model for this configuration. // // Possible values: // "CLICK" // "POST_CLICK" // "POST_CLICK_AND_IMPRESSION" // "POST_IMPRESSION" OptimizationModel string `json:"optimizationModel,omitempty"` // 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:"-"` }
CreativeOptimizationConfiguration: Creative optimization settings.
func (*CreativeOptimizationConfiguration) MarshalJSON ¶
func (s *CreativeOptimizationConfiguration) MarshalJSON() ([]byte, error)
type CreativeRotation ¶
type CreativeRotation struct { // CreativeAssignments: Creative assignments in this creative rotation. CreativeAssignments []*CreativeAssignment `json:"creativeAssignments,omitempty"` // CreativeOptimizationConfigurationId: Creative optimization // configuration that is used by this ad. It should refer to one of the // existing optimization configurations in the ad's campaign. If it is // unset or set to 0, then the campaign's default optimization // configuration will be used for this ad. CreativeOptimizationConfigurationId int64 `json:"creativeOptimizationConfigurationId,omitempty,string"` // Type: Type of creative rotation. Can be used to specify whether to // use sequential or random rotation. // // Possible values: // "CREATIVE_ROTATION_TYPE_RANDOM" // "CREATIVE_ROTATION_TYPE_SEQUENTIAL" Type string `json:"type,omitempty"` // WeightCalculationStrategy: Strategy for calculating weights. Used // with CREATIVE_ROTATION_TYPE_RANDOM. // // Possible values: // "WEIGHT_STRATEGY_CUSTOM" // "WEIGHT_STRATEGY_EQUAL" // "WEIGHT_STRATEGY_HIGHEST_CTR" // "WEIGHT_STRATEGY_OPTIMIZED" WeightCalculationStrategy string `json:"weightCalculationStrategy,omitempty"` // ForceSendFields is a list of field names (e.g. "CreativeAssignments") // 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:"-"` }
CreativeRotation: Creative Rotation.
func (*CreativeRotation) MarshalJSON ¶
func (s *CreativeRotation) MarshalJSON() ([]byte, error)
type CreativeSettings ¶
type CreativeSettings struct { // than or equal to 2000 characters long. IFrameFooter string `json:"iFrameFooter,omitempty"` // IFrameHeader: Header text for iFrames for this site. Must be less // than or equal to 2000 characters long. IFrameHeader string `json:"iFrameHeader,omitempty"` // ForceSendFields is a list of field names (e.g. "IFrameFooter") 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:"-"` }
CreativeSettings: Creative Settings
func (*CreativeSettings) MarshalJSON ¶
func (s *CreativeSettings) MarshalJSON() ([]byte, error)
type CreativesGetCall ¶
type CreativesGetCall struct {
// contains filtered or unexported fields
}
func (*CreativesGetCall) Context ¶
func (c *CreativesGetCall) Context(ctx context.Context) *CreativesGetCall
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 (*CreativesGetCall) Do ¶
func (c *CreativesGetCall) Do() (*Creative, error)
Do executes the "dfareporting.creatives.get" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.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 (*CreativesGetCall) Fields ¶
func (c *CreativesGetCall) Fields(s ...googleapi.Field) *CreativesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativesGetCall) IfNoneMatch ¶
func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall
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 (*CreativesGetCall) QuotaUser ¶
func (c *CreativesGetCall) QuotaUser(quotaUser string) *CreativesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativesGetCall) UserIP ¶
func (c *CreativesGetCall) UserIP(userIP string) *CreativesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativesInsertCall ¶
type CreativesInsertCall struct {
// contains filtered or unexported fields
}
func (*CreativesInsertCall) Context ¶
func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall
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 (*CreativesInsertCall) Do ¶
func (c *CreativesInsertCall) Do() (*Creative, error)
Do executes the "dfareporting.creatives.insert" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.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 (*CreativesInsertCall) Fields ¶
func (c *CreativesInsertCall) Fields(s ...googleapi.Field) *CreativesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativesInsertCall) QuotaUser ¶
func (c *CreativesInsertCall) QuotaUser(quotaUser string) *CreativesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativesInsertCall) UserIP ¶
func (c *CreativesInsertCall) UserIP(userIP string) *CreativesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativesListCall ¶
type CreativesListCall struct {
// contains filtered or unexported fields
}
func (*CreativesListCall) Active ¶
func (c *CreativesListCall) Active(active bool) *CreativesListCall
Active sets the optional parameter "active": Select only active creatives. Leave blank to select active and inactive creatives.
func (*CreativesListCall) AdvertiserId ¶
func (c *CreativesListCall) AdvertiserId(advertiserId int64) *CreativesListCall
AdvertiserId sets the optional parameter "advertiserId": Select only creatives with this advertiser ID.
func (*CreativesListCall) Archived ¶
func (c *CreativesListCall) Archived(archived bool) *CreativesListCall
Archived sets the optional parameter "archived": Select only archived creatives. Leave blank to select archived and unarchived creatives.
func (*CreativesListCall) CampaignId ¶
func (c *CreativesListCall) CampaignId(campaignId int64) *CreativesListCall
CampaignId sets the optional parameter "campaignId": Select only creatives with this campaign ID.
func (*CreativesListCall) CompanionCreativeIds ¶
func (c *CreativesListCall) CompanionCreativeIds(companionCreativeIds ...int64) *CreativesListCall
CompanionCreativeIds sets the optional parameter "companionCreativeIds": Select only in-stream video creatives with these companion IDs.
func (*CreativesListCall) Context ¶
func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall
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 (*CreativesListCall) CreativeFieldIds ¶
func (c *CreativesListCall) CreativeFieldIds(creativeFieldIds ...int64) *CreativesListCall
CreativeFieldIds sets the optional parameter "creativeFieldIds": Select only creatives with these creative field IDs.
func (*CreativesListCall) Do ¶
func (c *CreativesListCall) Do() (*CreativesListResponse, error)
Do executes the "dfareporting.creatives.list" call. Exactly one of *CreativesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreativesListResponse.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 (*CreativesListCall) Fields ¶
func (c *CreativesListCall) Fields(s ...googleapi.Field) *CreativesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativesListCall) Ids ¶
func (c *CreativesListCall) Ids(ids ...int64) *CreativesListCall
Ids sets the optional parameter "ids": Select only creatives with these IDs.
func (*CreativesListCall) IfNoneMatch ¶
func (c *CreativesListCall) IfNoneMatch(entityTag string) *CreativesListCall
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 (*CreativesListCall) MaxResults ¶
func (c *CreativesListCall) MaxResults(maxResults int64) *CreativesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*CreativesListCall) PageToken ¶
func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*CreativesListCall) QuotaUser ¶
func (c *CreativesListCall) QuotaUser(quotaUser string) *CreativesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativesListCall) RenderingIds ¶
func (c *CreativesListCall) RenderingIds(renderingIds ...int64) *CreativesListCall
RenderingIds sets the optional parameter "renderingIds": Select only creatives with these rendering IDs.
func (*CreativesListCall) SearchString ¶
func (c *CreativesListCall) SearchString(searchString string) *CreativesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June 2015", "creative April 2015", or simply "creative 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 "creative" will match objects with name "my creative", "creative 2015", or simply "creative".
func (*CreativesListCall) SizeIds ¶
func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall
SizeIds sets the optional parameter "sizeIds": Select only creatives with these size IDs.
func (*CreativesListCall) SortField ¶
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*CreativesListCall) SortOrder ¶
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*CreativesListCall) StudioCreativeId ¶
func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesListCall
StudioCreativeId sets the optional parameter "studioCreativeId": Select only creatives corresponding to this Studio creative ID.
func (*CreativesListCall) Types ¶
func (c *CreativesListCall) Types(types ...string) *CreativesListCall
Types sets the optional parameter "types": Select only creatives with these creative types.
Possible values:
"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO" "CUSTOM_INPAGE" "CUSTOM_INTERSTITIAL" "ENHANCED_BANNER" "ENHANCED_IMAGE" "FLASH_INPAGE" "HTML5_BANNER" "IMAGE" "INSTREAM_VIDEO" "INTERNAL_REDIRECT" "INTERSTITIAL_INTERNAL_REDIRECT" "REDIRECT" "RICH_MEDIA_EXPANDING" "RICH_MEDIA_IM_EXPAND" "RICH_MEDIA_INPAGE" "RICH_MEDIA_INPAGE_FLOATING" "RICH_MEDIA_INTERSTITIAL_FLOAT" "RICH_MEDIA_MOBILE_IN_APP" "RICH_MEDIA_MULTI_FLOATING" "RICH_MEDIA_PEEL_DOWN" "TRACKING_TEXT" "VAST_REDIRECT" "VPAID_LINEAR" "VPAID_NON_LINEAR"
func (*CreativesListCall) UserIP ¶
func (c *CreativesListCall) UserIP(userIP string) *CreativesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativesListResponse ¶
type CreativesListResponse struct { // Creatives: Creative collection. Creatives []*Creative `json:"creatives,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#creativesListResponse". 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. "Creatives") 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:"-"` }
CreativesListResponse: Creative List Response
func (*CreativesListResponse) MarshalJSON ¶
func (s *CreativesListResponse) MarshalJSON() ([]byte, error)
type CreativesPatchCall ¶
type CreativesPatchCall struct {
// contains filtered or unexported fields
}
func (*CreativesPatchCall) Context ¶
func (c *CreativesPatchCall) Context(ctx context.Context) *CreativesPatchCall
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 (*CreativesPatchCall) Do ¶
func (c *CreativesPatchCall) Do() (*Creative, error)
Do executes the "dfareporting.creatives.patch" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.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 (*CreativesPatchCall) Fields ¶
func (c *CreativesPatchCall) Fields(s ...googleapi.Field) *CreativesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativesPatchCall) QuotaUser ¶
func (c *CreativesPatchCall) QuotaUser(quotaUser string) *CreativesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativesPatchCall) UserIP ¶
func (c *CreativesPatchCall) UserIP(userIP string) *CreativesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CreativesService ¶
type CreativesService struct {
// contains filtered or unexported fields
}
func NewCreativesService ¶
func NewCreativesService(s *Service) *CreativesService
func (*CreativesService) Get ¶
func (r *CreativesService) Get(profileId int64, id int64) *CreativesGetCall
Get: Gets one creative by ID.
func (*CreativesService) Insert ¶
func (r *CreativesService) Insert(profileId int64, creative *Creative) *CreativesInsertCall
Insert: Inserts a new creative.
func (*CreativesService) List ¶
func (r *CreativesService) List(profileId int64) *CreativesListCall
List: Retrieves a list of creatives, possibly filtered.
func (*CreativesService) Patch ¶
func (r *CreativesService) Patch(profileId int64, id int64, creative *Creative) *CreativesPatchCall
Patch: Updates an existing creative. This method supports patch semantics.
func (*CreativesService) Update ¶
func (r *CreativesService) Update(profileId int64, creative *Creative) *CreativesUpdateCall
Update: Updates an existing creative.
type CreativesUpdateCall ¶
type CreativesUpdateCall struct {
// contains filtered or unexported fields
}
func (*CreativesUpdateCall) Context ¶
func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall
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 (*CreativesUpdateCall) Do ¶
func (c *CreativesUpdateCall) Do() (*Creative, error)
Do executes the "dfareporting.creatives.update" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.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 (*CreativesUpdateCall) Fields ¶
func (c *CreativesUpdateCall) Fields(s ...googleapi.Field) *CreativesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CreativesUpdateCall) QuotaUser ¶
func (c *CreativesUpdateCall) QuotaUser(quotaUser string) *CreativesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*CreativesUpdateCall) UserIP ¶
func (c *CreativesUpdateCall) UserIP(userIP string) *CreativesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type CrossDimensionReachReportCompatibleFields ¶
type CrossDimensionReachReportCompatibleFields struct { // Breakdown: Dimensions which are compatible to be selected in the // "breakdown" section of the report. Breakdown []*Dimension `json:"breakdown,omitempty"` // DimensionFilters: Dimensions which are compatible to be selected in // the "dimensionFilters" section of the report. DimensionFilters []*Dimension `json:"dimensionFilters,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#crossDimensionReachReportCompatibleFields. Kind string `json:"kind,omitempty"` // Metrics: Metrics which are compatible to be selected in the // "metricNames" section of the report. Metrics []*Metric `json:"metrics,omitempty"` // OverlapMetrics: Metrics which are compatible to be selected in the // "overlapMetricNames" section of the report. OverlapMetrics []*Metric `json:"overlapMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. "Breakdown") 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:"-"` }
CrossDimensionReachReportCompatibleFields: Represents fields that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH".
func (*CrossDimensionReachReportCompatibleFields) MarshalJSON ¶
func (s *CrossDimensionReachReportCompatibleFields) MarshalJSON() ([]byte, error)
type CustomRichMediaEvents ¶
type CustomRichMediaEvents struct { // FilteredEventIds: List of custom rich media event IDs. Dimension // values must be all of type dfa:richMediaEventTypeIdAndName. FilteredEventIds []*DimensionValue `json:"filteredEventIds,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#customRichMediaEvents. Kind string `json:"kind,omitempty"` // ForceSendFields is a list of field names (e.g. "FilteredEventIds") 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:"-"` }
CustomRichMediaEvents: Represents a Custom Rich Media Events group.
func (*CustomRichMediaEvents) MarshalJSON ¶
func (s *CustomRichMediaEvents) MarshalJSON() ([]byte, error)
type DateRange ¶
type DateRange struct { // EndDate: The end date of the date range, inclusive. A string of the // format: "yyyy-MM-dd". EndDate string `json:"endDate,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#dateRange. Kind string `json:"kind,omitempty"` // RelativeDateRange: The date range relative to the date of when the // report is run. // // Possible values: // "LAST_24_MONTHS" // "LAST_30_DAYS" // "LAST_365_DAYS" // "LAST_7_DAYS" // "LAST_90_DAYS" // "MONTH_TO_DATE" // "PREVIOUS_MONTH" // "PREVIOUS_QUARTER" // "PREVIOUS_WEEK" // "PREVIOUS_YEAR" // "QUARTER_TO_DATE" // "TODAY" // "WEEK_TO_DATE" // "YEAR_TO_DATE" // "YESTERDAY" RelativeDateRange string `json:"relativeDateRange,omitempty"` // StartDate: The start date of the date range, inclusive. A string of // the format: "yyyy-MM-dd". StartDate string `json:"startDate,omitempty"` // ForceSendFields is a list of field names (e.g. "EndDate") 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:"-"` }
DateRange: Represents a date range.
func (*DateRange) MarshalJSON ¶
type DayPartTargeting ¶
type DayPartTargeting struct { // DaysOfWeek: Days of the week when the ad will serve. // // Acceptable values are: // - "SUNDAY" // - "MONDAY" // - "TUESDAY" // - "WEDNESDAY" // - "THURSDAY" // - "FRIDAY" // - "SATURDAY" // // Possible values: // "FRIDAY" // "MONDAY" // "SATURDAY" // "SUNDAY" // "THURSDAY" // "TUESDAY" // "WEDNESDAY" DaysOfWeek []string `json:"daysOfWeek,omitempty"` // HoursOfDay: Hours of the day when the ad will serve. Must be an // integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, // and 23 is 11 PM to midnight. Can be specified with days of week, in // which case the ad would serve during these hours on the specified // days. For example, if Monday, Wednesday, Friday are the days of week // specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the // ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. HoursOfDay []int64 `json:"hoursOfDay,omitempty"` // UserLocalTime: Whether or not to use the user's local time. If false, // the America/New York time zone applies. UserLocalTime bool `json:"userLocalTime,omitempty"` // ForceSendFields is a list of field names (e.g. "DaysOfWeek") 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:"-"` }
DayPartTargeting: Day Part Targeting.
func (*DayPartTargeting) MarshalJSON ¶
func (s *DayPartTargeting) MarshalJSON() ([]byte, error)
type DefaultClickThroughEventTagProperties ¶
type DefaultClickThroughEventTagProperties struct { // DefaultClickThroughEventTagId: ID of the click-through event tag to // apply to all ads in this entity's scope. DefaultClickThroughEventTagId int64 `json:"defaultClickThroughEventTagId,omitempty,string"` // OverrideInheritedEventTag: Whether this entity should override the // inherited default click-through event tag with its own defined value. OverrideInheritedEventTag bool `json:"overrideInheritedEventTag,omitempty"` // ForceSendFields is a list of field names (e.g. // "DefaultClickThroughEventTagId") 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:"-"` }
DefaultClickThroughEventTagProperties: Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.
func (*DefaultClickThroughEventTagProperties) MarshalJSON ¶
func (s *DefaultClickThroughEventTagProperties) MarshalJSON() ([]byte, error)
type DeliverySchedule ¶
type DeliverySchedule struct { // FrequencyCap: Limit on the number of times an individual user can be // served the ad within a specified period of time. FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"` // HardCutoff: Whether or not hard cutoff is enabled. If true, the ad // will not serve after the end date and time. Otherwise the ad will // continue to be served until it has reached its delivery goals. HardCutoff bool `json:"hardCutoff,omitempty"` // ImpressionRatio: Impression ratio for this ad. This ratio determines // how often each ad is served relative to the others. For example, if // ad A has an impression ratio of 1 and ad B has an impression ratio of // 3, then DCM will serve ad B three times as often as ad A. Must be // between 1 and 10. ImpressionRatio int64 `json:"impressionRatio,omitempty,string"` // Priority: Serving priority of an ad, with respect to other ads. The // lower the priority number, the greater the priority with which it is // served. // // Possible values: // "AD_PRIORITY_01" // "AD_PRIORITY_02" // "AD_PRIORITY_03" // "AD_PRIORITY_04" // "AD_PRIORITY_05" // "AD_PRIORITY_06" // "AD_PRIORITY_07" // "AD_PRIORITY_08" // "AD_PRIORITY_09" // "AD_PRIORITY_10" // "AD_PRIORITY_11" // "AD_PRIORITY_12" // "AD_PRIORITY_13" // "AD_PRIORITY_14" // "AD_PRIORITY_15" // "AD_PRIORITY_16" Priority string `json:"priority,omitempty"` // ForceSendFields is a list of field names (e.g. "FrequencyCap") 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:"-"` }
DeliverySchedule: Delivery Schedule.
func (*DeliverySchedule) MarshalJSON ¶
func (s *DeliverySchedule) MarshalJSON() ([]byte, error)
type DfpSettings ¶
type DfpSettings struct { // DfpNetworkCode: DFP network code for this directory site. DfpNetworkCode string `json:"dfp_network_code,omitempty"` // DfpNetworkName: DFP network name for this directory site. DfpNetworkName string `json:"dfp_network_name,omitempty"` // ProgrammaticPlacementAccepted: Whether this directory site accepts // programmatic placements. ProgrammaticPlacementAccepted bool `json:"programmaticPlacementAccepted,omitempty"` // PubPaidPlacementAccepted: Whether this directory site accepts // publisher-paid tags. PubPaidPlacementAccepted bool `json:"pubPaidPlacementAccepted,omitempty"` // PublisherPortalOnly: Whether this directory site is available only // via DoubleClick Publisher Portal. PublisherPortalOnly bool `json:"publisherPortalOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "DfpNetworkCode") 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:"-"` }
DfpSettings: DFP Settings
func (*DfpSettings) MarshalJSON ¶
func (s *DfpSettings) MarshalJSON() ([]byte, error)
type Dimension ¶
type Dimension struct { // Kind: The kind of resource this is, in this case // dfareporting#dimension. Kind string `json:"kind,omitempty"` // Name: The dimension name, e.g. dfa:advertiser Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
Dimension: Represents a dimension.
func (*Dimension) MarshalJSON ¶
type DimensionFilter ¶
type DimensionFilter struct { // DimensionName: The name of the dimension to filter. DimensionName string `json:"dimensionName,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#dimensionFilter. Kind string `json:"kind,omitempty"` // Value: The value of the dimension to filter. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionName") 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:"-"` }
DimensionFilter: Represents a dimension filter.
func (*DimensionFilter) MarshalJSON ¶
func (s *DimensionFilter) MarshalJSON() ([]byte, error)
type DimensionValue ¶
type DimensionValue struct { // DimensionName: The name of the dimension. DimensionName string `json:"dimensionName,omitempty"` // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Id: The ID associated with the value if available. Id string `json:"id,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#dimensionValue. Kind string `json:"kind,omitempty"` // MatchType: Determines how the 'value' field is matched when // filtering. If not specified, defaults to EXACT. If set to // WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable // length character sequences, and it can be escaped with a backslash. // Note, only paid search dimensions ('dfa:paidSearch*') allow a // matchType other than EXACT. // // Possible values: // "BEGINS_WITH" // "CONTAINS" // "EXACT" // "WILDCARD_EXPRESSION" MatchType string `json:"matchType,omitempty"` // Value: The value of the dimension. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionName") 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:"-"` }
DimensionValue: Represents a DimensionValue resource.
func (*DimensionValue) MarshalJSON ¶
func (s *DimensionValue) MarshalJSON() ([]byte, error)
type DimensionValueList ¶
type DimensionValueList struct { // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Items: The dimension values returned in this response. Items []*DimensionValue `json:"items,omitempty"` // Kind: The kind of list this is, in this case // dfareporting#dimensionValueList. Kind string `json:"kind,omitempty"` // NextPageToken: Continuation token used to page through dimension // values. To retrieve the next page of results, set the next request's // "pageToken" to the value of this field. The page token is only valid // for a limited amount of time and should not be persisted. 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. "Etag") 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:"-"` }
DimensionValueList: Represents the list of DimensionValue resources.
func (*DimensionValueList) MarshalJSON ¶
func (s *DimensionValueList) MarshalJSON() ([]byte, error)
type DimensionValueRequest ¶
type DimensionValueRequest struct { // DimensionName: The name of the dimension for which values should be // requested. DimensionName string `json:"dimensionName,omitempty"` // EndDate: The end date of the date range for which to retrieve // dimension values. A string of the format "yyyy-MM-dd". EndDate string `json:"endDate,omitempty"` // Filters: The list of filters by which to filter values. The filters // are ANDed. Filters []*DimensionFilter `json:"filters,omitempty"` // Kind: The kind of request this is, in this case // dfareporting#dimensionValueRequest. Kind string `json:"kind,omitempty"` // StartDate: The start date of the date range for which to retrieve // dimension values. A string of the format "yyyy-MM-dd". StartDate string `json:"startDate,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionName") 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:"-"` }
DimensionValueRequest: Represents a DimensionValuesRequest.
func (*DimensionValueRequest) MarshalJSON ¶
func (s *DimensionValueRequest) MarshalJSON() ([]byte, error)
type DimensionValuesQueryCall ¶
type DimensionValuesQueryCall struct {
// contains filtered or unexported fields
}
func (*DimensionValuesQueryCall) Context ¶
func (c *DimensionValuesQueryCall) Context(ctx context.Context) *DimensionValuesQueryCall
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 (*DimensionValuesQueryCall) Do ¶
func (c *DimensionValuesQueryCall) Do() (*DimensionValueList, error)
Do executes the "dfareporting.dimensionValues.query" call. Exactly one of *DimensionValueList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DimensionValueList.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 (*DimensionValuesQueryCall) Fields ¶
func (c *DimensionValuesQueryCall) Fields(s ...googleapi.Field) *DimensionValuesQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DimensionValuesQueryCall) MaxResults ¶
func (c *DimensionValuesQueryCall) MaxResults(maxResults int64) *DimensionValuesQueryCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*DimensionValuesQueryCall) PageToken ¶
func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall
PageToken sets the optional parameter "pageToken": The value of the nextToken from the previous result page.
func (*DimensionValuesQueryCall) QuotaUser ¶
func (c *DimensionValuesQueryCall) QuotaUser(quotaUser string) *DimensionValuesQueryCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DimensionValuesQueryCall) UserIP ¶
func (c *DimensionValuesQueryCall) UserIP(userIP string) *DimensionValuesQueryCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DimensionValuesService ¶
type DimensionValuesService struct {
// contains filtered or unexported fields
}
func NewDimensionValuesService ¶
func NewDimensionValuesService(s *Service) *DimensionValuesService
func (*DimensionValuesService) Query ¶
func (r *DimensionValuesService) Query(profileId int64, dimensionvaluerequest *DimensionValueRequest) *DimensionValuesQueryCall
Query: Retrieves list of report dimension values for a list of filters.
type DirectorySite ¶
type DirectorySite struct { // Active: Whether this directory site is active. Active bool `json:"active,omitempty"` // ContactAssignments: Directory site contacts. ContactAssignments []*DirectorySiteContactAssignment `json:"contactAssignments,omitempty"` // CountryId: Country ID of this directory site. CountryId int64 `json:"countryId,omitempty,string"` // CurrencyId: Currency ID of this directory site. // Possible 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 CurrencyId int64 `json:"currencyId,omitempty,string"` // Description: Description of this directory site. Description string `json:"description,omitempty"` // Id: ID of this directory site. This is a read-only, auto-generated // field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this directory site. // This is a read-only, auto-generated field. IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"` // InpageTagFormats: Tag types for regular placements. // // Acceptable values are: // - "STANDARD" // - "IFRAME_JAVASCRIPT_INPAGE" // - "INTERNAL_REDIRECT_INPAGE" // - "JAVASCRIPT_INPAGE" // // Possible values: // "IFRAME_JAVASCRIPT_INPAGE" // "INTERNAL_REDIRECT_INPAGE" // "JAVASCRIPT_INPAGE" // "STANDARD" InpageTagFormats []string `json:"inpageTagFormats,omitempty"` // InterstitialTagFormats: Tag types for interstitial // placements. // // Acceptable values are: // - "IFRAME_JAVASCRIPT_INTERSTITIAL" // - "INTERNAL_REDIRECT_INTERSTITIAL" // - "JAVASCRIPT_INTERSTITIAL" // // Possible values: // "IFRAME_JAVASCRIPT_INTERSTITIAL" // "INTERNAL_REDIRECT_INTERSTITIAL" // "JAVASCRIPT_INTERSTITIAL" InterstitialTagFormats []string `json:"interstitialTagFormats,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#directorySite". Kind string `json:"kind,omitempty"` // Name: Name of this directory site. Name string `json:"name,omitempty"` // ParentId: Parent directory site ID. ParentId int64 `json:"parentId,omitempty,string"` // Settings: Directory site settings. Settings *DirectorySiteSettings `json:"settings,omitempty"` // Url: URL of this directory site. Url string `json:"url,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // 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:"-"` }
DirectorySite: DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
func (*DirectorySite) MarshalJSON ¶
func (s *DirectorySite) MarshalJSON() ([]byte, error)
type DirectorySiteContact ¶
type DirectorySiteContact struct { // Address: Address of this directory site contact. Address string `json:"address,omitempty"` // Email: Email address of this directory site contact. Email string `json:"email,omitempty"` // FirstName: First name of this directory site contact. FirstName string `json:"firstName,omitempty"` // Id: ID of this directory site contact. 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#directorySiteContact". Kind string `json:"kind,omitempty"` // LastName: Last name of this directory site contact. LastName string `json:"lastName,omitempty"` // Phone: Phone number of this directory site contact. Phone string `json:"phone,omitempty"` // Role: Directory site contact role. // // Possible values: // "ADMIN" // "EDIT" // "VIEW" Role string `json:"role,omitempty"` // Title: Title or designation of this directory site contact. Title string `json:"title,omitempty"` // Type: Directory site contact type. // // Possible values: // "BILLING" // "OTHER" // "SALES" // "TECHNICAL" 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. "Address") 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:"-"` }
DirectorySiteContact: Contains properties of a Site Directory contact.
func (*DirectorySiteContact) MarshalJSON ¶
func (s *DirectorySiteContact) MarshalJSON() ([]byte, error)
type DirectorySiteContactAssignment ¶
type DirectorySiteContactAssignment struct { // ContactId: ID of this directory site contact. This is a read-only, // auto-generated field. ContactId int64 `json:"contactId,omitempty,string"` // Visibility: Visibility of this directory site contact assignment. // When set to PUBLIC this contact assignment is visible to all account // and agency users; when set to PRIVATE it is visible only to the site. // // Possible values: // "PRIVATE" // "PUBLIC" Visibility string `json:"visibility,omitempty"` // ForceSendFields is a list of field names (e.g. "ContactId") 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:"-"` }
DirectorySiteContactAssignment: Directory Site Contact Assignment
func (*DirectorySiteContactAssignment) MarshalJSON ¶
func (s *DirectorySiteContactAssignment) MarshalJSON() ([]byte, error)
type DirectorySiteContactsGetCall ¶
type DirectorySiteContactsGetCall struct {
// contains filtered or unexported fields
}
func (*DirectorySiteContactsGetCall) Context ¶
func (c *DirectorySiteContactsGetCall) Context(ctx context.Context) *DirectorySiteContactsGetCall
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 (*DirectorySiteContactsGetCall) Do ¶
func (c *DirectorySiteContactsGetCall) Do() (*DirectorySiteContact, error)
Do executes the "dfareporting.directorySiteContacts.get" call. Exactly one of *DirectorySiteContact or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DirectorySiteContact.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 (*DirectorySiteContactsGetCall) Fields ¶
func (c *DirectorySiteContactsGetCall) Fields(s ...googleapi.Field) *DirectorySiteContactsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DirectorySiteContactsGetCall) IfNoneMatch ¶
func (c *DirectorySiteContactsGetCall) IfNoneMatch(entityTag string) *DirectorySiteContactsGetCall
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 (*DirectorySiteContactsGetCall) QuotaUser ¶
func (c *DirectorySiteContactsGetCall) QuotaUser(quotaUser string) *DirectorySiteContactsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DirectorySiteContactsGetCall) UserIP ¶
func (c *DirectorySiteContactsGetCall) UserIP(userIP string) *DirectorySiteContactsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DirectorySiteContactsListCall ¶
type DirectorySiteContactsListCall struct {
// contains filtered or unexported fields
}
func (*DirectorySiteContactsListCall) Context ¶
func (c *DirectorySiteContactsListCall) Context(ctx context.Context) *DirectorySiteContactsListCall
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 (*DirectorySiteContactsListCall) DirectorySiteIds ¶
func (c *DirectorySiteContactsListCall) DirectorySiteIds(directorySiteIds ...int64) *DirectorySiteContactsListCall
DirectorySiteIds sets the optional parameter "directorySiteIds": Select only directory site contacts with these directory site IDs. This is a required field.
func (*DirectorySiteContactsListCall) Do ¶
func (c *DirectorySiteContactsListCall) Do() (*DirectorySiteContactsListResponse, error)
Do executes the "dfareporting.directorySiteContacts.list" call. Exactly one of *DirectorySiteContactsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DirectorySiteContactsListResponse.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 (*DirectorySiteContactsListCall) Fields ¶
func (c *DirectorySiteContactsListCall) Fields(s ...googleapi.Field) *DirectorySiteContactsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DirectorySiteContactsListCall) Ids ¶
func (c *DirectorySiteContactsListCall) Ids(ids ...int64) *DirectorySiteContactsListCall
Ids sets the optional parameter "ids": Select only directory site contacts with these IDs.
func (*DirectorySiteContactsListCall) IfNoneMatch ¶
func (c *DirectorySiteContactsListCall) IfNoneMatch(entityTag string) *DirectorySiteContactsListCall
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 (*DirectorySiteContactsListCall) MaxResults ¶
func (c *DirectorySiteContactsListCall) MaxResults(maxResults int64) *DirectorySiteContactsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*DirectorySiteContactsListCall) PageToken ¶
func (c *DirectorySiteContactsListCall) PageToken(pageToken string) *DirectorySiteContactsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*DirectorySiteContactsListCall) QuotaUser ¶
func (c *DirectorySiteContactsListCall) QuotaUser(quotaUser string) *DirectorySiteContactsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DirectorySiteContactsListCall) SearchString ¶
func (c *DirectorySiteContactsListCall) SearchString(searchString string) *DirectorySiteContactsListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "directory site contact*2015" will return objects with names like "directory site contact June 2015", "directory site contact April 2015", or simply "directory site contact 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 "directory site contact" will match objects with name "my directory site contact", "directory site contact 2015", or simply "directory site contact".
func (*DirectorySiteContactsListCall) SortField ¶
func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*DirectorySiteContactsListCall) SortOrder ¶
func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*DirectorySiteContactsListCall) UserIP ¶
func (c *DirectorySiteContactsListCall) UserIP(userIP string) *DirectorySiteContactsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DirectorySiteContactsListResponse ¶
type DirectorySiteContactsListResponse struct { // DirectorySiteContacts: Directory site contact collection DirectorySiteContacts []*DirectorySiteContact `json:"directorySiteContacts,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#directorySiteContactsListResponse". 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. // "DirectorySiteContacts") 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:"-"` }
DirectorySiteContactsListResponse: Directory Site Contact List Response
func (*DirectorySiteContactsListResponse) MarshalJSON ¶
func (s *DirectorySiteContactsListResponse) MarshalJSON() ([]byte, error)
type DirectorySiteContactsService ¶
type DirectorySiteContactsService struct {
// contains filtered or unexported fields
}
func NewDirectorySiteContactsService ¶
func NewDirectorySiteContactsService(s *Service) *DirectorySiteContactsService
func (*DirectorySiteContactsService) Get ¶
func (r *DirectorySiteContactsService) Get(profileId int64, id int64) *DirectorySiteContactsGetCall
Get: Gets one directory site contact by ID.
func (*DirectorySiteContactsService) List ¶
func (r *DirectorySiteContactsService) List(profileId int64) *DirectorySiteContactsListCall
List: Retrieves a list of directory site contacts, possibly filtered.
type DirectorySiteSettings ¶
type DirectorySiteSettings struct { // ActiveViewOptOut: Whether this directory site has disabled active // view creatives. ActiveViewOptOut bool `json:"activeViewOptOut,omitempty"` // DfpSettings: Directory site DFP settings. DfpSettings *DfpSettings `json:"dfp_settings,omitempty"` // InstreamVideoPlacementAccepted: Whether this site accepts in-stream // video ads. InstreamVideoPlacementAccepted bool `json:"instream_video_placement_accepted,omitempty"` // InterstitialPlacementAccepted: Whether this site accepts interstitial // ads. InterstitialPlacementAccepted bool `json:"interstitialPlacementAccepted,omitempty"` // NielsenOcrOptOut: Whether this directory site has disabled Nielsen // OCR reach ratings. NielsenOcrOptOut bool `json:"nielsenOcrOptOut,omitempty"` // VerificationTagOptOut: Whether this directory site has disabled // generation of Verification ins tags. VerificationTagOptOut bool `json:"verificationTagOptOut,omitempty"` // VideoActiveViewOptOut: Whether this directory site has disabled // active view for in-stream video creatives. VideoActiveViewOptOut bool `json:"videoActiveViewOptOut,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveViewOptOut") 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:"-"` }
DirectorySiteSettings: Directory Site Settings
func (*DirectorySiteSettings) MarshalJSON ¶
func (s *DirectorySiteSettings) MarshalJSON() ([]byte, error)
type DirectorySitesGetCall ¶
type DirectorySitesGetCall struct {
// contains filtered or unexported fields
}
func (*DirectorySitesGetCall) Context ¶
func (c *DirectorySitesGetCall) Context(ctx context.Context) *DirectorySitesGetCall
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 (*DirectorySitesGetCall) Do ¶
func (c *DirectorySitesGetCall) Do() (*DirectorySite, error)
Do executes the "dfareporting.directorySites.get" call. Exactly one of *DirectorySite or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DirectorySite.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 (*DirectorySitesGetCall) Fields ¶
func (c *DirectorySitesGetCall) Fields(s ...googleapi.Field) *DirectorySitesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DirectorySitesGetCall) IfNoneMatch ¶
func (c *DirectorySitesGetCall) IfNoneMatch(entityTag string) *DirectorySitesGetCall
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 (*DirectorySitesGetCall) QuotaUser ¶
func (c *DirectorySitesGetCall) QuotaUser(quotaUser string) *DirectorySitesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DirectorySitesGetCall) UserIP ¶
func (c *DirectorySitesGetCall) UserIP(userIP string) *DirectorySitesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DirectorySitesInsertCall ¶
type DirectorySitesInsertCall struct {
// contains filtered or unexported fields
}
func (*DirectorySitesInsertCall) Context ¶
func (c *DirectorySitesInsertCall) Context(ctx context.Context) *DirectorySitesInsertCall
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 (*DirectorySitesInsertCall) Do ¶
func (c *DirectorySitesInsertCall) Do() (*DirectorySite, error)
Do executes the "dfareporting.directorySites.insert" call. Exactly one of *DirectorySite or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DirectorySite.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 (*DirectorySitesInsertCall) Fields ¶
func (c *DirectorySitesInsertCall) Fields(s ...googleapi.Field) *DirectorySitesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DirectorySitesInsertCall) QuotaUser ¶
func (c *DirectorySitesInsertCall) QuotaUser(quotaUser string) *DirectorySitesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DirectorySitesInsertCall) UserIP ¶
func (c *DirectorySitesInsertCall) UserIP(userIP string) *DirectorySitesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DirectorySitesListCall ¶
type DirectorySitesListCall struct {
// contains filtered or unexported fields
}
func (*DirectorySitesListCall) AcceptsInStreamVideoPlacements ¶
func (c *DirectorySitesListCall) AcceptsInStreamVideoPlacements(acceptsInStreamVideoPlacements bool) *DirectorySitesListCall
AcceptsInStreamVideoPlacements sets the optional parameter "acceptsInStreamVideoPlacements": This search filter is no longer supported and will have no effect on the results returned.
func (*DirectorySitesListCall) AcceptsInterstitialPlacements ¶
func (c *DirectorySitesListCall) AcceptsInterstitialPlacements(acceptsInterstitialPlacements bool) *DirectorySitesListCall
AcceptsInterstitialPlacements sets the optional parameter "acceptsInterstitialPlacements": This search filter is no longer supported and will have no effect on the results returned.
func (*DirectorySitesListCall) AcceptsPublisherPaidPlacements ¶
func (c *DirectorySitesListCall) AcceptsPublisherPaidPlacements(acceptsPublisherPaidPlacements bool) *DirectorySitesListCall
AcceptsPublisherPaidPlacements sets the optional parameter "acceptsPublisherPaidPlacements": Select only directory sites that accept publisher paid placements. This field can be left blank.
func (*DirectorySitesListCall) Active ¶
func (c *DirectorySitesListCall) Active(active bool) *DirectorySitesListCall
Active sets the optional parameter "active": Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.
func (*DirectorySitesListCall) Context ¶
func (c *DirectorySitesListCall) Context(ctx context.Context) *DirectorySitesListCall
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 (*DirectorySitesListCall) CountryId ¶
func (c *DirectorySitesListCall) CountryId(countryId int64) *DirectorySitesListCall
CountryId sets the optional parameter "countryId": Select only directory sites with this country ID.
func (*DirectorySitesListCall) DfpNetworkCode ¶
func (c *DirectorySitesListCall) DfpNetworkCode(dfpNetworkCode string) *DirectorySitesListCall
DfpNetworkCode sets the optional parameter "dfp_network_code": Select only directory sites with this DFP network code.
func (*DirectorySitesListCall) Do ¶
func (c *DirectorySitesListCall) Do() (*DirectorySitesListResponse, error)
Do executes the "dfareporting.directorySites.list" call. Exactly one of *DirectorySitesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DirectorySitesListResponse.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 (*DirectorySitesListCall) Fields ¶
func (c *DirectorySitesListCall) Fields(s ...googleapi.Field) *DirectorySitesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DirectorySitesListCall) Ids ¶
func (c *DirectorySitesListCall) Ids(ids ...int64) *DirectorySitesListCall
Ids sets the optional parameter "ids": Select only directory sites with these IDs.
func (*DirectorySitesListCall) IfNoneMatch ¶
func (c *DirectorySitesListCall) IfNoneMatch(entityTag string) *DirectorySitesListCall
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 (*DirectorySitesListCall) MaxResults ¶
func (c *DirectorySitesListCall) MaxResults(maxResults int64) *DirectorySitesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*DirectorySitesListCall) PageToken ¶
func (c *DirectorySitesListCall) PageToken(pageToken string) *DirectorySitesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*DirectorySitesListCall) ParentId ¶
func (c *DirectorySitesListCall) ParentId(parentId int64) *DirectorySitesListCall
ParentId sets the optional parameter "parentId": Select only directory sites with this parent ID.
func (*DirectorySitesListCall) QuotaUser ¶
func (c *DirectorySitesListCall) QuotaUser(quotaUser string) *DirectorySitesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*DirectorySitesListCall) SearchString ¶
func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySitesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, "directory site*2015" will return objects with names like "directory site June 2015", "directory site April 2015", or simply "directory site 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 "directory site" will match objects with name "my directory site", "directory site 2015" or simply, "directory site".
func (*DirectorySitesListCall) SortField ¶
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*DirectorySitesListCall) SortOrder ¶
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*DirectorySitesListCall) UserIP ¶
func (c *DirectorySitesListCall) UserIP(userIP string) *DirectorySitesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type DirectorySitesListResponse ¶
type DirectorySitesListResponse struct { // DirectorySites: Directory site collection. DirectorySites []*DirectorySite `json:"directorySites,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#directorySitesListResponse". 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. "DirectorySites") 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:"-"` }
DirectorySitesListResponse: Directory Site List Response
func (*DirectorySitesListResponse) MarshalJSON ¶
func (s *DirectorySitesListResponse) MarshalJSON() ([]byte, error)
type DirectorySitesService ¶
type DirectorySitesService struct {
// contains filtered or unexported fields
}
func NewDirectorySitesService ¶
func NewDirectorySitesService(s *Service) *DirectorySitesService
func (*DirectorySitesService) Get ¶
func (r *DirectorySitesService) Get(profileId int64, id int64) *DirectorySitesGetCall
Get: Gets one directory site by ID.
func (*DirectorySitesService) Insert ¶
func (r *DirectorySitesService) Insert(profileId int64, directorysite *DirectorySite) *DirectorySitesInsertCall
Insert: Inserts a new directory site.
func (*DirectorySitesService) List ¶
func (r *DirectorySitesService) List(profileId int64) *DirectorySitesListCall
List: Retrieves a list of directory sites, possibly filtered.
type EventTag ¶
type EventTag struct { // AccountId: Account ID of this event tag. This is a read-only field // that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this event tag. This field or the // campaignId field is required 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"` // CampaignId: Campaign ID of this event tag. This field or the // advertiserId field is required 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"` // EnabledByDefault: Whether this event tag should be automatically // enabled for all of the advertiser's campaigns and ads. EnabledByDefault bool `json:"enabledByDefault,omitempty"` // Id: ID of this event tag. 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#eventTag". Kind string `json:"kind,omitempty"` // Name: Name of this event tag. This is a required field and must be // less than 256 characters long. Name string `json:"name,omitempty"` // SiteFilterType: Site filter type for this event tag. If no type is // specified then the event tag will be applied to all sites. // // Possible values: // "BLACKLIST" // "WHITELIST" SiteFilterType string `json:"siteFilterType,omitempty"` // SiteIds: Filter list of site IDs associated with this event tag. The // siteFilterType determines whether this is a whitelist or blacklist // filter. SiteIds googleapi.Int64s `json:"siteIds,omitempty"` // SslCompliant: Whether this tag is SSL-compliant or not. This is a // read-only field. SslCompliant bool `json:"sslCompliant,omitempty"` // Status: Status of this event tag. Must be ENABLED for this event tag // to fire. This is a required field. // // Possible values: // "DISABLED" // "ENABLED" Status string `json:"status,omitempty"` // SubaccountId: Subaccount ID of this event tag. This is a read-only // field that can be left blank. SubaccountId int64 `json:"subaccountId,omitempty,string"` // Type: Event tag type. Can be used to specify whether to use a // third-party pixel, a third-party JavaScript URL, or a third-party // click-through URL for either impression or click tracking. This is a // required field. // // Possible values: // "CLICK_THROUGH_EVENT_TAG" // "IMPRESSION_IMAGE_EVENT_TAG" // "IMPRESSION_JAVASCRIPT_EVENT_TAG" Type string `json:"type,omitempty"` // Url: Payload URL for this event tag. The URL on a click-through event // tag should have a landing page URL appended to the end of it. This // field is required on insertion. Url string `json:"url,omitempty"` // UrlEscapeLevels: Number of times the landing page URL should be // URL-escaped before being appended to the click-through event tag URL. // Only applies to click-through event tags as specified by the event // tag type. UrlEscapeLevels int64 `json:"urlEscapeLevels,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:"-"` }
EventTag: Contains properties of an event tag.
func (*EventTag) MarshalJSON ¶
type EventTagOverride ¶
type EventTagOverride struct { // Enabled: Whether this override is enabled. Enabled bool `json:"enabled,omitempty"` // Id: ID of this event tag override. This is a read-only, // auto-generated field. Id int64 `json:"id,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Enabled") 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:"-"` }
EventTagOverride: Event tag override information.
func (*EventTagOverride) MarshalJSON ¶
func (s *EventTagOverride) MarshalJSON() ([]byte, error)
type EventTagsDeleteCall ¶
type EventTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EventTagsDeleteCall) Context ¶
func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall
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 (*EventTagsDeleteCall) Do ¶
func (c *EventTagsDeleteCall) Do() error
Do executes the "dfareporting.eventTags.delete" call.
func (*EventTagsDeleteCall) Fields ¶
func (c *EventTagsDeleteCall) Fields(s ...googleapi.Field) *EventTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsDeleteCall) QuotaUser ¶
func (c *EventTagsDeleteCall) QuotaUser(quotaUser string) *EventTagsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsDeleteCall) UserIP ¶
func (c *EventTagsDeleteCall) UserIP(userIP string) *EventTagsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EventTagsGetCall ¶
type EventTagsGetCall struct {
// contains filtered or unexported fields
}
func (*EventTagsGetCall) Context ¶
func (c *EventTagsGetCall) Context(ctx context.Context) *EventTagsGetCall
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 (*EventTagsGetCall) Do ¶
func (c *EventTagsGetCall) Do() (*EventTag, error)
Do executes the "dfareporting.eventTags.get" call. Exactly one of *EventTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventTag.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 (*EventTagsGetCall) Fields ¶
func (c *EventTagsGetCall) Fields(s ...googleapi.Field) *EventTagsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsGetCall) IfNoneMatch ¶
func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall
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 (*EventTagsGetCall) QuotaUser ¶
func (c *EventTagsGetCall) QuotaUser(quotaUser string) *EventTagsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsGetCall) UserIP ¶
func (c *EventTagsGetCall) UserIP(userIP string) *EventTagsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EventTagsInsertCall ¶
type EventTagsInsertCall struct {
// contains filtered or unexported fields
}
func (*EventTagsInsertCall) Context ¶
func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall
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 (*EventTagsInsertCall) Do ¶
func (c *EventTagsInsertCall) Do() (*EventTag, error)
Do executes the "dfareporting.eventTags.insert" call. Exactly one of *EventTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventTag.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 (*EventTagsInsertCall) Fields ¶
func (c *EventTagsInsertCall) Fields(s ...googleapi.Field) *EventTagsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsInsertCall) QuotaUser ¶
func (c *EventTagsInsertCall) QuotaUser(quotaUser string) *EventTagsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsInsertCall) UserIP ¶
func (c *EventTagsInsertCall) UserIP(userIP string) *EventTagsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EventTagsListCall ¶
type EventTagsListCall struct {
// contains filtered or unexported fields
}
func (*EventTagsListCall) AdId ¶
func (c *EventTagsListCall) AdId(adId int64) *EventTagsListCall
AdId sets the optional parameter "adId": Select only event tags that belong to this ad.
func (*EventTagsListCall) AdvertiserId ¶
func (c *EventTagsListCall) AdvertiserId(advertiserId int64) *EventTagsListCall
AdvertiserId sets the optional parameter "advertiserId": Select only event tags that belong to this advertiser.
func (*EventTagsListCall) CampaignId ¶
func (c *EventTagsListCall) CampaignId(campaignId int64) *EventTagsListCall
CampaignId sets the optional parameter "campaignId": Select only event tags that belong to this campaign.
func (*EventTagsListCall) Context ¶
func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall
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 (*EventTagsListCall) DefinitionsOnly ¶
func (c *EventTagsListCall) DefinitionsOnly(definitionsOnly bool) *EventTagsListCall
DefinitionsOnly sets the optional parameter "definitionsOnly": Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.
func (*EventTagsListCall) Do ¶
func (c *EventTagsListCall) Do() (*EventTagsListResponse, error)
Do executes the "dfareporting.eventTags.list" call. Exactly one of *EventTagsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventTagsListResponse.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 (*EventTagsListCall) Enabled ¶
func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall
Enabled sets the optional parameter "enabled": Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.
func (*EventTagsListCall) EventTagTypes ¶
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall
EventTagTypes sets the optional parameter "eventTagTypes": Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.
Possible values:
"CLICK_THROUGH_EVENT_TAG" "IMPRESSION_IMAGE_EVENT_TAG" "IMPRESSION_JAVASCRIPT_EVENT_TAG"
func (*EventTagsListCall) Fields ¶
func (c *EventTagsListCall) Fields(s ...googleapi.Field) *EventTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsListCall) Ids ¶
func (c *EventTagsListCall) Ids(ids ...int64) *EventTagsListCall
Ids sets the optional parameter "ids": Select only event tags with these IDs.
func (*EventTagsListCall) IfNoneMatch ¶
func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall
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 (*EventTagsListCall) QuotaUser ¶
func (c *EventTagsListCall) QuotaUser(quotaUser string) *EventTagsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsListCall) SearchString ¶
func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 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 "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag".
func (*EventTagsListCall) SortField ¶
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*EventTagsListCall) SortOrder ¶
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*EventTagsListCall) UserIP ¶
func (c *EventTagsListCall) UserIP(userIP string) *EventTagsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EventTagsListResponse ¶
type EventTagsListResponse struct { // EventTags: Event tag collection. EventTags []*EventTag `json:"eventTags,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#eventTagsListResponse". 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. "EventTags") 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:"-"` }
EventTagsListResponse: Event Tag List Response
func (*EventTagsListResponse) MarshalJSON ¶
func (s *EventTagsListResponse) MarshalJSON() ([]byte, error)
type EventTagsPatchCall ¶
type EventTagsPatchCall struct {
// contains filtered or unexported fields
}
func (*EventTagsPatchCall) Context ¶
func (c *EventTagsPatchCall) Context(ctx context.Context) *EventTagsPatchCall
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 (*EventTagsPatchCall) Do ¶
func (c *EventTagsPatchCall) Do() (*EventTag, error)
Do executes the "dfareporting.eventTags.patch" call. Exactly one of *EventTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventTag.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 (*EventTagsPatchCall) Fields ¶
func (c *EventTagsPatchCall) Fields(s ...googleapi.Field) *EventTagsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsPatchCall) QuotaUser ¶
func (c *EventTagsPatchCall) QuotaUser(quotaUser string) *EventTagsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsPatchCall) UserIP ¶
func (c *EventTagsPatchCall) UserIP(userIP string) *EventTagsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EventTagsService ¶
type EventTagsService struct {
// contains filtered or unexported fields
}
func NewEventTagsService ¶
func NewEventTagsService(s *Service) *EventTagsService
func (*EventTagsService) Delete ¶
func (r *EventTagsService) Delete(profileId int64, id int64) *EventTagsDeleteCall
Delete: Deletes an existing event tag.
func (*EventTagsService) Get ¶
func (r *EventTagsService) Get(profileId int64, id int64) *EventTagsGetCall
Get: Gets one event tag by ID.
func (*EventTagsService) Insert ¶
func (r *EventTagsService) Insert(profileId int64, eventtag *EventTag) *EventTagsInsertCall
Insert: Inserts a new event tag.
func (*EventTagsService) List ¶
func (r *EventTagsService) List(profileId int64) *EventTagsListCall
List: Retrieves a list of event tags, possibly filtered.
func (*EventTagsService) Patch ¶
func (r *EventTagsService) Patch(profileId int64, id int64, eventtag *EventTag) *EventTagsPatchCall
Patch: Updates an existing event tag. This method supports patch semantics.
func (*EventTagsService) Update ¶
func (r *EventTagsService) Update(profileId int64, eventtag *EventTag) *EventTagsUpdateCall
Update: Updates an existing event tag.
type EventTagsUpdateCall ¶
type EventTagsUpdateCall struct {
// contains filtered or unexported fields
}
func (*EventTagsUpdateCall) Context ¶
func (c *EventTagsUpdateCall) Context(ctx context.Context) *EventTagsUpdateCall
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 (*EventTagsUpdateCall) Do ¶
func (c *EventTagsUpdateCall) Do() (*EventTag, error)
Do executes the "dfareporting.eventTags.update" call. Exactly one of *EventTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventTag.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 (*EventTagsUpdateCall) Fields ¶
func (c *EventTagsUpdateCall) Fields(s ...googleapi.Field) *EventTagsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EventTagsUpdateCall) QuotaUser ¶
func (c *EventTagsUpdateCall) QuotaUser(quotaUser string) *EventTagsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EventTagsUpdateCall) UserIP ¶
func (c *EventTagsUpdateCall) UserIP(userIP string) *EventTagsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type File ¶
type File struct { // DateRange: The date range for which the file has report data. The // date range will always be the absolute date range for which the // report is run. DateRange *DateRange `json:"dateRange,omitempty"` // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // FileName: The filename of the file. FileName string `json:"fileName,omitempty"` // Format: The output format of the report. Only available once the file // is available. // // Possible values: // "CSV" // "EXCEL" Format string `json:"format,omitempty"` // Id: The unique ID of this report file. Id int64 `json:"id,omitempty,string"` // Kind: The kind of resource this is, in this case dfareporting#file. Kind string `json:"kind,omitempty"` // LastModifiedTime: The timestamp in milliseconds since epoch when this // file was last modified. LastModifiedTime int64 `json:"lastModifiedTime,omitempty,string"` // ReportId: The ID of the report this file was generated from. ReportId int64 `json:"reportId,omitempty,string"` // Status: The status of the report file. // // Possible values: // "CANCELLED" // "FAILED" // "PROCESSING" // "REPORT_AVAILABLE" Status string `json:"status,omitempty"` // Urls: The URLs where the completed report file can be downloaded. Urls *FileUrls `json:"urls,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DateRange") 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:"-"` }
File: Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
func (*File) MarshalJSON ¶
type FileList ¶
type FileList struct { // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Items: The files returned in this response. Items []*File `json:"items,omitempty"` // Kind: The kind of list this is, in this case dfareporting#fileList. Kind string `json:"kind,omitempty"` // NextPageToken: Continuation token used to page through files. To // retrieve the next page of results, set the next request's "pageToken" // to the value of this field. The page token is only valid for a // limited amount of time and should not be persisted. 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. "Etag") 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:"-"` }
FileList: Represents the list of File resources.
func (*FileList) MarshalJSON ¶
type FileUrls ¶
type FileUrls struct { // ApiUrl: The URL for downloading the report data through the API. ApiUrl string `json:"apiUrl,omitempty"` // BrowserUrl: The URL for downloading the report data through a // browser. BrowserUrl string `json:"browserUrl,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiUrl") 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:"-"` }
FileUrls: The URLs where the completed report file can be downloaded.
func (*FileUrls) MarshalJSON ¶
type FilesGetCall ¶
type FilesGetCall struct {
// contains filtered or unexported fields
}
func (*FilesGetCall) Context ¶
func (c *FilesGetCall) Context(ctx context.Context) *FilesGetCall
Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.
func (*FilesGetCall) Do ¶
func (c *FilesGetCall) Do() (*File, error)
Do executes the "dfareporting.files.get" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.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 (*FilesGetCall) Download ¶
func (c *FilesGetCall) Download() (*http.Response, error)
Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.
func (*FilesGetCall) Fields ¶
func (c *FilesGetCall) Fields(s ...googleapi.Field) *FilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FilesGetCall) IfNoneMatch ¶
func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall
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 (*FilesGetCall) QuotaUser ¶
func (c *FilesGetCall) QuotaUser(quotaUser string) *FilesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FilesGetCall) UserIP ¶
func (c *FilesGetCall) UserIP(userIP string) *FilesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FilesListCall ¶
type FilesListCall struct {
// contains filtered or unexported fields
}
func (*FilesListCall) Context ¶
func (c *FilesListCall) Context(ctx context.Context) *FilesListCall
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 (*FilesListCall) Do ¶
func (c *FilesListCall) Do() (*FileList, error)
Do executes the "dfareporting.files.list" call. Exactly one of *FileList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FileList.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 (*FilesListCall) Fields ¶
func (c *FilesListCall) Fields(s ...googleapi.Field) *FilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FilesListCall) IfNoneMatch ¶
func (c *FilesListCall) IfNoneMatch(entityTag string) *FilesListCall
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 (*FilesListCall) MaxResults ¶
func (c *FilesListCall) MaxResults(maxResults int64) *FilesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*FilesListCall) PageToken ¶
func (c *FilesListCall) PageToken(pageToken string) *FilesListCall
PageToken sets the optional parameter "pageToken": The value of the nextToken from the previous result page.
func (*FilesListCall) QuotaUser ¶
func (c *FilesListCall) QuotaUser(quotaUser string) *FilesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FilesListCall) Scope ¶
func (c *FilesListCall) Scope(scope string) *FilesListCall
Scope sets the optional parameter "scope": The scope that defines which results are returned, default is 'MINE'.
Possible values:
"ALL" - All files in account. "MINE" (default) - My files. "SHARED_WITH_ME" - Files shared with me.
func (*FilesListCall) SortField ¶
func (c *FilesListCall) SortField(sortField string) *FilesListCall
SortField sets the optional parameter "sortField": The field by which to sort the list.
Possible values:
"ID" - Sort by file ID. "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (*FilesListCall) SortOrder ¶
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is 'DESCENDING'.
Possible values:
"ASCENDING" - Ascending order. "DESCENDING" (default) - Descending order.
func (*FilesListCall) UserIP ¶
func (c *FilesListCall) UserIP(userIP string) *FilesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FilesService ¶
type FilesService struct {
// contains filtered or unexported fields
}
func NewFilesService ¶
func NewFilesService(s *Service) *FilesService
func (*FilesService) Get ¶
func (r *FilesService) Get(reportId int64, fileId int64) *FilesGetCall
Get: Retrieves a report file by its report ID and file ID.
func (*FilesService) List ¶
func (r *FilesService) List(profileId int64) *FilesListCall
List: Lists files for a user profile.
type Flight ¶
type Flight struct { // EndDate: Inventory item flight end date. EndDate string `json:"endDate,omitempty"` // RateOrCost: Rate or cost of this flight. RateOrCost int64 `json:"rateOrCost,omitempty,string"` // StartDate: Inventory item flight start date. StartDate string `json:"startDate,omitempty"` // Units: Units of this flight. Units int64 `json:"units,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndDate") 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:"-"` }
Flight: Flight
func (*Flight) MarshalJSON ¶
type FloodlightActivitiesDeleteCall ¶
type FloodlightActivitiesDeleteCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesDeleteCall) Context ¶
func (c *FloodlightActivitiesDeleteCall) Context(ctx context.Context) *FloodlightActivitiesDeleteCall
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 (*FloodlightActivitiesDeleteCall) Do ¶
func (c *FloodlightActivitiesDeleteCall) Do() error
Do executes the "dfareporting.floodlightActivities.delete" call.
func (*FloodlightActivitiesDeleteCall) Fields ¶
func (c *FloodlightActivitiesDeleteCall) Fields(s ...googleapi.Field) *FloodlightActivitiesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesDeleteCall) QuotaUser ¶
func (c *FloodlightActivitiesDeleteCall) QuotaUser(quotaUser string) *FloodlightActivitiesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesDeleteCall) UserIP ¶
func (c *FloodlightActivitiesDeleteCall) UserIP(userIP string) *FloodlightActivitiesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesGenerateTagResponse ¶
type FloodlightActivitiesGenerateTagResponse struct { // FloodlightActivityTag: Generated tag for this floodlight activity. FloodlightActivityTag string `json:"floodlightActivityTag,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#floodlightActivitiesGenerateTagResponse". 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. // "FloodlightActivityTag") 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:"-"` }
FloodlightActivitiesGenerateTagResponse: Floodlight Activity GenerateTag Response
func (*FloodlightActivitiesGenerateTagResponse) MarshalJSON ¶
func (s *FloodlightActivitiesGenerateTagResponse) MarshalJSON() ([]byte, error)
type FloodlightActivitiesGeneratetagCall ¶
type FloodlightActivitiesGeneratetagCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesGeneratetagCall) Context ¶
func (c *FloodlightActivitiesGeneratetagCall) Context(ctx context.Context) *FloodlightActivitiesGeneratetagCall
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 (*FloodlightActivitiesGeneratetagCall) Do ¶
func (c *FloodlightActivitiesGeneratetagCall) Do() (*FloodlightActivitiesGenerateTagResponse, error)
Do executes the "dfareporting.floodlightActivities.generatetag" call. Exactly one of *FloodlightActivitiesGenerateTagResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivitiesGenerateTagResponse.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 (*FloodlightActivitiesGeneratetagCall) Fields ¶
func (c *FloodlightActivitiesGeneratetagCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGeneratetagCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesGeneratetagCall) FloodlightActivityId ¶
func (c *FloodlightActivitiesGeneratetagCall) FloodlightActivityId(floodlightActivityId int64) *FloodlightActivitiesGeneratetagCall
FloodlightActivityId sets the optional parameter "floodlightActivityId": Floodlight activity ID for which we want to generate a tag.
func (*FloodlightActivitiesGeneratetagCall) QuotaUser ¶
func (c *FloodlightActivitiesGeneratetagCall) QuotaUser(quotaUser string) *FloodlightActivitiesGeneratetagCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesGeneratetagCall) UserIP ¶
func (c *FloodlightActivitiesGeneratetagCall) UserIP(userIP string) *FloodlightActivitiesGeneratetagCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesGetCall ¶
type FloodlightActivitiesGetCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesGetCall) Context ¶
func (c *FloodlightActivitiesGetCall) Context(ctx context.Context) *FloodlightActivitiesGetCall
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 (*FloodlightActivitiesGetCall) Do ¶
func (c *FloodlightActivitiesGetCall) Do() (*FloodlightActivity, error)
Do executes the "dfareporting.floodlightActivities.get" call. Exactly one of *FloodlightActivity or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivity.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 (*FloodlightActivitiesGetCall) Fields ¶
func (c *FloodlightActivitiesGetCall) Fields(s ...googleapi.Field) *FloodlightActivitiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesGetCall) IfNoneMatch ¶
func (c *FloodlightActivitiesGetCall) IfNoneMatch(entityTag string) *FloodlightActivitiesGetCall
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 (*FloodlightActivitiesGetCall) QuotaUser ¶
func (c *FloodlightActivitiesGetCall) QuotaUser(quotaUser string) *FloodlightActivitiesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesGetCall) UserIP ¶
func (c *FloodlightActivitiesGetCall) UserIP(userIP string) *FloodlightActivitiesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesInsertCall ¶
type FloodlightActivitiesInsertCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesInsertCall) Context ¶
func (c *FloodlightActivitiesInsertCall) Context(ctx context.Context) *FloodlightActivitiesInsertCall
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 (*FloodlightActivitiesInsertCall) Do ¶
func (c *FloodlightActivitiesInsertCall) Do() (*FloodlightActivity, error)
Do executes the "dfareporting.floodlightActivities.insert" call. Exactly one of *FloodlightActivity or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivity.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 (*FloodlightActivitiesInsertCall) Fields ¶
func (c *FloodlightActivitiesInsertCall) Fields(s ...googleapi.Field) *FloodlightActivitiesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesInsertCall) QuotaUser ¶
func (c *FloodlightActivitiesInsertCall) QuotaUser(quotaUser string) *FloodlightActivitiesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesInsertCall) UserIP ¶
func (c *FloodlightActivitiesInsertCall) UserIP(userIP string) *FloodlightActivitiesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesListCall ¶
type FloodlightActivitiesListCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesListCall) AdvertiserId ¶
func (c *FloodlightActivitiesListCall) AdvertiserId(advertiserId int64) *FloodlightActivitiesListCall
AdvertiserId sets the optional parameter "advertiserId": Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivitiesListCall) Context ¶
func (c *FloodlightActivitiesListCall) Context(ctx context.Context) *FloodlightActivitiesListCall
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 (*FloodlightActivitiesListCall) Do ¶
func (c *FloodlightActivitiesListCall) Do() (*FloodlightActivitiesListResponse, error)
Do executes the "dfareporting.floodlightActivities.list" call. Exactly one of *FloodlightActivitiesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivitiesListResponse.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 (*FloodlightActivitiesListCall) Fields ¶
func (c *FloodlightActivitiesListCall) Fields(s ...googleapi.Field) *FloodlightActivitiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesListCall) FloodlightActivityGroupIds ¶
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupIds(floodlightActivityGroupIds ...int64) *FloodlightActivitiesListCall
FloodlightActivityGroupIds sets the optional parameter "floodlightActivityGroupIds": Select only floodlight activities with the specified floodlight activity group IDs.
func (*FloodlightActivitiesListCall) FloodlightActivityGroupName ¶
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupName(floodlightActivityGroupName string) *FloodlightActivitiesListCall
FloodlightActivityGroupName sets the optional parameter "floodlightActivityGroupName": Select only floodlight activities with the specified floodlight activity group name.
func (*FloodlightActivitiesListCall) FloodlightActivityGroupTagString ¶
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlightActivityGroupTagString string) *FloodlightActivitiesListCall
FloodlightActivityGroupTagString sets the optional parameter "floodlightActivityGroupTagString": Select only floodlight activities with the specified floodlight activity group tag string.
func (*FloodlightActivitiesListCall) FloodlightActivityGroupType ¶
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall
FloodlightActivityGroupType sets the optional parameter "floodlightActivityGroupType": Select only floodlight activities with the specified floodlight activity group type.
Possible values:
"COUNTER" "SALE"
func (*FloodlightActivitiesListCall) FloodlightConfigurationId ¶
func (c *FloodlightActivitiesListCall) FloodlightConfigurationId(floodlightConfigurationId int64) *FloodlightActivitiesListCall
FloodlightConfigurationId sets the optional parameter "floodlightConfigurationId": Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivitiesListCall) Ids ¶
func (c *FloodlightActivitiesListCall) Ids(ids ...int64) *FloodlightActivitiesListCall
Ids sets the optional parameter "ids": Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivitiesListCall) IfNoneMatch ¶
func (c *FloodlightActivitiesListCall) IfNoneMatch(entityTag string) *FloodlightActivitiesListCall
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 (*FloodlightActivitiesListCall) MaxResults ¶
func (c *FloodlightActivitiesListCall) MaxResults(maxResults int64) *FloodlightActivitiesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*FloodlightActivitiesListCall) PageToken ¶
func (c *FloodlightActivitiesListCall) PageToken(pageToken string) *FloodlightActivitiesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*FloodlightActivitiesListCall) QuotaUser ¶
func (c *FloodlightActivitiesListCall) QuotaUser(quotaUser string) *FloodlightActivitiesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesListCall) SearchString ¶
func (c *FloodlightActivitiesListCall) SearchString(searchString string) *FloodlightActivitiesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 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 "floodlightactivity" will match objects with name "my floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity".
func (*FloodlightActivitiesListCall) SortField ¶
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*FloodlightActivitiesListCall) SortOrder ¶
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*FloodlightActivitiesListCall) TagString ¶
func (c *FloodlightActivitiesListCall) TagString(tagString string) *FloodlightActivitiesListCall
TagString sets the optional parameter "tagString": Select only floodlight activities with the specified tag string.
func (*FloodlightActivitiesListCall) UserIP ¶
func (c *FloodlightActivitiesListCall) UserIP(userIP string) *FloodlightActivitiesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesListResponse ¶
type FloodlightActivitiesListResponse struct { // FloodlightActivities: Floodlight activity collection. FloodlightActivities []*FloodlightActivity `json:"floodlightActivities,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#floodlightActivitiesListResponse". 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. // "FloodlightActivities") 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:"-"` }
FloodlightActivitiesListResponse: Floodlight Activity List Response
func (*FloodlightActivitiesListResponse) MarshalJSON ¶
func (s *FloodlightActivitiesListResponse) MarshalJSON() ([]byte, error)
type FloodlightActivitiesPatchCall ¶
type FloodlightActivitiesPatchCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesPatchCall) Context ¶
func (c *FloodlightActivitiesPatchCall) Context(ctx context.Context) *FloodlightActivitiesPatchCall
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 (*FloodlightActivitiesPatchCall) Do ¶
func (c *FloodlightActivitiesPatchCall) Do() (*FloodlightActivity, error)
Do executes the "dfareporting.floodlightActivities.patch" call. Exactly one of *FloodlightActivity or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivity.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 (*FloodlightActivitiesPatchCall) Fields ¶
func (c *FloodlightActivitiesPatchCall) Fields(s ...googleapi.Field) *FloodlightActivitiesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesPatchCall) QuotaUser ¶
func (c *FloodlightActivitiesPatchCall) QuotaUser(quotaUser string) *FloodlightActivitiesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesPatchCall) UserIP ¶
func (c *FloodlightActivitiesPatchCall) UserIP(userIP string) *FloodlightActivitiesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivitiesService ¶
type FloodlightActivitiesService struct {
// contains filtered or unexported fields
}
func NewFloodlightActivitiesService ¶
func NewFloodlightActivitiesService(s *Service) *FloodlightActivitiesService
func (*FloodlightActivitiesService) Delete ¶
func (r *FloodlightActivitiesService) Delete(profileId int64, id int64) *FloodlightActivitiesDeleteCall
Delete: Deletes an existing floodlight activity.
func (*FloodlightActivitiesService) Generatetag ¶
func (r *FloodlightActivitiesService) Generatetag(profileId int64) *FloodlightActivitiesGeneratetagCall
Generatetag: Generates a tag for a floodlight activity.
func (*FloodlightActivitiesService) Get ¶
func (r *FloodlightActivitiesService) Get(profileId int64, id int64) *FloodlightActivitiesGetCall
Get: Gets one floodlight activity by ID.
func (*FloodlightActivitiesService) Insert ¶
func (r *FloodlightActivitiesService) Insert(profileId int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesInsertCall
Insert: Inserts a new floodlight activity.
func (*FloodlightActivitiesService) List ¶
func (r *FloodlightActivitiesService) List(profileId int64) *FloodlightActivitiesListCall
List: Retrieves a list of floodlight activities, possibly filtered.
func (*FloodlightActivitiesService) Patch ¶
func (r *FloodlightActivitiesService) Patch(profileId int64, id int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesPatchCall
Patch: Updates an existing floodlight activity. This method supports patch semantics.
func (*FloodlightActivitiesService) Update ¶
func (r *FloodlightActivitiesService) Update(profileId int64, floodlightactivity *FloodlightActivity) *FloodlightActivitiesUpdateCall
Update: Updates an existing floodlight activity.
type FloodlightActivitiesUpdateCall ¶
type FloodlightActivitiesUpdateCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivitiesUpdateCall) Context ¶
func (c *FloodlightActivitiesUpdateCall) Context(ctx context.Context) *FloodlightActivitiesUpdateCall
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 (*FloodlightActivitiesUpdateCall) Do ¶
func (c *FloodlightActivitiesUpdateCall) Do() (*FloodlightActivity, error)
Do executes the "dfareporting.floodlightActivities.update" call. Exactly one of *FloodlightActivity or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivity.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 (*FloodlightActivitiesUpdateCall) Fields ¶
func (c *FloodlightActivitiesUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivitiesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivitiesUpdateCall) QuotaUser ¶
func (c *FloodlightActivitiesUpdateCall) QuotaUser(quotaUser string) *FloodlightActivitiesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivitiesUpdateCall) UserIP ¶
func (c *FloodlightActivitiesUpdateCall) UserIP(userIP string) *FloodlightActivitiesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivity ¶
type FloodlightActivity struct { // AccountId: Account ID of this floodlight activity. This is a // read-only field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this floodlight activity. If this // field is left blank, the value will be copied over either from the // activity group's advertiser or the existing activity's advertiser. 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"` // CacheBustingType: Code type used for cache busting in the generated // tag. // // Possible values: // "ACTIVE_SERVER_PAGE" // "COLD_FUSION" // "JAVASCRIPT" // "JSP" // "PHP" CacheBustingType string `json:"cacheBustingType,omitempty"` // CountingMethod: Counting method for conversions for this floodlight // activity. This is a required field. // // Possible values: // "ITEMS_SOLD_COUNTING" // "SESSION_COUNTING" // "STANDARD_COUNTING" // "TRANSACTIONS_COUNTING" // "UNIQUE_COUNTING" CountingMethod string `json:"countingMethod,omitempty"` // DefaultTags: Dynamic floodlight tags. DefaultTags []*FloodlightActivityDynamicTag `json:"defaultTags,omitempty"` // ExpectedUrl: URL where this tag will be deployed. If specified, must // be less than 256 characters long. ExpectedUrl string `json:"expectedUrl,omitempty"` // FloodlightActivityGroupId: Floodlight activity group ID of this // floodlight activity. This is a required field. FloodlightActivityGroupId int64 `json:"floodlightActivityGroupId,omitempty,string"` // FloodlightActivityGroupName: Name of the associated floodlight // activity group. This is a read-only field. FloodlightActivityGroupName string `json:"floodlightActivityGroupName,omitempty"` // FloodlightActivityGroupTagString: Tag string of the associated // floodlight activity group. This is a read-only field. FloodlightActivityGroupTagString string `json:"floodlightActivityGroupTagString,omitempty"` // FloodlightActivityGroupType: Type of the associated floodlight // activity group. This is a read-only field. // // Possible values: // "COUNTER" // "SALE" FloodlightActivityGroupType string `json:"floodlightActivityGroupType,omitempty"` // FloodlightConfigurationId: Floodlight configuration ID of this // floodlight activity. If this field is left blank, the value will be // copied over either from the activity group's floodlight configuration // or from the existing activity's floodlight configuration. 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"` // Hidden: Whether this activity is archived. Hidden bool `json:"hidden,omitempty"` // Id: ID of this floodlight activity. This is a read-only, // auto-generated field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this floodlight // activity. This is a read-only, auto-generated field. IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"` // ImageTagEnabled: Whether the image tag is enabled for this activity. ImageTagEnabled bool `json:"imageTagEnabled,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#floodlightActivity". Kind string `json:"kind,omitempty"` // Name: Name of this floodlight activity. This is a required field. // Must be less than 129 characters long and cannot contain quotes. Name string `json:"name,omitempty"` // Notes: General notes or implementation instructions for the tag. Notes string `json:"notes,omitempty"` // PublisherTags: Publisher dynamic floodlight tags. PublisherTags []*FloodlightActivityPublisherDynamicTag `json:"publisherTags,omitempty"` // Secure: Whether this tag should use SSL. Secure bool `json:"secure,omitempty"` // SslCompliant: Whether the floodlight activity is SSL-compliant. This // is a read-only field, its value detected by the system from the // floodlight tags. SslCompliant bool `json:"sslCompliant,omitempty"` // SslRequired: Whether this floodlight activity must be SSL-compliant. SslRequired bool `json:"sslRequired,omitempty"` // SubaccountId: Subaccount ID of this floodlight activity. This is a // read-only field that can be left blank. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TagFormat: Tag format type for the floodlight activity. If left // blank, the tag format will default to HTML. // // Possible values: // "HTML" // "XHTML" TagFormat string `json:"tagFormat,omitempty"` // TagString: Value of the cat= paramter in the floodlight tag, which // the ad servers use to identify the activity. This is optional: if // empty, a new tag string will be generated for you. This string must // be 1 to 8 characters long, with valid characters being // [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among // activities of the same activity group. This field is read-only after // insertion. TagString string `json:"tagString,omitempty"` // UserDefinedVariableTypes: List of the user-defined variables used by // this conversion tag. These map to the "u[1-20]=" in the tags. Each of // these can have a user defined type. // Acceptable values are: // - "U1" // - "U2" // - "U3" // - "U4" // - "U5" // - "U6" // - "U7" // - "U8" // - "U9" // - "U10" // - "U11" // - "U12" // - "U13" // - "U14" // - "U15" // - "U16" // - "U17" // - "U18" // - "U19" // - "U20" // // Possible values: // "U1" // "U10" // "U11" // "U12" // "U13" // "U14" // "U15" // "U16" // "U17" // "U18" // "U19" // "U2" // "U20" // "U3" // "U4" // "U5" // "U6" // "U7" // "U8" // "U9" UserDefinedVariableTypes []string `json:"userDefinedVariableTypes,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:"-"` }
FloodlightActivity: Contains properties of a Floodlight activity.
func (*FloodlightActivity) MarshalJSON ¶
func (s *FloodlightActivity) MarshalJSON() ([]byte, error)
type FloodlightActivityDynamicTag ¶
type FloodlightActivityDynamicTag struct { // Id: ID of this dynamic tag. This is a read-only, auto-generated // field. Id int64 `json:"id,omitempty,string"` // Name: Name of this tag. Name string `json:"name,omitempty"` // Tag: Tag code. Tag string `json:"tag,omitempty"` // 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:"-"` }
FloodlightActivityDynamicTag: Dynamic Tag
func (*FloodlightActivityDynamicTag) MarshalJSON ¶
func (s *FloodlightActivityDynamicTag) MarshalJSON() ([]byte, error)
type FloodlightActivityGroup ¶
type FloodlightActivityGroup struct { // AccountId: Account ID of this floodlight activity group. This is a // read-only field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this floodlight activity group. If // this field is left blank, the value will be copied over either from // the floodlight configuration's advertiser or from the existing // activity group's advertiser. 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"` // FloodlightConfigurationId: Floodlight configuration ID of this // floodlight activity group. This is a required field. 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 floodlight activity group. This is a read-only, // auto-generated field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this floodlight // activity group. 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#floodlightActivityGroup". Kind string `json:"kind,omitempty"` // Name: Name of this floodlight activity group. This is a required // field. Must be less than 65 characters long and cannot contain // quotes. Name string `json:"name,omitempty"` // SubaccountId: Subaccount ID of this floodlight activity group. This // is a read-only field that can be left blank. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TagString: Value of the type= parameter in the floodlight tag, which // the ad servers use to identify the activity group that the activity // belongs to. This is optional: if empty, a new tag string will be // generated for you. This string must be 1 to 8 characters long, with // valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must // also be unique among activity groups of the same floodlight // configuration. This field is read-only after insertion. TagString string `json:"tagString,omitempty"` // Type: Type of the floodlight activity group. This is a required field // that is read-only after insertion. // // Possible values: // "COUNTER" // "SALE" 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:"-"` }
FloodlightActivityGroup: Contains properties of a Floodlight activity group.
func (*FloodlightActivityGroup) MarshalJSON ¶
func (s *FloodlightActivityGroup) MarshalJSON() ([]byte, error)
type FloodlightActivityGroupsDeleteCall ¶
type FloodlightActivityGroupsDeleteCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsDeleteCall) Context ¶
func (c *FloodlightActivityGroupsDeleteCall) Context(ctx context.Context) *FloodlightActivityGroupsDeleteCall
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 (*FloodlightActivityGroupsDeleteCall) Do ¶
func (c *FloodlightActivityGroupsDeleteCall) Do() error
Do executes the "dfareporting.floodlightActivityGroups.delete" call.
func (*FloodlightActivityGroupsDeleteCall) Fields ¶
func (c *FloodlightActivityGroupsDeleteCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsDeleteCall) QuotaUser ¶
func (c *FloodlightActivityGroupsDeleteCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsDeleteCall) UserIP ¶
func (c *FloodlightActivityGroupsDeleteCall) UserIP(userIP string) *FloodlightActivityGroupsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityGroupsGetCall ¶
type FloodlightActivityGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsGetCall) Context ¶
func (c *FloodlightActivityGroupsGetCall) Context(ctx context.Context) *FloodlightActivityGroupsGetCall
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 (*FloodlightActivityGroupsGetCall) Do ¶
func (c *FloodlightActivityGroupsGetCall) Do() (*FloodlightActivityGroup, error)
Do executes the "dfareporting.floodlightActivityGroups.get" call. Exactly one of *FloodlightActivityGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivityGroup.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 (*FloodlightActivityGroupsGetCall) Fields ¶
func (c *FloodlightActivityGroupsGetCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsGetCall) IfNoneMatch ¶
func (c *FloodlightActivityGroupsGetCall) IfNoneMatch(entityTag string) *FloodlightActivityGroupsGetCall
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 (*FloodlightActivityGroupsGetCall) QuotaUser ¶
func (c *FloodlightActivityGroupsGetCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsGetCall) UserIP ¶
func (c *FloodlightActivityGroupsGetCall) UserIP(userIP string) *FloodlightActivityGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityGroupsInsertCall ¶
type FloodlightActivityGroupsInsertCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsInsertCall) Context ¶
func (c *FloodlightActivityGroupsInsertCall) Context(ctx context.Context) *FloodlightActivityGroupsInsertCall
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 (*FloodlightActivityGroupsInsertCall) Do ¶
func (c *FloodlightActivityGroupsInsertCall) Do() (*FloodlightActivityGroup, error)
Do executes the "dfareporting.floodlightActivityGroups.insert" call. Exactly one of *FloodlightActivityGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivityGroup.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 (*FloodlightActivityGroupsInsertCall) Fields ¶
func (c *FloodlightActivityGroupsInsertCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsInsertCall) QuotaUser ¶
func (c *FloodlightActivityGroupsInsertCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsInsertCall) UserIP ¶
func (c *FloodlightActivityGroupsInsertCall) UserIP(userIP string) *FloodlightActivityGroupsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityGroupsListCall ¶
type FloodlightActivityGroupsListCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsListCall) AdvertiserId ¶
func (c *FloodlightActivityGroupsListCall) AdvertiserId(advertiserId int64) *FloodlightActivityGroupsListCall
AdvertiserId sets the optional parameter "advertiserId": Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivityGroupsListCall) Context ¶
func (c *FloodlightActivityGroupsListCall) Context(ctx context.Context) *FloodlightActivityGroupsListCall
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 (*FloodlightActivityGroupsListCall) Do ¶
func (c *FloodlightActivityGroupsListCall) Do() (*FloodlightActivityGroupsListResponse, error)
Do executes the "dfareporting.floodlightActivityGroups.list" call. Exactly one of *FloodlightActivityGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivityGroupsListResponse.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 (*FloodlightActivityGroupsListCall) Fields ¶
func (c *FloodlightActivityGroupsListCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsListCall) FloodlightConfigurationId ¶
func (c *FloodlightActivityGroupsListCall) FloodlightConfigurationId(floodlightConfigurationId int64) *FloodlightActivityGroupsListCall
FloodlightConfigurationId sets the optional parameter "floodlightConfigurationId": Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivityGroupsListCall) Ids ¶
func (c *FloodlightActivityGroupsListCall) Ids(ids ...int64) *FloodlightActivityGroupsListCall
Ids sets the optional parameter "ids": Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.
func (*FloodlightActivityGroupsListCall) IfNoneMatch ¶
func (c *FloodlightActivityGroupsListCall) IfNoneMatch(entityTag string) *FloodlightActivityGroupsListCall
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 (*FloodlightActivityGroupsListCall) MaxResults ¶
func (c *FloodlightActivityGroupsListCall) MaxResults(maxResults int64) *FloodlightActivityGroupsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*FloodlightActivityGroupsListCall) PageToken ¶
func (c *FloodlightActivityGroupsListCall) PageToken(pageToken string) *FloodlightActivityGroupsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*FloodlightActivityGroupsListCall) QuotaUser ¶
func (c *FloodlightActivityGroupsListCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsListCall) SearchString ¶
func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *FloodlightActivityGroupsListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will return objects with names like "floodlightactivitygroup June 2015", "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup 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 "floodlightactivitygroup" will match objects with name "my floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply "floodlightactivitygroup".
func (*FloodlightActivityGroupsListCall) SortField ¶
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*FloodlightActivityGroupsListCall) SortOrder ¶
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*FloodlightActivityGroupsListCall) Type ¶
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall
Type sets the optional parameter "type": Select only floodlight activity groups with the specified floodlight activity group type.
Possible values:
"COUNTER" "SALE"
func (*FloodlightActivityGroupsListCall) UserIP ¶
func (c *FloodlightActivityGroupsListCall) UserIP(userIP string) *FloodlightActivityGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityGroupsListResponse ¶
type FloodlightActivityGroupsListResponse struct { // FloodlightActivityGroups: Floodlight activity group collection. FloodlightActivityGroups []*FloodlightActivityGroup `json:"floodlightActivityGroups,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#floodlightActivityGroupsListResponse". 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. // "FloodlightActivityGroups") 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:"-"` }
FloodlightActivityGroupsListResponse: Floodlight Activity Group List Response
func (*FloodlightActivityGroupsListResponse) MarshalJSON ¶
func (s *FloodlightActivityGroupsListResponse) MarshalJSON() ([]byte, error)
type FloodlightActivityGroupsPatchCall ¶
type FloodlightActivityGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsPatchCall) Context ¶
func (c *FloodlightActivityGroupsPatchCall) Context(ctx context.Context) *FloodlightActivityGroupsPatchCall
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 (*FloodlightActivityGroupsPatchCall) Do ¶
func (c *FloodlightActivityGroupsPatchCall) Do() (*FloodlightActivityGroup, error)
Do executes the "dfareporting.floodlightActivityGroups.patch" call. Exactly one of *FloodlightActivityGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivityGroup.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 (*FloodlightActivityGroupsPatchCall) Fields ¶
func (c *FloodlightActivityGroupsPatchCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsPatchCall) QuotaUser ¶
func (c *FloodlightActivityGroupsPatchCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsPatchCall) UserIP ¶
func (c *FloodlightActivityGroupsPatchCall) UserIP(userIP string) *FloodlightActivityGroupsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityGroupsService ¶
type FloodlightActivityGroupsService struct {
// contains filtered or unexported fields
}
func NewFloodlightActivityGroupsService ¶
func NewFloodlightActivityGroupsService(s *Service) *FloodlightActivityGroupsService
func (*FloodlightActivityGroupsService) Delete ¶
func (r *FloodlightActivityGroupsService) Delete(profileId int64, id int64) *FloodlightActivityGroupsDeleteCall
Delete: Deletes an existing floodlight activity group.
func (*FloodlightActivityGroupsService) Get ¶
func (r *FloodlightActivityGroupsService) Get(profileId int64, id int64) *FloodlightActivityGroupsGetCall
Get: Gets one floodlight activity group by ID.
func (*FloodlightActivityGroupsService) Insert ¶
func (r *FloodlightActivityGroupsService) Insert(profileId int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsInsertCall
Insert: Inserts a new floodlight activity group.
func (*FloodlightActivityGroupsService) List ¶
func (r *FloodlightActivityGroupsService) List(profileId int64) *FloodlightActivityGroupsListCall
List: Retrieves a list of floodlight activity groups, possibly filtered.
func (*FloodlightActivityGroupsService) Patch ¶
func (r *FloodlightActivityGroupsService) Patch(profileId int64, id int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsPatchCall
Patch: Updates an existing floodlight activity group. This method supports patch semantics.
func (*FloodlightActivityGroupsService) Update ¶
func (r *FloodlightActivityGroupsService) Update(profileId int64, floodlightactivitygroup *FloodlightActivityGroup) *FloodlightActivityGroupsUpdateCall
Update: Updates an existing floodlight activity group.
type FloodlightActivityGroupsUpdateCall ¶
type FloodlightActivityGroupsUpdateCall struct {
// contains filtered or unexported fields
}
func (*FloodlightActivityGroupsUpdateCall) Context ¶
func (c *FloodlightActivityGroupsUpdateCall) Context(ctx context.Context) *FloodlightActivityGroupsUpdateCall
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 (*FloodlightActivityGroupsUpdateCall) Do ¶
func (c *FloodlightActivityGroupsUpdateCall) Do() (*FloodlightActivityGroup, error)
Do executes the "dfareporting.floodlightActivityGroups.update" call. Exactly one of *FloodlightActivityGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightActivityGroup.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 (*FloodlightActivityGroupsUpdateCall) Fields ¶
func (c *FloodlightActivityGroupsUpdateCall) Fields(s ...googleapi.Field) *FloodlightActivityGroupsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightActivityGroupsUpdateCall) QuotaUser ¶
func (c *FloodlightActivityGroupsUpdateCall) QuotaUser(quotaUser string) *FloodlightActivityGroupsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightActivityGroupsUpdateCall) UserIP ¶
func (c *FloodlightActivityGroupsUpdateCall) UserIP(userIP string) *FloodlightActivityGroupsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightActivityPublisherDynamicTag ¶
type FloodlightActivityPublisherDynamicTag struct { // ClickThrough: Whether this tag is applicable only for click-throughs. ClickThrough bool `json:"clickThrough,omitempty"` // DirectorySiteId: Directory site ID of this dynamic tag. This is a // write-only field that can be used as an alternative to the siteId // field. When this resource is retrieved, only the siteId field will be // populated. DirectorySiteId int64 `json:"directorySiteId,omitempty,string"` // DynamicTag: Dynamic floodlight tag. DynamicTag *FloodlightActivityDynamicTag `json:"dynamicTag,omitempty"` // SiteId: Site ID of this dynamic tag. SiteId int64 `json:"siteId,omitempty,string"` // SiteIdDimensionValue: Dimension value for the ID of the site. This is // a read-only, auto-generated field. SiteIdDimensionValue *DimensionValue `json:"siteIdDimensionValue,omitempty"` // ViewThrough: Whether this tag is applicable only for view-throughs. ViewThrough bool `json:"viewThrough,omitempty"` // ForceSendFields is a list of field names (e.g. "ClickThrough") 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:"-"` }
FloodlightActivityPublisherDynamicTag: Publisher Dynamic Tag
func (*FloodlightActivityPublisherDynamicTag) MarshalJSON ¶
func (s *FloodlightActivityPublisherDynamicTag) MarshalJSON() ([]byte, error)
type FloodlightConfiguration ¶
type FloodlightConfiguration struct { // AccountId: Account ID of this floodlight configuration. This is a // read-only field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of the parent advertiser of this // floodlight configuration. 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"` // AnalyticsDataSharingEnabled: Whether advertiser data is shared with // Google Analytics. AnalyticsDataSharingEnabled bool `json:"analyticsDataSharingEnabled,omitempty"` // ExposureToConversionEnabled: Whether the exposure-to-conversion // report is enabled. This report shows detailed pathway information on // up to 10 of the most recent ad exposures seen by a user before // converting. ExposureToConversionEnabled bool `json:"exposureToConversionEnabled,omitempty"` // FirstDayOfWeek: Day that will be counted as the first day of the week // in reports. This is a required field. // // Possible values: // "MONDAY" // "SUNDAY" FirstDayOfWeek string `json:"firstDayOfWeek,omitempty"` // Id: ID of this floodlight configuration. This is a read-only, // auto-generated field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this floodlight // configuration. 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#floodlightConfiguration". Kind string `json:"kind,omitempty"` // LookbackConfiguration: Lookback window settings for this floodlight // configuration. LookbackConfiguration *LookbackConfiguration `json:"lookbackConfiguration,omitempty"` // NaturalSearchConversionAttributionOption: Types of attribution // options for natural search conversions. // // Possible values: // "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION" // "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION" // "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" NaturalSearchConversionAttributionOption string `json:"naturalSearchConversionAttributionOption,omitempty"` // OmnitureSettings: Settings for DCM Omniture integration. OmnitureSettings *OmnitureSettings `json:"omnitureSettings,omitempty"` // SslRequired: Whether floodlight activities owned by this // configuration are required to be SSL-compliant. SslRequired bool `json:"sslRequired,omitempty"` // StandardVariableTypes: List of standard variables enabled for this // configuration. // // Acceptable values are: // - "ORD" // - "NUM" // // Possible values: // "NUM" // "ORD" // "TRAN" // "U" StandardVariableTypes []string `json:"standardVariableTypes,omitempty"` // SubaccountId: Subaccount ID of this floodlight configuration. This is // a read-only field that can be left blank. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TagSettings: Configuration settings for dynamic and image floodlight // tags. TagSettings *TagSettings `json:"tagSettings,omitempty"` // UserDefinedVariableConfigurations: List of user defined variables // enabled for this configuration. UserDefinedVariableConfigurations []*UserDefinedVariableConfiguration `json:"userDefinedVariableConfigurations,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:"-"` }
FloodlightConfiguration: Contains properties of a Floodlight configuration.
func (*FloodlightConfiguration) MarshalJSON ¶
func (s *FloodlightConfiguration) MarshalJSON() ([]byte, error)
type FloodlightConfigurationsGetCall ¶
type FloodlightConfigurationsGetCall struct {
// contains filtered or unexported fields
}
func (*FloodlightConfigurationsGetCall) Context ¶
func (c *FloodlightConfigurationsGetCall) Context(ctx context.Context) *FloodlightConfigurationsGetCall
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 (*FloodlightConfigurationsGetCall) Do ¶
func (c *FloodlightConfigurationsGetCall) Do() (*FloodlightConfiguration, error)
Do executes the "dfareporting.floodlightConfigurations.get" call. Exactly one of *FloodlightConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightConfiguration.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 (*FloodlightConfigurationsGetCall) Fields ¶
func (c *FloodlightConfigurationsGetCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightConfigurationsGetCall) IfNoneMatch ¶
func (c *FloodlightConfigurationsGetCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsGetCall
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 (*FloodlightConfigurationsGetCall) QuotaUser ¶
func (c *FloodlightConfigurationsGetCall) QuotaUser(quotaUser string) *FloodlightConfigurationsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightConfigurationsGetCall) UserIP ¶
func (c *FloodlightConfigurationsGetCall) UserIP(userIP string) *FloodlightConfigurationsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightConfigurationsListCall ¶
type FloodlightConfigurationsListCall struct {
// contains filtered or unexported fields
}
func (*FloodlightConfigurationsListCall) Context ¶
func (c *FloodlightConfigurationsListCall) Context(ctx context.Context) *FloodlightConfigurationsListCall
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 (*FloodlightConfigurationsListCall) Do ¶
func (c *FloodlightConfigurationsListCall) Do() (*FloodlightConfigurationsListResponse, error)
Do executes the "dfareporting.floodlightConfigurations.list" call. Exactly one of *FloodlightConfigurationsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightConfigurationsListResponse.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 (*FloodlightConfigurationsListCall) Fields ¶
func (c *FloodlightConfigurationsListCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightConfigurationsListCall) Ids ¶
func (c *FloodlightConfigurationsListCall) Ids(ids ...int64) *FloodlightConfigurationsListCall
Ids sets the optional parameter "ids": Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.
func (*FloodlightConfigurationsListCall) IfNoneMatch ¶
func (c *FloodlightConfigurationsListCall) IfNoneMatch(entityTag string) *FloodlightConfigurationsListCall
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 (*FloodlightConfigurationsListCall) QuotaUser ¶
func (c *FloodlightConfigurationsListCall) QuotaUser(quotaUser string) *FloodlightConfigurationsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightConfigurationsListCall) UserIP ¶
func (c *FloodlightConfigurationsListCall) UserIP(userIP string) *FloodlightConfigurationsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightConfigurationsListResponse ¶
type FloodlightConfigurationsListResponse struct { // FloodlightConfigurations: Floodlight configuration collection. FloodlightConfigurations []*FloodlightConfiguration `json:"floodlightConfigurations,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#floodlightConfigurationsListResponse". 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. // "FloodlightConfigurations") 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:"-"` }
FloodlightConfigurationsListResponse: Floodlight Configuration List Response
func (*FloodlightConfigurationsListResponse) MarshalJSON ¶
func (s *FloodlightConfigurationsListResponse) MarshalJSON() ([]byte, error)
type FloodlightConfigurationsPatchCall ¶
type FloodlightConfigurationsPatchCall struct {
// contains filtered or unexported fields
}
func (*FloodlightConfigurationsPatchCall) Context ¶
func (c *FloodlightConfigurationsPatchCall) Context(ctx context.Context) *FloodlightConfigurationsPatchCall
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 (*FloodlightConfigurationsPatchCall) Do ¶
func (c *FloodlightConfigurationsPatchCall) Do() (*FloodlightConfiguration, error)
Do executes the "dfareporting.floodlightConfigurations.patch" call. Exactly one of *FloodlightConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightConfiguration.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 (*FloodlightConfigurationsPatchCall) Fields ¶
func (c *FloodlightConfigurationsPatchCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightConfigurationsPatchCall) QuotaUser ¶
func (c *FloodlightConfigurationsPatchCall) QuotaUser(quotaUser string) *FloodlightConfigurationsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightConfigurationsPatchCall) UserIP ¶
func (c *FloodlightConfigurationsPatchCall) UserIP(userIP string) *FloodlightConfigurationsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightConfigurationsService ¶
type FloodlightConfigurationsService struct {
// contains filtered or unexported fields
}
func NewFloodlightConfigurationsService ¶
func NewFloodlightConfigurationsService(s *Service) *FloodlightConfigurationsService
func (*FloodlightConfigurationsService) Get ¶
func (r *FloodlightConfigurationsService) Get(profileId int64, id int64) *FloodlightConfigurationsGetCall
Get: Gets one floodlight configuration by ID.
func (*FloodlightConfigurationsService) List ¶
func (r *FloodlightConfigurationsService) List(profileId int64) *FloodlightConfigurationsListCall
List: Retrieves a list of floodlight configurations, possibly filtered.
func (*FloodlightConfigurationsService) Patch ¶
func (r *FloodlightConfigurationsService) Patch(profileId int64, id int64, floodlightconfiguration *FloodlightConfiguration) *FloodlightConfigurationsPatchCall
Patch: Updates an existing floodlight configuration. This method supports patch semantics.
func (*FloodlightConfigurationsService) Update ¶
func (r *FloodlightConfigurationsService) Update(profileId int64, floodlightconfiguration *FloodlightConfiguration) *FloodlightConfigurationsUpdateCall
Update: Updates an existing floodlight configuration.
type FloodlightConfigurationsUpdateCall ¶
type FloodlightConfigurationsUpdateCall struct {
// contains filtered or unexported fields
}
func (*FloodlightConfigurationsUpdateCall) Context ¶
func (c *FloodlightConfigurationsUpdateCall) Context(ctx context.Context) *FloodlightConfigurationsUpdateCall
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 (*FloodlightConfigurationsUpdateCall) Do ¶
func (c *FloodlightConfigurationsUpdateCall) Do() (*FloodlightConfiguration, error)
Do executes the "dfareporting.floodlightConfigurations.update" call. Exactly one of *FloodlightConfiguration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FloodlightConfiguration.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 (*FloodlightConfigurationsUpdateCall) Fields ¶
func (c *FloodlightConfigurationsUpdateCall) Fields(s ...googleapi.Field) *FloodlightConfigurationsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FloodlightConfigurationsUpdateCall) QuotaUser ¶
func (c *FloodlightConfigurationsUpdateCall) QuotaUser(quotaUser string) *FloodlightConfigurationsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*FloodlightConfigurationsUpdateCall) UserIP ¶
func (c *FloodlightConfigurationsUpdateCall) UserIP(userIP string) *FloodlightConfigurationsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type FloodlightReportCompatibleFields ¶
type FloodlightReportCompatibleFields struct { // DimensionFilters: Dimensions which are compatible to be selected in // the "dimensionFilters" section of the report. DimensionFilters []*Dimension `json:"dimensionFilters,omitempty"` // Dimensions: Dimensions which are compatible to be selected in the // "dimensions" section of the report. Dimensions []*Dimension `json:"dimensions,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#floodlightReportCompatibleFields. Kind string `json:"kind,omitempty"` // Metrics: Metrics which are compatible to be selected in the // "metricNames" section of the report. Metrics []*Metric `json:"metrics,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionFilters") 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:"-"` }
FloodlightReportCompatibleFields: Represents fields that are compatible to be selected for a report of type "FlOODLIGHT".
func (*FloodlightReportCompatibleFields) MarshalJSON ¶
func (s *FloodlightReportCompatibleFields) MarshalJSON() ([]byte, error)
type FrequencyCap ¶
type FrequencyCap struct { // Duration: Duration of time, in seconds, for this frequency cap. The // maximum duration is 90 days in seconds, or 7,776,000. Duration int64 `json:"duration,omitempty,string"` // Impressions: Number of times an individual user can be served the ad // within the specified duration. The maximum allowed is 15. Impressions int64 `json:"impressions,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Duration") 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:"-"` }
FrequencyCap: Frequency Cap.
func (*FrequencyCap) MarshalJSON ¶
func (s *FrequencyCap) MarshalJSON() ([]byte, error)
type FsCommand ¶
type FsCommand struct { // Left: Distance from the left of the browser.Applicable when // positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. Left int64 `json:"left,omitempty"` // PositionOption: Position in the browser where the window will open. // // Possible values: // "CENTERED" // "DISTANCE_FROM_TOP_LEFT_CORNER" PositionOption string `json:"positionOption,omitempty"` // Top: Distance from the top of the browser. Applicable when // positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. Top int64 `json:"top,omitempty"` // WindowHeight: Height of the window. WindowHeight int64 `json:"windowHeight,omitempty"` // WindowWidth: Width of the window. WindowWidth int64 `json:"windowWidth,omitempty"` // ForceSendFields is a list of field names (e.g. "Left") 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:"-"` }
FsCommand: FsCommand.
func (*FsCommand) MarshalJSON ¶
type GeoTargeting ¶
type GeoTargeting struct { // Cities: Cities to be targeted. For each city only dartId is required. // The other fields are populated automatically when the ad is inserted // or updated. If targeting a city, do not target or exclude the country // of the city, and do not target the metro or region of the city. Cities []*City `json:"cities,omitempty"` // Countries: Countries to be targeted or excluded from targeting, // depending on the setting of the excludeCountries field. For each // country only dartId is required. The other fields are populated // automatically when the ad is inserted or updated. If targeting or // excluding a country, do not target regions, cities, metros, or postal // codes in the same country. Countries []*Country `json:"countries,omitempty"` // ExcludeCountries: Whether or not to exclude the countries in the // countries field from targeting. If false, the countries field refers // to countries which will be targeted by the ad. ExcludeCountries bool `json:"excludeCountries,omitempty"` // Metros: Metros to be targeted. For each metro only dmaId is required. // The other fields are populated automatically when the ad is inserted // or updated. If targeting a metro, do not target or exclude the // country of the metro. Metros []*Metro `json:"metros,omitempty"` // PostalCodes: Postal codes to be targeted. For each postal code only // id is required. The other fields are populated automatically when the // ad is inserted or updated. If targeting a postal code, do not target // or exclude the country of the postal code. PostalCodes []*PostalCode `json:"postalCodes,omitempty"` // Regions: Regions to be targeted. For each region only dartId is // required. The other fields are populated automatically when the ad is // inserted or updated. If targeting a region, do not target or exclude // the country of the region. Regions []*Region `json:"regions,omitempty"` // 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:"-"` }
GeoTargeting: Geographical Targeting.
func (*GeoTargeting) MarshalJSON ¶
func (s *GeoTargeting) MarshalJSON() ([]byte, error)
type InventoryItem ¶
type InventoryItem struct { // AccountId: Account ID of this inventory item. AccountId int64 `json:"accountId,omitempty,string"` // AdSlots: Ad slots of this inventory item. If this inventory item // represents a standalone placement, there will be exactly one ad slot. // If this inventory item represents a placement group, there will be // more than one ad slot, each representing one child placement in that // placement group. AdSlots []*AdSlot `json:"adSlots,omitempty"` // AdvertiserId: Advertiser ID of this inventory item. AdvertiserId int64 `json:"advertiserId,omitempty,string"` // ContentCategoryId: Content category ID of this inventory item. ContentCategoryId int64 `json:"contentCategoryId,omitempty,string"` // EstimatedClickThroughRate: Estimated click-through rate of this // inventory item. EstimatedClickThroughRate int64 `json:"estimatedClickThroughRate,omitempty,string"` // EstimatedConversionRate: Estimated conversion rate of this inventory // item. EstimatedConversionRate int64 `json:"estimatedConversionRate,omitempty,string"` // Id: ID of this inventory item. Id int64 `json:"id,omitempty,string"` // InPlan: Whether this inventory item is in plan. InPlan bool `json:"inPlan,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#inventoryItem". Kind string `json:"kind,omitempty"` // LastModifiedInfo: Information about the most recent modification of // this inventory item. LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"` // Name: Name of this inventory item. For standalone inventory items, // this is the same name as that of its only ad slot. For group // inventory items, this can differ from the name of any of its ad // slots. Name string `json:"name,omitempty"` // NegotiationChannelId: Negotiation channel ID of this inventory item. NegotiationChannelId int64 `json:"negotiationChannelId,omitempty,string"` // OrderId: Order ID of this inventory item. OrderId int64 `json:"orderId,omitempty,string"` // PlacementStrategyId: Placement strategy ID of this inventory item. PlacementStrategyId int64 `json:"placementStrategyId,omitempty,string"` // Pricing: Pricing of this inventory item. Pricing *Pricing `json:"pricing,omitempty"` // ProjectId: Project ID of this inventory item. ProjectId int64 `json:"projectId,omitempty,string"` // RfpId: RFP ID of this inventory item. RfpId int64 `json:"rfpId,omitempty,string"` // SiteId: ID of the site this inventory item is associated with. SiteId int64 `json:"siteId,omitempty,string"` // SubaccountId: Subaccount ID of this inventory item. 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:"-"` }
InventoryItem: Represents a buy from the DoubleClick Planning inventory store.
func (*InventoryItem) MarshalJSON ¶
func (s *InventoryItem) MarshalJSON() ([]byte, error)
type InventoryItemsGetCall ¶
type InventoryItemsGetCall struct {
// contains filtered or unexported fields
}
func (*InventoryItemsGetCall) Context ¶
func (c *InventoryItemsGetCall) Context(ctx context.Context) *InventoryItemsGetCall
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 (*InventoryItemsGetCall) Do ¶
func (c *InventoryItemsGetCall) Do() (*InventoryItem, error)
Do executes the "dfareporting.inventoryItems.get" call. Exactly one of *InventoryItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InventoryItem.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 (*InventoryItemsGetCall) Fields ¶
func (c *InventoryItemsGetCall) Fields(s ...googleapi.Field) *InventoryItemsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InventoryItemsGetCall) IfNoneMatch ¶
func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall
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 (*InventoryItemsGetCall) QuotaUser ¶
func (c *InventoryItemsGetCall) QuotaUser(quotaUser string) *InventoryItemsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InventoryItemsGetCall) UserIP ¶
func (c *InventoryItemsGetCall) UserIP(userIP string) *InventoryItemsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InventoryItemsListCall ¶
type InventoryItemsListCall struct {
// contains filtered or unexported fields
}
func (*InventoryItemsListCall) Context ¶
func (c *InventoryItemsListCall) Context(ctx context.Context) *InventoryItemsListCall
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 (*InventoryItemsListCall) Do ¶
func (c *InventoryItemsListCall) Do() (*InventoryItemsListResponse, error)
Do executes the "dfareporting.inventoryItems.list" call. Exactly one of *InventoryItemsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InventoryItemsListResponse.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 (*InventoryItemsListCall) Fields ¶
func (c *InventoryItemsListCall) Fields(s ...googleapi.Field) *InventoryItemsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InventoryItemsListCall) Ids ¶
func (c *InventoryItemsListCall) Ids(ids ...int64) *InventoryItemsListCall
Ids sets the optional parameter "ids": Select only inventory items with these IDs.
func (*InventoryItemsListCall) IfNoneMatch ¶
func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall
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 (*InventoryItemsListCall) InPlan ¶
func (c *InventoryItemsListCall) InPlan(inPlan bool) *InventoryItemsListCall
InPlan sets the optional parameter "inPlan": Select only inventory items that are in plan.
func (*InventoryItemsListCall) MaxResults ¶
func (c *InventoryItemsListCall) MaxResults(maxResults int64) *InventoryItemsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*InventoryItemsListCall) OrderId ¶
func (c *InventoryItemsListCall) OrderId(orderId ...int64) *InventoryItemsListCall
OrderId sets the optional parameter "orderId": Select only inventory items that belong to specified orders.
func (*InventoryItemsListCall) PageToken ¶
func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*InventoryItemsListCall) QuotaUser ¶
func (c *InventoryItemsListCall) QuotaUser(quotaUser string) *InventoryItemsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InventoryItemsListCall) SiteId ¶
func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
SiteId sets the optional parameter "siteId": Select only inventory items that are associated with these sites.
func (*InventoryItemsListCall) SortField ¶
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*InventoryItemsListCall) SortOrder ¶
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*InventoryItemsListCall) UserIP ¶
func (c *InventoryItemsListCall) UserIP(userIP string) *InventoryItemsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InventoryItemsListResponse ¶
type InventoryItemsListResponse struct { // InventoryItems: Inventory item collection InventoryItems []*InventoryItem `json:"inventoryItems,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#inventoryItemsListResponse". 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. "InventoryItems") 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:"-"` }
InventoryItemsListResponse: Inventory item List Response
func (*InventoryItemsListResponse) MarshalJSON ¶
func (s *InventoryItemsListResponse) MarshalJSON() ([]byte, error)
type InventoryItemsService ¶
type InventoryItemsService struct {
// contains filtered or unexported fields
}
func NewInventoryItemsService ¶
func NewInventoryItemsService(s *Service) *InventoryItemsService
func (*InventoryItemsService) Get ¶
func (r *InventoryItemsService) Get(profileId int64, projectId int64, id int64) *InventoryItemsGetCall
Get: Gets one inventory item by ID.
func (*InventoryItemsService) List ¶
func (r *InventoryItemsService) List(profileId int64, projectId int64) *InventoryItemsListCall
List: Retrieves a list of inventory items, possibly filtered.
type KeyValueTargetingExpression ¶
type KeyValueTargetingExpression struct { // Expression: Keyword expression being targeted by the ad. Expression string `json:"expression,omitempty"` // ForceSendFields is a list of field names (e.g. "Expression") 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:"-"` }
KeyValueTargetingExpression: Key Value Targeting Expression.
func (*KeyValueTargetingExpression) MarshalJSON ¶
func (s *KeyValueTargetingExpression) MarshalJSON() ([]byte, error)
type LandingPage ¶
type LandingPage struct { // Default: Whether or not this landing page will be assigned to any ads // or creatives that do not have a landing page assigned explicitly. // Only one default landing page is allowed per campaign. Default bool `json:"default,omitempty"` // Id: ID of this landing page. 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#landingPage". Kind string `json:"kind,omitempty"` // Name: Name of this landing page. This is a required field. It must be // less than 256 characters long, and must be unique among landing pages // of the same campaign. Name string `json:"name,omitempty"` // Url: URL of this landing page. This is a required field. Url string `json:"url,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Default") 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:"-"` }
LandingPage: Contains information about where a user's browser is taken after the user clicks an ad.
func (*LandingPage) MarshalJSON ¶
func (s *LandingPage) MarshalJSON() ([]byte, error)
type LandingPagesDeleteCall ¶
type LandingPagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesDeleteCall) Context ¶
func (c *LandingPagesDeleteCall) Context(ctx context.Context) *LandingPagesDeleteCall
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 (*LandingPagesDeleteCall) Do ¶
func (c *LandingPagesDeleteCall) Do() error
Do executes the "dfareporting.landingPages.delete" call.
func (*LandingPagesDeleteCall) Fields ¶
func (c *LandingPagesDeleteCall) Fields(s ...googleapi.Field) *LandingPagesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesDeleteCall) QuotaUser ¶
func (c *LandingPagesDeleteCall) QuotaUser(quotaUser string) *LandingPagesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesDeleteCall) UserIP ¶
func (c *LandingPagesDeleteCall) UserIP(userIP string) *LandingPagesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LandingPagesGetCall ¶
type LandingPagesGetCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesGetCall) Context ¶
func (c *LandingPagesGetCall) Context(ctx context.Context) *LandingPagesGetCall
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 (*LandingPagesGetCall) Do ¶
func (c *LandingPagesGetCall) Do() (*LandingPage, error)
Do executes the "dfareporting.landingPages.get" call. Exactly one of *LandingPage or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LandingPage.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 (*LandingPagesGetCall) Fields ¶
func (c *LandingPagesGetCall) Fields(s ...googleapi.Field) *LandingPagesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesGetCall) IfNoneMatch ¶
func (c *LandingPagesGetCall) IfNoneMatch(entityTag string) *LandingPagesGetCall
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 (*LandingPagesGetCall) QuotaUser ¶
func (c *LandingPagesGetCall) QuotaUser(quotaUser string) *LandingPagesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesGetCall) UserIP ¶
func (c *LandingPagesGetCall) UserIP(userIP string) *LandingPagesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LandingPagesInsertCall ¶
type LandingPagesInsertCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesInsertCall) Context ¶
func (c *LandingPagesInsertCall) Context(ctx context.Context) *LandingPagesInsertCall
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 (*LandingPagesInsertCall) Do ¶
func (c *LandingPagesInsertCall) Do() (*LandingPage, error)
Do executes the "dfareporting.landingPages.insert" call. Exactly one of *LandingPage or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LandingPage.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 (*LandingPagesInsertCall) Fields ¶
func (c *LandingPagesInsertCall) Fields(s ...googleapi.Field) *LandingPagesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesInsertCall) QuotaUser ¶
func (c *LandingPagesInsertCall) QuotaUser(quotaUser string) *LandingPagesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesInsertCall) UserIP ¶
func (c *LandingPagesInsertCall) UserIP(userIP string) *LandingPagesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LandingPagesListCall ¶
type LandingPagesListCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesListCall) Context ¶
func (c *LandingPagesListCall) Context(ctx context.Context) *LandingPagesListCall
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 (*LandingPagesListCall) Do ¶
func (c *LandingPagesListCall) Do() (*LandingPagesListResponse, error)
Do executes the "dfareporting.landingPages.list" call. Exactly one of *LandingPagesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LandingPagesListResponse.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 (*LandingPagesListCall) Fields ¶
func (c *LandingPagesListCall) Fields(s ...googleapi.Field) *LandingPagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesListCall) IfNoneMatch ¶
func (c *LandingPagesListCall) IfNoneMatch(entityTag string) *LandingPagesListCall
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 (*LandingPagesListCall) QuotaUser ¶
func (c *LandingPagesListCall) QuotaUser(quotaUser string) *LandingPagesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesListCall) UserIP ¶
func (c *LandingPagesListCall) UserIP(userIP string) *LandingPagesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LandingPagesListResponse ¶
type LandingPagesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#landingPagesListResponse". Kind string `json:"kind,omitempty"` // LandingPages: Landing page collection LandingPages []*LandingPage `json:"landingPages,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
LandingPagesListResponse: Landing Page List Response
func (*LandingPagesListResponse) MarshalJSON ¶
func (s *LandingPagesListResponse) MarshalJSON() ([]byte, error)
type LandingPagesPatchCall ¶
type LandingPagesPatchCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesPatchCall) Context ¶
func (c *LandingPagesPatchCall) Context(ctx context.Context) *LandingPagesPatchCall
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 (*LandingPagesPatchCall) Do ¶
func (c *LandingPagesPatchCall) Do() (*LandingPage, error)
Do executes the "dfareporting.landingPages.patch" call. Exactly one of *LandingPage or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LandingPage.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 (*LandingPagesPatchCall) Fields ¶
func (c *LandingPagesPatchCall) Fields(s ...googleapi.Field) *LandingPagesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesPatchCall) QuotaUser ¶
func (c *LandingPagesPatchCall) QuotaUser(quotaUser string) *LandingPagesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesPatchCall) UserIP ¶
func (c *LandingPagesPatchCall) UserIP(userIP string) *LandingPagesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LandingPagesService ¶
type LandingPagesService struct {
// contains filtered or unexported fields
}
func NewLandingPagesService ¶
func NewLandingPagesService(s *Service) *LandingPagesService
func (*LandingPagesService) Delete ¶
func (r *LandingPagesService) Delete(profileId int64, campaignId int64, id int64) *LandingPagesDeleteCall
Delete: Deletes an existing campaign landing page.
func (*LandingPagesService) Get ¶
func (r *LandingPagesService) Get(profileId int64, campaignId int64, id int64) *LandingPagesGetCall
Get: Gets one campaign landing page by ID.
func (*LandingPagesService) Insert ¶
func (r *LandingPagesService) Insert(profileId int64, campaignId int64, landingpage *LandingPage) *LandingPagesInsertCall
Insert: Inserts a new landing page for the specified campaign.
func (*LandingPagesService) List ¶
func (r *LandingPagesService) List(profileId int64, campaignId int64) *LandingPagesListCall
List: Retrieves the list of landing pages for the specified campaign.
func (*LandingPagesService) Patch ¶
func (r *LandingPagesService) Patch(profileId int64, campaignId int64, id int64, landingpage *LandingPage) *LandingPagesPatchCall
Patch: Updates an existing campaign landing page. This method supports patch semantics.
func (*LandingPagesService) Update ¶
func (r *LandingPagesService) Update(profileId int64, campaignId int64, landingpage *LandingPage) *LandingPagesUpdateCall
Update: Updates an existing campaign landing page.
type LandingPagesUpdateCall ¶
type LandingPagesUpdateCall struct {
// contains filtered or unexported fields
}
func (*LandingPagesUpdateCall) Context ¶
func (c *LandingPagesUpdateCall) Context(ctx context.Context) *LandingPagesUpdateCall
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 (*LandingPagesUpdateCall) Do ¶
func (c *LandingPagesUpdateCall) Do() (*LandingPage, error)
Do executes the "dfareporting.landingPages.update" call. Exactly one of *LandingPage or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LandingPage.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 (*LandingPagesUpdateCall) Fields ¶
func (c *LandingPagesUpdateCall) Fields(s ...googleapi.Field) *LandingPagesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LandingPagesUpdateCall) QuotaUser ¶
func (c *LandingPagesUpdateCall) QuotaUser(quotaUser string) *LandingPagesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LandingPagesUpdateCall) UserIP ¶
func (c *LandingPagesUpdateCall) UserIP(userIP string) *LandingPagesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LastModifiedInfo ¶
type LastModifiedInfo struct { // Time: Timestamp of the last change in milliseconds since epoch. Time int64 `json:"time,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Time") 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:"-"` }
LastModifiedInfo: Modification timestamp.
func (*LastModifiedInfo) MarshalJSON ¶
func (s *LastModifiedInfo) MarshalJSON() ([]byte, error)
type ListPopulationClause ¶
type ListPopulationClause struct { // Terms: Terms of this list population clause. Each clause is made up // of list population terms representing constraints and are joined by // ORs. Terms []*ListPopulationTerm `json:"terms,omitempty"` // ForceSendFields is a list of field names (e.g. "Terms") 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:"-"` }
ListPopulationClause: A group clause made up of list population terms representing constraints joined by ORs.
func (*ListPopulationClause) MarshalJSON ¶
func (s *ListPopulationClause) MarshalJSON() ([]byte, error)
type ListPopulationRule ¶
type ListPopulationRule struct { // FloodlightActivityId: Floodlight activity ID associated with this // rule. This field can be left blank. FloodlightActivityId int64 `json:"floodlightActivityId,omitempty,string"` // FloodlightActivityName: Name of floodlight activity associated with // this rule. This is a read-only, auto-generated field. FloodlightActivityName string `json:"floodlightActivityName,omitempty"` // ListPopulationClauses: Clauses that make up this list population // rule. Clauses are joined by ANDs, and the clauses themselves are made // up of list population terms which are joined by ORs. ListPopulationClauses []*ListPopulationClause `json:"listPopulationClauses,omitempty"` // ForceSendFields is a list of field names (e.g. // "FloodlightActivityId") 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:"-"` }
ListPopulationRule: Remarketing List Population Rule.
func (*ListPopulationRule) MarshalJSON ¶
func (s *ListPopulationRule) MarshalJSON() ([]byte, error)
type ListPopulationTerm ¶
type ListPopulationTerm struct { // Contains: Will be true if the term should check if the user is in the // list and false if the term should check if the user is not in the // list. This field is only relevant when type is set to // LIST_MEMBERSHIP_TERM. False by default. Contains bool `json:"contains,omitempty"` // Negation: Whether to negate the comparison result of this term during // rule evaluation. This field is only relevant when type is left unset // or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. Negation bool `json:"negation,omitempty"` // Operator: Comparison operator of this term. This field is only // relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or // REFERRER_TERM. // // Possible values: // "NUM_EQUALS" // "NUM_GREATER_THAN" // "NUM_GREATER_THAN_EQUAL" // "NUM_LESS_THAN" // "NUM_LESS_THAN_EQUAL" // "STRING_CONTAINS" // "STRING_EQUALS" Operator string `json:"operator,omitempty"` // RemarketingListId: ID of the list in question. This field is only // relevant when type is set to LIST_MEMBERSHIP_TERM. RemarketingListId int64 `json:"remarketingListId,omitempty,string"` // Type: List population term type determines the applicable fields in // this object. If left unset or set to CUSTOM_VARIABLE_TERM, then // variableName, variableFriendlyName, operator, value, and negation are // applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and // contains are applicable. If set to REFERRER_TERM then operator, // value, and negation are applicable. // // Possible values: // "CUSTOM_VARIABLE_TERM" // "LIST_MEMBERSHIP_TERM" // "REFERRER_TERM" Type string `json:"type,omitempty"` // Value: Literal to compare the variable to. This field is only // relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or // REFERRER_TERM. Value string `json:"value,omitempty"` // VariableFriendlyName: Friendly name of this term's variable. This is // a read-only, auto-generated field. This field is only relevant when // type is left unset or set to CUSTOM_VARIABLE_TERM. VariableFriendlyName string `json:"variableFriendlyName,omitempty"` // VariableName: Name of the variable (U1, U2, etc.) being compared in // this term. This field is only relevant when type is set to null, // CUSTOM_VARIABLE_TERM or REFERRER_TERM. VariableName string `json:"variableName,omitempty"` // ForceSendFields is a list of field names (e.g. "Contains") 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:"-"` }
ListPopulationTerm: Remarketing List Population Rule Term.
func (*ListPopulationTerm) MarshalJSON ¶
func (s *ListPopulationTerm) MarshalJSON() ([]byte, error)
type ListTargetingExpression ¶
type ListTargetingExpression struct { // Expression: Expression describing which lists are being targeted by // the ad. Expression string `json:"expression,omitempty"` // ForceSendFields is a list of field names (e.g. "Expression") 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:"-"` }
ListTargetingExpression: Remarketing List Targeting Expression.
func (*ListTargetingExpression) MarshalJSON ¶
func (s *ListTargetingExpression) MarshalJSON() ([]byte, error)
type LookbackConfiguration ¶
type LookbackConfiguration struct { // ClickDuration: Lookback window, in days, from the last time a given // user clicked on one of your ads. If you enter 0, clicks will not be // considered as triggering events for floodlight tracking. If you leave // this field blank, the default value for your account will be used. ClickDuration int64 `json:"clickDuration,omitempty"` // PostImpressionActivitiesDuration: Lookback window, in days, from the // last time a given user viewed one of your ads. If you enter 0, // impressions will not be considered as triggering events for // floodlight tracking. If you leave this field blank, the default value // for your account will be used. PostImpressionActivitiesDuration int64 `json:"postImpressionActivitiesDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "ClickDuration") 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:"-"` }
LookbackConfiguration: Lookback configuration settings.
func (*LookbackConfiguration) MarshalJSON ¶
func (s *LookbackConfiguration) MarshalJSON() ([]byte, error)
type Metric ¶
type Metric struct { // Kind: The kind of resource this is, in this case dfareporting#metric. Kind string `json:"kind,omitempty"` // Name: The metric name, e.g. dfa:impressions Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
Metric: Represents a metric.
func (*Metric) MarshalJSON ¶
type Metro ¶
type Metro struct { // CountryCode: Country code of the country to which this metro region // belongs. CountryCode string `json:"countryCode,omitempty"` // CountryDartId: DART ID of the country to which this metro region // belongs. CountryDartId int64 `json:"countryDartId,omitempty,string"` // DartId: DART ID of this metro region. DartId int64 `json:"dartId,omitempty,string"` // DmaId: DMA ID of this metro region. This is the ID used for targeting // and generating reports, and is equivalent to metro_code. DmaId int64 `json:"dmaId,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#metro". Kind string `json:"kind,omitempty"` // MetroCode: Metro code of this metro region. This is equivalent to // dma_id. MetroCode string `json:"metroCode,omitempty"` // Name: Name of this metro region. Name string `json:"name,omitempty"` // 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:"-"` }
Metro: Contains information about a metro region that can be targeted by ads.
func (*Metro) MarshalJSON ¶
type MetrosListCall ¶
type MetrosListCall struct {
// contains filtered or unexported fields
}
func (*MetrosListCall) Context ¶
func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall
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 (*MetrosListCall) Do ¶
func (c *MetrosListCall) Do() (*MetrosListResponse, error)
Do executes the "dfareporting.metros.list" call. Exactly one of *MetrosListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MetrosListResponse.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 (*MetrosListCall) Fields ¶
func (c *MetrosListCall) Fields(s ...googleapi.Field) *MetrosListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MetrosListCall) IfNoneMatch ¶
func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall
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 (*MetrosListCall) QuotaUser ¶
func (c *MetrosListCall) QuotaUser(quotaUser string) *MetrosListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MetrosListCall) UserIP ¶
func (c *MetrosListCall) UserIP(userIP string) *MetrosListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MetrosListResponse ¶
type MetrosListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#metrosListResponse". Kind string `json:"kind,omitempty"` // Metros: Metro collection. Metros []*Metro `json:"metros,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
MetrosListResponse: Metro List Response
func (*MetrosListResponse) MarshalJSON ¶
func (s *MetrosListResponse) MarshalJSON() ([]byte, error)
type MetrosService ¶
type MetrosService struct {
// contains filtered or unexported fields
}
func NewMetrosService ¶
func NewMetrosService(s *Service) *MetrosService
func (*MetrosService) List ¶
func (r *MetrosService) List(profileId int64) *MetrosListCall
List: Retrieves a list of metros.
type MobileCarrier ¶
type MobileCarrier struct { // CountryCode: Country code of the country to which this mobile carrier // belongs. CountryCode string `json:"countryCode,omitempty"` // CountryDartId: DART ID of the country to which this mobile carrier // belongs. CountryDartId int64 `json:"countryDartId,omitempty,string"` // Id: ID of this mobile carrier. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#mobileCarrier". Kind string `json:"kind,omitempty"` // Name: Name of this mobile carrier. 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. "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:"-"` }
MobileCarrier: Contains information about a mobile carrier that can be targeted by ads.
func (*MobileCarrier) MarshalJSON ¶
func (s *MobileCarrier) MarshalJSON() ([]byte, error)
type MobileCarriersGetCall ¶
type MobileCarriersGetCall struct {
// contains filtered or unexported fields
}
func (*MobileCarriersGetCall) Context ¶
func (c *MobileCarriersGetCall) Context(ctx context.Context) *MobileCarriersGetCall
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 (*MobileCarriersGetCall) Do ¶
func (c *MobileCarriersGetCall) Do() (*MobileCarrier, error)
Do executes the "dfareporting.mobileCarriers.get" call. Exactly one of *MobileCarrier or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MobileCarrier.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 (*MobileCarriersGetCall) Fields ¶
func (c *MobileCarriersGetCall) Fields(s ...googleapi.Field) *MobileCarriersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MobileCarriersGetCall) IfNoneMatch ¶
func (c *MobileCarriersGetCall) IfNoneMatch(entityTag string) *MobileCarriersGetCall
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 (*MobileCarriersGetCall) QuotaUser ¶
func (c *MobileCarriersGetCall) QuotaUser(quotaUser string) *MobileCarriersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MobileCarriersGetCall) UserIP ¶
func (c *MobileCarriersGetCall) UserIP(userIP string) *MobileCarriersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MobileCarriersListCall ¶
type MobileCarriersListCall struct {
// contains filtered or unexported fields
}
func (*MobileCarriersListCall) Context ¶
func (c *MobileCarriersListCall) Context(ctx context.Context) *MobileCarriersListCall
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 (*MobileCarriersListCall) Do ¶
func (c *MobileCarriersListCall) Do() (*MobileCarriersListResponse, error)
Do executes the "dfareporting.mobileCarriers.list" call. Exactly one of *MobileCarriersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MobileCarriersListResponse.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 (*MobileCarriersListCall) Fields ¶
func (c *MobileCarriersListCall) Fields(s ...googleapi.Field) *MobileCarriersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MobileCarriersListCall) IfNoneMatch ¶
func (c *MobileCarriersListCall) IfNoneMatch(entityTag string) *MobileCarriersListCall
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 (*MobileCarriersListCall) QuotaUser ¶
func (c *MobileCarriersListCall) QuotaUser(quotaUser string) *MobileCarriersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MobileCarriersListCall) UserIP ¶
func (c *MobileCarriersListCall) UserIP(userIP string) *MobileCarriersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MobileCarriersListResponse ¶
type MobileCarriersListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#mobileCarriersListResponse". Kind string `json:"kind,omitempty"` // MobileCarriers: Mobile carrier collection. MobileCarriers []*MobileCarrier `json:"mobileCarriers,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
MobileCarriersListResponse: Mobile Carrier List Response
func (*MobileCarriersListResponse) MarshalJSON ¶
func (s *MobileCarriersListResponse) MarshalJSON() ([]byte, error)
type MobileCarriersService ¶
type MobileCarriersService struct {
// contains filtered or unexported fields
}
func NewMobileCarriersService ¶
func NewMobileCarriersService(s *Service) *MobileCarriersService
func (*MobileCarriersService) Get ¶
func (r *MobileCarriersService) Get(profileId int64, id int64) *MobileCarriersGetCall
Get: Gets one mobile carrier by ID.
func (*MobileCarriersService) List ¶
func (r *MobileCarriersService) List(profileId int64) *MobileCarriersListCall
List: Retrieves a list of mobile carriers.
type ObjectFilter ¶
type ObjectFilter struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#objectFilter". Kind string `json:"kind,omitempty"` // ObjectIds: Applicable when status is ASSIGNED. The user has access to // objects with these object IDs. ObjectIds googleapi.Int64s `json:"objectIds,omitempty"` // Status: Status of the filter. NONE means the user has access to none // of the objects. ALL means the user has access to all objects. // ASSIGNED means the user has access to the objects with IDs in the // objectIds list. // // Possible values: // "ALL" // "ASSIGNED" // "NONE" Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
ObjectFilter: Object Filter.
func (*ObjectFilter) MarshalJSON ¶
func (s *ObjectFilter) MarshalJSON() ([]byte, error)
type OffsetPosition ¶
type OffsetPosition struct { // Left: Offset distance from left side of an asset or a window. Left int64 `json:"left,omitempty"` // Top: Offset distance from top side of an asset or a window. Top int64 `json:"top,omitempty"` // ForceSendFields is a list of field names (e.g. "Left") 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:"-"` }
OffsetPosition: Offset Position.
func (*OffsetPosition) MarshalJSON ¶
func (s *OffsetPosition) MarshalJSON() ([]byte, error)
type OmnitureSettings ¶
type OmnitureSettings struct { // OmnitureCostDataEnabled: Whether placement cost data will be sent to // Omniture. This property can be enabled only if // omnitureIntegrationEnabled is true. OmnitureCostDataEnabled bool `json:"omnitureCostDataEnabled,omitempty"` // OmnitureIntegrationEnabled: Whether Omniture integration is enabled. // This property can be enabled only when the "Advanced Ad Serving" // account setting is enabled. OmnitureIntegrationEnabled bool `json:"omnitureIntegrationEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. // "OmnitureCostDataEnabled") 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:"-"` }
OmnitureSettings: Omniture Integration Settings.
func (*OmnitureSettings) MarshalJSON ¶
func (s *OmnitureSettings) MarshalJSON() ([]byte, error)
type OperatingSystem ¶
type OperatingSystem struct { // DartId: DART ID of this operating system. This is the ID used for // targeting. DartId int64 `json:"dartId,omitempty,string"` // Desktop: Whether this operating system is for desktop. Desktop bool `json:"desktop,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#operatingSystem". Kind string `json:"kind,omitempty"` // Mobile: Whether this operating system is for mobile. Mobile bool `json:"mobile,omitempty"` // Name: Name of this operating system. 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. "DartId") 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:"-"` }
OperatingSystem: Contains information about an operating system that can be targeted by ads.
func (*OperatingSystem) MarshalJSON ¶
func (s *OperatingSystem) MarshalJSON() ([]byte, error)
type OperatingSystemVersion ¶
type OperatingSystemVersion struct { // Id: ID of this operating system version. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#operatingSystemVersion". Kind string `json:"kind,omitempty"` // MajorVersion: Major version (leftmost number) of this operating // system version. MajorVersion string `json:"majorVersion,omitempty"` // MinorVersion: Minor version (number after the first dot) of this // operating system version. MinorVersion string `json:"minorVersion,omitempty"` // Name: Name of this operating system version. Name string `json:"name,omitempty"` // OperatingSystem: Operating system of this operating system version. OperatingSystem *OperatingSystem `json:"operatingSystem,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:"-"` }
OperatingSystemVersion: Contains information about a particular version of an operating system that can be targeted by ads.
func (*OperatingSystemVersion) MarshalJSON ¶
func (s *OperatingSystemVersion) MarshalJSON() ([]byte, error)
type OperatingSystemVersionsGetCall ¶
type OperatingSystemVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*OperatingSystemVersionsGetCall) Context ¶
func (c *OperatingSystemVersionsGetCall) Context(ctx context.Context) *OperatingSystemVersionsGetCall
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 (*OperatingSystemVersionsGetCall) Do ¶
func (c *OperatingSystemVersionsGetCall) Do() (*OperatingSystemVersion, error)
Do executes the "dfareporting.operatingSystemVersions.get" call. Exactly one of *OperatingSystemVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperatingSystemVersion.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 (*OperatingSystemVersionsGetCall) Fields ¶
func (c *OperatingSystemVersionsGetCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OperatingSystemVersionsGetCall) IfNoneMatch ¶
func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall
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 (*OperatingSystemVersionsGetCall) QuotaUser ¶
func (c *OperatingSystemVersionsGetCall) QuotaUser(quotaUser string) *OperatingSystemVersionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OperatingSystemVersionsGetCall) UserIP ¶
func (c *OperatingSystemVersionsGetCall) UserIP(userIP string) *OperatingSystemVersionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OperatingSystemVersionsListCall ¶
type OperatingSystemVersionsListCall struct {
// contains filtered or unexported fields
}
func (*OperatingSystemVersionsListCall) Context ¶
func (c *OperatingSystemVersionsListCall) Context(ctx context.Context) *OperatingSystemVersionsListCall
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 (*OperatingSystemVersionsListCall) Do ¶
func (c *OperatingSystemVersionsListCall) Do() (*OperatingSystemVersionsListResponse, error)
Do executes the "dfareporting.operatingSystemVersions.list" call. Exactly one of *OperatingSystemVersionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperatingSystemVersionsListResponse.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 (*OperatingSystemVersionsListCall) Fields ¶
func (c *OperatingSystemVersionsListCall) Fields(s ...googleapi.Field) *OperatingSystemVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OperatingSystemVersionsListCall) IfNoneMatch ¶
func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall
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 (*OperatingSystemVersionsListCall) QuotaUser ¶
func (c *OperatingSystemVersionsListCall) QuotaUser(quotaUser string) *OperatingSystemVersionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OperatingSystemVersionsListCall) UserIP ¶
func (c *OperatingSystemVersionsListCall) UserIP(userIP string) *OperatingSystemVersionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OperatingSystemVersionsListResponse ¶
type OperatingSystemVersionsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#operatingSystemVersionsListResponse". Kind string `json:"kind,omitempty"` // OperatingSystemVersions: Operating system version collection. OperatingSystemVersions []*OperatingSystemVersion `json:"operatingSystemVersions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
OperatingSystemVersionsListResponse: Operating System Version List Response
func (*OperatingSystemVersionsListResponse) MarshalJSON ¶
func (s *OperatingSystemVersionsListResponse) MarshalJSON() ([]byte, error)
type OperatingSystemVersionsService ¶
type OperatingSystemVersionsService struct {
// contains filtered or unexported fields
}
func NewOperatingSystemVersionsService ¶
func NewOperatingSystemVersionsService(s *Service) *OperatingSystemVersionsService
func (*OperatingSystemVersionsService) Get ¶
func (r *OperatingSystemVersionsService) Get(profileId int64, id int64) *OperatingSystemVersionsGetCall
Get: Gets one operating system version by ID.
func (*OperatingSystemVersionsService) List ¶
func (r *OperatingSystemVersionsService) List(profileId int64) *OperatingSystemVersionsListCall
List: Retrieves a list of operating system versions.
type OperatingSystemsGetCall ¶
type OperatingSystemsGetCall struct {
// contains filtered or unexported fields
}
func (*OperatingSystemsGetCall) Context ¶
func (c *OperatingSystemsGetCall) Context(ctx context.Context) *OperatingSystemsGetCall
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 (*OperatingSystemsGetCall) Do ¶
func (c *OperatingSystemsGetCall) Do() (*OperatingSystem, error)
Do executes the "dfareporting.operatingSystems.get" call. Exactly one of *OperatingSystem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperatingSystem.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 (*OperatingSystemsGetCall) Fields ¶
func (c *OperatingSystemsGetCall) Fields(s ...googleapi.Field) *OperatingSystemsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OperatingSystemsGetCall) IfNoneMatch ¶
func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall
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 (*OperatingSystemsGetCall) QuotaUser ¶
func (c *OperatingSystemsGetCall) QuotaUser(quotaUser string) *OperatingSystemsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OperatingSystemsGetCall) UserIP ¶
func (c *OperatingSystemsGetCall) UserIP(userIP string) *OperatingSystemsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OperatingSystemsListCall ¶
type OperatingSystemsListCall struct {
// contains filtered or unexported fields
}
func (*OperatingSystemsListCall) Context ¶
func (c *OperatingSystemsListCall) Context(ctx context.Context) *OperatingSystemsListCall
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 (*OperatingSystemsListCall) Do ¶
func (c *OperatingSystemsListCall) Do() (*OperatingSystemsListResponse, error)
Do executes the "dfareporting.operatingSystems.list" call. Exactly one of *OperatingSystemsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperatingSystemsListResponse.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 (*OperatingSystemsListCall) Fields ¶
func (c *OperatingSystemsListCall) Fields(s ...googleapi.Field) *OperatingSystemsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OperatingSystemsListCall) IfNoneMatch ¶
func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall
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 (*OperatingSystemsListCall) QuotaUser ¶
func (c *OperatingSystemsListCall) QuotaUser(quotaUser string) *OperatingSystemsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OperatingSystemsListCall) UserIP ¶
func (c *OperatingSystemsListCall) UserIP(userIP string) *OperatingSystemsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OperatingSystemsListResponse ¶
type OperatingSystemsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#operatingSystemsListResponse". Kind string `json:"kind,omitempty"` // OperatingSystems: Operating system collection. OperatingSystems []*OperatingSystem `json:"operatingSystems,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
OperatingSystemsListResponse: Operating System List Response
func (*OperatingSystemsListResponse) MarshalJSON ¶
func (s *OperatingSystemsListResponse) MarshalJSON() ([]byte, error)
type OperatingSystemsService ¶
type OperatingSystemsService struct {
// contains filtered or unexported fields
}
func NewOperatingSystemsService ¶
func NewOperatingSystemsService(s *Service) *OperatingSystemsService
func (*OperatingSystemsService) Get ¶
func (r *OperatingSystemsService) Get(profileId int64, dartId int64) *OperatingSystemsGetCall
Get: Gets one operating system by DART ID.
func (*OperatingSystemsService) List ¶
func (r *OperatingSystemsService) List(profileId int64) *OperatingSystemsListCall
List: Retrieves a list of operating systems.
type OptimizationActivity ¶
type OptimizationActivity struct { // FloodlightActivityId: Floodlight activity ID of this optimization // activity. This is a required field. FloodlightActivityId int64 `json:"floodlightActivityId,omitempty,string"` // FloodlightActivityIdDimensionValue: Dimension value for the ID of the // floodlight activity. This is a read-only, auto-generated field. FloodlightActivityIdDimensionValue *DimensionValue `json:"floodlightActivityIdDimensionValue,omitempty"` // Weight: Weight associated with this optimization. Must be greater // than 1. The weight assigned will be understood in proportion to the // weights assigned to the other optimization activities. Weight int64 `json:"weight,omitempty"` // ForceSendFields is a list of field names (e.g. // "FloodlightActivityId") 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:"-"` }
OptimizationActivity: Creative optimization activity.
func (*OptimizationActivity) MarshalJSON ¶
func (s *OptimizationActivity) MarshalJSON() ([]byte, error)
type Order ¶
type Order struct { // AccountId: Account ID of this order. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this order. AdvertiserId int64 `json:"advertiserId,omitempty,string"` // ApproverUserProfileIds: IDs for users that have to approve documents // created for this order. ApproverUserProfileIds googleapi.Int64s `json:"approverUserProfileIds,omitempty"` // BuyerInvoiceId: Buyer invoice ID associated with this order. BuyerInvoiceId string `json:"buyerInvoiceId,omitempty"` // BuyerOrganizationName: Name of the buyer organization. BuyerOrganizationName string `json:"buyerOrganizationName,omitempty"` // Comments: Comments in this order. Comments string `json:"comments,omitempty"` // Contacts: Contacts for this order. Contacts []*OrderContact `json:"contacts,omitempty"` // Id: ID of this order. 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#order". Kind string `json:"kind,omitempty"` // LastModifiedInfo: Information about the most recent modification of // this order. LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"` // Name: Name of this order. Name string `json:"name,omitempty"` // Notes: Notes of this order. Notes string `json:"notes,omitempty"` // PlanningTermId: ID of the terms and conditions template used in this // order. PlanningTermId int64 `json:"planningTermId,omitempty,string"` // ProjectId: Project ID of this order. ProjectId int64 `json:"projectId,omitempty,string"` // SellerOrderId: Seller order ID associated with this order. SellerOrderId string `json:"sellerOrderId,omitempty"` // SellerOrganizationName: Name of the seller organization. SellerOrganizationName string `json:"sellerOrganizationName,omitempty"` // SiteId: Site IDs this order is associated with. SiteId googleapi.Int64s `json:"siteId,omitempty"` // SiteNames: Free-form site names this order is associated with. SiteNames []string `json:"siteNames,omitempty"` // SubaccountId: Subaccount ID of this order. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TermsAndConditions: Terms and conditions of this order. TermsAndConditions string `json:"termsAndConditions,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:"-"` }
Order: Describes properties of a DoubleClick Planning order.
func (*Order) MarshalJSON ¶
type OrderContact ¶
type OrderContact struct { // ContactInfo: Free-form information about this contact. It could be // any information related to this contact in addition to type, title, // name, and signature user profile ID. ContactInfo string `json:"contactInfo,omitempty"` // ContactName: Name of this contact. ContactName string `json:"contactName,omitempty"` // ContactTitle: Title of this contact. ContactTitle string `json:"contactTitle,omitempty"` // ContactType: Type of this contact. // // Possible values: // "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT" // "PLANNING_ORDER_CONTACT_BUYER_CONTACT" // "PLANNING_ORDER_CONTACT_SELLER_CONTACT" ContactType string `json:"contactType,omitempty"` // SignatureUserProfileId: ID of the user profile containing the // signature that will be embedded into order documents. SignatureUserProfileId int64 `json:"signatureUserProfileId,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ContactInfo") 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:"-"` }
OrderContact: Contact of an order.
func (*OrderContact) MarshalJSON ¶
func (s *OrderContact) MarshalJSON() ([]byte, error)
type OrderDocument ¶
type OrderDocument struct { // AccountId: Account ID of this order document. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this order document. AdvertiserId int64 `json:"advertiserId,omitempty,string"` // AmendedOrderDocumentId: The amended order document ID of this order // document. An order document can be created by optionally amending // another order document so that the change history can be preserved. AmendedOrderDocumentId int64 `json:"amendedOrderDocumentId,omitempty,string"` // ApprovedByUserProfileIds: IDs of users who have approved this order // document. ApprovedByUserProfileIds googleapi.Int64s `json:"approvedByUserProfileIds,omitempty"` // Cancelled: Whether this order document is cancelled. Cancelled bool `json:"cancelled,omitempty"` // CreatedInfo: Information about the creation of this order document. CreatedInfo *LastModifiedInfo `json:"createdInfo,omitempty"` // EffectiveDate: Effective date of this order document. EffectiveDate string `json:"effectiveDate,omitempty"` // Id: ID of this order document. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#orderDocument". Kind string `json:"kind,omitempty"` // OrderId: ID of the order from which this order document is created. OrderId int64 `json:"orderId,omitempty,string"` // ProjectId: Project ID of this order document. ProjectId int64 `json:"projectId,omitempty,string"` // Signed: Whether this order document has been signed. Signed bool `json:"signed,omitempty"` // SubaccountId: Subaccount ID of this order document. SubaccountId int64 `json:"subaccountId,omitempty,string"` // Title: Title of this order document. Title string `json:"title,omitempty"` // Type: Type of this order document // // Possible values: // "PLANNING_ORDER_TYPE_CHANGE_ORDER" // "PLANNING_ORDER_TYPE_INSERTION_ORDER" 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:"-"` }
OrderDocument: Contains properties of a DoubleClick Planning order document.
func (*OrderDocument) MarshalJSON ¶
func (s *OrderDocument) MarshalJSON() ([]byte, error)
type OrderDocumentsGetCall ¶
type OrderDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*OrderDocumentsGetCall) Context ¶
func (c *OrderDocumentsGetCall) Context(ctx context.Context) *OrderDocumentsGetCall
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 (*OrderDocumentsGetCall) Do ¶
func (c *OrderDocumentsGetCall) Do() (*OrderDocument, error)
Do executes the "dfareporting.orderDocuments.get" call. Exactly one of *OrderDocument or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OrderDocument.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 (*OrderDocumentsGetCall) Fields ¶
func (c *OrderDocumentsGetCall) Fields(s ...googleapi.Field) *OrderDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OrderDocumentsGetCall) IfNoneMatch ¶
func (c *OrderDocumentsGetCall) IfNoneMatch(entityTag string) *OrderDocumentsGetCall
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 (*OrderDocumentsGetCall) QuotaUser ¶
func (c *OrderDocumentsGetCall) QuotaUser(quotaUser string) *OrderDocumentsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OrderDocumentsGetCall) UserIP ¶
func (c *OrderDocumentsGetCall) UserIP(userIP string) *OrderDocumentsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OrderDocumentsListCall ¶
type OrderDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*OrderDocumentsListCall) Approved ¶
func (c *OrderDocumentsListCall) Approved(approved bool) *OrderDocumentsListCall
Approved sets the optional parameter "approved": Select only order documents that have been approved by at least one user.
func (*OrderDocumentsListCall) Context ¶
func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall
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 (*OrderDocumentsListCall) Do ¶
func (c *OrderDocumentsListCall) Do() (*OrderDocumentsListResponse, error)
Do executes the "dfareporting.orderDocuments.list" call. Exactly one of *OrderDocumentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OrderDocumentsListResponse.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 (*OrderDocumentsListCall) Fields ¶
func (c *OrderDocumentsListCall) Fields(s ...googleapi.Field) *OrderDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OrderDocumentsListCall) Ids ¶
func (c *OrderDocumentsListCall) Ids(ids ...int64) *OrderDocumentsListCall
Ids sets the optional parameter "ids": Select only order documents with these IDs.
func (*OrderDocumentsListCall) IfNoneMatch ¶
func (c *OrderDocumentsListCall) IfNoneMatch(entityTag string) *OrderDocumentsListCall
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 (*OrderDocumentsListCall) MaxResults ¶
func (c *OrderDocumentsListCall) MaxResults(maxResults int64) *OrderDocumentsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*OrderDocumentsListCall) OrderId ¶
func (c *OrderDocumentsListCall) OrderId(orderId ...int64) *OrderDocumentsListCall
OrderId sets the optional parameter "orderId": Select only order documents for specified orders.
func (*OrderDocumentsListCall) PageToken ¶
func (c *OrderDocumentsListCall) PageToken(pageToken string) *OrderDocumentsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*OrderDocumentsListCall) QuotaUser ¶
func (c *OrderDocumentsListCall) QuotaUser(quotaUser string) *OrderDocumentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OrderDocumentsListCall) SearchString ¶
func (c *OrderDocumentsListCall) SearchString(searchString string) *OrderDocumentsListCall
SearchString sets the optional parameter "searchString": Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 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 "orderdocument" will match order documents with name "my orderdocument", "orderdocument 2015", or simply "orderdocument".
func (*OrderDocumentsListCall) SiteId ¶
func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
SiteId sets the optional parameter "siteId": Select only order documents that are associated with these sites.
func (*OrderDocumentsListCall) SortField ¶
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*OrderDocumentsListCall) SortOrder ¶
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*OrderDocumentsListCall) UserIP ¶
func (c *OrderDocumentsListCall) UserIP(userIP string) *OrderDocumentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OrderDocumentsListResponse ¶
type OrderDocumentsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#orderDocumentsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // OrderDocuments: Order document collection OrderDocuments []*OrderDocument `json:"orderDocuments,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
OrderDocumentsListResponse: Order document List Response
func (*OrderDocumentsListResponse) MarshalJSON ¶
func (s *OrderDocumentsListResponse) MarshalJSON() ([]byte, error)
type OrderDocumentsService ¶
type OrderDocumentsService struct {
// contains filtered or unexported fields
}
func NewOrderDocumentsService ¶
func NewOrderDocumentsService(s *Service) *OrderDocumentsService
func (*OrderDocumentsService) Get ¶
func (r *OrderDocumentsService) Get(profileId int64, projectId int64, id int64) *OrderDocumentsGetCall
Get: Gets one order document by ID.
func (*OrderDocumentsService) List ¶
func (r *OrderDocumentsService) List(profileId int64, projectId int64) *OrderDocumentsListCall
List: Retrieves a list of order documents, possibly filtered.
type OrdersGetCall ¶
type OrdersGetCall struct {
// contains filtered or unexported fields
}
func (*OrdersGetCall) Context ¶
func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall
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 (*OrdersGetCall) Do ¶
func (c *OrdersGetCall) Do() (*Order, error)
Do executes the "dfareporting.orders.get" call. Exactly one of *Order or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Order.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 (*OrdersGetCall) Fields ¶
func (c *OrdersGetCall) Fields(s ...googleapi.Field) *OrdersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OrdersGetCall) IfNoneMatch ¶
func (c *OrdersGetCall) IfNoneMatch(entityTag string) *OrdersGetCall
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 (*OrdersGetCall) QuotaUser ¶
func (c *OrdersGetCall) QuotaUser(quotaUser string) *OrdersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OrdersGetCall) UserIP ¶
func (c *OrdersGetCall) UserIP(userIP string) *OrdersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OrdersListCall ¶
type OrdersListCall struct {
// contains filtered or unexported fields
}
func (*OrdersListCall) Context ¶
func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall
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 (*OrdersListCall) Do ¶
func (c *OrdersListCall) Do() (*OrdersListResponse, error)
Do executes the "dfareporting.orders.list" call. Exactly one of *OrdersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OrdersListResponse.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 (*OrdersListCall) Fields ¶
func (c *OrdersListCall) Fields(s ...googleapi.Field) *OrdersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*OrdersListCall) Ids ¶
func (c *OrdersListCall) Ids(ids ...int64) *OrdersListCall
Ids sets the optional parameter "ids": Select only orders with these IDs.
func (*OrdersListCall) IfNoneMatch ¶
func (c *OrdersListCall) IfNoneMatch(entityTag string) *OrdersListCall
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 (*OrdersListCall) MaxResults ¶
func (c *OrdersListCall) MaxResults(maxResults int64) *OrdersListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*OrdersListCall) PageToken ¶
func (c *OrdersListCall) PageToken(pageToken string) *OrdersListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*OrdersListCall) QuotaUser ¶
func (c *OrdersListCall) QuotaUser(quotaUser string) *OrdersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*OrdersListCall) SearchString ¶
func (c *OrdersListCall) SearchString(searchString string) *OrdersListCall
SearchString sets the optional parameter "searchString": Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, "order*2015" will return orders with names like "order June 2015", "order April 2015", or simply "order 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 "order" will match orders with name "my order", "order 2015", or simply "order".
func (*OrdersListCall) SiteId ¶
func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall
SiteId sets the optional parameter "siteId": Select only orders that are associated with these site IDs.
func (*OrdersListCall) SortField ¶
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*OrdersListCall) SortOrder ¶
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*OrdersListCall) UserIP ¶
func (c *OrdersListCall) UserIP(userIP string) *OrdersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type OrdersListResponse ¶
type OrdersListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#ordersListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // Orders: Order collection. Orders []*Order `json:"orders,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
OrdersListResponse: Order List Response
func (*OrdersListResponse) MarshalJSON ¶
func (s *OrdersListResponse) MarshalJSON() ([]byte, error)
type OrdersService ¶
type OrdersService struct {
// contains filtered or unexported fields
}
func NewOrdersService ¶
func NewOrdersService(s *Service) *OrdersService
func (*OrdersService) Get ¶
func (r *OrdersService) Get(profileId int64, projectId int64, id int64) *OrdersGetCall
Get: Gets one order by ID.
func (*OrdersService) List ¶
func (r *OrdersService) List(profileId int64, projectId int64) *OrdersListCall
List: Retrieves a list of orders, possibly filtered.
type PathToConversionReportCompatibleFields ¶
type PathToConversionReportCompatibleFields struct { // ConversionDimensions: Conversion dimensions which are compatible to // be selected in the "conversionDimensions" section of the report. ConversionDimensions []*Dimension `json:"conversionDimensions,omitempty"` // CustomFloodlightVariables: Custom floodlight variables which are // compatible to be selected in the "customFloodlightVariables" section // of the report. CustomFloodlightVariables []*Dimension `json:"customFloodlightVariables,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#pathToConversionReportCompatibleFields. Kind string `json:"kind,omitempty"` // Metrics: Metrics which are compatible to be selected in the // "metricNames" section of the report. Metrics []*Metric `json:"metrics,omitempty"` // PerInteractionDimensions: Per-interaction dimensions which are // compatible to be selected in the "perInteractionDimensions" section // of the report. PerInteractionDimensions []*Dimension `json:"perInteractionDimensions,omitempty"` // ForceSendFields is a list of field names (e.g. // "ConversionDimensions") 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:"-"` }
PathToConversionReportCompatibleFields: Represents fields that are compatible to be selected for a report of type "PATH_TO_CONVERSION".
func (*PathToConversionReportCompatibleFields) MarshalJSON ¶
func (s *PathToConversionReportCompatibleFields) MarshalJSON() ([]byte, error)
type Placement ¶
type Placement struct { // AccountId: Account ID of this placement. This field can be left // blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this placement. This field can be left // blank. 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 placement is archived. Archived bool `json:"archived,omitempty"` // CampaignId: Campaign ID of this placement. This field 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"` // Comment: Comments for this placement. Comment string `json:"comment,omitempty"` // Compatibility: Placement compatibility. WEB and WEB_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 in // in-stream video ads developed with the VAST standard. This field is // required on insertion. // // Possible values: // "APP" // "APP_INTERSTITIAL" // "IN_STREAM_VIDEO" // "WEB" // "WEB_INTERSTITIAL" Compatibility string `json:"compatibility,omitempty"` // ContentCategoryId: ID of the content category assigned to this // placement. ContentCategoryId int64 `json:"contentCategoryId,omitempty,string"` // CreateInfo: Information about the creation of this placement. This is // a read-only field. CreateInfo *LastModifiedInfo `json:"createInfo,omitempty"` // DirectorySiteId: Directory site ID of this placement. On insert, you // must set either this field or the siteId field to specify the site // associated with this placement. This is a required field that is // read-only after insertion. DirectorySiteId int64 `json:"directorySiteId,omitempty,string"` // DirectorySiteIdDimensionValue: Dimension value for the ID of the // directory site. This is a read-only, auto-generated field. DirectorySiteIdDimensionValue *DimensionValue `json:"directorySiteIdDimensionValue,omitempty"` // ExternalId: External ID for this placement. ExternalId string `json:"externalId,omitempty"` // Id: ID of this placement. This is a read-only, auto-generated field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this placement. This // is a read-only, auto-generated field. IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"` // KeyName: Key name of this placement. This is a read-only, // auto-generated field. KeyName string `json:"keyName,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#placement". Kind string `json:"kind,omitempty"` // LastModifiedInfo: Information about the most recent modification of // this placement. This is a read-only field. LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"` // LookbackConfiguration: Lookback window settings for this placement. LookbackConfiguration *LookbackConfiguration `json:"lookbackConfiguration,omitempty"` // Name: Name of this placement.This is a required field and must be // less than 256 characters long. Name string `json:"name,omitempty"` // PaymentApproved: Whether payment was approved for this placement. // This is a read-only field relevant only to publisher-paid placements. PaymentApproved bool `json:"paymentApproved,omitempty"` // PaymentSource: Payment source for this placement. This is a required // field that is read-only after insertion. // // Possible values: // "PLACEMENT_AGENCY_PAID" // "PLACEMENT_PUBLISHER_PAID" PaymentSource string `json:"paymentSource,omitempty"` // PlacementGroupId: ID of this placement's group, if applicable. PlacementGroupId int64 `json:"placementGroupId,omitempty,string"` // PlacementGroupIdDimensionValue: Dimension value for the ID of the // placement group. This is a read-only, auto-generated field. PlacementGroupIdDimensionValue *DimensionValue `json:"placementGroupIdDimensionValue,omitempty"` // PlacementStrategyId: ID of the placement strategy assigned to this // placement. PlacementStrategyId int64 `json:"placementStrategyId,omitempty,string"` // PricingSchedule: Pricing schedule of this placement. This field is // required on insertion, specifically subfields startDate, endDate and // pricingType. PricingSchedule *PricingSchedule `json:"pricingSchedule,omitempty"` // Primary: Whether this placement is the primary placement of a // roadblock (placement group). You cannot change this field from true // to false. Setting this field to true will automatically set the // primary field on the original primary placement of the roadblock to // false, and it will automatically set the roadblock's // primaryPlacementId field to the ID of this placement. Primary bool `json:"primary,omitempty"` // PublisherUpdateInfo: Information about the last publisher update. // This is a read-only field. PublisherUpdateInfo *LastModifiedInfo `json:"publisherUpdateInfo,omitempty"` // SiteId: Site ID associated with this placement. On insert, you must // set either this field or the directorySiteId field to specify the // site associated with this placement. This is a required field that is // read-only after insertion. SiteId int64 `json:"siteId,omitempty,string"` // SiteIdDimensionValue: Dimension value for the ID of the site. This is // a read-only, auto-generated field. SiteIdDimensionValue *DimensionValue `json:"siteIdDimensionValue,omitempty"` // Size: Size associated with this placement. When inserting or updating // a placement, only the size ID field is used. This field is required // on insertion. Size *Size `json:"size,omitempty"` // SslRequired: Whether creatives assigned to this placement must be // SSL-compliant. SslRequired bool `json:"sslRequired,omitempty"` // Status: Third-party placement status. // // Possible values: // "ACKNOWLEDGE_ACCEPTANCE" // "ACKNOWLEDGE_REJECTION" // "DRAFT" // "PAYMENT_ACCEPTED" // "PAYMENT_REJECTED" // "PENDING_REVIEW" Status string `json:"status,omitempty"` // SubaccountId: Subaccount ID of this placement. This field can be left // blank. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TagFormats: Tag formats to generate for this placement. This field is // required on insertion. // Acceptable values are: // - "PLACEMENT_TAG_STANDARD" // - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" // - "PLACEMENT_TAG_IFRAME_ILAYER" // - "PLACEMENT_TAG_INTERNAL_REDIRECT" // - "PLACEMENT_TAG_JAVASCRIPT" // - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" // - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" // - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" // - "PLACEMENT_TAG_CLICK_COMMANDS" // - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" // - "PLACEMENT_TAG_TRACKING" // - "PLACEMENT_TAG_TRACKING_IFRAME" // - "PLACEMENT_TAG_TRACKING_JAVASCRIPT" // // Possible values: // "PLACEMENT_TAG_CLICK_COMMANDS" // "PLACEMENT_TAG_IFRAME_ILAYER" // "PLACEMENT_TAG_IFRAME_JAVASCRIPT" // "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" // "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" // "PLACEMENT_TAG_INTERNAL_REDIRECT" // "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" // "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" // "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" // "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_JAVASCRIPT" // "PLACEMENT_TAG_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_STANDARD" // "PLACEMENT_TAG_TRACKING" // "PLACEMENT_TAG_TRACKING_IFRAME" // "PLACEMENT_TAG_TRACKING_JAVASCRIPT" TagFormats []string `json:"tagFormats,omitempty"` // TagSetting: Tag settings for this placement. TagSetting *TagSetting `json:"tagSetting,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:"-"` }
Placement: Contains properties of a placement.
func (*Placement) MarshalJSON ¶
type PlacementAssignment ¶
type PlacementAssignment struct { // Active: Whether this placement assignment is active. When true, the // placement will be included in the ad's rotation. Active bool `json:"active,omitempty"` // PlacementId: ID of the placement to be assigned. This is a required // field. PlacementId int64 `json:"placementId,omitempty,string"` // PlacementIdDimensionValue: Dimension value for the ID of the // placement. This is a read-only, auto-generated field. PlacementIdDimensionValue *DimensionValue `json:"placementIdDimensionValue,omitempty"` // SslRequired: Whether the placement to be assigned requires SSL. This // is a read-only field that is auto-generated when the ad is inserted // or updated. SslRequired bool `json:"sslRequired,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:"-"` }
PlacementAssignment: Placement Assignment.
func (*PlacementAssignment) MarshalJSON ¶
func (s *PlacementAssignment) MarshalJSON() ([]byte, error)
type PlacementGroup ¶
type PlacementGroup struct { // AccountId: Account ID of this placement group. This is a read-only // field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this placement group. 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 placement group is archived. Archived bool `json:"archived,omitempty"` // CampaignId: Campaign ID of this placement group. This field is // required 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"` // ChildPlacementIds: IDs of placements which are assigned to this // placement group. This is a read-only, auto-generated field. ChildPlacementIds googleapi.Int64s `json:"childPlacementIds,omitempty"` // Comment: Comments for this placement group. Comment string `json:"comment,omitempty"` // ContentCategoryId: ID of the content category assigned to this // placement group. ContentCategoryId int64 `json:"contentCategoryId,omitempty,string"` // CreateInfo: Information about the creation of this placement group. // This is a read-only field. CreateInfo *LastModifiedInfo `json:"createInfo,omitempty"` // DirectorySiteId: Directory site ID associated with this placement // group. On insert, you must set either this field or the site_id field // to specify the site associated with this placement group. This is a // required field that is read-only after insertion. DirectorySiteId int64 `json:"directorySiteId,omitempty,string"` // DirectorySiteIdDimensionValue: Dimension value for the ID of the // directory site. This is a read-only, auto-generated field. DirectorySiteIdDimensionValue *DimensionValue `json:"directorySiteIdDimensionValue,omitempty"` // ExternalId: External ID for this placement. ExternalId string `json:"externalId,omitempty"` // Id: ID of this placement group. This is a read-only, auto-generated // field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this placement group. // 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#placementGroup". Kind string `json:"kind,omitempty"` // LastModifiedInfo: Information about the most recent modification of // this placement group. This is a read-only field. LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"` // Name: Name of this placement group. This is a required field and must // be less than 256 characters long. Name string `json:"name,omitempty"` // PlacementGroupType: Type of this placement group. A package is a // simple group of placements that acts as a single pricing point for a // group of tags. A roadblock is a group of placements that not only // acts as a single pricing point, but also assumes that all the tags in // it will be served at the same time. A roadblock requires one of its // assigned placements to be marked as primary for reporting. This field // is required on insertion. // // Possible values: // "PLACEMENT_PACKAGE" // "PLACEMENT_ROADBLOCK" PlacementGroupType string `json:"placementGroupType,omitempty"` // PlacementStrategyId: ID of the placement strategy assigned to this // placement group. PlacementStrategyId int64 `json:"placementStrategyId,omitempty,string"` // PricingSchedule: Pricing schedule of this placement group. This field // is required on insertion. PricingSchedule *PricingSchedule `json:"pricingSchedule,omitempty"` // PrimaryPlacementId: ID of the primary placement, used to calculate // the media cost of a roadblock (placement group). Modifying this field // will automatically modify the primary field on all affected roadblock // child placements. PrimaryPlacementId int64 `json:"primaryPlacementId,omitempty,string"` // PrimaryPlacementIdDimensionValue: Dimension value for the ID of the // primary placement. This is a read-only, auto-generated field. PrimaryPlacementIdDimensionValue *DimensionValue `json:"primaryPlacementIdDimensionValue,omitempty"` // ProgrammaticSetting: Settings for a programmatic placement. ProgrammaticSetting *ProgrammaticSetting `json:"programmaticSetting,omitempty"` // SiteId: Site ID associated with this placement group. On insert, you // must set either this field or the directorySiteId field to specify // the site associated with this placement group. This is a required // field that is read-only after insertion. SiteId int64 `json:"siteId,omitempty,string"` // SiteIdDimensionValue: Dimension value for the ID of the site. This is // a read-only, auto-generated field. SiteIdDimensionValue *DimensionValue `json:"siteIdDimensionValue,omitempty"` // SubaccountId: Subaccount ID of this placement group. 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:"-"` }
PlacementGroup: Contains properties of a package or roadblock.
func (*PlacementGroup) MarshalJSON ¶
func (s *PlacementGroup) MarshalJSON() ([]byte, error)
type PlacementGroupsGetCall ¶
type PlacementGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*PlacementGroupsGetCall) Context ¶
func (c *PlacementGroupsGetCall) Context(ctx context.Context) *PlacementGroupsGetCall
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 (*PlacementGroupsGetCall) Do ¶
func (c *PlacementGroupsGetCall) Do() (*PlacementGroup, error)
Do executes the "dfareporting.placementGroups.get" call. Exactly one of *PlacementGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementGroup.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 (*PlacementGroupsGetCall) Fields ¶
func (c *PlacementGroupsGetCall) Fields(s ...googleapi.Field) *PlacementGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementGroupsGetCall) IfNoneMatch ¶
func (c *PlacementGroupsGetCall) IfNoneMatch(entityTag string) *PlacementGroupsGetCall
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 (*PlacementGroupsGetCall) QuotaUser ¶
func (c *PlacementGroupsGetCall) QuotaUser(quotaUser string) *PlacementGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementGroupsGetCall) UserIP ¶
func (c *PlacementGroupsGetCall) UserIP(userIP string) *PlacementGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementGroupsInsertCall ¶
type PlacementGroupsInsertCall struct {
// contains filtered or unexported fields
}
func (*PlacementGroupsInsertCall) Context ¶
func (c *PlacementGroupsInsertCall) Context(ctx context.Context) *PlacementGroupsInsertCall
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 (*PlacementGroupsInsertCall) Do ¶
func (c *PlacementGroupsInsertCall) Do() (*PlacementGroup, error)
Do executes the "dfareporting.placementGroups.insert" call. Exactly one of *PlacementGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementGroup.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 (*PlacementGroupsInsertCall) Fields ¶
func (c *PlacementGroupsInsertCall) Fields(s ...googleapi.Field) *PlacementGroupsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementGroupsInsertCall) QuotaUser ¶
func (c *PlacementGroupsInsertCall) QuotaUser(quotaUser string) *PlacementGroupsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementGroupsInsertCall) UserIP ¶
func (c *PlacementGroupsInsertCall) UserIP(userIP string) *PlacementGroupsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementGroupsListCall ¶
type PlacementGroupsListCall struct {
// contains filtered or unexported fields
}
func (*PlacementGroupsListCall) AdvertiserIds ¶
func (c *PlacementGroupsListCall) AdvertiserIds(advertiserIds ...int64) *PlacementGroupsListCall
AdvertiserIds sets the optional parameter "advertiserIds": Select only placement groups that belong to these advertisers.
func (*PlacementGroupsListCall) Archived ¶
func (c *PlacementGroupsListCall) Archived(archived bool) *PlacementGroupsListCall
Archived sets the optional parameter "archived": Select only archived placements. Don't set this field to select both archived and non-archived placements.
func (*PlacementGroupsListCall) CampaignIds ¶
func (c *PlacementGroupsListCall) CampaignIds(campaignIds ...int64) *PlacementGroupsListCall
CampaignIds sets the optional parameter "campaignIds": Select only placement groups that belong to these campaigns.
func (*PlacementGroupsListCall) ContentCategoryIds ¶
func (c *PlacementGroupsListCall) ContentCategoryIds(contentCategoryIds ...int64) *PlacementGroupsListCall
ContentCategoryIds sets the optional parameter "contentCategoryIds": Select only placement groups that are associated with these content categories.
func (*PlacementGroupsListCall) Context ¶
func (c *PlacementGroupsListCall) Context(ctx context.Context) *PlacementGroupsListCall
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 (*PlacementGroupsListCall) DirectorySiteIds ¶
func (c *PlacementGroupsListCall) DirectorySiteIds(directorySiteIds ...int64) *PlacementGroupsListCall
DirectorySiteIds sets the optional parameter "directorySiteIds": Select only placement groups that are associated with these directory sites.
func (*PlacementGroupsListCall) Do ¶
func (c *PlacementGroupsListCall) Do() (*PlacementGroupsListResponse, error)
Do executes the "dfareporting.placementGroups.list" call. Exactly one of *PlacementGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementGroupsListResponse.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 (*PlacementGroupsListCall) Fields ¶
func (c *PlacementGroupsListCall) Fields(s ...googleapi.Field) *PlacementGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementGroupsListCall) Ids ¶
func (c *PlacementGroupsListCall) Ids(ids ...int64) *PlacementGroupsListCall
Ids sets the optional parameter "ids": Select only placement groups with these IDs.
func (*PlacementGroupsListCall) IfNoneMatch ¶
func (c *PlacementGroupsListCall) IfNoneMatch(entityTag string) *PlacementGroupsListCall
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 (*PlacementGroupsListCall) MaxResults ¶
func (c *PlacementGroupsListCall) MaxResults(maxResults int64) *PlacementGroupsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*PlacementGroupsListCall) PageToken ¶
func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*PlacementGroupsListCall) PlacementGroupType ¶
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall
PlacementGroupType sets the optional parameter "placementGroupType": Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.
Possible values:
"PLACEMENT_PACKAGE" "PLACEMENT_ROADBLOCK"
func (*PlacementGroupsListCall) PlacementStrategyIds ¶
func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementGroupsListCall
PlacementStrategyIds sets the optional parameter "placementStrategyIds": Select only placement groups that are associated with these placement strategies.
func (*PlacementGroupsListCall) PricingTypes ¶
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall
PricingTypes sets the optional parameter "pricingTypes": Select only placement groups with these pricing types.
Possible values:
"PRICING_TYPE_CPA" "PRICING_TYPE_CPC" "PRICING_TYPE_CPM" "PRICING_TYPE_FLAT_RATE_CLICKS" "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (*PlacementGroupsListCall) QuotaUser ¶
func (c *PlacementGroupsListCall) QuotaUser(quotaUser string) *PlacementGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementGroupsListCall) SearchString ¶
func (c *PlacementGroupsListCall) SearchString(searchString string) *PlacementGroupsListCall
SearchString sets the optional parameter "searchString": Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placement groups with names like "placement group June 2015", "placement group May 2015", or simply "placements 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 "placementgroup" will match placement groups with name "my placementgroup", "placementgroup 2015", or simply "placementgroup".
func (*PlacementGroupsListCall) SiteIds ¶
func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsListCall
SiteIds sets the optional parameter "siteIds": Select only placement groups that are associated with these sites.
func (*PlacementGroupsListCall) SortField ¶
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*PlacementGroupsListCall) SortOrder ¶
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*PlacementGroupsListCall) UserIP ¶
func (c *PlacementGroupsListCall) UserIP(userIP string) *PlacementGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementGroupsListResponse ¶
type PlacementGroupsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#placementGroupsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // PlacementGroups: Placement group collection. PlacementGroups []*PlacementGroup `json:"placementGroups,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PlacementGroupsListResponse: Placement Group List Response
func (*PlacementGroupsListResponse) MarshalJSON ¶
func (s *PlacementGroupsListResponse) MarshalJSON() ([]byte, error)
type PlacementGroupsPatchCall ¶
type PlacementGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*PlacementGroupsPatchCall) Context ¶
func (c *PlacementGroupsPatchCall) Context(ctx context.Context) *PlacementGroupsPatchCall
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 (*PlacementGroupsPatchCall) Do ¶
func (c *PlacementGroupsPatchCall) Do() (*PlacementGroup, error)
Do executes the "dfareporting.placementGroups.patch" call. Exactly one of *PlacementGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementGroup.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 (*PlacementGroupsPatchCall) Fields ¶
func (c *PlacementGroupsPatchCall) Fields(s ...googleapi.Field) *PlacementGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementGroupsPatchCall) QuotaUser ¶
func (c *PlacementGroupsPatchCall) QuotaUser(quotaUser string) *PlacementGroupsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementGroupsPatchCall) UserIP ¶
func (c *PlacementGroupsPatchCall) UserIP(userIP string) *PlacementGroupsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementGroupsService ¶
type PlacementGroupsService struct {
// contains filtered or unexported fields
}
func NewPlacementGroupsService ¶
func NewPlacementGroupsService(s *Service) *PlacementGroupsService
func (*PlacementGroupsService) Get ¶
func (r *PlacementGroupsService) Get(profileId int64, id int64) *PlacementGroupsGetCall
Get: Gets one placement group by ID.
func (*PlacementGroupsService) Insert ¶
func (r *PlacementGroupsService) Insert(profileId int64, placementgroup *PlacementGroup) *PlacementGroupsInsertCall
Insert: Inserts a new placement group.
func (*PlacementGroupsService) List ¶
func (r *PlacementGroupsService) List(profileId int64) *PlacementGroupsListCall
List: Retrieves a list of placement groups, possibly filtered.
func (*PlacementGroupsService) Patch ¶
func (r *PlacementGroupsService) Patch(profileId int64, id int64, placementgroup *PlacementGroup) *PlacementGroupsPatchCall
Patch: Updates an existing placement group. This method supports patch semantics.
func (*PlacementGroupsService) Update ¶
func (r *PlacementGroupsService) Update(profileId int64, placementgroup *PlacementGroup) *PlacementGroupsUpdateCall
Update: Updates an existing placement group.
type PlacementGroupsUpdateCall ¶
type PlacementGroupsUpdateCall struct {
// contains filtered or unexported fields
}
func (*PlacementGroupsUpdateCall) Context ¶
func (c *PlacementGroupsUpdateCall) Context(ctx context.Context) *PlacementGroupsUpdateCall
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 (*PlacementGroupsUpdateCall) Do ¶
func (c *PlacementGroupsUpdateCall) Do() (*PlacementGroup, error)
Do executes the "dfareporting.placementGroups.update" call. Exactly one of *PlacementGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementGroup.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 (*PlacementGroupsUpdateCall) Fields ¶
func (c *PlacementGroupsUpdateCall) Fields(s ...googleapi.Field) *PlacementGroupsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementGroupsUpdateCall) QuotaUser ¶
func (c *PlacementGroupsUpdateCall) QuotaUser(quotaUser string) *PlacementGroupsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementGroupsUpdateCall) UserIP ¶
func (c *PlacementGroupsUpdateCall) UserIP(userIP string) *PlacementGroupsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesDeleteCall ¶
type PlacementStrategiesDeleteCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesDeleteCall) Context ¶
func (c *PlacementStrategiesDeleteCall) Context(ctx context.Context) *PlacementStrategiesDeleteCall
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 (*PlacementStrategiesDeleteCall) Do ¶
func (c *PlacementStrategiesDeleteCall) Do() error
Do executes the "dfareporting.placementStrategies.delete" call.
func (*PlacementStrategiesDeleteCall) Fields ¶
func (c *PlacementStrategiesDeleteCall) Fields(s ...googleapi.Field) *PlacementStrategiesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesDeleteCall) QuotaUser ¶
func (c *PlacementStrategiesDeleteCall) QuotaUser(quotaUser string) *PlacementStrategiesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesDeleteCall) UserIP ¶
func (c *PlacementStrategiesDeleteCall) UserIP(userIP string) *PlacementStrategiesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesGetCall ¶
type PlacementStrategiesGetCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesGetCall) Context ¶
func (c *PlacementStrategiesGetCall) Context(ctx context.Context) *PlacementStrategiesGetCall
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 (*PlacementStrategiesGetCall) Do ¶
func (c *PlacementStrategiesGetCall) Do() (*PlacementStrategy, error)
Do executes the "dfareporting.placementStrategies.get" call. Exactly one of *PlacementStrategy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementStrategy.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 (*PlacementStrategiesGetCall) Fields ¶
func (c *PlacementStrategiesGetCall) Fields(s ...googleapi.Field) *PlacementStrategiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesGetCall) IfNoneMatch ¶
func (c *PlacementStrategiesGetCall) IfNoneMatch(entityTag string) *PlacementStrategiesGetCall
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 (*PlacementStrategiesGetCall) QuotaUser ¶
func (c *PlacementStrategiesGetCall) QuotaUser(quotaUser string) *PlacementStrategiesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesGetCall) UserIP ¶
func (c *PlacementStrategiesGetCall) UserIP(userIP string) *PlacementStrategiesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesInsertCall ¶
type PlacementStrategiesInsertCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesInsertCall) Context ¶
func (c *PlacementStrategiesInsertCall) Context(ctx context.Context) *PlacementStrategiesInsertCall
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 (*PlacementStrategiesInsertCall) Do ¶
func (c *PlacementStrategiesInsertCall) Do() (*PlacementStrategy, error)
Do executes the "dfareporting.placementStrategies.insert" call. Exactly one of *PlacementStrategy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementStrategy.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 (*PlacementStrategiesInsertCall) Fields ¶
func (c *PlacementStrategiesInsertCall) Fields(s ...googleapi.Field) *PlacementStrategiesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesInsertCall) QuotaUser ¶
func (c *PlacementStrategiesInsertCall) QuotaUser(quotaUser string) *PlacementStrategiesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesInsertCall) UserIP ¶
func (c *PlacementStrategiesInsertCall) UserIP(userIP string) *PlacementStrategiesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesListCall ¶
type PlacementStrategiesListCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesListCall) Context ¶
func (c *PlacementStrategiesListCall) Context(ctx context.Context) *PlacementStrategiesListCall
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 (*PlacementStrategiesListCall) Do ¶
func (c *PlacementStrategiesListCall) Do() (*PlacementStrategiesListResponse, error)
Do executes the "dfareporting.placementStrategies.list" call. Exactly one of *PlacementStrategiesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementStrategiesListResponse.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 (*PlacementStrategiesListCall) Fields ¶
func (c *PlacementStrategiesListCall) Fields(s ...googleapi.Field) *PlacementStrategiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesListCall) Ids ¶
func (c *PlacementStrategiesListCall) Ids(ids ...int64) *PlacementStrategiesListCall
Ids sets the optional parameter "ids": Select only placement strategies with these IDs.
func (*PlacementStrategiesListCall) IfNoneMatch ¶
func (c *PlacementStrategiesListCall) IfNoneMatch(entityTag string) *PlacementStrategiesListCall
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 (*PlacementStrategiesListCall) MaxResults ¶
func (c *PlacementStrategiesListCall) MaxResults(maxResults int64) *PlacementStrategiesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*PlacementStrategiesListCall) PageToken ¶
func (c *PlacementStrategiesListCall) PageToken(pageToken string) *PlacementStrategiesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*PlacementStrategiesListCall) QuotaUser ¶
func (c *PlacementStrategiesListCall) QuotaUser(quotaUser string) *PlacementStrategiesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesListCall) SearchString ¶
func (c *PlacementStrategiesListCall) SearchString(searchString string) *PlacementStrategiesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "placementstrategy*2015" will return objects with names like "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 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 "placementstrategy" will match objects with name "my placementstrategy", "placementstrategy 2015", or simply "placementstrategy".
func (*PlacementStrategiesListCall) SortField ¶
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*PlacementStrategiesListCall) SortOrder ¶
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*PlacementStrategiesListCall) UserIP ¶
func (c *PlacementStrategiesListCall) UserIP(userIP string) *PlacementStrategiesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesListResponse ¶
type PlacementStrategiesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#placementStrategiesListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // PlacementStrategies: Placement strategy collection. PlacementStrategies []*PlacementStrategy `json:"placementStrategies,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PlacementStrategiesListResponse: Placement Strategy List Response
func (*PlacementStrategiesListResponse) MarshalJSON ¶
func (s *PlacementStrategiesListResponse) MarshalJSON() ([]byte, error)
type PlacementStrategiesPatchCall ¶
type PlacementStrategiesPatchCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesPatchCall) Context ¶
func (c *PlacementStrategiesPatchCall) Context(ctx context.Context) *PlacementStrategiesPatchCall
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 (*PlacementStrategiesPatchCall) Do ¶
func (c *PlacementStrategiesPatchCall) Do() (*PlacementStrategy, error)
Do executes the "dfareporting.placementStrategies.patch" call. Exactly one of *PlacementStrategy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementStrategy.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 (*PlacementStrategiesPatchCall) Fields ¶
func (c *PlacementStrategiesPatchCall) Fields(s ...googleapi.Field) *PlacementStrategiesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesPatchCall) QuotaUser ¶
func (c *PlacementStrategiesPatchCall) QuotaUser(quotaUser string) *PlacementStrategiesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesPatchCall) UserIP ¶
func (c *PlacementStrategiesPatchCall) UserIP(userIP string) *PlacementStrategiesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategiesService ¶
type PlacementStrategiesService struct {
// contains filtered or unexported fields
}
func NewPlacementStrategiesService ¶
func NewPlacementStrategiesService(s *Service) *PlacementStrategiesService
func (*PlacementStrategiesService) Delete ¶
func (r *PlacementStrategiesService) Delete(profileId int64, id int64) *PlacementStrategiesDeleteCall
Delete: Deletes an existing placement strategy.
func (*PlacementStrategiesService) Get ¶
func (r *PlacementStrategiesService) Get(profileId int64, id int64) *PlacementStrategiesGetCall
Get: Gets one placement strategy by ID.
func (*PlacementStrategiesService) Insert ¶
func (r *PlacementStrategiesService) Insert(profileId int64, placementstrategy *PlacementStrategy) *PlacementStrategiesInsertCall
Insert: Inserts a new placement strategy.
func (*PlacementStrategiesService) List ¶
func (r *PlacementStrategiesService) List(profileId int64) *PlacementStrategiesListCall
List: Retrieves a list of placement strategies, possibly filtered.
func (*PlacementStrategiesService) Patch ¶
func (r *PlacementStrategiesService) Patch(profileId int64, id int64, placementstrategy *PlacementStrategy) *PlacementStrategiesPatchCall
Patch: Updates an existing placement strategy. This method supports patch semantics.
func (*PlacementStrategiesService) Update ¶
func (r *PlacementStrategiesService) Update(profileId int64, placementstrategy *PlacementStrategy) *PlacementStrategiesUpdateCall
Update: Updates an existing placement strategy.
type PlacementStrategiesUpdateCall ¶
type PlacementStrategiesUpdateCall struct {
// contains filtered or unexported fields
}
func (*PlacementStrategiesUpdateCall) Context ¶
func (c *PlacementStrategiesUpdateCall) Context(ctx context.Context) *PlacementStrategiesUpdateCall
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 (*PlacementStrategiesUpdateCall) Do ¶
func (c *PlacementStrategiesUpdateCall) Do() (*PlacementStrategy, error)
Do executes the "dfareporting.placementStrategies.update" call. Exactly one of *PlacementStrategy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementStrategy.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 (*PlacementStrategiesUpdateCall) Fields ¶
func (c *PlacementStrategiesUpdateCall) Fields(s ...googleapi.Field) *PlacementStrategiesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementStrategiesUpdateCall) QuotaUser ¶
func (c *PlacementStrategiesUpdateCall) QuotaUser(quotaUser string) *PlacementStrategiesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementStrategiesUpdateCall) UserIP ¶
func (c *PlacementStrategiesUpdateCall) UserIP(userIP string) *PlacementStrategiesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementStrategy ¶
type PlacementStrategy struct { // AccountId: Account ID of this placement strategy.This is a read-only // field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // Id: ID of this placement strategy. 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#placementStrategy". Kind string `json:"kind,omitempty"` // Name: Name of this placement strategy. This is a required field. It // must be less than 256 characters long and unique among placement // strategies 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:"-"` }
PlacementStrategy: Contains properties of a placement strategy.
func (*PlacementStrategy) MarshalJSON ¶
func (s *PlacementStrategy) MarshalJSON() ([]byte, error)
type PlacementTag ¶
type PlacementTag struct { // PlacementId: Placement ID PlacementId int64 `json:"placementId,omitempty,string"` // TagDatas: Tags generated for this placement. TagDatas []*TagData `json:"tagDatas,omitempty"` // ForceSendFields is a list of field names (e.g. "PlacementId") 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:"-"` }
PlacementTag: Placement Tag
func (*PlacementTag) MarshalJSON ¶
func (s *PlacementTag) MarshalJSON() ([]byte, error)
type PlacementsGenerateTagsResponse ¶
type PlacementsGenerateTagsResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#placementsGenerateTagsResponse". Kind string `json:"kind,omitempty"` // PlacementTags: Set of generated tags for the specified placements. PlacementTags []*PlacementTag `json:"placementTags,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PlacementsGenerateTagsResponse: Placement GenerateTags Response
func (*PlacementsGenerateTagsResponse) MarshalJSON ¶
func (s *PlacementsGenerateTagsResponse) MarshalJSON() ([]byte, error)
type PlacementsGeneratetagsCall ¶
type PlacementsGeneratetagsCall struct {
// contains filtered or unexported fields
}
func (*PlacementsGeneratetagsCall) CampaignId ¶
func (c *PlacementsGeneratetagsCall) CampaignId(campaignId int64) *PlacementsGeneratetagsCall
CampaignId sets the optional parameter "campaignId": Generate placements belonging to this campaign. This is a required field.
func (*PlacementsGeneratetagsCall) Context ¶
func (c *PlacementsGeneratetagsCall) Context(ctx context.Context) *PlacementsGeneratetagsCall
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 (*PlacementsGeneratetagsCall) Do ¶
func (c *PlacementsGeneratetagsCall) Do() (*PlacementsGenerateTagsResponse, error)
Do executes the "dfareporting.placements.generatetags" call. Exactly one of *PlacementsGenerateTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementsGenerateTagsResponse.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 (*PlacementsGeneratetagsCall) Fields ¶
func (c *PlacementsGeneratetagsCall) Fields(s ...googleapi.Field) *PlacementsGeneratetagsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsGeneratetagsCall) PlacementIds ¶
func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *PlacementsGeneratetagsCall
PlacementIds sets the optional parameter "placementIds": Generate tags for these placements.
func (*PlacementsGeneratetagsCall) QuotaUser ¶
func (c *PlacementsGeneratetagsCall) QuotaUser(quotaUser string) *PlacementsGeneratetagsCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsGeneratetagsCall) TagFormats ¶
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall
TagFormats sets the optional parameter "tagFormats": Tag formats to generate for these placements.
Possible values:
"PLACEMENT_TAG_CLICK_COMMANDS" "PLACEMENT_TAG_IFRAME_ILAYER" "PLACEMENT_TAG_IFRAME_JAVASCRIPT" "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY" "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" "PLACEMENT_TAG_INTERNAL_REDIRECT" "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY" "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY" "PLACEMENT_TAG_JAVASCRIPT" "PLACEMENT_TAG_JAVASCRIPT_LEGACY" "PLACEMENT_TAG_STANDARD" "PLACEMENT_TAG_TRACKING" "PLACEMENT_TAG_TRACKING_IFRAME" "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
func (*PlacementsGeneratetagsCall) UserIP ¶
func (c *PlacementsGeneratetagsCall) UserIP(userIP string) *PlacementsGeneratetagsCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementsGetCall ¶
type PlacementsGetCall struct {
// contains filtered or unexported fields
}
func (*PlacementsGetCall) Context ¶
func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall
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 (*PlacementsGetCall) Do ¶
func (c *PlacementsGetCall) Do() (*Placement, error)
Do executes the "dfareporting.placements.get" call. Exactly one of *Placement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Placement.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 (*PlacementsGetCall) Fields ¶
func (c *PlacementsGetCall) Fields(s ...googleapi.Field) *PlacementsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsGetCall) IfNoneMatch ¶
func (c *PlacementsGetCall) IfNoneMatch(entityTag string) *PlacementsGetCall
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 (*PlacementsGetCall) QuotaUser ¶
func (c *PlacementsGetCall) QuotaUser(quotaUser string) *PlacementsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsGetCall) UserIP ¶
func (c *PlacementsGetCall) UserIP(userIP string) *PlacementsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementsInsertCall ¶
type PlacementsInsertCall struct {
// contains filtered or unexported fields
}
func (*PlacementsInsertCall) Context ¶
func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall
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 (*PlacementsInsertCall) Do ¶
func (c *PlacementsInsertCall) Do() (*Placement, error)
Do executes the "dfareporting.placements.insert" call. Exactly one of *Placement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Placement.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 (*PlacementsInsertCall) Fields ¶
func (c *PlacementsInsertCall) Fields(s ...googleapi.Field) *PlacementsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsInsertCall) QuotaUser ¶
func (c *PlacementsInsertCall) QuotaUser(quotaUser string) *PlacementsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsInsertCall) UserIP ¶
func (c *PlacementsInsertCall) UserIP(userIP string) *PlacementsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementsListCall ¶
type PlacementsListCall struct {
// contains filtered or unexported fields
}
func (*PlacementsListCall) AdvertiserIds ¶
func (c *PlacementsListCall) AdvertiserIds(advertiserIds ...int64) *PlacementsListCall
AdvertiserIds sets the optional parameter "advertiserIds": Select only placements that belong to these advertisers.
func (*PlacementsListCall) Archived ¶
func (c *PlacementsListCall) Archived(archived bool) *PlacementsListCall
Archived sets the optional parameter "archived": Select only archived placements. Don't set this field to select both archived and non-archived placements.
func (*PlacementsListCall) CampaignIds ¶
func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCall
CampaignIds sets the optional parameter "campaignIds": Select only placements that belong to these campaigns.
func (*PlacementsListCall) Compatibilities ¶
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall
Compatibilities sets the optional parameter "compatibilities": Select only placements that are associated with these compatibilities. WEB and WEB_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 in in-stream video ads developed with the VAST standard.
Possible values:
"APP" "APP_INTERSTITIAL" "IN_STREAM_VIDEO" "WEB" "WEB_INTERSTITIAL"
func (*PlacementsListCall) ContentCategoryIds ¶
func (c *PlacementsListCall) ContentCategoryIds(contentCategoryIds ...int64) *PlacementsListCall
ContentCategoryIds sets the optional parameter "contentCategoryIds": Select only placements that are associated with these content categories.
func (*PlacementsListCall) Context ¶
func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall
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 (*PlacementsListCall) DirectorySiteIds ¶
func (c *PlacementsListCall) DirectorySiteIds(directorySiteIds ...int64) *PlacementsListCall
DirectorySiteIds sets the optional parameter "directorySiteIds": Select only placements that are associated with these directory sites.
func (*PlacementsListCall) Do ¶
func (c *PlacementsListCall) Do() (*PlacementsListResponse, error)
Do executes the "dfareporting.placements.list" call. Exactly one of *PlacementsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlacementsListResponse.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 (*PlacementsListCall) Fields ¶
func (c *PlacementsListCall) Fields(s ...googleapi.Field) *PlacementsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsListCall) GroupIds ¶
func (c *PlacementsListCall) GroupIds(groupIds ...int64) *PlacementsListCall
GroupIds sets the optional parameter "groupIds": Select only placements that belong to these placement groups.
func (*PlacementsListCall) Ids ¶
func (c *PlacementsListCall) Ids(ids ...int64) *PlacementsListCall
Ids sets the optional parameter "ids": Select only placements with these IDs.
func (*PlacementsListCall) IfNoneMatch ¶
func (c *PlacementsListCall) IfNoneMatch(entityTag string) *PlacementsListCall
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 (*PlacementsListCall) MaxResults ¶
func (c *PlacementsListCall) MaxResults(maxResults int64) *PlacementsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*PlacementsListCall) PageToken ¶
func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*PlacementsListCall) PaymentSource ¶
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall
PaymentSource sets the optional parameter "paymentSource": Select only placements with this payment source.
Possible values:
"PLACEMENT_AGENCY_PAID" "PLACEMENT_PUBLISHER_PAID"
func (*PlacementsListCall) PlacementStrategyIds ¶
func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64) *PlacementsListCall
PlacementStrategyIds sets the optional parameter "placementStrategyIds": Select only placements that are associated with these placement strategies.
func (*PlacementsListCall) PricingTypes ¶
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall
PricingTypes sets the optional parameter "pricingTypes": Select only placements with these pricing types.
Possible values:
"PRICING_TYPE_CPA" "PRICING_TYPE_CPC" "PRICING_TYPE_CPM" "PRICING_TYPE_FLAT_RATE_CLICKS" "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (*PlacementsListCall) QuotaUser ¶
func (c *PlacementsListCall) QuotaUser(quotaUser string) *PlacementsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsListCall) SearchString ¶
func (c *PlacementsListCall) SearchString(searchString string) *PlacementsListCall
SearchString sets the optional parameter "searchString": Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placements with names like "placement June 2015", "placement May 2015", or simply "placements 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 "placement" will match placements with name "my placement", "placement 2015", or simply "placement".
func (*PlacementsListCall) SiteIds ¶
func (c *PlacementsListCall) SiteIds(siteIds ...int64) *PlacementsListCall
SiteIds sets the optional parameter "siteIds": Select only placements that are associated with these sites.
func (*PlacementsListCall) SizeIds ¶
func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall
SizeIds sets the optional parameter "sizeIds": Select only placements that are associated with these sizes.
func (*PlacementsListCall) SortField ¶
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*PlacementsListCall) SortOrder ¶
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*PlacementsListCall) UserIP ¶
func (c *PlacementsListCall) UserIP(userIP string) *PlacementsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementsListResponse ¶
type PlacementsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#placementsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // Placements: Placement collection. Placements []*Placement `json:"placements,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PlacementsListResponse: Placement List Response
func (*PlacementsListResponse) MarshalJSON ¶
func (s *PlacementsListResponse) MarshalJSON() ([]byte, error)
type PlacementsPatchCall ¶
type PlacementsPatchCall struct {
// contains filtered or unexported fields
}
func (*PlacementsPatchCall) Context ¶
func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall
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 (*PlacementsPatchCall) Do ¶
func (c *PlacementsPatchCall) Do() (*Placement, error)
Do executes the "dfareporting.placements.patch" call. Exactly one of *Placement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Placement.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 (*PlacementsPatchCall) Fields ¶
func (c *PlacementsPatchCall) Fields(s ...googleapi.Field) *PlacementsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsPatchCall) QuotaUser ¶
func (c *PlacementsPatchCall) QuotaUser(quotaUser string) *PlacementsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsPatchCall) UserIP ¶
func (c *PlacementsPatchCall) UserIP(userIP string) *PlacementsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlacementsService ¶
type PlacementsService struct {
// contains filtered or unexported fields
}
func NewPlacementsService ¶
func NewPlacementsService(s *Service) *PlacementsService
func (*PlacementsService) Generatetags ¶
func (r *PlacementsService) Generatetags(profileId int64) *PlacementsGeneratetagsCall
Generatetags: Generates tags for a placement.
func (*PlacementsService) Get ¶
func (r *PlacementsService) Get(profileId int64, id int64) *PlacementsGetCall
Get: Gets one placement by ID.
func (*PlacementsService) Insert ¶
func (r *PlacementsService) Insert(profileId int64, placement *Placement) *PlacementsInsertCall
Insert: Inserts a new placement.
func (*PlacementsService) List ¶
func (r *PlacementsService) List(profileId int64) *PlacementsListCall
List: Retrieves a list of placements, possibly filtered.
func (*PlacementsService) Patch ¶
func (r *PlacementsService) Patch(profileId int64, id int64, placement *Placement) *PlacementsPatchCall
Patch: Updates an existing placement. This method supports patch semantics.
func (*PlacementsService) Update ¶
func (r *PlacementsService) Update(profileId int64, placement *Placement) *PlacementsUpdateCall
Update: Updates an existing placement.
type PlacementsUpdateCall ¶
type PlacementsUpdateCall struct {
// contains filtered or unexported fields
}
func (*PlacementsUpdateCall) Context ¶
func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall
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 (*PlacementsUpdateCall) Do ¶
func (c *PlacementsUpdateCall) Do() (*Placement, error)
Do executes the "dfareporting.placements.update" call. Exactly one of *Placement or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Placement.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 (*PlacementsUpdateCall) Fields ¶
func (c *PlacementsUpdateCall) Fields(s ...googleapi.Field) *PlacementsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlacementsUpdateCall) QuotaUser ¶
func (c *PlacementsUpdateCall) QuotaUser(quotaUser string) *PlacementsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlacementsUpdateCall) UserIP ¶
func (c *PlacementsUpdateCall) UserIP(userIP string) *PlacementsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlatformType ¶
type PlatformType struct { // Id: ID of this platform type. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#platformType". Kind string `json:"kind,omitempty"` // Name: Name of this platform 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:"-"` }
PlatformType: Contains information about a platform type that can be targeted by ads.
func (*PlatformType) MarshalJSON ¶
func (s *PlatformType) MarshalJSON() ([]byte, error)
type PlatformTypesGetCall ¶
type PlatformTypesGetCall struct {
// contains filtered or unexported fields
}
func (*PlatformTypesGetCall) Context ¶
func (c *PlatformTypesGetCall) Context(ctx context.Context) *PlatformTypesGetCall
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 (*PlatformTypesGetCall) Do ¶
func (c *PlatformTypesGetCall) Do() (*PlatformType, error)
Do executes the "dfareporting.platformTypes.get" call. Exactly one of *PlatformType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlatformType.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 (*PlatformTypesGetCall) Fields ¶
func (c *PlatformTypesGetCall) Fields(s ...googleapi.Field) *PlatformTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlatformTypesGetCall) IfNoneMatch ¶
func (c *PlatformTypesGetCall) IfNoneMatch(entityTag string) *PlatformTypesGetCall
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 (*PlatformTypesGetCall) QuotaUser ¶
func (c *PlatformTypesGetCall) QuotaUser(quotaUser string) *PlatformTypesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlatformTypesGetCall) UserIP ¶
func (c *PlatformTypesGetCall) UserIP(userIP string) *PlatformTypesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlatformTypesListCall ¶
type PlatformTypesListCall struct {
// contains filtered or unexported fields
}
func (*PlatformTypesListCall) Context ¶
func (c *PlatformTypesListCall) Context(ctx context.Context) *PlatformTypesListCall
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 (*PlatformTypesListCall) Do ¶
func (c *PlatformTypesListCall) Do() (*PlatformTypesListResponse, error)
Do executes the "dfareporting.platformTypes.list" call. Exactly one of *PlatformTypesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlatformTypesListResponse.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 (*PlatformTypesListCall) Fields ¶
func (c *PlatformTypesListCall) Fields(s ...googleapi.Field) *PlatformTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PlatformTypesListCall) IfNoneMatch ¶
func (c *PlatformTypesListCall) IfNoneMatch(entityTag string) *PlatformTypesListCall
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 (*PlatformTypesListCall) QuotaUser ¶
func (c *PlatformTypesListCall) QuotaUser(quotaUser string) *PlatformTypesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PlatformTypesListCall) UserIP ¶
func (c *PlatformTypesListCall) UserIP(userIP string) *PlatformTypesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PlatformTypesListResponse ¶
type PlatformTypesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#platformTypesListResponse". Kind string `json:"kind,omitempty"` // PlatformTypes: Platform type collection. PlatformTypes []*PlatformType `json:"platformTypes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PlatformTypesListResponse: Platform Type List Response
func (*PlatformTypesListResponse) MarshalJSON ¶
func (s *PlatformTypesListResponse) MarshalJSON() ([]byte, error)
type PlatformTypesService ¶
type PlatformTypesService struct {
// contains filtered or unexported fields
}
func NewPlatformTypesService ¶
func NewPlatformTypesService(s *Service) *PlatformTypesService
func (*PlatformTypesService) Get ¶
func (r *PlatformTypesService) Get(profileId int64, id int64) *PlatformTypesGetCall
Get: Gets one platform type by ID.
func (*PlatformTypesService) List ¶
func (r *PlatformTypesService) List(profileId int64) *PlatformTypesListCall
List: Retrieves a list of platform types.
type PopupWindowProperties ¶
type PopupWindowProperties struct { // Dimension: Popup dimension for a creative. This is a read-only field. // Applicable to the following creative types: all RICH_MEDIA and all // VPAID Dimension *Size `json:"dimension,omitempty"` // Offset: Upper-left corner coordinates of the popup window. Applicable // if positionType is COORDINATES. Offset *OffsetPosition `json:"offset,omitempty"` // PositionType: Popup window position either centered or at specific // coordinate. // // Possible values: // "CENTER" // "COORDINATES" PositionType string `json:"positionType,omitempty"` // ShowAddressBar: Whether to display the browser address bar. ShowAddressBar bool `json:"showAddressBar,omitempty"` // ShowMenuBar: Whether to display the browser menu bar. ShowMenuBar bool `json:"showMenuBar,omitempty"` // ShowScrollBar: Whether to display the browser scroll bar. ShowScrollBar bool `json:"showScrollBar,omitempty"` // ShowStatusBar: Whether to display the browser status bar. ShowStatusBar bool `json:"showStatusBar,omitempty"` // ShowToolBar: Whether to display the browser tool bar. ShowToolBar bool `json:"showToolBar,omitempty"` // Title: Title of popup window. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimension") 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:"-"` }
PopupWindowProperties: Popup Window Properties.
func (*PopupWindowProperties) MarshalJSON ¶
func (s *PopupWindowProperties) MarshalJSON() ([]byte, error)
type PostalCode ¶
type PostalCode struct { // Code: Postal code. This is equivalent to the id field. Code string `json:"code,omitempty"` // CountryCode: Country code of the country to which this postal code // belongs. CountryCode string `json:"countryCode,omitempty"` // CountryDartId: DART ID of the country to which this postal code // belongs. CountryDartId int64 `json:"countryDartId,omitempty,string"` // Id: ID of this postal code. Id string `json:"id,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#postalCode". 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. "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:"-"` }
PostalCode: Contains information about a postal code that can be targeted by ads.
func (*PostalCode) MarshalJSON ¶
func (s *PostalCode) MarshalJSON() ([]byte, error)
type PostalCodesGetCall ¶
type PostalCodesGetCall struct {
// contains filtered or unexported fields
}
func (*PostalCodesGetCall) Context ¶
func (c *PostalCodesGetCall) Context(ctx context.Context) *PostalCodesGetCall
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 (*PostalCodesGetCall) Do ¶
func (c *PostalCodesGetCall) Do() (*PostalCode, error)
Do executes the "dfareporting.postalCodes.get" call. Exactly one of *PostalCode or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PostalCode.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 (*PostalCodesGetCall) Fields ¶
func (c *PostalCodesGetCall) Fields(s ...googleapi.Field) *PostalCodesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PostalCodesGetCall) IfNoneMatch ¶
func (c *PostalCodesGetCall) IfNoneMatch(entityTag string) *PostalCodesGetCall
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 (*PostalCodesGetCall) QuotaUser ¶
func (c *PostalCodesGetCall) QuotaUser(quotaUser string) *PostalCodesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PostalCodesGetCall) UserIP ¶
func (c *PostalCodesGetCall) UserIP(userIP string) *PostalCodesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PostalCodesListCall ¶
type PostalCodesListCall struct {
// contains filtered or unexported fields
}
func (*PostalCodesListCall) Context ¶
func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall
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 (*PostalCodesListCall) Do ¶
func (c *PostalCodesListCall) Do() (*PostalCodesListResponse, error)
Do executes the "dfareporting.postalCodes.list" call. Exactly one of *PostalCodesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PostalCodesListResponse.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 (*PostalCodesListCall) Fields ¶
func (c *PostalCodesListCall) Fields(s ...googleapi.Field) *PostalCodesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PostalCodesListCall) IfNoneMatch ¶
func (c *PostalCodesListCall) IfNoneMatch(entityTag string) *PostalCodesListCall
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 (*PostalCodesListCall) QuotaUser ¶
func (c *PostalCodesListCall) QuotaUser(quotaUser string) *PostalCodesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PostalCodesListCall) UserIP ¶
func (c *PostalCodesListCall) UserIP(userIP string) *PostalCodesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PostalCodesListResponse ¶
type PostalCodesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#postalCodesListResponse". Kind string `json:"kind,omitempty"` // PostalCodes: Postal code collection. PostalCodes []*PostalCode `json:"postalCodes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
PostalCodesListResponse: Postal Code List Response
func (*PostalCodesListResponse) MarshalJSON ¶
func (s *PostalCodesListResponse) MarshalJSON() ([]byte, error)
type PostalCodesService ¶
type PostalCodesService struct {
// contains filtered or unexported fields
}
func NewPostalCodesService ¶
func NewPostalCodesService(s *Service) *PostalCodesService
func (*PostalCodesService) Get ¶
func (r *PostalCodesService) Get(profileId int64, code string) *PostalCodesGetCall
Get: Gets one postal code by ID.
func (*PostalCodesService) List ¶
func (r *PostalCodesService) List(profileId int64) *PostalCodesListCall
List: Retrieves a list of postal codes.
type Pricing ¶
type Pricing struct { // CapCostType: Cap cost type of this inventory item. // // Possible values: // "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" // "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY" // "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE" CapCostType string `json:"capCostType,omitempty"` // EndDate: End date of this inventory item. EndDate string `json:"endDate,omitempty"` // Flights: Flights of this inventory item. A flight (a.k.a. pricing // period) represents the inventory item pricing information for a // specific period of time. Flights []*Flight `json:"flights,omitempty"` // GroupType: Group type of this inventory item if it represents a // placement group. Is null otherwise. There are two type of placement // groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of // inventory items that acts as a single pricing point for a group of // tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory // items that not only acts as a single pricing point, but also assumes // that all the tags in it will be served at the same time. A roadblock // requires one of its assigned inventory items to be marked as primary. // // Possible values: // "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE" // "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" GroupType string `json:"groupType,omitempty"` // PricingType: Pricing type of this inventory item. // // Possible values: // "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS" // "PLANNING_PLACEMENT_PRICING_TYPE_CPA" // "PLANNING_PLACEMENT_PRICING_TYPE_CPC" // "PLANNING_PLACEMENT_PRICING_TYPE_CPM" // "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS" // "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS" // "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS" PricingType string `json:"pricingType,omitempty"` // StartDate: Start date of this inventory item. StartDate string `json:"startDate,omitempty"` // ForceSendFields is a list of field names (e.g. "CapCostType") 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:"-"` }
Pricing: Pricing Information
func (*Pricing) MarshalJSON ¶
type PricingSchedule ¶
type PricingSchedule struct { // CapCostOption: Placement cap cost option. // // Possible values: // "CAP_COST_CUMULATIVE" // "CAP_COST_MONTHLY" // "CAP_COST_NONE" CapCostOption string `json:"capCostOption,omitempty"` // DisregardOverdelivery: Whether cap costs are ignored by ad serving. DisregardOverdelivery bool `json:"disregardOverdelivery,omitempty"` // EndDate: Placement end date. This date must be later than, or the // same day as, the placement start date, but not later than the // campaign end date. If, for example, you set 6/25/2015 as both the // start and end dates, the effective placement 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 field is // required on insertion. EndDate string `json:"endDate,omitempty"` // Flighted: Whether this placement is flighted. If true, pricing // periods will be computed automatically. Flighted bool `json:"flighted,omitempty"` // FloodlightActivityId: Floodlight activity ID associated with this // placement. This field should be set when placement pricing type is // set to PRICING_TYPE_CPA. FloodlightActivityId int64 `json:"floodlightActivityId,omitempty,string"` // PricingPeriods: Pricing periods for this placement. PricingPeriods []*PricingSchedulePricingPeriod `json:"pricingPeriods,omitempty"` // PricingType: Placement pricing type. This field is required on // insertion. // // Possible values: // "PRICING_TYPE_CPA" // "PRICING_TYPE_CPC" // "PRICING_TYPE_CPM" // "PRICING_TYPE_FLAT_RATE_CLICKS" // "PRICING_TYPE_FLAT_RATE_IMPRESSIONS" PricingType string `json:"pricingType,omitempty"` // StartDate: Placement start date. This date must be later than, or the // same day as, the campaign start date. The hours, minutes, and seconds // of the start date should not be set, as doing so will result in an // error. This field is required on insertion. StartDate string `json:"startDate,omitempty"` // TestingStartDate: Testing start date of this placement. The hours, // minutes, and seconds of the start date should not be set, as doing so // will result in an error. TestingStartDate string `json:"testingStartDate,omitempty"` // ForceSendFields is a list of field names (e.g. "CapCostOption") 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:"-"` }
PricingSchedule: Pricing Schedule
func (*PricingSchedule) MarshalJSON ¶
func (s *PricingSchedule) MarshalJSON() ([]byte, error)
type PricingSchedulePricingPeriod ¶
type PricingSchedulePricingPeriod struct { // EndDate: Pricing period end date. This date must be later than, or // the same day as, the pricing period start date, but not later than // the placement end date. The period end date can be the same date as // the period start date. If, for example, you set 6/25/2015 as both the // start and end dates, the effective pricing period 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. EndDate string `json:"endDate,omitempty"` // PricingComment: Comments for this pricing period. PricingComment string `json:"pricingComment,omitempty"` // RateOrCostNanos: Rate or cost of this pricing period. RateOrCostNanos int64 `json:"rateOrCostNanos,omitempty,string"` // StartDate: Pricing period start date. This date must be later than, // or the same day as, the placement start date. The hours, minutes, and // seconds of the start date should not be set, as doing so will result // in an error. StartDate string `json:"startDate,omitempty"` // Units: Units of this pricing period. Units int64 `json:"units,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndDate") 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:"-"` }
PricingSchedulePricingPeriod: Pricing Period
func (*PricingSchedulePricingPeriod) MarshalJSON ¶
func (s *PricingSchedulePricingPeriod) MarshalJSON() ([]byte, error)
type ProgrammaticSetting ¶
type ProgrammaticSetting struct { // AdxDealIds: Adx deal IDs assigned to the placement. AdxDealIds googleapi.Int64s `json:"adxDealIds,omitempty"` // InsertionOrderId: Insertion order ID. InsertionOrderId string `json:"insertionOrderId,omitempty"` // InsertionOrderIdStatus: Whether insertion order ID has been placed in // DFP. This is a read-only field. InsertionOrderIdStatus bool `json:"insertionOrderIdStatus,omitempty"` // MediaCostNanos: Media cost for the programmatic placement. MediaCostNanos int64 `json:"mediaCostNanos,omitempty,string"` // Programmatic: Whether programmatic is enabled. Programmatic bool `json:"programmatic,omitempty"` // TraffickerEmails: Trafficker emails assigned to the placement. TraffickerEmails []string `json:"traffickerEmails,omitempty"` // ForceSendFields is a list of field names (e.g. "AdxDealIds") 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:"-"` }
ProgrammaticSetting: Programmatic Setting
func (*ProgrammaticSetting) MarshalJSON ¶
func (s *ProgrammaticSetting) MarshalJSON() ([]byte, error)
type Project ¶
type Project struct { // AccountId: Account ID of this project. AccountId int64 `json:"accountId,omitempty,string"` // AdvertiserId: Advertiser ID of this project. AdvertiserId int64 `json:"advertiserId,omitempty,string"` // AudienceAgeGroup: Audience age group of this project. // // Possible values: // "PLANNING_AUDIENCE_AGE_18_24" // "PLANNING_AUDIENCE_AGE_25_34" // "PLANNING_AUDIENCE_AGE_35_44" // "PLANNING_AUDIENCE_AGE_45_54" // "PLANNING_AUDIENCE_AGE_55_64" // "PLANNING_AUDIENCE_AGE_65_OR_MORE" // "PLANNING_AUDIENCE_AGE_UNKNOWN" AudienceAgeGroup string `json:"audienceAgeGroup,omitempty"` // AudienceGender: Audience gender of this project. // // Possible values: // "PLANNING_AUDIENCE_GENDER_FEMALE" // "PLANNING_AUDIENCE_GENDER_MALE" AudienceGender string `json:"audienceGender,omitempty"` // Budget: Budget of this project in the currency specified by the // current account. The value stored in this field represents only the // non-fractional amount. For example, for USD, the smallest value that // can be represented by this field is 1 US dollar. Budget int64 `json:"budget,omitempty,string"` // ClientBillingCode: Client billing code of this project. ClientBillingCode string `json:"clientBillingCode,omitempty"` // ClientName: Name of the project client. ClientName string `json:"clientName,omitempty"` // EndDate: End date of the project. EndDate string `json:"endDate,omitempty"` // Id: ID of this project. 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#project". Kind string `json:"kind,omitempty"` // LastModifiedInfo: Information about the most recent modification of // this project. LastModifiedInfo *LastModifiedInfo `json:"lastModifiedInfo,omitempty"` // Name: Name of this project. Name string `json:"name,omitempty"` // Overview: Overview of this project. Overview string `json:"overview,omitempty"` // StartDate: Start date of the project. StartDate string `json:"startDate,omitempty"` // SubaccountId: Subaccount ID of this project. SubaccountId int64 `json:"subaccountId,omitempty,string"` // TargetClicks: Number of clicks that the advertiser is targeting. TargetClicks int64 `json:"targetClicks,omitempty,string"` // TargetConversions: Number of conversions that the advertiser is // targeting. TargetConversions int64 `json:"targetConversions,omitempty,string"` // TargetCpaNanos: CPA that the advertiser is targeting. TargetCpaNanos int64 `json:"targetCpaNanos,omitempty,string"` // TargetCpcNanos: CPC that the advertiser is targeting. TargetCpcNanos int64 `json:"targetCpcNanos,omitempty,string"` // TargetCpmNanos: CPM that the advertiser is targeting. TargetCpmNanos int64 `json:"targetCpmNanos,omitempty,string"` // TargetImpressions: Number of impressions that the advertiser is // targeting. TargetImpressions int64 `json:"targetImpressions,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:"-"` }
Project: Contains properties of a DoubleClick Planning project.
func (*Project) MarshalJSON ¶
type ProjectsGetCall ¶
type ProjectsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsGetCall) Context ¶
func (c *ProjectsGetCall) Context(ctx context.Context) *ProjectsGetCall
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 (*ProjectsGetCall) Do ¶
func (c *ProjectsGetCall) Do() (*Project, error)
Do executes the "dfareporting.projects.get" call. Exactly one of *Project or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Project.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 (*ProjectsGetCall) Fields ¶
func (c *ProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsGetCall) IfNoneMatch ¶
func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall
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 (*ProjectsGetCall) QuotaUser ¶
func (c *ProjectsGetCall) QuotaUser(quotaUser string) *ProjectsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsGetCall) UserIP ¶
func (c *ProjectsGetCall) UserIP(userIP string) *ProjectsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ProjectsListCall ¶
type ProjectsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsListCall) AdvertiserIds ¶
func (c *ProjectsListCall) AdvertiserIds(advertiserIds ...int64) *ProjectsListCall
AdvertiserIds sets the optional parameter "advertiserIds": Select only projects with these advertiser IDs.
func (*ProjectsListCall) Context ¶
func (c *ProjectsListCall) Context(ctx context.Context) *ProjectsListCall
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 (*ProjectsListCall) Do ¶
func (c *ProjectsListCall) Do() (*ProjectsListResponse, error)
Do executes the "dfareporting.projects.list" call. Exactly one of *ProjectsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProjectsListResponse.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 (*ProjectsListCall) Fields ¶
func (c *ProjectsListCall) Fields(s ...googleapi.Field) *ProjectsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsListCall) Ids ¶
func (c *ProjectsListCall) Ids(ids ...int64) *ProjectsListCall
Ids sets the optional parameter "ids": Select only projects with these IDs.
func (*ProjectsListCall) IfNoneMatch ¶
func (c *ProjectsListCall) IfNoneMatch(entityTag string) *ProjectsListCall
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 (*ProjectsListCall) MaxResults ¶
func (c *ProjectsListCall) MaxResults(maxResults int64) *ProjectsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*ProjectsListCall) PageToken ¶
func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*ProjectsListCall) QuotaUser ¶
func (c *ProjectsListCall) QuotaUser(quotaUser string) *ProjectsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsListCall) SearchString ¶
func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall
SearchString sets the optional parameter "searchString": Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, "project*2015" will return projects with names like "project June 2015", "project April 2015", or simply "project 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 "project" will match projects with name "my project", "project 2015", or simply "project".
func (*ProjectsListCall) SortField ¶
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*ProjectsListCall) SortOrder ¶
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*ProjectsListCall) UserIP ¶
func (c *ProjectsListCall) UserIP(userIP string) *ProjectsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ProjectsListResponse ¶
type ProjectsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#projectsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // Projects: Project collection. Projects []*Project `json:"projects,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
ProjectsListResponse: Project List Response
func (*ProjectsListResponse) MarshalJSON ¶
func (s *ProjectsListResponse) MarshalJSON() ([]byte, error)
type ProjectsService ¶
type ProjectsService struct {
// contains filtered or unexported fields
}
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) Get ¶
func (r *ProjectsService) Get(profileId int64, id int64) *ProjectsGetCall
Get: Gets one project by ID.
func (*ProjectsService) List ¶
func (r *ProjectsService) List(profileId int64) *ProjectsListCall
List: Retrieves a list of projects, possibly filtered.
type ReachReportCompatibleFields ¶
type ReachReportCompatibleFields struct { // DimensionFilters: Dimensions which are compatible to be selected in // the "dimensionFilters" section of the report. DimensionFilters []*Dimension `json:"dimensionFilters,omitempty"` // Dimensions: Dimensions which are compatible to be selected in the // "dimensions" section of the report. Dimensions []*Dimension `json:"dimensions,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#reachReportCompatibleFields. Kind string `json:"kind,omitempty"` // Metrics: Metrics which are compatible to be selected in the // "metricNames" section of the report. Metrics []*Metric `json:"metrics,omitempty"` // PivotedActivityMetrics: Metrics which are compatible to be selected // as activity metrics to pivot on in the "activities" section of the // report. PivotedActivityMetrics []*Metric `json:"pivotedActivityMetrics,omitempty"` // ReachByFrequencyMetrics: Metrics which are compatible to be selected // in the "reachByFrequencyMetricNames" section of the report. ReachByFrequencyMetrics []*Metric `json:"reachByFrequencyMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionFilters") 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:"-"` }
ReachReportCompatibleFields: Represents fields that are compatible to be selected for a report of type "REACH".
func (*ReachReportCompatibleFields) MarshalJSON ¶
func (s *ReachReportCompatibleFields) MarshalJSON() ([]byte, error)
type Recipient ¶
type Recipient struct { // DeliveryType: The delivery type for the recipient. // // Possible values: // "ATTACHMENT" // "LINK" DeliveryType string `json:"deliveryType,omitempty"` // Email: The email address of the recipient. Email string `json:"email,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#recipient. Kind string `json:"kind,omitempty"` // ForceSendFields is a list of field names (e.g. "DeliveryType") 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:"-"` }
Recipient: Represents a recipient.
func (*Recipient) MarshalJSON ¶
type Region ¶
type Region struct { // CountryCode: Country code of the country to which this region // belongs. CountryCode string `json:"countryCode,omitempty"` // CountryDartId: DART ID of the country to which this region belongs. CountryDartId int64 `json:"countryDartId,omitempty,string"` // DartId: DART ID of this region. DartId int64 `json:"dartId,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#region". Kind string `json:"kind,omitempty"` // Name: Name of this region. Name string `json:"name,omitempty"` // RegionCode: Region code. RegionCode string `json:"regionCode,omitempty"` // 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:"-"` }
Region: Contains information about a region that can be targeted by ads.
func (*Region) MarshalJSON ¶
type RegionsListCall ¶
type RegionsListCall struct {
// contains filtered or unexported fields
}
func (*RegionsListCall) Context ¶
func (c *RegionsListCall) Context(ctx context.Context) *RegionsListCall
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 (*RegionsListCall) Do ¶
func (c *RegionsListCall) Do() (*RegionsListResponse, error)
Do executes the "dfareporting.regions.list" call. Exactly one of *RegionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RegionsListResponse.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 (*RegionsListCall) Fields ¶
func (c *RegionsListCall) Fields(s ...googleapi.Field) *RegionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionsListCall) IfNoneMatch ¶
func (c *RegionsListCall) IfNoneMatch(entityTag string) *RegionsListCall
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 (*RegionsListCall) QuotaUser ¶
func (c *RegionsListCall) QuotaUser(quotaUser string) *RegionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RegionsListCall) UserIP ¶
func (c *RegionsListCall) UserIP(userIP string) *RegionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RegionsListResponse ¶
type RegionsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#regionsListResponse". Kind string `json:"kind,omitempty"` // Regions: Region collection. Regions []*Region `json:"regions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
RegionsListResponse: Region List Response
func (*RegionsListResponse) MarshalJSON ¶
func (s *RegionsListResponse) MarshalJSON() ([]byte, error)
type RegionsService ¶
type RegionsService struct {
// contains filtered or unexported fields
}
func NewRegionsService ¶
func NewRegionsService(s *Service) *RegionsService
func (*RegionsService) List ¶
func (r *RegionsService) List(profileId int64) *RegionsListCall
List: Retrieves a list of regions.
type RemarketingList ¶
type RemarketingList struct { // AccountId: Account ID of this remarketing list. This is a read-only, // auto-generated field that is only returned in GET requests. AccountId int64 `json:"accountId,omitempty,string"` // Active: Whether this remarketing list is active. Active bool `json:"active,omitempty"` // AdvertiserId: Dimension value for the advertiser ID that owns this // remarketing list. This is a required field. 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"` // Description: Remarketing list description. Description string `json:"description,omitempty"` // Id: Remarketing list ID. 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#remarketingList". Kind string `json:"kind,omitempty"` // LifeSpan: Number of days that a user should remain in the remarketing // list without an impression. LifeSpan int64 `json:"lifeSpan,omitempty,string"` // ListPopulationRule: Rule used to populate the remarketing list with // users. ListPopulationRule *ListPopulationRule `json:"listPopulationRule,omitempty"` // ListSize: Number of users currently in the list. This is a read-only // field. ListSize int64 `json:"listSize,omitempty,string"` // ListSource: Product from which this remarketing list was originated. // // Possible values: // "REMARKETING_LIST_SOURCE_DBM" // "REMARKETING_LIST_SOURCE_DFA" // "REMARKETING_LIST_SOURCE_DMP" // "REMARKETING_LIST_SOURCE_GA" // "REMARKETING_LIST_SOURCE_OTHER" ListSource string `json:"listSource,omitempty"` // Name: Name of the remarketing list. This is a required field. Must be // no greater than 128 characters long. Name string `json:"name,omitempty"` // SubaccountId: Subaccount ID of this remarketing list. This is a // read-only, auto-generated field that is only returned in GET // requests. 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:"-"` }
RemarketingList: Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
func (*RemarketingList) MarshalJSON ¶
func (s *RemarketingList) MarshalJSON() ([]byte, error)
type RemarketingListShare ¶
type RemarketingListShare struct { // string "dfareporting#remarketingListShare". Kind string `json:"kind,omitempty"` // auto-generated field. RemarketingListId int64 `json:"remarketingListId,omitempty,string"` SharedAccountIds googleapi.Int64s `json:"sharedAccountIds,omitempty"` // with. SharedAdvertiserIds googleapi.Int64s `json:"sharedAdvertiserIds,omitempty"` // server. googleapi.ServerResponse `json:"-"` // 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:"-"` }
RemarketingListShare: Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
func (*RemarketingListShare) MarshalJSON ¶
func (s *RemarketingListShare) MarshalJSON() ([]byte, error)
type RemarketingListSharesGetCall ¶
type RemarketingListSharesGetCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListSharesGetCall) Context ¶
func (c *RemarketingListSharesGetCall) Context(ctx context.Context) *RemarketingListSharesGetCall
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 (*RemarketingListSharesGetCall) Do ¶
func (c *RemarketingListSharesGetCall) Do() (*RemarketingListShare, error)
Do executes the "dfareporting.remarketingListShares.get" call. Exactly one of *RemarketingListShare or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingListShare.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 (*RemarketingListSharesGetCall) Fields ¶
func (c *RemarketingListSharesGetCall) Fields(s ...googleapi.Field) *RemarketingListSharesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListSharesGetCall) IfNoneMatch ¶
func (c *RemarketingListSharesGetCall) IfNoneMatch(entityTag string) *RemarketingListSharesGetCall
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 (*RemarketingListSharesGetCall) QuotaUser ¶
func (c *RemarketingListSharesGetCall) QuotaUser(quotaUser string) *RemarketingListSharesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListSharesGetCall) UserIP ¶
func (c *RemarketingListSharesGetCall) UserIP(userIP string) *RemarketingListSharesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListSharesPatchCall ¶
type RemarketingListSharesPatchCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListSharesPatchCall) Context ¶
func (c *RemarketingListSharesPatchCall) Context(ctx context.Context) *RemarketingListSharesPatchCall
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 (*RemarketingListSharesPatchCall) Do ¶
func (c *RemarketingListSharesPatchCall) Do() (*RemarketingListShare, error)
Do executes the "dfareporting.remarketingListShares.patch" call. Exactly one of *RemarketingListShare or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingListShare.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 (*RemarketingListSharesPatchCall) Fields ¶
func (c *RemarketingListSharesPatchCall) Fields(s ...googleapi.Field) *RemarketingListSharesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListSharesPatchCall) QuotaUser ¶
func (c *RemarketingListSharesPatchCall) QuotaUser(quotaUser string) *RemarketingListSharesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListSharesPatchCall) UserIP ¶
func (c *RemarketingListSharesPatchCall) UserIP(userIP string) *RemarketingListSharesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListSharesService ¶
type RemarketingListSharesService struct {
// contains filtered or unexported fields
}
func NewRemarketingListSharesService ¶
func NewRemarketingListSharesService(s *Service) *RemarketingListSharesService
func (*RemarketingListSharesService) Get ¶
func (r *RemarketingListSharesService) Get(profileId int64, remarketingListId int64) *RemarketingListSharesGetCall
Get: Gets one remarketing list share by remarketing list ID.
func (*RemarketingListSharesService) Patch ¶
func (r *RemarketingListSharesService) Patch(profileId int64, remarketingListId int64, remarketinglistshare *RemarketingListShare) *RemarketingListSharesPatchCall
Patch: Updates an existing remarketing list share. This method supports patch semantics.
func (*RemarketingListSharesService) Update ¶
func (r *RemarketingListSharesService) Update(profileId int64, remarketinglistshare *RemarketingListShare) *RemarketingListSharesUpdateCall
Update: Updates an existing remarketing list share.
type RemarketingListSharesUpdateCall ¶
type RemarketingListSharesUpdateCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListSharesUpdateCall) Context ¶
func (c *RemarketingListSharesUpdateCall) Context(ctx context.Context) *RemarketingListSharesUpdateCall
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 (*RemarketingListSharesUpdateCall) Do ¶
func (c *RemarketingListSharesUpdateCall) Do() (*RemarketingListShare, error)
Do executes the "dfareporting.remarketingListShares.update" call. Exactly one of *RemarketingListShare or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingListShare.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 (*RemarketingListSharesUpdateCall) Fields ¶
func (c *RemarketingListSharesUpdateCall) Fields(s ...googleapi.Field) *RemarketingListSharesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListSharesUpdateCall) QuotaUser ¶
func (c *RemarketingListSharesUpdateCall) QuotaUser(quotaUser string) *RemarketingListSharesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListSharesUpdateCall) UserIP ¶
func (c *RemarketingListSharesUpdateCall) UserIP(userIP string) *RemarketingListSharesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListsGetCall ¶
type RemarketingListsGetCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListsGetCall) Context ¶
func (c *RemarketingListsGetCall) Context(ctx context.Context) *RemarketingListsGetCall
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 (*RemarketingListsGetCall) Do ¶
func (c *RemarketingListsGetCall) Do() (*RemarketingList, error)
Do executes the "dfareporting.remarketingLists.get" call. Exactly one of *RemarketingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingList.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 (*RemarketingListsGetCall) Fields ¶
func (c *RemarketingListsGetCall) Fields(s ...googleapi.Field) *RemarketingListsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListsGetCall) IfNoneMatch ¶
func (c *RemarketingListsGetCall) IfNoneMatch(entityTag string) *RemarketingListsGetCall
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 (*RemarketingListsGetCall) QuotaUser ¶
func (c *RemarketingListsGetCall) QuotaUser(quotaUser string) *RemarketingListsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListsGetCall) UserIP ¶
func (c *RemarketingListsGetCall) UserIP(userIP string) *RemarketingListsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListsInsertCall ¶
type RemarketingListsInsertCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListsInsertCall) Context ¶
func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall
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 (*RemarketingListsInsertCall) Do ¶
func (c *RemarketingListsInsertCall) Do() (*RemarketingList, error)
Do executes the "dfareporting.remarketingLists.insert" call. Exactly one of *RemarketingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingList.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 (*RemarketingListsInsertCall) Fields ¶
func (c *RemarketingListsInsertCall) Fields(s ...googleapi.Field) *RemarketingListsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListsInsertCall) QuotaUser ¶
func (c *RemarketingListsInsertCall) QuotaUser(quotaUser string) *RemarketingListsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListsInsertCall) UserIP ¶
func (c *RemarketingListsInsertCall) UserIP(userIP string) *RemarketingListsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListsListCall ¶
type RemarketingListsListCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListsListCall) Active ¶
func (c *RemarketingListsListCall) Active(active bool) *RemarketingListsListCall
Active sets the optional parameter "active": Select only active or only inactive remarketing lists.
func (*RemarketingListsListCall) Context ¶
func (c *RemarketingListsListCall) Context(ctx context.Context) *RemarketingListsListCall
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 (*RemarketingListsListCall) Do ¶
func (c *RemarketingListsListCall) Do() (*RemarketingListsListResponse, error)
Do executes the "dfareporting.remarketingLists.list" call. Exactly one of *RemarketingListsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingListsListResponse.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 (*RemarketingListsListCall) Fields ¶
func (c *RemarketingListsListCall) Fields(s ...googleapi.Field) *RemarketingListsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListsListCall) FloodlightActivityId ¶
func (c *RemarketingListsListCall) FloodlightActivityId(floodlightActivityId int64) *RemarketingListsListCall
FloodlightActivityId sets the optional parameter "floodlightActivityId": Select only remarketing lists that have this floodlight activity ID.
func (*RemarketingListsListCall) IfNoneMatch ¶
func (c *RemarketingListsListCall) IfNoneMatch(entityTag string) *RemarketingListsListCall
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 (*RemarketingListsListCall) MaxResults ¶
func (c *RemarketingListsListCall) MaxResults(maxResults int64) *RemarketingListsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*RemarketingListsListCall) Name ¶
func (c *RemarketingListsListCall) Name(name string) *RemarketingListsListCall
Name sets the optional parameter "name": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 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 "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list".
func (*RemarketingListsListCall) PageToken ¶
func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*RemarketingListsListCall) QuotaUser ¶
func (c *RemarketingListsListCall) QuotaUser(quotaUser string) *RemarketingListsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListsListCall) SortField ¶
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*RemarketingListsListCall) SortOrder ¶
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*RemarketingListsListCall) UserIP ¶
func (c *RemarketingListsListCall) UserIP(userIP string) *RemarketingListsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListsListResponse ¶
type RemarketingListsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#remarketingListsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // RemarketingLists: Remarketing list collection. RemarketingLists []*RemarketingList `json:"remarketingLists,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
RemarketingListsListResponse: Remarketing list response
func (*RemarketingListsListResponse) MarshalJSON ¶
func (s *RemarketingListsListResponse) MarshalJSON() ([]byte, error)
type RemarketingListsPatchCall ¶
type RemarketingListsPatchCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListsPatchCall) Context ¶
func (c *RemarketingListsPatchCall) Context(ctx context.Context) *RemarketingListsPatchCall
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 (*RemarketingListsPatchCall) Do ¶
func (c *RemarketingListsPatchCall) Do() (*RemarketingList, error)
Do executes the "dfareporting.remarketingLists.patch" call. Exactly one of *RemarketingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingList.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 (*RemarketingListsPatchCall) Fields ¶
func (c *RemarketingListsPatchCall) Fields(s ...googleapi.Field) *RemarketingListsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListsPatchCall) QuotaUser ¶
func (c *RemarketingListsPatchCall) QuotaUser(quotaUser string) *RemarketingListsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListsPatchCall) UserIP ¶
func (c *RemarketingListsPatchCall) UserIP(userIP string) *RemarketingListsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RemarketingListsService ¶
type RemarketingListsService struct {
// contains filtered or unexported fields
}
func NewRemarketingListsService ¶
func NewRemarketingListsService(s *Service) *RemarketingListsService
func (*RemarketingListsService) Get ¶
func (r *RemarketingListsService) Get(profileId int64, id int64) *RemarketingListsGetCall
Get: Gets one remarketing list by ID.
func (*RemarketingListsService) Insert ¶
func (r *RemarketingListsService) Insert(profileId int64, remarketinglist *RemarketingList) *RemarketingListsInsertCall
Insert: Inserts a new remarketing list.
func (*RemarketingListsService) List ¶
func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall
List: Retrieves a list of remarketing lists, possibly filtered.
func (*RemarketingListsService) Patch ¶
func (r *RemarketingListsService) Patch(profileId int64, id int64, remarketinglist *RemarketingList) *RemarketingListsPatchCall
Patch: Updates an existing remarketing list. This method supports patch semantics.
func (*RemarketingListsService) Update ¶
func (r *RemarketingListsService) Update(profileId int64, remarketinglist *RemarketingList) *RemarketingListsUpdateCall
Update: Updates an existing remarketing list.
type RemarketingListsUpdateCall ¶
type RemarketingListsUpdateCall struct {
// contains filtered or unexported fields
}
func (*RemarketingListsUpdateCall) Context ¶
func (c *RemarketingListsUpdateCall) Context(ctx context.Context) *RemarketingListsUpdateCall
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 (*RemarketingListsUpdateCall) Do ¶
func (c *RemarketingListsUpdateCall) Do() (*RemarketingList, error)
Do executes the "dfareporting.remarketingLists.update" call. Exactly one of *RemarketingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RemarketingList.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 (*RemarketingListsUpdateCall) Fields ¶
func (c *RemarketingListsUpdateCall) Fields(s ...googleapi.Field) *RemarketingListsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RemarketingListsUpdateCall) QuotaUser ¶
func (c *RemarketingListsUpdateCall) QuotaUser(quotaUser string) *RemarketingListsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RemarketingListsUpdateCall) UserIP ¶
func (c *RemarketingListsUpdateCall) UserIP(userIP string) *RemarketingListsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Report ¶
type Report struct { // AccountId: The account ID to which this report belongs. AccountId int64 `json:"accountId,omitempty,string"` // Criteria: The report criteria for a report of type "STANDARD". Criteria *ReportCriteria `json:"criteria,omitempty"` // CrossDimensionReachCriteria: The report criteria for a report of type // "CROSS_DIMENSION_REACH". CrossDimensionReachCriteria *ReportCrossDimensionReachCriteria `json:"crossDimensionReachCriteria,omitempty"` // Delivery: The report's email delivery settings. Delivery *ReportDelivery `json:"delivery,omitempty"` // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // FileName: The filename used when generating report files for this // report. FileName string `json:"fileName,omitempty"` // FloodlightCriteria: The report criteria for a report of type // "FLOODLIGHT". FloodlightCriteria *ReportFloodlightCriteria `json:"floodlightCriteria,omitempty"` // Format: The output format of the report. If not specified, default // format is "CSV". Note that the actual format in the completed report // file might differ if for instance the report's size exceeds the // format's capabilities. "CSV" will then be the fallback format. // // Possible values: // "CSV" // "EXCEL" Format string `json:"format,omitempty"` // Id: The unique ID identifying this report resource. Id int64 `json:"id,omitempty,string"` // Kind: The kind of resource this is, in this case dfareporting#report. Kind string `json:"kind,omitempty"` // LastModifiedTime: The timestamp (in milliseconds since epoch) of when // this report was last modified. LastModifiedTime uint64 `json:"lastModifiedTime,omitempty,string"` // Name: The name of the report. Name string `json:"name,omitempty"` // OwnerProfileId: The user profile id of the owner of this report. OwnerProfileId int64 `json:"ownerProfileId,omitempty,string"` // PathToConversionCriteria: The report criteria for a report of type // "PATH_TO_CONVERSION". PathToConversionCriteria *ReportPathToConversionCriteria `json:"pathToConversionCriteria,omitempty"` // ReachCriteria: The report criteria for a report of type "REACH". ReachCriteria *ReportReachCriteria `json:"reachCriteria,omitempty"` // Schedule: The report's schedule. Can only be set if the report's // 'dateRange' is a relative date range and the relative date range is // not "TODAY". Schedule *ReportSchedule `json:"schedule,omitempty"` // SubAccountId: The subaccount ID to which this report belongs if // applicable. SubAccountId int64 `json:"subAccountId,omitempty,string"` // Type: The type of the report. // // Possible values: // "CROSS_DIMENSION_REACH" // "FLOODLIGHT" // "PATH_TO_CONVERSION" // "REACH" // "STANDARD" 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:"-"` }
Report: Represents a Report resource.
func (*Report) MarshalJSON ¶
type ReportCompatibleFields ¶
type ReportCompatibleFields struct { // DimensionFilters: Dimensions which are compatible to be selected in // the "dimensionFilters" section of the report. DimensionFilters []*Dimension `json:"dimensionFilters,omitempty"` // Dimensions: Dimensions which are compatible to be selected in the // "dimensions" section of the report. Dimensions []*Dimension `json:"dimensions,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#reportCompatibleFields. Kind string `json:"kind,omitempty"` // Metrics: Metrics which are compatible to be selected in the // "metricNames" section of the report. Metrics []*Metric `json:"metrics,omitempty"` // PivotedActivityMetrics: Metrics which are compatible to be selected // as activity metrics to pivot on in the "activities" section of the // report. PivotedActivityMetrics []*Metric `json:"pivotedActivityMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. "DimensionFilters") 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:"-"` }
ReportCompatibleFields: Represents fields that are compatible to be selected for a report of type "STANDARD".
func (*ReportCompatibleFields) MarshalJSON ¶
func (s *ReportCompatibleFields) MarshalJSON() ([]byte, error)
type ReportCriteria ¶
type ReportCriteria struct { // Activities: Activity group. Activities *Activities `json:"activities,omitempty"` // CustomRichMediaEvents: Custom Rich Media Events group. CustomRichMediaEvents *CustomRichMediaEvents `json:"customRichMediaEvents,omitempty"` // DateRange: The date range for which this report should be run. DateRange *DateRange `json:"dateRange,omitempty"` // DimensionFilters: The list of filters on which dimensions are // filtered. // Filters for different dimensions are ANDed, filters for the same // dimension are grouped together and ORed. DimensionFilters []*DimensionValue `json:"dimensionFilters,omitempty"` // Dimensions: The list of standard dimensions the report should // include. Dimensions []*SortedDimension `json:"dimensions,omitempty"` // MetricNames: The list of names of metrics the report should include. MetricNames []string `json:"metricNames,omitempty"` // ForceSendFields is a list of field names (e.g. "Activities") 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:"-"` }
ReportCriteria: The report criteria for a report of type "STANDARD".
func (*ReportCriteria) MarshalJSON ¶
func (s *ReportCriteria) MarshalJSON() ([]byte, error)
type ReportCrossDimensionReachCriteria ¶
type ReportCrossDimensionReachCriteria struct { // Breakdown: The list of dimensions the report should include. Breakdown []*SortedDimension `json:"breakdown,omitempty"` // DateRange: The date range this report should be run for. DateRange *DateRange `json:"dateRange,omitempty"` // Dimension: The dimension option. // // Possible values: // "ADVERTISER" // "CAMPAIGN" // "SITE_BY_ADVERTISER" // "SITE_BY_CAMPAIGN" Dimension string `json:"dimension,omitempty"` // DimensionFilters: The list of filters on which dimensions are // filtered. DimensionFilters []*DimensionValue `json:"dimensionFilters,omitempty"` // MetricNames: The list of names of metrics the report should include. MetricNames []string `json:"metricNames,omitempty"` // OverlapMetricNames: The list of names of overlap metrics the report // should include. OverlapMetricNames []string `json:"overlapMetricNames,omitempty"` // Pivoted: Whether the report is pivoted or not. Defaults to true. Pivoted bool `json:"pivoted,omitempty"` // ForceSendFields is a list of field names (e.g. "Breakdown") 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:"-"` }
ReportCrossDimensionReachCriteria: The report criteria for a report of type "CROSS_DIMENSION_REACH".
func (*ReportCrossDimensionReachCriteria) MarshalJSON ¶
func (s *ReportCrossDimensionReachCriteria) MarshalJSON() ([]byte, error)
type ReportDelivery ¶
type ReportDelivery struct { // EmailOwner: Whether the report should be emailed to the report owner. EmailOwner bool `json:"emailOwner,omitempty"` // EmailOwnerDeliveryType: The type of delivery for the owner to // receive, if enabled. // // Possible values: // "ATTACHMENT" // "LINK" EmailOwnerDeliveryType string `json:"emailOwnerDeliveryType,omitempty"` // Message: The message to be sent with each email. Message string `json:"message,omitempty"` // Recipients: The list of recipients to which to email the report. Recipients []*Recipient `json:"recipients,omitempty"` // ForceSendFields is a list of field names (e.g. "EmailOwner") 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:"-"` }
ReportDelivery: The report's email delivery settings.
func (*ReportDelivery) MarshalJSON ¶
func (s *ReportDelivery) MarshalJSON() ([]byte, error)
type ReportFloodlightCriteria ¶
type ReportFloodlightCriteria struct { // CustomRichMediaEvents: The list of custom rich media events to // include. CustomRichMediaEvents []*DimensionValue `json:"customRichMediaEvents,omitempty"` // DateRange: The date range this report should be run for. DateRange *DateRange `json:"dateRange,omitempty"` // DimensionFilters: The list of filters on which dimensions are // filtered. // Filters for different dimensions are ANDed, filters for the same // dimension are grouped together and ORed. DimensionFilters []*DimensionValue `json:"dimensionFilters,omitempty"` // Dimensions: The list of dimensions the report should include. Dimensions []*SortedDimension `json:"dimensions,omitempty"` // FloodlightConfigId: The floodlight ID for which to show data in this // report. All advertisers associated with that ID will automatically be // added. The dimension of the value needs to be // 'dfa:floodlightConfigId'. FloodlightConfigId *DimensionValue `json:"floodlightConfigId,omitempty"` // MetricNames: The list of names of metrics the report should include. MetricNames []string `json:"metricNames,omitempty"` // ReportProperties: The properties of the report. ReportProperties *ReportFloodlightCriteriaReportProperties `json:"reportProperties,omitempty"` // ForceSendFields is a list of field names (e.g. // "CustomRichMediaEvents") 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:"-"` }
ReportFloodlightCriteria: The report criteria for a report of type "FLOODLIGHT".
func (*ReportFloodlightCriteria) MarshalJSON ¶
func (s *ReportFloodlightCriteria) MarshalJSON() ([]byte, error)
type ReportFloodlightCriteriaReportProperties ¶
type ReportFloodlightCriteriaReportProperties struct { // IncludeAttributedIPConversions: Include conversions that have no // cookie, but do have an exposure path. IncludeAttributedIPConversions bool `json:"includeAttributedIPConversions,omitempty"` // IncludeUnattributedCookieConversions: Include conversions of users // with a DoubleClick cookie but without an exposure. That means the // user did not click or see an ad from the advertiser within the // Floodlight group, or that the interaction happened outside the // lookback window. IncludeUnattributedCookieConversions bool `json:"includeUnattributedCookieConversions,omitempty"` // IncludeUnattributedIPConversions: Include conversions that have no // associated cookies and no exposures. It’s therefore impossible to // know how the user was exposed to your ads during the lookback window // prior to a conversion. IncludeUnattributedIPConversions bool `json:"includeUnattributedIPConversions,omitempty"` // ForceSendFields is a list of field names (e.g. // "IncludeAttributedIPConversions") 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:"-"` }
ReportFloodlightCriteriaReportProperties: The properties of the report.
func (*ReportFloodlightCriteriaReportProperties) MarshalJSON ¶
func (s *ReportFloodlightCriteriaReportProperties) MarshalJSON() ([]byte, error)
type ReportList ¶
type ReportList struct { // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Items: The reports returned in this response. Items []*Report `json:"items,omitempty"` // Kind: The kind of list this is, in this case dfareporting#reportList. Kind string `json:"kind,omitempty"` // NextPageToken: Continuation token used to page through reports. To // retrieve the next page of results, set the next request's "pageToken" // to the value of this field. The page token is only valid for a // limited amount of time and should not be persisted. 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. "Etag") 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:"-"` }
ReportList: Represents the list of reports.
func (*ReportList) MarshalJSON ¶
func (s *ReportList) MarshalJSON() ([]byte, error)
type ReportPathToConversionCriteria ¶
type ReportPathToConversionCriteria struct { // ActivityFilters: The list of 'dfa:activity' values to filter on. ActivityFilters []*DimensionValue `json:"activityFilters,omitempty"` // ConversionDimensions: The list of conversion dimensions the report // should include. ConversionDimensions []*SortedDimension `json:"conversionDimensions,omitempty"` // CustomFloodlightVariables: The list of custom floodlight variables // the report should include. CustomFloodlightVariables []*SortedDimension `json:"customFloodlightVariables,omitempty"` // CustomRichMediaEvents: The list of custom rich media events to // include. CustomRichMediaEvents []*DimensionValue `json:"customRichMediaEvents,omitempty"` // DateRange: The date range this report should be run for. DateRange *DateRange `json:"dateRange,omitempty"` // FloodlightConfigId: The floodlight ID for which to show data in this // report. All advertisers associated with that ID will automatically be // added. The dimension of the value needs to be // 'dfa:floodlightConfigId'. FloodlightConfigId *DimensionValue `json:"floodlightConfigId,omitempty"` // MetricNames: The list of names of metrics the report should include. MetricNames []string `json:"metricNames,omitempty"` // PerInteractionDimensions: The list of per interaction dimensions the // report should include. PerInteractionDimensions []*SortedDimension `json:"perInteractionDimensions,omitempty"` // ReportProperties: The properties of the report. ReportProperties *ReportPathToConversionCriteriaReportProperties `json:"reportProperties,omitempty"` // ForceSendFields is a list of field names (e.g. "ActivityFilters") 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:"-"` }
ReportPathToConversionCriteria: The report criteria for a report of type "PATH_TO_CONVERSION".
func (*ReportPathToConversionCriteria) MarshalJSON ¶
func (s *ReportPathToConversionCriteria) MarshalJSON() ([]byte, error)
type ReportPathToConversionCriteriaReportProperties ¶
type ReportPathToConversionCriteriaReportProperties struct { // ClicksLookbackWindow: DFA checks to see if a click interaction // occurred within the specified period of time before a conversion. By // default the value is pulled from Floodlight or you can manually enter // a custom value. Valid values: 1-90. ClicksLookbackWindow int64 `json:"clicksLookbackWindow,omitempty"` // ImpressionsLookbackWindow: DFA checks to see if an impression // interaction occurred within the specified period of time before a // conversion. By default the value is pulled from Floodlight or you can // manually enter a custom value. Valid values: 1-90. ImpressionsLookbackWindow int64 `json:"impressionsLookbackWindow,omitempty"` // IncludeAttributedIPConversions: Deprecated: has no effect. IncludeAttributedIPConversions bool `json:"includeAttributedIPConversions,omitempty"` // IncludeUnattributedCookieConversions: Include conversions of users // with a DoubleClick cookie but without an exposure. That means the // user did not click or see an ad from the advertiser within the // Floodlight group, or that the interaction happened outside the // lookback window. IncludeUnattributedCookieConversions bool `json:"includeUnattributedCookieConversions,omitempty"` // IncludeUnattributedIPConversions: Include conversions that have no // associated cookies and no exposures. It’s therefore impossible to // know how the user was exposed to your ads during the lookback window // prior to a conversion. IncludeUnattributedIPConversions bool `json:"includeUnattributedIPConversions,omitempty"` // MaximumClickInteractions: The maximum number of click interactions to // include in the report. Advertisers currently paying for E2C reports // get up to 200 (100 clicks, 100 impressions). If another advertiser in // your network is paying for E2C, you can have up to 5 total exposures // per report. MaximumClickInteractions int64 `json:"maximumClickInteractions,omitempty"` // MaximumImpressionInteractions: The maximum number of click // interactions to include in the report. Advertisers currently paying // for E2C reports get up to 200 (100 clicks, 100 impressions). If // another advertiser in your network is paying for E2C, you can have up // to 5 total exposures per report. MaximumImpressionInteractions int64 `json:"maximumImpressionInteractions,omitempty"` // MaximumInteractionGap: The maximum amount of time that can take place // between interactions (clicks or impressions) by the same user. Valid // values: 1-90. MaximumInteractionGap int64 `json:"maximumInteractionGap,omitempty"` // PivotOnInteractionPath: Enable pivoting on interaction path. PivotOnInteractionPath bool `json:"pivotOnInteractionPath,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClicksLookbackWindow") 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:"-"` }
ReportPathToConversionCriteriaReportProperties: The properties of the report.
func (*ReportPathToConversionCriteriaReportProperties) MarshalJSON ¶
func (s *ReportPathToConversionCriteriaReportProperties) MarshalJSON() ([]byte, error)
type ReportReachCriteria ¶
type ReportReachCriteria struct { // Activities: Activity group. Activities *Activities `json:"activities,omitempty"` // CustomRichMediaEvents: Custom Rich Media Events group. CustomRichMediaEvents *CustomRichMediaEvents `json:"customRichMediaEvents,omitempty"` // DateRange: The date range this report should be run for. DateRange *DateRange `json:"dateRange,omitempty"` // DimensionFilters: The list of filters on which dimensions are // filtered. // Filters for different dimensions are ANDed, filters for the same // dimension are grouped together and ORed. DimensionFilters []*DimensionValue `json:"dimensionFilters,omitempty"` // Dimensions: The list of dimensions the report should include. Dimensions []*SortedDimension `json:"dimensions,omitempty"` // EnableAllDimensionCombinations: Whether to enable all reach dimension // combinations in the report. Defaults to false. If enabled, the date // range of the report should be within the last three months. EnableAllDimensionCombinations bool `json:"enableAllDimensionCombinations,omitempty"` // MetricNames: The list of names of metrics the report should include. MetricNames []string `json:"metricNames,omitempty"` // ReachByFrequencyMetricNames: The list of names of Reach By Frequency // metrics the report should include. ReachByFrequencyMetricNames []string `json:"reachByFrequencyMetricNames,omitempty"` // ForceSendFields is a list of field names (e.g. "Activities") 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:"-"` }
ReportReachCriteria: The report criteria for a report of type "REACH".
func (*ReportReachCriteria) MarshalJSON ¶
func (s *ReportReachCriteria) MarshalJSON() ([]byte, error)
type ReportSchedule ¶
type ReportSchedule struct { // Active: Whether the schedule is active or not. Must be set to either // true or false. Active bool `json:"active,omitempty"` // Every: Defines every how many days, weeks or months the report should // be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or // "MONTHLY". Every int64 `json:"every,omitempty"` // ExpirationDate: The expiration date when the scheduled report stops // running. ExpirationDate string `json:"expirationDate,omitempty"` // Repeats: The interval for which the report is repeated. Note: // - "DAILY" also requires field "every" to be set. // - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be // set. // - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be // set. Repeats string `json:"repeats,omitempty"` // RepeatsOnWeekDays: List of week days "WEEKLY" on which scheduled // reports should run. // // Possible values: // "FRIDAY" // "MONDAY" // "SATURDAY" // "SUNDAY" // "THURSDAY" // "TUESDAY" // "WEDNESDAY" RepeatsOnWeekDays []string `json:"repeatsOnWeekDays,omitempty"` // RunsOnDayOfMonth: Enum to define for "MONTHLY" scheduled reports // whether reports should be repeated on the same day of the month as // "startDate" or the same day of the week of the month. // Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), // "DAY_OF_MONTH" would run subsequent reports on the 2nd of every // Month, and "WEEK_OF_MONTH" would run subsequent reports on the first // Monday of the month. // // Possible values: // "DAY_OF_MONTH" // "WEEK_OF_MONTH" RunsOnDayOfMonth string `json:"runsOnDayOfMonth,omitempty"` // StartDate: Start date of date range for which scheduled reports // should be run. StartDate string `json:"startDate,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:"-"` }
ReportSchedule: The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
func (*ReportSchedule) MarshalJSON ¶
func (s *ReportSchedule) MarshalJSON() ([]byte, error)
type ReportsCompatibleFieldsQueryCall ¶
type ReportsCompatibleFieldsQueryCall struct {
// contains filtered or unexported fields
}
func (*ReportsCompatibleFieldsQueryCall) Context ¶
func (c *ReportsCompatibleFieldsQueryCall) Context(ctx context.Context) *ReportsCompatibleFieldsQueryCall
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 (*ReportsCompatibleFieldsQueryCall) Do ¶
func (c *ReportsCompatibleFieldsQueryCall) Do() (*CompatibleFields, error)
Do executes the "dfareporting.reports.compatibleFields.query" call. Exactly one of *CompatibleFields or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CompatibleFields.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 (*ReportsCompatibleFieldsQueryCall) Fields ¶
func (c *ReportsCompatibleFieldsQueryCall) Fields(s ...googleapi.Field) *ReportsCompatibleFieldsQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsCompatibleFieldsQueryCall) QuotaUser ¶
func (c *ReportsCompatibleFieldsQueryCall) QuotaUser(quotaUser string) *ReportsCompatibleFieldsQueryCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsCompatibleFieldsQueryCall) UserIP ¶
func (c *ReportsCompatibleFieldsQueryCall) UserIP(userIP string) *ReportsCompatibleFieldsQueryCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsCompatibleFieldsService ¶
type ReportsCompatibleFieldsService struct {
// contains filtered or unexported fields
}
func NewReportsCompatibleFieldsService ¶
func NewReportsCompatibleFieldsService(s *Service) *ReportsCompatibleFieldsService
func (*ReportsCompatibleFieldsService) Query ¶
func (r *ReportsCompatibleFieldsService) Query(profileId int64, report *Report) *ReportsCompatibleFieldsQueryCall
Query: Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
type ReportsConfiguration ¶
type ReportsConfiguration struct { // ExposureToConversionEnabled: Whether the exposure to conversion // report is enabled. This report shows detailed pathway information on // up to 10 of the most recent ad exposures seen by a user before // converting. ExposureToConversionEnabled bool `json:"exposureToConversionEnabled,omitempty"` // LookbackConfiguration: Default lookback windows for new advertisers // in this account. LookbackConfiguration *LookbackConfiguration `json:"lookbackConfiguration,omitempty"` // ReportGenerationTimeZoneId: Report generation time zone ID of this // account. This is a required field that can only be changed by a // superuser. // Acceptable values are: // // - "1" for "America/New_York" // - "2" for "Europe/London" // - "3" for "Europe/Paris" // - "4" for "Africa/Johannesburg" // - "5" for "Asia/Jerusalem" // - "6" for "Asia/Shanghai" // - "7" for "Asia/Hong_Kong" // - "8" for "Asia/Tokyo" // - "9" for "Australia/Sydney" // - "10" for "Asia/Dubai" // - "11" for "America/Los_Angeles" // - "12" for "Pacific/Auckland" // - "13" for "America/Sao_Paulo" ReportGenerationTimeZoneId int64 `json:"reportGenerationTimeZoneId,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "ExposureToConversionEnabled") 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:"-"` }
ReportsConfiguration: Reporting Configuration
func (*ReportsConfiguration) MarshalJSON ¶
func (s *ReportsConfiguration) MarshalJSON() ([]byte, error)
type ReportsDeleteCall ¶
type ReportsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ReportsDeleteCall) Context ¶
func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall
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 (*ReportsDeleteCall) Do ¶
func (c *ReportsDeleteCall) Do() error
Do executes the "dfareporting.reports.delete" call.
func (*ReportsDeleteCall) Fields ¶
func (c *ReportsDeleteCall) Fields(s ...googleapi.Field) *ReportsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsDeleteCall) QuotaUser ¶
func (c *ReportsDeleteCall) QuotaUser(quotaUser string) *ReportsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsDeleteCall) UserIP ¶
func (c *ReportsDeleteCall) UserIP(userIP string) *ReportsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsFilesGetCall ¶
type ReportsFilesGetCall struct {
// contains filtered or unexported fields
}
func (*ReportsFilesGetCall) Context ¶
func (c *ReportsFilesGetCall) Context(ctx context.Context) *ReportsFilesGetCall
Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ReportsFilesGetCall) Do ¶
func (c *ReportsFilesGetCall) Do() (*File, error)
Do executes the "dfareporting.reports.files.get" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.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 (*ReportsFilesGetCall) Download ¶
func (c *ReportsFilesGetCall) Download() (*http.Response, error)
Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.
func (*ReportsFilesGetCall) Fields ¶
func (c *ReportsFilesGetCall) Fields(s ...googleapi.Field) *ReportsFilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsFilesGetCall) IfNoneMatch ¶
func (c *ReportsFilesGetCall) IfNoneMatch(entityTag string) *ReportsFilesGetCall
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 (*ReportsFilesGetCall) QuotaUser ¶
func (c *ReportsFilesGetCall) QuotaUser(quotaUser string) *ReportsFilesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsFilesGetCall) UserIP ¶
func (c *ReportsFilesGetCall) UserIP(userIP string) *ReportsFilesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsFilesListCall ¶
type ReportsFilesListCall struct {
// contains filtered or unexported fields
}
func (*ReportsFilesListCall) Context ¶
func (c *ReportsFilesListCall) Context(ctx context.Context) *ReportsFilesListCall
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 (*ReportsFilesListCall) Do ¶
func (c *ReportsFilesListCall) Do() (*FileList, error)
Do executes the "dfareporting.reports.files.list" call. Exactly one of *FileList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FileList.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 (*ReportsFilesListCall) Fields ¶
func (c *ReportsFilesListCall) Fields(s ...googleapi.Field) *ReportsFilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsFilesListCall) IfNoneMatch ¶
func (c *ReportsFilesListCall) IfNoneMatch(entityTag string) *ReportsFilesListCall
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 (*ReportsFilesListCall) MaxResults ¶
func (c *ReportsFilesListCall) MaxResults(maxResults int64) *ReportsFilesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*ReportsFilesListCall) PageToken ¶
func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
PageToken sets the optional parameter "pageToken": The value of the nextToken from the previous result page.
func (*ReportsFilesListCall) QuotaUser ¶
func (c *ReportsFilesListCall) QuotaUser(quotaUser string) *ReportsFilesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsFilesListCall) SortField ¶
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
SortField sets the optional parameter "sortField": The field by which to sort the list.
Possible values:
"ID" - Sort by file ID. "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (*ReportsFilesListCall) SortOrder ¶
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is 'DESCENDING'.
Possible values:
"ASCENDING" - Ascending order. "DESCENDING" (default) - Descending order.
func (*ReportsFilesListCall) UserIP ¶
func (c *ReportsFilesListCall) UserIP(userIP string) *ReportsFilesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsFilesService ¶
type ReportsFilesService struct {
// contains filtered or unexported fields
}
func NewReportsFilesService ¶
func NewReportsFilesService(s *Service) *ReportsFilesService
func (*ReportsFilesService) Get ¶
func (r *ReportsFilesService) Get(profileId int64, reportId int64, fileId int64) *ReportsFilesGetCall
Get: Retrieves a report file.
func (*ReportsFilesService) List ¶
func (r *ReportsFilesService) List(profileId int64, reportId int64) *ReportsFilesListCall
List: Lists files for a report.
type ReportsGetCall ¶
type ReportsGetCall struct {
// contains filtered or unexported fields
}
func (*ReportsGetCall) Context ¶
func (c *ReportsGetCall) Context(ctx context.Context) *ReportsGetCall
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 (*ReportsGetCall) Do ¶
func (c *ReportsGetCall) Do() (*Report, error)
Do executes the "dfareporting.reports.get" call. Exactly one of *Report or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Report.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 (*ReportsGetCall) Fields ¶
func (c *ReportsGetCall) Fields(s ...googleapi.Field) *ReportsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsGetCall) IfNoneMatch ¶
func (c *ReportsGetCall) IfNoneMatch(entityTag string) *ReportsGetCall
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 (*ReportsGetCall) QuotaUser ¶
func (c *ReportsGetCall) QuotaUser(quotaUser string) *ReportsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsGetCall) UserIP ¶
func (c *ReportsGetCall) UserIP(userIP string) *ReportsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsInsertCall ¶
type ReportsInsertCall struct {
// contains filtered or unexported fields
}
func (*ReportsInsertCall) Context ¶
func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall
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 (*ReportsInsertCall) Do ¶
func (c *ReportsInsertCall) Do() (*Report, error)
Do executes the "dfareporting.reports.insert" call. Exactly one of *Report or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Report.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 (*ReportsInsertCall) Fields ¶
func (c *ReportsInsertCall) Fields(s ...googleapi.Field) *ReportsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsInsertCall) QuotaUser ¶
func (c *ReportsInsertCall) QuotaUser(quotaUser string) *ReportsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsInsertCall) UserIP ¶
func (c *ReportsInsertCall) UserIP(userIP string) *ReportsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsListCall ¶
type ReportsListCall struct {
// contains filtered or unexported fields
}
func (*ReportsListCall) Context ¶
func (c *ReportsListCall) Context(ctx context.Context) *ReportsListCall
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 (*ReportsListCall) Do ¶
func (c *ReportsListCall) Do() (*ReportList, error)
Do executes the "dfareporting.reports.list" call. Exactly one of *ReportList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportList.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 (*ReportsListCall) Fields ¶
func (c *ReportsListCall) Fields(s ...googleapi.Field) *ReportsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsListCall) IfNoneMatch ¶
func (c *ReportsListCall) IfNoneMatch(entityTag string) *ReportsListCall
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 (*ReportsListCall) MaxResults ¶
func (c *ReportsListCall) MaxResults(maxResults int64) *ReportsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*ReportsListCall) PageToken ¶
func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall
PageToken sets the optional parameter "pageToken": The value of the nextToken from the previous result page.
func (*ReportsListCall) QuotaUser ¶
func (c *ReportsListCall) QuotaUser(quotaUser string) *ReportsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsListCall) Scope ¶
func (c *ReportsListCall) Scope(scope string) *ReportsListCall
Scope sets the optional parameter "scope": The scope that defines which results are returned, default is 'MINE'.
Possible values:
"ALL" - All reports in account. "MINE" (default) - My reports.
func (*ReportsListCall) SortField ¶
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall
SortField sets the optional parameter "sortField": The field by which to sort the list.
Possible values:
"ID" - Sort by report ID. "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field. "NAME" - Sort by name of reports.
func (*ReportsListCall) SortOrder ¶
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is 'DESCENDING'.
Possible values:
"ASCENDING" - Ascending order. "DESCENDING" (default) - Descending order.
func (*ReportsListCall) UserIP ¶
func (c *ReportsListCall) UserIP(userIP string) *ReportsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsPatchCall ¶
type ReportsPatchCall struct {
// contains filtered or unexported fields
}
func (*ReportsPatchCall) Context ¶
func (c *ReportsPatchCall) Context(ctx context.Context) *ReportsPatchCall
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 (*ReportsPatchCall) Do ¶
func (c *ReportsPatchCall) Do() (*Report, error)
Do executes the "dfareporting.reports.patch" call. Exactly one of *Report or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Report.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 (*ReportsPatchCall) Fields ¶
func (c *ReportsPatchCall) Fields(s ...googleapi.Field) *ReportsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsPatchCall) QuotaUser ¶
func (c *ReportsPatchCall) QuotaUser(quotaUser string) *ReportsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsPatchCall) UserIP ¶
func (c *ReportsPatchCall) UserIP(userIP string) *ReportsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsRunCall ¶
type ReportsRunCall struct {
// contains filtered or unexported fields
}
func (*ReportsRunCall) Context ¶
func (c *ReportsRunCall) Context(ctx context.Context) *ReportsRunCall
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 (*ReportsRunCall) Do ¶
func (c *ReportsRunCall) Do() (*File, error)
Do executes the "dfareporting.reports.run" call. Exactly one of *File or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *File.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 (*ReportsRunCall) Fields ¶
func (c *ReportsRunCall) Fields(s ...googleapi.Field) *ReportsRunCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsRunCall) QuotaUser ¶
func (c *ReportsRunCall) QuotaUser(quotaUser string) *ReportsRunCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsRunCall) Synchronous ¶
func (c *ReportsRunCall) Synchronous(synchronous bool) *ReportsRunCall
Synchronous sets the optional parameter "synchronous": If set and true, tries to run the report synchronously.
func (*ReportsRunCall) UserIP ¶
func (c *ReportsRunCall) UserIP(userIP string) *ReportsRunCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ReportsService ¶
type ReportsService struct { CompatibleFields *ReportsCompatibleFieldsService Files *ReportsFilesService // contains filtered or unexported fields }
func NewReportsService ¶
func NewReportsService(s *Service) *ReportsService
func (*ReportsService) Delete ¶
func (r *ReportsService) Delete(profileId int64, reportId int64) *ReportsDeleteCall
Delete: Deletes a report by its ID.
func (*ReportsService) Get ¶
func (r *ReportsService) Get(profileId int64, reportId int64) *ReportsGetCall
Get: Retrieves a report by its ID.
func (*ReportsService) Insert ¶
func (r *ReportsService) Insert(profileId int64, report *Report) *ReportsInsertCall
Insert: Creates a report.
func (*ReportsService) List ¶
func (r *ReportsService) List(profileId int64) *ReportsListCall
List: Retrieves list of reports.
func (*ReportsService) Patch ¶
func (r *ReportsService) Patch(profileId int64, reportId int64, report *Report) *ReportsPatchCall
Patch: Updates a report. This method supports patch semantics.
func (*ReportsService) Run ¶
func (r *ReportsService) Run(profileId int64, reportId int64) *ReportsRunCall
Run: Runs a report.
func (*ReportsService) Update ¶
func (r *ReportsService) Update(profileId int64, reportId int64, report *Report) *ReportsUpdateCall
Update: Updates a report.
type ReportsUpdateCall ¶
type ReportsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ReportsUpdateCall) Context ¶
func (c *ReportsUpdateCall) Context(ctx context.Context) *ReportsUpdateCall
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 (*ReportsUpdateCall) Do ¶
func (c *ReportsUpdateCall) Do() (*Report, error)
Do executes the "dfareporting.reports.update" call. Exactly one of *Report or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Report.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 (*ReportsUpdateCall) Fields ¶
func (c *ReportsUpdateCall) Fields(s ...googleapi.Field) *ReportsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ReportsUpdateCall) QuotaUser ¶
func (c *ReportsUpdateCall) QuotaUser(quotaUser string) *ReportsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ReportsUpdateCall) UserIP ¶
func (c *ReportsUpdateCall) UserIP(userIP string) *ReportsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RichMediaExitOverride ¶
type RichMediaExitOverride struct { // CustomExitUrl: Click-through URL to override the default exit URL. // Applicable if the useCustomExitUrl field is set to true. CustomExitUrl string `json:"customExitUrl,omitempty"` // ExitId: ID for the override to refer to a specific exit in the // creative. ExitId int64 `json:"exitId,omitempty,string"` // UseCustomExitUrl: Whether to use the custom exit URL. UseCustomExitUrl bool `json:"useCustomExitUrl,omitempty"` // ForceSendFields is a list of field names (e.g. "CustomExitUrl") 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:"-"` }
RichMediaExitOverride: Rich Media Exit Override.
func (*RichMediaExitOverride) MarshalJSON ¶
func (s *RichMediaExitOverride) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment AccountActiveAdSummaries *AccountActiveAdSummariesService AccountPermissionGroups *AccountPermissionGroupsService AccountPermissions *AccountPermissionsService AccountUserProfiles *AccountUserProfilesService Accounts *AccountsService Ads *AdsService AdvertiserGroups *AdvertiserGroupsService Advertisers *AdvertisersService Browsers *BrowsersService CampaignCreativeAssociations *CampaignCreativeAssociationsService Campaigns *CampaignsService ChangeLogs *ChangeLogsService Cities *CitiesService ConnectionTypes *ConnectionTypesService ContentCategories *ContentCategoriesService Countries *CountriesService CreativeAssets *CreativeAssetsService CreativeFieldValues *CreativeFieldValuesService CreativeFields *CreativeFieldsService CreativeGroups *CreativeGroupsService Creatives *CreativesService DimensionValues *DimensionValuesService DirectorySiteContacts *DirectorySiteContactsService DirectorySites *DirectorySitesService EventTags *EventTagsService Files *FilesService FloodlightActivities *FloodlightActivitiesService FloodlightActivityGroups *FloodlightActivityGroupsService FloodlightConfigurations *FloodlightConfigurationsService InventoryItems *InventoryItemsService LandingPages *LandingPagesService Metros *MetrosService MobileCarriers *MobileCarriersService OperatingSystemVersions *OperatingSystemVersionsService OperatingSystems *OperatingSystemsService OrderDocuments *OrderDocumentsService Orders *OrdersService PlacementGroups *PlacementGroupsService PlacementStrategies *PlacementStrategiesService Placements *PlacementsService PlatformTypes *PlatformTypesService PostalCodes *PostalCodesService Projects *ProjectsService Regions *RegionsService RemarketingLists *RemarketingListsService Reports *ReportsService Sites *SitesService Sizes *SizesService Subaccounts *SubaccountsService TargetableRemarketingLists *TargetableRemarketingListsService UserProfiles *UserProfilesService UserRolePermissionGroups *UserRolePermissionGroupsService UserRolePermissions *UserRolePermissionsService UserRoles *UserRolesService // contains filtered or unexported fields }
type Site ¶
type Site struct { // AccountId: Account ID of this site. This is a read-only field that // can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // Approved: Whether this site is approved. Approved bool `json:"approved,omitempty"` // DirectorySiteId: Directory site associated with this site. This is a // required field that is read-only after insertion. DirectorySiteId int64 `json:"directorySiteId,omitempty,string"` // DirectorySiteIdDimensionValue: Dimension value for the ID of the // directory site. This is a read-only, auto-generated field. DirectorySiteIdDimensionValue *DimensionValue `json:"directorySiteIdDimensionValue,omitempty"` // Id: ID of this site. This is a read-only, auto-generated field. Id int64 `json:"id,omitempty,string"` // IdDimensionValue: Dimension value for the ID of this site. This is a // read-only, auto-generated field. IdDimensionValue *DimensionValue `json:"idDimensionValue,omitempty"` // KeyName: Key name of this site. This is a read-only, auto-generated // field. KeyName string `json:"keyName,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#site". Kind string `json:"kind,omitempty"` // Name: Name of this site.This is a required field. Must be less than // 128 characters long. If this site is under a subaccount, the name // must be unique among sites of the same subaccount. Otherwise, this // site is a top-level site, and the name must be unique among top-level // sites of the same account. Name string `json:"name,omitempty"` // SiteContacts: Site contacts. SiteContacts []*SiteContact `json:"siteContacts,omitempty"` // SiteSettings: Site-wide settings. SiteSettings *SiteSettings `json:"siteSettings,omitempty"` // SubaccountId: Subaccount ID of this site. 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:"-"` }
Site: Contains properties of a site.
func (*Site) MarshalJSON ¶
type SiteContact ¶
type SiteContact struct { // Address: Address of this site contact. Address string `json:"address,omitempty"` // ContactType: Site contact type. // // Possible values: // "SALES_PERSON" // "TRAFFICKER" ContactType string `json:"contactType,omitempty"` // Email: Email address of this site contact. This is a required field. Email string `json:"email,omitempty"` // FirstName: First name of this site contact. FirstName string `json:"firstName,omitempty"` // Id: ID of this site contact. This is a read-only, auto-generated // field. Id int64 `json:"id,omitempty,string"` // LastName: Last name of this site contact. LastName string `json:"lastName,omitempty"` // Phone: Primary phone number of this site contact. Phone string `json:"phone,omitempty"` // Title: Title or designation of this site contact. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") 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:"-"` }
SiteContact: Site Contact
func (*SiteContact) MarshalJSON ¶
func (s *SiteContact) MarshalJSON() ([]byte, error)
type SiteSettings ¶
type SiteSettings struct { // ActiveViewOptOut: Whether active view creatives are disabled for this // site. ActiveViewOptOut bool `json:"activeViewOptOut,omitempty"` // CreativeSettings: Site-wide creative settings. CreativeSettings *CreativeSettings `json:"creativeSettings,omitempty"` // DisableBrandSafeAds: Whether brand safe ads are disabled for this // site. DisableBrandSafeAds bool `json:"disableBrandSafeAds,omitempty"` // DisableNewCookie: Whether new cookies are disabled for this site. DisableNewCookie bool `json:"disableNewCookie,omitempty"` // LookbackConfiguration: Lookback window settings for this site. LookbackConfiguration *LookbackConfiguration `json:"lookbackConfiguration,omitempty"` // TagSetting: Configuration settings for dynamic and image floodlight // tags. TagSetting *TagSetting `json:"tagSetting,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveViewOptOut") 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:"-"` }
SiteSettings: Site Settings
func (*SiteSettings) MarshalJSON ¶
func (s *SiteSettings) MarshalJSON() ([]byte, error)
type SitesGetCall ¶
type SitesGetCall struct {
// contains filtered or unexported fields
}
func (*SitesGetCall) Context ¶
func (c *SitesGetCall) Context(ctx context.Context) *SitesGetCall
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 (*SitesGetCall) Do ¶
func (c *SitesGetCall) Do() (*Site, error)
Do executes the "dfareporting.sites.get" call. Exactly one of *Site or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Site.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 (*SitesGetCall) Fields ¶
func (c *SitesGetCall) Fields(s ...googleapi.Field) *SitesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SitesGetCall) IfNoneMatch ¶
func (c *SitesGetCall) IfNoneMatch(entityTag string) *SitesGetCall
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 (*SitesGetCall) QuotaUser ¶
func (c *SitesGetCall) QuotaUser(quotaUser string) *SitesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SitesGetCall) UserIP ¶
func (c *SitesGetCall) UserIP(userIP string) *SitesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SitesInsertCall ¶
type SitesInsertCall struct {
// contains filtered or unexported fields
}
func (*SitesInsertCall) Context ¶
func (c *SitesInsertCall) Context(ctx context.Context) *SitesInsertCall
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 (*SitesInsertCall) Do ¶
func (c *SitesInsertCall) Do() (*Site, error)
Do executes the "dfareporting.sites.insert" call. Exactly one of *Site or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Site.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 (*SitesInsertCall) Fields ¶
func (c *SitesInsertCall) Fields(s ...googleapi.Field) *SitesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SitesInsertCall) QuotaUser ¶
func (c *SitesInsertCall) QuotaUser(quotaUser string) *SitesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SitesInsertCall) UserIP ¶
func (c *SitesInsertCall) UserIP(userIP string) *SitesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SitesListCall ¶
type SitesListCall struct {
// contains filtered or unexported fields
}
func (*SitesListCall) AcceptsInStreamVideoPlacements ¶
func (c *SitesListCall) AcceptsInStreamVideoPlacements(acceptsInStreamVideoPlacements bool) *SitesListCall
AcceptsInStreamVideoPlacements sets the optional parameter "acceptsInStreamVideoPlacements": This search filter is no longer supported and will have no effect on the results returned.
func (*SitesListCall) AcceptsInterstitialPlacements ¶
func (c *SitesListCall) AcceptsInterstitialPlacements(acceptsInterstitialPlacements bool) *SitesListCall
AcceptsInterstitialPlacements sets the optional parameter "acceptsInterstitialPlacements": This search filter is no longer supported and will have no effect on the results returned.
func (*SitesListCall) AcceptsPublisherPaidPlacements ¶
func (c *SitesListCall) AcceptsPublisherPaidPlacements(acceptsPublisherPaidPlacements bool) *SitesListCall
AcceptsPublisherPaidPlacements sets the optional parameter "acceptsPublisherPaidPlacements": Select only sites that accept publisher paid placements.
func (*SitesListCall) AdWordsSite ¶
func (c *SitesListCall) AdWordsSite(adWordsSite bool) *SitesListCall
AdWordsSite sets the optional parameter "adWordsSite": Select only AdWords sites.
func (*SitesListCall) Approved ¶
func (c *SitesListCall) Approved(approved bool) *SitesListCall
Approved sets the optional parameter "approved": Select only approved sites.
func (*SitesListCall) CampaignIds ¶
func (c *SitesListCall) CampaignIds(campaignIds ...int64) *SitesListCall
CampaignIds sets the optional parameter "campaignIds": Select only sites with these campaign IDs.
func (*SitesListCall) Context ¶
func (c *SitesListCall) Context(ctx context.Context) *SitesListCall
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 (*SitesListCall) DirectorySiteIds ¶
func (c *SitesListCall) DirectorySiteIds(directorySiteIds ...int64) *SitesListCall
DirectorySiteIds sets the optional parameter "directorySiteIds": Select only sites with these directory site IDs.
func (*SitesListCall) Do ¶
func (c *SitesListCall) Do() (*SitesListResponse, error)
Do executes the "dfareporting.sites.list" call. Exactly one of *SitesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SitesListResponse.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 (*SitesListCall) Fields ¶
func (c *SitesListCall) Fields(s ...googleapi.Field) *SitesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SitesListCall) Ids ¶
func (c *SitesListCall) Ids(ids ...int64) *SitesListCall
Ids sets the optional parameter "ids": Select only sites with these IDs.
func (*SitesListCall) IfNoneMatch ¶
func (c *SitesListCall) IfNoneMatch(entityTag string) *SitesListCall
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 (*SitesListCall) MaxResults ¶
func (c *SitesListCall) MaxResults(maxResults int64) *SitesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*SitesListCall) PageToken ¶
func (c *SitesListCall) PageToken(pageToken string) *SitesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*SitesListCall) QuotaUser ¶
func (c *SitesListCall) QuotaUser(quotaUser string) *SitesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SitesListCall) SearchString ¶
func (c *SitesListCall) SearchString(searchString string) *SitesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 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 "site" will match objects with name "my site", "site 2015", or simply "site".
func (*SitesListCall) SortField ¶
func (c *SitesListCall) SortField(sortField string) *SitesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*SitesListCall) SortOrder ¶
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*SitesListCall) SubaccountId ¶
func (c *SitesListCall) SubaccountId(subaccountId int64) *SitesListCall
SubaccountId sets the optional parameter "subaccountId": Select only sites with this subaccount ID.
func (*SitesListCall) UnmappedSite ¶
func (c *SitesListCall) UnmappedSite(unmappedSite bool) *SitesListCall
UnmappedSite sets the optional parameter "unmappedSite": Select only sites that have not been mapped to a directory site.
func (*SitesListCall) UserIP ¶
func (c *SitesListCall) UserIP(userIP string) *SitesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SitesListResponse ¶
type SitesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#sitesListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // Sites: Site collection. Sites []*Site `json:"sites,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
SitesListResponse: Site List Response
func (*SitesListResponse) MarshalJSON ¶
func (s *SitesListResponse) MarshalJSON() ([]byte, error)
type SitesPatchCall ¶
type SitesPatchCall struct {
// contains filtered or unexported fields
}
func (*SitesPatchCall) Context ¶
func (c *SitesPatchCall) Context(ctx context.Context) *SitesPatchCall
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 (*SitesPatchCall) Do ¶
func (c *SitesPatchCall) Do() (*Site, error)
Do executes the "dfareporting.sites.patch" call. Exactly one of *Site or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Site.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 (*SitesPatchCall) Fields ¶
func (c *SitesPatchCall) Fields(s ...googleapi.Field) *SitesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SitesPatchCall) QuotaUser ¶
func (c *SitesPatchCall) QuotaUser(quotaUser string) *SitesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SitesPatchCall) UserIP ¶
func (c *SitesPatchCall) UserIP(userIP string) *SitesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SitesService ¶
type SitesService struct {
// contains filtered or unexported fields
}
func NewSitesService ¶
func NewSitesService(s *Service) *SitesService
func (*SitesService) Get ¶
func (r *SitesService) Get(profileId int64, id int64) *SitesGetCall
Get: Gets one site by ID.
func (*SitesService) Insert ¶
func (r *SitesService) Insert(profileId int64, site *Site) *SitesInsertCall
Insert: Inserts a new site.
func (*SitesService) List ¶
func (r *SitesService) List(profileId int64) *SitesListCall
List: Retrieves a list of sites, possibly filtered.
func (*SitesService) Patch ¶
func (r *SitesService) Patch(profileId int64, id int64, site *Site) *SitesPatchCall
Patch: Updates an existing site. This method supports patch semantics.
func (*SitesService) Update ¶
func (r *SitesService) Update(profileId int64, site *Site) *SitesUpdateCall
Update: Updates an existing site.
type SitesUpdateCall ¶
type SitesUpdateCall struct {
// contains filtered or unexported fields
}
func (*SitesUpdateCall) Context ¶
func (c *SitesUpdateCall) Context(ctx context.Context) *SitesUpdateCall
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 (*SitesUpdateCall) Do ¶
func (c *SitesUpdateCall) Do() (*Site, error)
Do executes the "dfareporting.sites.update" call. Exactly one of *Site or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Site.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 (*SitesUpdateCall) Fields ¶
func (c *SitesUpdateCall) Fields(s ...googleapi.Field) *SitesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SitesUpdateCall) QuotaUser ¶
func (c *SitesUpdateCall) QuotaUser(quotaUser string) *SitesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SitesUpdateCall) UserIP ¶
func (c *SitesUpdateCall) UserIP(userIP string) *SitesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Size ¶
type Size struct { // Height: Height of this size. Height int64 `json:"height,omitempty"` // Iab: IAB standard size. This is a read-only, auto-generated field. Iab bool `json:"iab,omitempty"` // Id: ID of this size. 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#size". Kind string `json:"kind,omitempty"` // Width: Width of this size. Width int64 `json:"width,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Height") 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:"-"` }
Size: Represents the dimensions of ads, placements, creatives, or creative assets.
func (*Size) MarshalJSON ¶
type SizesGetCall ¶
type SizesGetCall struct {
// contains filtered or unexported fields
}
func (*SizesGetCall) Context ¶
func (c *SizesGetCall) Context(ctx context.Context) *SizesGetCall
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 (*SizesGetCall) Do ¶
func (c *SizesGetCall) Do() (*Size, error)
Do executes the "dfareporting.sizes.get" call. Exactly one of *Size or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Size.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 (*SizesGetCall) Fields ¶
func (c *SizesGetCall) Fields(s ...googleapi.Field) *SizesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SizesGetCall) IfNoneMatch ¶
func (c *SizesGetCall) IfNoneMatch(entityTag string) *SizesGetCall
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 (*SizesGetCall) QuotaUser ¶
func (c *SizesGetCall) QuotaUser(quotaUser string) *SizesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SizesGetCall) UserIP ¶
func (c *SizesGetCall) UserIP(userIP string) *SizesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SizesInsertCall ¶
type SizesInsertCall struct {
// contains filtered or unexported fields
}
func (*SizesInsertCall) Context ¶
func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall
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 (*SizesInsertCall) Do ¶
func (c *SizesInsertCall) Do() (*Size, error)
Do executes the "dfareporting.sizes.insert" call. Exactly one of *Size or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Size.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 (*SizesInsertCall) Fields ¶
func (c *SizesInsertCall) Fields(s ...googleapi.Field) *SizesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SizesInsertCall) QuotaUser ¶
func (c *SizesInsertCall) QuotaUser(quotaUser string) *SizesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SizesInsertCall) UserIP ¶
func (c *SizesInsertCall) UserIP(userIP string) *SizesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SizesListCall ¶
type SizesListCall struct {
// contains filtered or unexported fields
}
func (*SizesListCall) Context ¶
func (c *SizesListCall) Context(ctx context.Context) *SizesListCall
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 (*SizesListCall) Do ¶
func (c *SizesListCall) Do() (*SizesListResponse, error)
Do executes the "dfareporting.sizes.list" call. Exactly one of *SizesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SizesListResponse.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 (*SizesListCall) Fields ¶
func (c *SizesListCall) Fields(s ...googleapi.Field) *SizesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SizesListCall) Height ¶
func (c *SizesListCall) Height(height int64) *SizesListCall
Height sets the optional parameter "height": Select only sizes with this height.
func (*SizesListCall) IabStandard ¶
func (c *SizesListCall) IabStandard(iabStandard bool) *SizesListCall
IabStandard sets the optional parameter "iabStandard": Select only IAB standard sizes.
func (*SizesListCall) Ids ¶
func (c *SizesListCall) Ids(ids ...int64) *SizesListCall
Ids sets the optional parameter "ids": Select only sizes with these IDs.
func (*SizesListCall) IfNoneMatch ¶
func (c *SizesListCall) IfNoneMatch(entityTag string) *SizesListCall
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 (*SizesListCall) QuotaUser ¶
func (c *SizesListCall) QuotaUser(quotaUser string) *SizesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SizesListCall) UserIP ¶
func (c *SizesListCall) UserIP(userIP string) *SizesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
func (*SizesListCall) Width ¶
func (c *SizesListCall) Width(width int64) *SizesListCall
Width sets the optional parameter "width": Select only sizes with this width.
type SizesListResponse ¶
type SizesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#sizesListResponse". Kind string `json:"kind,omitempty"` // Sizes: Size collection. Sizes []*Size `json:"sizes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
SizesListResponse: Size List Response
func (*SizesListResponse) MarshalJSON ¶
func (s *SizesListResponse) MarshalJSON() ([]byte, error)
type SizesService ¶
type SizesService struct {
// contains filtered or unexported fields
}
func NewSizesService ¶
func NewSizesService(s *Service) *SizesService
func (*SizesService) Get ¶
func (r *SizesService) Get(profileId int64, id int64) *SizesGetCall
Get: Gets one size by ID.
func (*SizesService) Insert ¶
func (r *SizesService) Insert(profileId int64, size *Size) *SizesInsertCall
Insert: Inserts a new size.
func (*SizesService) List ¶
func (r *SizesService) List(profileId int64) *SizesListCall
List: Retrieves a list of sizes, possibly filtered.
type SortedDimension ¶
type SortedDimension struct { // Kind: The kind of resource this is, in this case // dfareporting#sortedDimension. Kind string `json:"kind,omitempty"` // Name: The name of the dimension. Name string `json:"name,omitempty"` // SortOrder: An optional sort order for the dimension column. // // Possible values: // "ASCENDING" // "DESCENDING" SortOrder string `json:"sortOrder,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
SortedDimension: Represents a sorted dimension.
func (*SortedDimension) MarshalJSON ¶
func (s *SortedDimension) MarshalJSON() ([]byte, error)
type Subaccount ¶
type Subaccount struct { // AccountId: ID of the account that contains this subaccount. This is a // read-only field that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // AvailablePermissionIds: IDs of the available user role permissions // for this subaccount. AvailablePermissionIds googleapi.Int64s `json:"availablePermissionIds,omitempty"` // Id: ID of this subaccount. 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#subaccount". Kind string `json:"kind,omitempty"` // Name: Name of this subaccount. This is a required field. Must be less // than 128 characters long and be unique among subaccounts 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:"-"` }
Subaccount: Contains properties of a DCM subaccount.
func (*Subaccount) MarshalJSON ¶
func (s *Subaccount) MarshalJSON() ([]byte, error)
type SubaccountsGetCall ¶
type SubaccountsGetCall struct {
// contains filtered or unexported fields
}
func (*SubaccountsGetCall) Context ¶
func (c *SubaccountsGetCall) Context(ctx context.Context) *SubaccountsGetCall
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 (*SubaccountsGetCall) Do ¶
func (c *SubaccountsGetCall) Do() (*Subaccount, error)
Do executes the "dfareporting.subaccounts.get" call. Exactly one of *Subaccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Subaccount.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 (*SubaccountsGetCall) Fields ¶
func (c *SubaccountsGetCall) Fields(s ...googleapi.Field) *SubaccountsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SubaccountsGetCall) IfNoneMatch ¶
func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall
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 (*SubaccountsGetCall) QuotaUser ¶
func (c *SubaccountsGetCall) QuotaUser(quotaUser string) *SubaccountsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SubaccountsGetCall) UserIP ¶
func (c *SubaccountsGetCall) UserIP(userIP string) *SubaccountsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SubaccountsInsertCall ¶
type SubaccountsInsertCall struct {
// contains filtered or unexported fields
}
func (*SubaccountsInsertCall) Context ¶
func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall
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 (*SubaccountsInsertCall) Do ¶
func (c *SubaccountsInsertCall) Do() (*Subaccount, error)
Do executes the "dfareporting.subaccounts.insert" call. Exactly one of *Subaccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Subaccount.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 (*SubaccountsInsertCall) Fields ¶
func (c *SubaccountsInsertCall) Fields(s ...googleapi.Field) *SubaccountsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SubaccountsInsertCall) QuotaUser ¶
func (c *SubaccountsInsertCall) QuotaUser(quotaUser string) *SubaccountsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SubaccountsInsertCall) UserIP ¶
func (c *SubaccountsInsertCall) UserIP(userIP string) *SubaccountsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SubaccountsListCall ¶
type SubaccountsListCall struct {
// contains filtered or unexported fields
}
func (*SubaccountsListCall) Context ¶
func (c *SubaccountsListCall) Context(ctx context.Context) *SubaccountsListCall
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 (*SubaccountsListCall) Do ¶
func (c *SubaccountsListCall) Do() (*SubaccountsListResponse, error)
Do executes the "dfareporting.subaccounts.list" call. Exactly one of *SubaccountsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SubaccountsListResponse.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 (*SubaccountsListCall) Fields ¶
func (c *SubaccountsListCall) Fields(s ...googleapi.Field) *SubaccountsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SubaccountsListCall) Ids ¶
func (c *SubaccountsListCall) Ids(ids ...int64) *SubaccountsListCall
Ids sets the optional parameter "ids": Select only subaccounts with these IDs.
func (*SubaccountsListCall) IfNoneMatch ¶
func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall
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 (*SubaccountsListCall) MaxResults ¶
func (c *SubaccountsListCall) MaxResults(maxResults int64) *SubaccountsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*SubaccountsListCall) PageToken ¶
func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*SubaccountsListCall) QuotaUser ¶
func (c *SubaccountsListCall) QuotaUser(quotaUser string) *SubaccountsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SubaccountsListCall) SearchString ¶
func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "subaccount*2015" will return objects with names like "subaccount June 2015", "subaccount April 2015", or simply "subaccount 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 "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount".
func (*SubaccountsListCall) SortField ¶
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*SubaccountsListCall) SortOrder ¶
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*SubaccountsListCall) UserIP ¶
func (c *SubaccountsListCall) UserIP(userIP string) *SubaccountsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SubaccountsListResponse ¶
type SubaccountsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#subaccountsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // Subaccounts: Subaccount collection. Subaccounts []*Subaccount `json:"subaccounts,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
SubaccountsListResponse: Subaccount List Response
func (*SubaccountsListResponse) MarshalJSON ¶
func (s *SubaccountsListResponse) MarshalJSON() ([]byte, error)
type SubaccountsPatchCall ¶
type SubaccountsPatchCall struct {
// contains filtered or unexported fields
}
func (*SubaccountsPatchCall) Context ¶
func (c *SubaccountsPatchCall) Context(ctx context.Context) *SubaccountsPatchCall
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 (*SubaccountsPatchCall) Do ¶
func (c *SubaccountsPatchCall) Do() (*Subaccount, error)
Do executes the "dfareporting.subaccounts.patch" call. Exactly one of *Subaccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Subaccount.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 (*SubaccountsPatchCall) Fields ¶
func (c *SubaccountsPatchCall) Fields(s ...googleapi.Field) *SubaccountsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SubaccountsPatchCall) QuotaUser ¶
func (c *SubaccountsPatchCall) QuotaUser(quotaUser string) *SubaccountsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SubaccountsPatchCall) UserIP ¶
func (c *SubaccountsPatchCall) UserIP(userIP string) *SubaccountsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type SubaccountsService ¶
type SubaccountsService struct {
// contains filtered or unexported fields
}
func NewSubaccountsService ¶
func NewSubaccountsService(s *Service) *SubaccountsService
func (*SubaccountsService) Get ¶
func (r *SubaccountsService) Get(profileId int64, id int64) *SubaccountsGetCall
Get: Gets one subaccount by ID.
func (*SubaccountsService) Insert ¶
func (r *SubaccountsService) Insert(profileId int64, subaccount *Subaccount) *SubaccountsInsertCall
Insert: Inserts a new subaccount.
func (*SubaccountsService) List ¶
func (r *SubaccountsService) List(profileId int64) *SubaccountsListCall
List: Gets a list of subaccounts, possibly filtered.
func (*SubaccountsService) Patch ¶
func (r *SubaccountsService) Patch(profileId int64, id int64, subaccount *Subaccount) *SubaccountsPatchCall
Patch: Updates an existing subaccount. This method supports patch semantics.
func (*SubaccountsService) Update ¶
func (r *SubaccountsService) Update(profileId int64, subaccount *Subaccount) *SubaccountsUpdateCall
Update: Updates an existing subaccount.
type SubaccountsUpdateCall ¶
type SubaccountsUpdateCall struct {
// contains filtered or unexported fields
}
func (*SubaccountsUpdateCall) Context ¶
func (c *SubaccountsUpdateCall) Context(ctx context.Context) *SubaccountsUpdateCall
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 (*SubaccountsUpdateCall) Do ¶
func (c *SubaccountsUpdateCall) Do() (*Subaccount, error)
Do executes the "dfareporting.subaccounts.update" call. Exactly one of *Subaccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Subaccount.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 (*SubaccountsUpdateCall) Fields ¶
func (c *SubaccountsUpdateCall) Fields(s ...googleapi.Field) *SubaccountsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SubaccountsUpdateCall) QuotaUser ¶
func (c *SubaccountsUpdateCall) QuotaUser(quotaUser string) *SubaccountsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*SubaccountsUpdateCall) UserIP ¶
func (c *SubaccountsUpdateCall) UserIP(userIP string) *SubaccountsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TagData ¶
type TagData struct { // AdId: Ad associated with this placement tag. AdId int64 `json:"adId,omitempty,string"` // ClickTag: Tag string to record a click. ClickTag string `json:"clickTag,omitempty"` // CreativeId: Creative associated with this placement tag. CreativeId int64 `json:"creativeId,omitempty,string"` // Format: TagData tag format of this tag. // // Possible values: // "PLACEMENT_TAG_CLICK_COMMANDS" // "PLACEMENT_TAG_IFRAME_ILAYER" // "PLACEMENT_TAG_IFRAME_JAVASCRIPT" // "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" // "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" // "PLACEMENT_TAG_INTERNAL_REDIRECT" // "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" // "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" // "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" // "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_JAVASCRIPT" // "PLACEMENT_TAG_JAVASCRIPT_LEGACY" // "PLACEMENT_TAG_STANDARD" // "PLACEMENT_TAG_TRACKING" // "PLACEMENT_TAG_TRACKING_IFRAME" // "PLACEMENT_TAG_TRACKING_JAVASCRIPT" Format string `json:"format,omitempty"` // ImpressionTag: Tag string for serving an ad. ImpressionTag string `json:"impressionTag,omitempty"` // ForceSendFields is a list of field names (e.g. "AdId") 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:"-"` }
TagData: Placement Tag Data
func (*TagData) MarshalJSON ¶
type TagSetting ¶
type TagSetting struct { // AdditionalKeyValues: Additional key-values to be included in tags. // Each key-value pair must be of the form key=value, and pairs must be // separated by a semicolon (;). Keys and values must not contain // commas. For example, id=2;color=red is a valid value for this field. AdditionalKeyValues string `json:"additionalKeyValues,omitempty"` // IncludeClickThroughUrls: Whether static landing page URLs should be // included in the tags. This setting applies only to placements. IncludeClickThroughUrls bool `json:"includeClickThroughUrls,omitempty"` // IncludeClickTracking: Whether click-tracking string should be // included in the tags. IncludeClickTracking bool `json:"includeClickTracking,omitempty"` // KeywordOption: Option specifying how keywords are embedded in ad // tags. This setting can be used to specify whether keyword // placeholders are inserted in placement tags for this site. Publishers // can then add keywords to those placeholders. // // Possible values: // "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" // "IGNORE" // "PLACEHOLDER_WITH_LIST_OF_KEYWORDS" KeywordOption string `json:"keywordOption,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalKeyValues") // 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:"-"` }
TagSetting: Tag Settings
func (*TagSetting) MarshalJSON ¶
func (s *TagSetting) MarshalJSON() ([]byte, error)
type TagSettings ¶
type TagSettings struct { // DynamicTagEnabled: Whether dynamic floodlight tags are enabled. DynamicTagEnabled bool `json:"dynamicTagEnabled,omitempty"` // ImageTagEnabled: Whether image tags are enabled. ImageTagEnabled bool `json:"imageTagEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. "DynamicTagEnabled") // 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:"-"` }
TagSettings: Dynamic and Image Tag Settings.
func (*TagSettings) MarshalJSON ¶
func (s *TagSettings) MarshalJSON() ([]byte, error)
type TargetWindow ¶
type TargetWindow struct { // CustomHtml: User-entered value. CustomHtml string `json:"customHtml,omitempty"` // TargetWindowOption: Type of browser window for which the backup image // of the flash creative can be displayed. // // Possible values: // "CURRENT_WINDOW" // "CUSTOM" // "NEW_WINDOW" TargetWindowOption string `json:"targetWindowOption,omitempty"` // ForceSendFields is a list of field names (e.g. "CustomHtml") 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:"-"` }
TargetWindow: Target Window.
func (*TargetWindow) MarshalJSON ¶
func (s *TargetWindow) MarshalJSON() ([]byte, error)
type TargetableRemarketingList ¶
type TargetableRemarketingList struct { // AccountId: Account ID of this remarketing list. This is a read-only, // auto-generated field that is only returned in GET requests. AccountId int64 `json:"accountId,omitempty,string"` // Active: Whether this targetable remarketing list is active. Active bool `json:"active,omitempty"` // AdvertiserId: Dimension value for the advertiser ID that owns this // targetable remarketing list. AdvertiserId int64 `json:"advertiserId,omitempty,string"` // AdvertiserIdDimensionValue: Dimension value for the ID of the // advertiser. AdvertiserIdDimensionValue *DimensionValue `json:"advertiserIdDimensionValue,omitempty"` // Description: Targetable remarketing list description. Description string `json:"description,omitempty"` // Id: Targetable remarketing list ID. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#targetableRemarketingList". Kind string `json:"kind,omitempty"` // LifeSpan: Number of days that a user should remain in the targetable // remarketing list without an impression. LifeSpan int64 `json:"lifeSpan,omitempty,string"` // ListSize: Number of users currently in the list. This is a read-only // field. ListSize int64 `json:"listSize,omitempty,string"` // ListSource: Product from which this targetable remarketing list was // originated. // // Possible values: // "REMARKETING_LIST_SOURCE_DBM" // "REMARKETING_LIST_SOURCE_DFA" // "REMARKETING_LIST_SOURCE_DMP" // "REMARKETING_LIST_SOURCE_GA" // "REMARKETING_LIST_SOURCE_OTHER" ListSource string `json:"listSource,omitempty"` // Name: Name of the targetable remarketing list. Is no greater than 128 // characters long. Name string `json:"name,omitempty"` // SubaccountId: Subaccount ID of this remarketing list. This is a // read-only, auto-generated field that is only returned in GET // requests. 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:"-"` }
TargetableRemarketingList: Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.
func (*TargetableRemarketingList) MarshalJSON ¶
func (s *TargetableRemarketingList) MarshalJSON() ([]byte, error)
type TargetableRemarketingListsGetCall ¶
type TargetableRemarketingListsGetCall struct {
// contains filtered or unexported fields
}
func (*TargetableRemarketingListsGetCall) Context ¶
func (c *TargetableRemarketingListsGetCall) Context(ctx context.Context) *TargetableRemarketingListsGetCall
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 (*TargetableRemarketingListsGetCall) Do ¶
func (c *TargetableRemarketingListsGetCall) Do() (*TargetableRemarketingList, error)
Do executes the "dfareporting.targetableRemarketingLists.get" call. Exactly one of *TargetableRemarketingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TargetableRemarketingList.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 (*TargetableRemarketingListsGetCall) Fields ¶
func (c *TargetableRemarketingListsGetCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TargetableRemarketingListsGetCall) IfNoneMatch ¶
func (c *TargetableRemarketingListsGetCall) IfNoneMatch(entityTag string) *TargetableRemarketingListsGetCall
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 (*TargetableRemarketingListsGetCall) QuotaUser ¶
func (c *TargetableRemarketingListsGetCall) QuotaUser(quotaUser string) *TargetableRemarketingListsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TargetableRemarketingListsGetCall) UserIP ¶
func (c *TargetableRemarketingListsGetCall) UserIP(userIP string) *TargetableRemarketingListsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TargetableRemarketingListsListCall ¶
type TargetableRemarketingListsListCall struct {
// contains filtered or unexported fields
}
func (*TargetableRemarketingListsListCall) Active ¶
func (c *TargetableRemarketingListsListCall) Active(active bool) *TargetableRemarketingListsListCall
Active sets the optional parameter "active": Select only active or only inactive targetable remarketing lists.
func (*TargetableRemarketingListsListCall) Context ¶
func (c *TargetableRemarketingListsListCall) Context(ctx context.Context) *TargetableRemarketingListsListCall
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 (*TargetableRemarketingListsListCall) Do ¶
func (c *TargetableRemarketingListsListCall) Do() (*TargetableRemarketingListsListResponse, error)
Do executes the "dfareporting.targetableRemarketingLists.list" call. Exactly one of *TargetableRemarketingListsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TargetableRemarketingListsListResponse.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 (*TargetableRemarketingListsListCall) Fields ¶
func (c *TargetableRemarketingListsListCall) Fields(s ...googleapi.Field) *TargetableRemarketingListsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TargetableRemarketingListsListCall) IfNoneMatch ¶
func (c *TargetableRemarketingListsListCall) IfNoneMatch(entityTag string) *TargetableRemarketingListsListCall
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 (*TargetableRemarketingListsListCall) MaxResults ¶
func (c *TargetableRemarketingListsListCall) MaxResults(maxResults int64) *TargetableRemarketingListsListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*TargetableRemarketingListsListCall) Name ¶
func (c *TargetableRemarketingListsListCall) Name(name string) *TargetableRemarketingListsListCall
Name sets the optional parameter "name": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 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 "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list".
func (*TargetableRemarketingListsListCall) PageToken ¶
func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *TargetableRemarketingListsListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*TargetableRemarketingListsListCall) QuotaUser ¶
func (c *TargetableRemarketingListsListCall) QuotaUser(quotaUser string) *TargetableRemarketingListsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TargetableRemarketingListsListCall) SortField ¶
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*TargetableRemarketingListsListCall) SortOrder ¶
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*TargetableRemarketingListsListCall) UserIP ¶
func (c *TargetableRemarketingListsListCall) UserIP(userIP string) *TargetableRemarketingListsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TargetableRemarketingListsListResponse ¶
type TargetableRemarketingListsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#targetableRemarketingListsListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // TargetableRemarketingLists: Targetable remarketing list collection. TargetableRemarketingLists []*TargetableRemarketingList `json:"targetableRemarketingLists,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
TargetableRemarketingListsListResponse: Targetable remarketing list response
func (*TargetableRemarketingListsListResponse) MarshalJSON ¶
func (s *TargetableRemarketingListsListResponse) MarshalJSON() ([]byte, error)
type TargetableRemarketingListsService ¶
type TargetableRemarketingListsService struct {
// contains filtered or unexported fields
}
func NewTargetableRemarketingListsService ¶
func NewTargetableRemarketingListsService(s *Service) *TargetableRemarketingListsService
func (*TargetableRemarketingListsService) Get ¶
func (r *TargetableRemarketingListsService) Get(profileId int64, id int64) *TargetableRemarketingListsGetCall
Get: Gets one remarketing list by ID.
func (*TargetableRemarketingListsService) List ¶
func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall
List: Retrieves a list of targetable remarketing lists, possibly filtered.
type TechnologyTargeting ¶
type TechnologyTargeting struct { // Browsers: Browsers that this ad targets. For each browser either set // browserVersionId or dartId along with the version numbers. If both // are specified, only browserVersionId will be used.The other fields // are populated automatically when the ad is inserted or updated. Browsers []*Browser `json:"browsers,omitempty"` // ConnectionTypes: Connection types that this ad targets. For each // connection type only id is required.The other fields are populated // automatically when the ad is inserted or updated. ConnectionTypes []*ConnectionType `json:"connectionTypes,omitempty"` // MobileCarriers: Mobile carriers that this ad targets. For each mobile // carrier only id is required, and the other fields are populated // automatically when the ad is inserted or updated. If targeting a // mobile carrier, do not set targeting for any zip codes. MobileCarriers []*MobileCarrier `json:"mobileCarriers,omitempty"` // OperatingSystemVersions: Operating system versions that this ad // targets. To target all versions, use operatingSystems. For each // operating system version, only id is required. The other fields are // populated automatically when the ad is inserted or updated. If // targeting an operating system version, do not set targeting for the // corresponding operating system in operatingSystems. OperatingSystemVersions []*OperatingSystemVersion `json:"operatingSystemVersions,omitempty"` // OperatingSystems: Operating systems that this ad targets. To target // specific versions, use operatingSystemVersions. For each operating // system only dartId is required. The other fields are populated // automatically when the ad is inserted or updated. If targeting an // operating system, do not set targeting for operating system versions // for the same operating system. OperatingSystems []*OperatingSystem `json:"operatingSystems,omitempty"` // PlatformTypes: Platform types that this ad targets. For example, // desktop, mobile, or tablet. For each platform type, only id is // required, and the other fields are populated automatically when the // ad is inserted or updated. PlatformTypes []*PlatformType `json:"platformTypes,omitempty"` // 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:"-"` }
TechnologyTargeting: Technology Targeting.
func (*TechnologyTargeting) MarshalJSON ¶
func (s *TechnologyTargeting) MarshalJSON() ([]byte, error)
type ThirdPartyTrackingUrl ¶
type ThirdPartyTrackingUrl struct { // ThirdPartyUrlType: Third-party URL type for in-stream video // creatives. // // Possible values: // "CLICK_TRACKING" // "IMPRESSION" // "RICH_MEDIA_BACKUP_IMPRESSION" // "RICH_MEDIA_IMPRESSION" // "RICH_MEDIA_RM_IMPRESSION" // "SURVEY" // "VIDEO_COMPLETE" // "VIDEO_CUSTOM" // "VIDEO_FIRST_QUARTILE" // "VIDEO_FULLSCREEN" // "VIDEO_MIDPOINT" // "VIDEO_MUTE" // "VIDEO_PAUSE" // "VIDEO_REWIND" // "VIDEO_START" // "VIDEO_STOP" // "VIDEO_THIRD_QUARTILE" ThirdPartyUrlType string `json:"thirdPartyUrlType,omitempty"` // Url: URL for the specified third-party URL type. Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "ThirdPartyUrlType") // 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:"-"` }
ThirdPartyTrackingUrl: Third-party Tracking URL.
func (*ThirdPartyTrackingUrl) MarshalJSON ¶
func (s *ThirdPartyTrackingUrl) MarshalJSON() ([]byte, error)
type UserDefinedVariableConfiguration ¶
type UserDefinedVariableConfiguration struct { // DataType: Data type for the variable. This is a required field. // // Possible values: // "NUMBER" // "STRING" DataType string `json:"dataType,omitempty"` // ReportName: User-friendly name for the variable which will appear in // reports. This is a required field, must be less than 64 characters // long, and cannot contain the following characters: ""<>". ReportName string `json:"reportName,omitempty"` // VariableType: Variable name in the tag. This is a required field. // // Possible values: // "U1" // "U10" // "U11" // "U12" // "U13" // "U14" // "U15" // "U16" // "U17" // "U18" // "U19" // "U2" // "U20" // "U3" // "U4" // "U5" // "U6" // "U7" // "U8" // "U9" VariableType string `json:"variableType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataType") 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:"-"` }
UserDefinedVariableConfiguration: User Defined Variable configuration.
func (*UserDefinedVariableConfiguration) MarshalJSON ¶
func (s *UserDefinedVariableConfiguration) MarshalJSON() ([]byte, error)
type UserProfile ¶
type UserProfile struct { // AccountId: The account ID to which this profile belongs. AccountId int64 `json:"accountId,omitempty,string"` // AccountName: The account name this profile belongs to. AccountName string `json:"accountName,omitempty"` // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Kind: The kind of resource this is, in this case // dfareporting#userProfile. Kind string `json:"kind,omitempty"` // ProfileId: The unique ID of the user profile. ProfileId int64 `json:"profileId,omitempty,string"` // SubAccountId: The sub account ID this profile belongs to if // applicable. SubAccountId int64 `json:"subAccountId,omitempty,string"` // SubAccountName: The sub account name this profile belongs to if // applicable. SubAccountName string `json:"subAccountName,omitempty"` // UserName: The user name. UserName string `json:"userName,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:"-"` }
UserProfile: Represents a UserProfile resource.
func (*UserProfile) MarshalJSON ¶
func (s *UserProfile) MarshalJSON() ([]byte, error)
type UserProfileList ¶
type UserProfileList struct { // Etag: The eTag of this response for caching purposes. Etag string `json:"etag,omitempty"` // Items: The user profiles returned in this response. Items []*UserProfile `json:"items,omitempty"` // Kind: The kind of list this is, in this case // dfareporting#userProfileList. 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. "Etag") 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:"-"` }
UserProfileList: Represents the list of user profiles.
func (*UserProfileList) MarshalJSON ¶
func (s *UserProfileList) MarshalJSON() ([]byte, error)
type UserProfilesGetCall ¶
type UserProfilesGetCall struct {
// contains filtered or unexported fields
}
func (*UserProfilesGetCall) Context ¶
func (c *UserProfilesGetCall) Context(ctx context.Context) *UserProfilesGetCall
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 (*UserProfilesGetCall) Do ¶
func (c *UserProfilesGetCall) Do() (*UserProfile, error)
Do executes the "dfareporting.userProfiles.get" call. Exactly one of *UserProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserProfile.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 (*UserProfilesGetCall) Fields ¶
func (c *UserProfilesGetCall) Fields(s ...googleapi.Field) *UserProfilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserProfilesGetCall) IfNoneMatch ¶
func (c *UserProfilesGetCall) IfNoneMatch(entityTag string) *UserProfilesGetCall
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 (*UserProfilesGetCall) QuotaUser ¶
func (c *UserProfilesGetCall) QuotaUser(quotaUser string) *UserProfilesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserProfilesGetCall) UserIP ¶
func (c *UserProfilesGetCall) UserIP(userIP string) *UserProfilesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserProfilesListCall ¶
type UserProfilesListCall struct {
// contains filtered or unexported fields
}
func (*UserProfilesListCall) Context ¶
func (c *UserProfilesListCall) Context(ctx context.Context) *UserProfilesListCall
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 (*UserProfilesListCall) Do ¶
func (c *UserProfilesListCall) Do() (*UserProfileList, error)
Do executes the "dfareporting.userProfiles.list" call. Exactly one of *UserProfileList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserProfileList.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 (*UserProfilesListCall) Fields ¶
func (c *UserProfilesListCall) Fields(s ...googleapi.Field) *UserProfilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserProfilesListCall) IfNoneMatch ¶
func (c *UserProfilesListCall) IfNoneMatch(entityTag string) *UserProfilesListCall
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 (*UserProfilesListCall) QuotaUser ¶
func (c *UserProfilesListCall) QuotaUser(quotaUser string) *UserProfilesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserProfilesListCall) UserIP ¶
func (c *UserProfilesListCall) UserIP(userIP string) *UserProfilesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserProfilesService ¶
type UserProfilesService struct {
// contains filtered or unexported fields
}
func NewUserProfilesService ¶
func NewUserProfilesService(s *Service) *UserProfilesService
func (*UserProfilesService) Get ¶
func (r *UserProfilesService) Get(profileId int64) *UserProfilesGetCall
Get: Gets one user profile by ID.
func (*UserProfilesService) List ¶
func (r *UserProfilesService) List() *UserProfilesListCall
List: Retrieves list of user profiles for a user.
type UserRole ¶
type UserRole struct { // AccountId: Account ID of this user role. This is a read-only field // that can be left blank. AccountId int64 `json:"accountId,omitempty,string"` // DefaultUserRole: Whether this is a default user role. Default user // roles are created by the system for the account/subaccount and cannot // be modified or deleted. Each default user role comes with a basic set // of preassigned permissions. DefaultUserRole bool `json:"defaultUserRole,omitempty"` // Id: ID of this user role. 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#userRole". Kind string `json:"kind,omitempty"` // Name: Name of this user role. This is a required field. Must be less // than 256 characters long. If this user role is under a subaccount, // the name must be unique among sites of the same subaccount. // Otherwise, this user role is a top-level user role, and the name must // be unique among top-level user roles of the same account. Name string `json:"name,omitempty"` // ParentUserRoleId: ID of the user role that this user role is based on // or copied from. This is a required field. ParentUserRoleId int64 `json:"parentUserRoleId,omitempty,string"` // Permissions: List of permissions associated with this user role. Permissions []*UserRolePermission `json:"permissions,omitempty"` // SubaccountId: Subaccount ID of this user role. 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:"-"` }
UserRole: Contains properties of auser role, which is used to manage user access.
func (*UserRole) MarshalJSON ¶
type UserRolePermission ¶
type UserRolePermission struct { // Availability: Levels of availability for a user role permission. // // Possible values: // "ACCOUNT_ALWAYS" // "ACCOUNT_BY_DEFAULT" // "NOT_AVAILABLE_BY_DEFAULT" // "SUBACCOUNT_AND_ACCOUNT_ALWAYS" // "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT" Availability string `json:"availability,omitempty"` // Id: ID of this user role permission. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#userRolePermission". Kind string `json:"kind,omitempty"` // Name: Name of this user role permission. Name string `json:"name,omitempty"` // PermissionGroupId: ID of the permission group that this user role // permission belongs to. 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. "Availability") 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:"-"` }
UserRolePermission: Contains properties of a user role permission.
func (*UserRolePermission) MarshalJSON ¶
func (s *UserRolePermission) MarshalJSON() ([]byte, error)
type UserRolePermissionGroup ¶
type UserRolePermissionGroup struct { // Id: ID of this user role permission. Id int64 `json:"id,omitempty,string"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#userRolePermissionGroup". Kind string `json:"kind,omitempty"` // Name: Name of this user role 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:"-"` }
UserRolePermissionGroup: Represents a grouping of related user role permissions.
func (*UserRolePermissionGroup) MarshalJSON ¶
func (s *UserRolePermissionGroup) MarshalJSON() ([]byte, error)
type UserRolePermissionGroupsGetCall ¶
type UserRolePermissionGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*UserRolePermissionGroupsGetCall) Context ¶
func (c *UserRolePermissionGroupsGetCall) Context(ctx context.Context) *UserRolePermissionGroupsGetCall
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 (*UserRolePermissionGroupsGetCall) Do ¶
func (c *UserRolePermissionGroupsGetCall) Do() (*UserRolePermissionGroup, error)
Do executes the "dfareporting.userRolePermissionGroups.get" call. Exactly one of *UserRolePermissionGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRolePermissionGroup.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 (*UserRolePermissionGroupsGetCall) Fields ¶
func (c *UserRolePermissionGroupsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolePermissionGroupsGetCall) IfNoneMatch ¶
func (c *UserRolePermissionGroupsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsGetCall
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 (*UserRolePermissionGroupsGetCall) QuotaUser ¶
func (c *UserRolePermissionGroupsGetCall) QuotaUser(quotaUser string) *UserRolePermissionGroupsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolePermissionGroupsGetCall) UserIP ¶
func (c *UserRolePermissionGroupsGetCall) UserIP(userIP string) *UserRolePermissionGroupsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolePermissionGroupsListCall ¶
type UserRolePermissionGroupsListCall struct {
// contains filtered or unexported fields
}
func (*UserRolePermissionGroupsListCall) Context ¶
func (c *UserRolePermissionGroupsListCall) Context(ctx context.Context) *UserRolePermissionGroupsListCall
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 (*UserRolePermissionGroupsListCall) Do ¶
func (c *UserRolePermissionGroupsListCall) Do() (*UserRolePermissionGroupsListResponse, error)
Do executes the "dfareporting.userRolePermissionGroups.list" call. Exactly one of *UserRolePermissionGroupsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRolePermissionGroupsListResponse.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 (*UserRolePermissionGroupsListCall) Fields ¶
func (c *UserRolePermissionGroupsListCall) Fields(s ...googleapi.Field) *UserRolePermissionGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolePermissionGroupsListCall) IfNoneMatch ¶
func (c *UserRolePermissionGroupsListCall) IfNoneMatch(entityTag string) *UserRolePermissionGroupsListCall
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 (*UserRolePermissionGroupsListCall) QuotaUser ¶
func (c *UserRolePermissionGroupsListCall) QuotaUser(quotaUser string) *UserRolePermissionGroupsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolePermissionGroupsListCall) UserIP ¶
func (c *UserRolePermissionGroupsListCall) UserIP(userIP string) *UserRolePermissionGroupsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolePermissionGroupsListResponse ¶
type UserRolePermissionGroupsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#userRolePermissionGroupsListResponse". Kind string `json:"kind,omitempty"` // UserRolePermissionGroups: User role permission group collection. UserRolePermissionGroups []*UserRolePermissionGroup `json:"userRolePermissionGroups,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
UserRolePermissionGroupsListResponse: User Role Permission Group List Response
func (*UserRolePermissionGroupsListResponse) MarshalJSON ¶
func (s *UserRolePermissionGroupsListResponse) MarshalJSON() ([]byte, error)
type UserRolePermissionGroupsService ¶
type UserRolePermissionGroupsService struct {
// contains filtered or unexported fields
}
func NewUserRolePermissionGroupsService ¶
func NewUserRolePermissionGroupsService(s *Service) *UserRolePermissionGroupsService
func (*UserRolePermissionGroupsService) Get ¶
func (r *UserRolePermissionGroupsService) Get(profileId int64, id int64) *UserRolePermissionGroupsGetCall
Get: Gets one user role permission group by ID.
func (*UserRolePermissionGroupsService) List ¶
func (r *UserRolePermissionGroupsService) List(profileId int64) *UserRolePermissionGroupsListCall
List: Gets a list of all supported user role permission groups.
type UserRolePermissionsGetCall ¶
type UserRolePermissionsGetCall struct {
// contains filtered or unexported fields
}
func (*UserRolePermissionsGetCall) Context ¶
func (c *UserRolePermissionsGetCall) Context(ctx context.Context) *UserRolePermissionsGetCall
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 (*UserRolePermissionsGetCall) Do ¶
func (c *UserRolePermissionsGetCall) Do() (*UserRolePermission, error)
Do executes the "dfareporting.userRolePermissions.get" call. Exactly one of *UserRolePermission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRolePermission.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 (*UserRolePermissionsGetCall) Fields ¶
func (c *UserRolePermissionsGetCall) Fields(s ...googleapi.Field) *UserRolePermissionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolePermissionsGetCall) IfNoneMatch ¶
func (c *UserRolePermissionsGetCall) IfNoneMatch(entityTag string) *UserRolePermissionsGetCall
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 (*UserRolePermissionsGetCall) QuotaUser ¶
func (c *UserRolePermissionsGetCall) QuotaUser(quotaUser string) *UserRolePermissionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolePermissionsGetCall) UserIP ¶
func (c *UserRolePermissionsGetCall) UserIP(userIP string) *UserRolePermissionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolePermissionsListCall ¶
type UserRolePermissionsListCall struct {
// contains filtered or unexported fields
}
func (*UserRolePermissionsListCall) Context ¶
func (c *UserRolePermissionsListCall) Context(ctx context.Context) *UserRolePermissionsListCall
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 (*UserRolePermissionsListCall) Do ¶
func (c *UserRolePermissionsListCall) Do() (*UserRolePermissionsListResponse, error)
Do executes the "dfareporting.userRolePermissions.list" call. Exactly one of *UserRolePermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRolePermissionsListResponse.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 (*UserRolePermissionsListCall) Fields ¶
func (c *UserRolePermissionsListCall) Fields(s ...googleapi.Field) *UserRolePermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolePermissionsListCall) Ids ¶
func (c *UserRolePermissionsListCall) Ids(ids ...int64) *UserRolePermissionsListCall
Ids sets the optional parameter "ids": Select only user role permissions with these IDs.
func (*UserRolePermissionsListCall) IfNoneMatch ¶
func (c *UserRolePermissionsListCall) IfNoneMatch(entityTag string) *UserRolePermissionsListCall
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 (*UserRolePermissionsListCall) QuotaUser ¶
func (c *UserRolePermissionsListCall) QuotaUser(quotaUser string) *UserRolePermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolePermissionsListCall) UserIP ¶
func (c *UserRolePermissionsListCall) UserIP(userIP string) *UserRolePermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolePermissionsListResponse ¶
type UserRolePermissionsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#userRolePermissionsListResponse". Kind string `json:"kind,omitempty"` // UserRolePermissions: User role permission collection. UserRolePermissions []*UserRolePermission `json:"userRolePermissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
UserRolePermissionsListResponse: User Role Permission List Response
func (*UserRolePermissionsListResponse) MarshalJSON ¶
func (s *UserRolePermissionsListResponse) MarshalJSON() ([]byte, error)
type UserRolePermissionsService ¶
type UserRolePermissionsService struct {
// contains filtered or unexported fields
}
func NewUserRolePermissionsService ¶
func NewUserRolePermissionsService(s *Service) *UserRolePermissionsService
func (*UserRolePermissionsService) Get ¶
func (r *UserRolePermissionsService) Get(profileId int64, id int64) *UserRolePermissionsGetCall
Get: Gets one user role permission by ID.
func (*UserRolePermissionsService) List ¶
func (r *UserRolePermissionsService) List(profileId int64) *UserRolePermissionsListCall
List: Gets a list of user role permissions, possibly filtered.
type UserRolesDeleteCall ¶
type UserRolesDeleteCall struct {
// contains filtered or unexported fields
}
func (*UserRolesDeleteCall) Context ¶
func (c *UserRolesDeleteCall) Context(ctx context.Context) *UserRolesDeleteCall
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 (*UserRolesDeleteCall) Do ¶
func (c *UserRolesDeleteCall) Do() error
Do executes the "dfareporting.userRoles.delete" call.
func (*UserRolesDeleteCall) Fields ¶
func (c *UserRolesDeleteCall) Fields(s ...googleapi.Field) *UserRolesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesDeleteCall) QuotaUser ¶
func (c *UserRolesDeleteCall) QuotaUser(quotaUser string) *UserRolesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesDeleteCall) UserIP ¶
func (c *UserRolesDeleteCall) UserIP(userIP string) *UserRolesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolesGetCall ¶
type UserRolesGetCall struct {
// contains filtered or unexported fields
}
func (*UserRolesGetCall) Context ¶
func (c *UserRolesGetCall) Context(ctx context.Context) *UserRolesGetCall
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 (*UserRolesGetCall) Do ¶
func (c *UserRolesGetCall) Do() (*UserRole, error)
Do executes the "dfareporting.userRoles.get" call. Exactly one of *UserRole or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRole.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 (*UserRolesGetCall) Fields ¶
func (c *UserRolesGetCall) Fields(s ...googleapi.Field) *UserRolesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesGetCall) IfNoneMatch ¶
func (c *UserRolesGetCall) IfNoneMatch(entityTag string) *UserRolesGetCall
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 (*UserRolesGetCall) QuotaUser ¶
func (c *UserRolesGetCall) QuotaUser(quotaUser string) *UserRolesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesGetCall) UserIP ¶
func (c *UserRolesGetCall) UserIP(userIP string) *UserRolesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolesInsertCall ¶
type UserRolesInsertCall struct {
// contains filtered or unexported fields
}
func (*UserRolesInsertCall) Context ¶
func (c *UserRolesInsertCall) Context(ctx context.Context) *UserRolesInsertCall
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 (*UserRolesInsertCall) Do ¶
func (c *UserRolesInsertCall) Do() (*UserRole, error)
Do executes the "dfareporting.userRoles.insert" call. Exactly one of *UserRole or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRole.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 (*UserRolesInsertCall) Fields ¶
func (c *UserRolesInsertCall) Fields(s ...googleapi.Field) *UserRolesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesInsertCall) QuotaUser ¶
func (c *UserRolesInsertCall) QuotaUser(quotaUser string) *UserRolesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesInsertCall) UserIP ¶
func (c *UserRolesInsertCall) UserIP(userIP string) *UserRolesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolesListCall ¶
type UserRolesListCall struct {
// contains filtered or unexported fields
}
func (*UserRolesListCall) AccountUserRoleOnly ¶
func (c *UserRolesListCall) AccountUserRoleOnly(accountUserRoleOnly bool) *UserRolesListCall
AccountUserRoleOnly sets the optional parameter "accountUserRoleOnly": Select only account level user roles not associated with any specific subaccount.
func (*UserRolesListCall) Context ¶
func (c *UserRolesListCall) Context(ctx context.Context) *UserRolesListCall
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 (*UserRolesListCall) Do ¶
func (c *UserRolesListCall) Do() (*UserRolesListResponse, error)
Do executes the "dfareporting.userRoles.list" call. Exactly one of *UserRolesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRolesListResponse.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 (*UserRolesListCall) Fields ¶
func (c *UserRolesListCall) Fields(s ...googleapi.Field) *UserRolesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesListCall) Ids ¶
func (c *UserRolesListCall) Ids(ids ...int64) *UserRolesListCall
Ids sets the optional parameter "ids": Select only user roles with the specified IDs.
func (*UserRolesListCall) IfNoneMatch ¶
func (c *UserRolesListCall) IfNoneMatch(entityTag string) *UserRolesListCall
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 (*UserRolesListCall) MaxResults ¶
func (c *UserRolesListCall) MaxResults(maxResults int64) *UserRolesListCall
MaxResults sets the optional parameter "maxResults": Maximum number of results to return.
func (*UserRolesListCall) PageToken ¶
func (c *UserRolesListCall) PageToken(pageToken string) *UserRolesListCall
PageToken sets the optional parameter "pageToken": Value of the nextPageToken from the previous result page.
func (*UserRolesListCall) QuotaUser ¶
func (c *UserRolesListCall) QuotaUser(quotaUser string) *UserRolesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesListCall) SearchString ¶
func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
SearchString sets the optional parameter "searchString": Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "userrole*2015" will return objects with names like "userrole June 2015", "userrole April 2015", or simply "userrole 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 "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole".
func (*UserRolesListCall) SortField ¶
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall
SortField sets the optional parameter "sortField": Field by which to sort the list.
Possible values:
"ID" "NAME"
func (*UserRolesListCall) SortOrder ¶
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall
SortOrder sets the optional parameter "sortOrder": Order of sorted results, default is ASCENDING.
Possible values:
"ASCENDING" "DESCENDING"
func (*UserRolesListCall) SubaccountId ¶
func (c *UserRolesListCall) SubaccountId(subaccountId int64) *UserRolesListCall
SubaccountId sets the optional parameter "subaccountId": Select only user roles that belong to this subaccount.
func (*UserRolesListCall) UserIP ¶
func (c *UserRolesListCall) UserIP(userIP string) *UserRolesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolesListResponse ¶
type UserRolesListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "dfareporting#userRolesListResponse". Kind string `json:"kind,omitempty"` // NextPageToken: Pagination token to be used for the next list // operation. NextPageToken string `json:"nextPageToken,omitempty"` // UserRoles: User role collection. UserRoles []*UserRole `json:"userRoles,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") 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:"-"` }
UserRolesListResponse: User Role List Response
func (*UserRolesListResponse) MarshalJSON ¶
func (s *UserRolesListResponse) MarshalJSON() ([]byte, error)
type UserRolesPatchCall ¶
type UserRolesPatchCall struct {
// contains filtered or unexported fields
}
func (*UserRolesPatchCall) Context ¶
func (c *UserRolesPatchCall) Context(ctx context.Context) *UserRolesPatchCall
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 (*UserRolesPatchCall) Do ¶
func (c *UserRolesPatchCall) Do() (*UserRole, error)
Do executes the "dfareporting.userRoles.patch" call. Exactly one of *UserRole or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRole.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 (*UserRolesPatchCall) Fields ¶
func (c *UserRolesPatchCall) Fields(s ...googleapi.Field) *UserRolesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesPatchCall) QuotaUser ¶
func (c *UserRolesPatchCall) QuotaUser(quotaUser string) *UserRolesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesPatchCall) UserIP ¶
func (c *UserRolesPatchCall) UserIP(userIP string) *UserRolesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type UserRolesService ¶
type UserRolesService struct {
// contains filtered or unexported fields
}
func NewUserRolesService ¶
func NewUserRolesService(s *Service) *UserRolesService
func (*UserRolesService) Delete ¶
func (r *UserRolesService) Delete(profileId int64, id int64) *UserRolesDeleteCall
Delete: Deletes an existing user role.
func (*UserRolesService) Get ¶
func (r *UserRolesService) Get(profileId int64, id int64) *UserRolesGetCall
Get: Gets one user role by ID.
func (*UserRolesService) Insert ¶
func (r *UserRolesService) Insert(profileId int64, userrole *UserRole) *UserRolesInsertCall
Insert: Inserts a new user role.
func (*UserRolesService) List ¶
func (r *UserRolesService) List(profileId int64) *UserRolesListCall
List: Retrieves a list of user roles, possibly filtered.
func (*UserRolesService) Patch ¶
func (r *UserRolesService) Patch(profileId int64, id int64, userrole *UserRole) *UserRolesPatchCall
Patch: Updates an existing user role. This method supports patch semantics.
func (*UserRolesService) Update ¶
func (r *UserRolesService) Update(profileId int64, userrole *UserRole) *UserRolesUpdateCall
Update: Updates an existing user role.
type UserRolesUpdateCall ¶
type UserRolesUpdateCall struct {
// contains filtered or unexported fields
}
func (*UserRolesUpdateCall) Context ¶
func (c *UserRolesUpdateCall) Context(ctx context.Context) *UserRolesUpdateCall
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 (*UserRolesUpdateCall) Do ¶
func (c *UserRolesUpdateCall) Do() (*UserRole, error)
Do executes the "dfareporting.userRoles.update" call. Exactly one of *UserRole or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserRole.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 (*UserRolesUpdateCall) Fields ¶
func (c *UserRolesUpdateCall) Fields(s ...googleapi.Field) *UserRolesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UserRolesUpdateCall) QuotaUser ¶
func (c *UserRolesUpdateCall) QuotaUser(quotaUser string) *UserRolesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*UserRolesUpdateCall) UserIP ¶
func (c *UserRolesUpdateCall) UserIP(userIP string) *UserRolesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.