ADSENSEHOST

adsensehost.accounts.adclients.get

valid {
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adclients.list

valid {
    input.ReqMap.accountId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.delete

valid {
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ReqMap.adUnitId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.get

valid {
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ReqMap.adUnitId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.getAdCode

valid {
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ReqMap.adUnitId == STRING
    input.Qs.hostCustomChannelId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.insert

valid {
    input.Body.code == STRING
    input.Body.contentAdsSettings.backupOption.color == STRING
    input.Body.contentAdsSettings.backupOption.type == STRING
    input.Body.contentAdsSettings.backupOption.url == STRING
    input.Body.contentAdsSettings.size == STRING
    input.Body.contentAdsSettings.type == STRING
    input.Body.customStyle.colors.background == STRING
    input.Body.customStyle.colors.border == STRING
    input.Body.customStyle.colors.text == STRING
    input.Body.customStyle.colors.title == STRING
    input.Body.customStyle.colors.url == STRING
    input.Body.customStyle.corners == STRING
    input.Body.customStyle.font.family == STRING
    input.Body.customStyle.font.size == STRING
    input.Body.customStyle.kind == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.mobileContentAdsSettings.markupLanguage == STRING
    input.Body.mobileContentAdsSettings.scriptingLanguage == STRING
    input.Body.mobileContentAdsSettings.size == STRING
    input.Body.mobileContentAdsSettings.type == STRING
    input.Body.name == STRING
    input.Body.status == STRING
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.list

valid {
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.Qs.includeInactive == BOOLEAN
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.patch

valid {
    input.Body.code == STRING
    input.Body.contentAdsSettings.backupOption.color == STRING
    input.Body.contentAdsSettings.backupOption.type == STRING
    input.Body.contentAdsSettings.backupOption.url == STRING
    input.Body.contentAdsSettings.size == STRING
    input.Body.contentAdsSettings.type == STRING
    input.Body.customStyle.colors.background == STRING
    input.Body.customStyle.colors.border == STRING
    input.Body.customStyle.colors.text == STRING
    input.Body.customStyle.colors.title == STRING
    input.Body.customStyle.colors.url == STRING
    input.Body.customStyle.corners == STRING
    input.Body.customStyle.font.family == STRING
    input.Body.customStyle.font.size == STRING
    input.Body.customStyle.kind == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.mobileContentAdsSettings.markupLanguage == STRING
    input.Body.mobileContentAdsSettings.scriptingLanguage == STRING
    input.Body.mobileContentAdsSettings.size == STRING
    input.Body.mobileContentAdsSettings.type == STRING
    input.Body.name == STRING
    input.Body.status == STRING
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.Qs.adUnitId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.adunits.update

valid {
    input.Body.code == STRING
    input.Body.contentAdsSettings.backupOption.color == STRING
    input.Body.contentAdsSettings.backupOption.type == STRING
    input.Body.contentAdsSettings.backupOption.url == STRING
    input.Body.contentAdsSettings.size == STRING
    input.Body.contentAdsSettings.type == STRING
    input.Body.customStyle.colors.background == STRING
    input.Body.customStyle.colors.border == STRING
    input.Body.customStyle.colors.text == STRING
    input.Body.customStyle.colors.title == STRING
    input.Body.customStyle.colors.url == STRING
    input.Body.customStyle.corners == STRING
    input.Body.customStyle.font.family == STRING
    input.Body.customStyle.font.size == STRING
    input.Body.customStyle.kind == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.mobileContentAdsSettings.markupLanguage == STRING
    input.Body.mobileContentAdsSettings.scriptingLanguage == STRING
    input.Body.mobileContentAdsSettings.size == STRING
    input.Body.mobileContentAdsSettings.type == STRING
    input.Body.name == STRING
    input.Body.status == STRING
    input.ReqMap.accountId == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.get

valid {
    input.ReqMap.accountId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.list

valid {
    input.Qs.filterAdClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.accounts.reports.generate

valid {
    input.ReqMap.accountId == STRING
    input.Qs.dimension == STRING
    input.Qs.endDate == STRING
    input.Qs.filter == STRING
    input.Qs.locale == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.metric == STRING
    input.Qs.sort == STRING
    input.Qs.startDate == STRING
    input.Qs.startIndex == INTEGER
    input.ProviderMetadata.Region == STRING
}

adsensehost.adclients.get

valid {
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.adclients.list

valid {
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.associationsessions.start

enum_ProductCodeParameter := [ "AFC", "AFG", "AFMC", "AFS", "AFV" ]

valid {
    input.Qs.callbackUrl == STRING
    input.Qs.productCode == enum_ProductCodeParameter[_]
    input.Qs.userLocale == STRING
    input.Qs.websiteLocale == STRING
    input.Qs.websiteUrl == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.associationsessions.verify

valid {
    input.Qs.token == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.delete

valid {
    input.ReqMap.adClientId == STRING
    input.ReqMap.customChannelId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.get

valid {
    input.ReqMap.adClientId == STRING
    input.ReqMap.customChannelId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.insert

valid {
    input.Body.code == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.name == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.list

valid {
    input.ReqMap.adClientId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.patch

valid {
    input.Body.code == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.name == STRING
    input.ReqMap.adClientId == STRING
    input.Qs.customChannelId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.customchannels.update

valid {
    input.Body.code == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.name == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.reports.generate

valid {
    input.Qs.dimension == STRING
    input.Qs.endDate == STRING
    input.Qs.filter == STRING
    input.Qs.locale == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.metric == STRING
    input.Qs.sort == STRING
    input.Qs.startDate == STRING
    input.Qs.startIndex == INTEGER
    input.ProviderMetadata.Region == STRING
}

adsensehost.urlchannels.delete

valid {
    input.ReqMap.adClientId == STRING
    input.ReqMap.urlChannelId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.urlchannels.insert

valid {
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.urlPattern == STRING
    input.ReqMap.adClientId == STRING
    input.ProviderMetadata.Region == STRING
}

adsensehost.urlchannels.list

valid {
    input.ReqMap.adClientId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}