📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Dfareporting
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Account.php
▶ Open 📄 View Source
🐘 AccountActiveAdSummary.php
▶ Open 📄 View Source
🐘 AccountPermission.php
▶ Open 📄 View Source
🐘 AccountPermissionGroup.php
▶ Open 📄 View Source
🐘 AccountPermissionGroupsListResponse.php
▶ Open 📄 View Source
🐘 AccountPermissionsListResponse.php
▶ Open 📄 View Source
🐘 AccountUserProfile.php
▶ Open 📄 View Source
🐘 AccountUserProfilesListResponse.php
▶ Open 📄 View Source
🐘 AccountsListResponse.php
▶ Open 📄 View Source
🐘 Activities.php
▶ Open 📄 View Source
🐘 AdBlockingConfiguration.php
▶ Open 📄 View Source
🐘 AdSlot.php
▶ Open 📄 View Source
🐘 AdsListResponse.php
▶ Open 📄 View Source
🐘 Advertiser.php
▶ Open 📄 View Source
🐘 AdvertiserGroup.php
▶ Open 📄 View Source
🐘 AdvertiserGroupsListResponse.php
▶ Open 📄 View Source
🐘 AdvertiserInvoicesListResponse.php
▶ Open 📄 View Source
🐘 AdvertiserLandingPagesListResponse.php
▶ Open 📄 View Source
🐘 AdvertisersListResponse.php
▶ Open 📄 View Source
🐘 AudienceSegment.php
▶ Open 📄 View Source
🐘 AudienceSegmentGroup.php
▶ Open 📄 View Source
🐘 BillingAssignment.php
▶ Open 📄 View Source
🐘 BillingAssignmentsListResponse.php
▶ Open 📄 View Source
🐘 BillingProfile.php
▶ Open 📄 View Source
🐘 BillingProfilesListResponse.php
▶ Open 📄 View Source
🐘 BillingRate.php
▶ Open 📄 View Source
🐘 BillingRateTieredRate.php
▶ Open 📄 View Source
🐘 BillingRatesListResponse.php
▶ Open 📄 View Source
🐘 Browser.php
▶ Open 📄 View Source
🐘 BrowsersListResponse.php
▶ Open 📄 View Source
🐘 Campaign.php
▶ Open 📄 View Source
🐘 CampaignCreativeAssociation.php
▶ Open 📄 View Source
🐘 CampaignCreativeAssociationsListResponse.php
▶ Open 📄 View Source
🐘 CampaignSummary.php
▶ Open 📄 View Source
🐘 CampaignsListResponse.php
▶ Open 📄 View Source
🐘 CartData.php
▶ Open 📄 View Source
🐘 CartDataItem.php
▶ Open 📄 View Source
🐘 ChangeLog.php
▶ Open 📄 View Source
🐘 ChangeLogsListResponse.php
▶ Open 📄 View Source
🐘 ChannelGrouping.php
▶ Open 📄 View Source
🐘 ChannelGroupingRule.php
▶ Open 📄 View Source
🐘 CitiesListResponse.php
▶ Open 📄 View Source
🐘 City.php
▶ Open 📄 View Source
🐘 ClickTag.php
▶ Open 📄 View Source
🐘 ClickThroughUrl.php
▶ Open 📄 View Source
🐘 ClickThroughUrlSuffixProperties.php
▶ Open 📄 View Source
🐘 CompanionClickThroughOverride.php
▶ Open 📄 View Source
🐘 CompanionSetting.php
▶ Open 📄 View Source
🐘 CompatibleFields.php
▶ Open 📄 View Source
🐘 ConnectionType.php
▶ Open 📄 View Source
🐘 ConnectionTypesListResponse.php
▶ Open 📄 View Source
🐘 ContentCategoriesListResponse.php
▶ Open 📄 View Source
🐘 ContentCategory.php
▶ Open 📄 View Source
🐘 ContentSource.php
▶ Open 📄 View Source
🐘 ContentSourceMetaData.php
▶ Open 📄 View Source
🐘 ContextualKeyword.php
▶ Open 📄 View Source
🐘 ContextualKeywordTargeting.php
▶ Open 📄 View Source
🐘 Conversion.php
▶ Open 📄 View Source
🐘 ConversionError.php
▶ Open 📄 View Source
🐘 ConversionStatus.php
▶ Open 📄 View Source
🐘 ConversionsBatchInsertRequest.php
▶ Open 📄 View Source
🐘 ConversionsBatchInsertResponse.php
▶ Open 📄 View Source
🐘 ConversionsBatchUpdateRequest.php
▶ Open 📄 View Source
🐘 ConversionsBatchUpdateResponse.php
▶ Open 📄 View Source
🐘 CountriesListResponse.php
▶ Open 📄 View Source
🐘 Country.php
▶ Open 📄 View Source
🐘 Creative.php
▶ Open 📄 View Source
🐘 CreativeAsset.php
▶ Open 📄 View Source
🐘 CreativeAssetId.php
▶ Open 📄 View Source
🐘 CreativeAssetMetadata.php
▶ Open 📄 View Source
🐘 CreativeAssetSelection.php
▶ Open 📄 View Source
🐘 CreativeAssignment.php
▶ Open 📄 View Source
🐘 CreativeClickThroughUrl.php
▶ Open 📄 View Source
🐘 CreativeCustomEvent.php
▶ Open 📄 View Source
🐘 CreativeField.php
▶ Open 📄 View Source
🐘 CreativeFieldAssignment.php
▶ Open 📄 View Source
🐘 CreativeFieldValue.php
▶ Open 📄 View Source
🐘 CreativeFieldValuesListResponse.php
▶ Open 📄 View Source
🐘 CreativeFieldsListResponse.php
▶ Open 📄 View Source
🐘 CreativeGroup.php
▶ Open 📄 View Source
🐘 CreativeGroupAssignment.php
▶ Open 📄 View Source
🐘 CreativeGroupsListResponse.php
▶ Open 📄 View Source
🐘 CreativeOptimizationConfiguration.php
▶ Open 📄 View Source
🐘 CreativeRotation.php
▶ Open 📄 View Source
🐘 CreativesListResponse.php
▶ Open 📄 View Source
🐘 CrossDimensionReachReportCompatibleFields.php
▶ Open 📄 View Source
🐘 CrossMediaReachReportCompatibleFields.php
▶ Open 📄 View Source
🐘 CustomFloodlightVariable.php
▶ Open 📄 View Source
🐘 CustomRichMediaEvents.php
▶ Open 📄 View Source
🐘 CustomRule.php
▶ Open 📄 View Source
🐘 CustomValueField.php
▶ Open 📄 View Source
🐘 CustomViewabilityMetric.php
▶ Open 📄 View Source
🐘 CustomViewabilityMetricConfiguration.php
▶ Open 📄 View Source
🐘 DateRange.php
▶ Open 📄 View Source
🐘 DayPartTargeting.php
▶ Open 📄 View Source
🐘 DeepLink.php
▶ Open 📄 View Source
🐘 DefaultClickThroughEventTagProperties.php
▶ Open 📄 View Source
🐘 DeliverySchedule.php
▶ Open 📄 View Source
🐘 DependentFieldValue.php
▶ Open 📄 View Source
🐘 DfareportingFile.php
▶ Open 📄 View Source
🐘 DfareportingFileUrls.php
▶ Open 📄 View Source
🐘 DfareportingStudioCreativeAssetsInsertRequest.php
▶ Open 📄 View Source
🐘 DfpSettings.php
▶ Open 📄 View Source
🐘 Dimension.php
▶ Open 📄 View Source
🐘 DimensionFilter.php
▶ Open 📄 View Source
🐘 DimensionValue.php
▶ Open 📄 View Source
🐘 DimensionValueList.php
▶ Open 📄 View Source
🐘 DimensionValueRequest.php
▶ Open 📄 View Source
🐘 DirectorySite.php
▶ Open 📄 View Source
🐘 DirectorySiteSettings.php
▶ Open 📄 View Source
🐘 DirectorySitesListResponse.php
▶ Open 📄 View Source
🐘 DisjunctiveMatchStatement.php
▶ Open 📄 View Source
🐘 DynamicFeed.php
▶ Open 📄 View Source
🐘 DynamicFeedsInsertRequest.php
▶ Open 📄 View Source
🐘 DynamicProfile.php
▶ Open 📄 View Source
🐘 DynamicProfileFeedSettings.php
▶ Open 📄 View Source
🐘 DynamicProfileGenerateCodeResponse.php
▶ Open 📄 View Source
🐘 DynamicProfileVersion.php
▶ Open 📄 View Source
🐘 DynamicRules.php
▶ Open 📄 View Source
🐘 DynamicTargetingKey.php
▶ Open 📄 View Source
🐘 DynamicTargetingKeysListResponse.php
▶ Open 📄 View Source
🐘 Element.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 EventFilter.php
▶ Open 📄 View Source
🐘 EventTag.php
▶ Open 📄 View Source
🐘 EventTagOverride.php
▶ Open 📄 View Source
🐘 EventTagsListResponse.php
▶ Open 📄 View Source
🐘 FeedField.php
▶ Open 📄 View Source
🐘 FeedIngestionStatus.php
▶ Open 📄 View Source
🐘 FeedSchedule.php
▶ Open 📄 View Source
🐘 FieldError.php
▶ Open 📄 View Source
🐘 FieldFilter.php
▶ Open 📄 View Source
🐘 FileList.php
▶ Open 📄 View Source
🐘 Flight.php
▶ Open 📄 View Source
🐘 FloodlightActivitiesGenerateTagResponse.php
▶ Open 📄 View Source
🐘 FloodlightActivitiesListResponse.php
▶ Open 📄 View Source
🐘 FloodlightActivity.php
▶ Open 📄 View Source
🐘 FloodlightActivityDynamicTag.php
▶ Open 📄 View Source
🐘 FloodlightActivityGroup.php
▶ Open 📄 View Source
🐘 FloodlightActivityGroupsListResponse.php
▶ Open 📄 View Source
🐘 FloodlightActivityPublisherDynamicTag.php
▶ Open 📄 View Source
🐘 FloodlightConfiguration.php
▶ Open 📄 View Source
🐘 FloodlightConfigurationsListResponse.php
▶ Open 📄 View Source
🐘 FloodlightReportCompatibleFields.php
▶ Open 📄 View Source
🐘 FrequencyCap.php
▶ Open 📄 View Source
🐘 FsCommand.php
▶ Open 📄 View Source
🐘 GeoTargeting.php
▶ Open 📄 View Source
🐘 IngestionErrorRecord.php
▶ Open 📄 View Source
🐘 IngestionStatus.php
▶ Open 📄 View Source
🐘 InventoryItem.php
▶ Open 📄 View Source
🐘 InventoryItemsListResponse.php
▶ Open 📄 View Source
🐘 Invoice.php
▶ Open 📄 View Source
🐘 KeyValueTargetingExpression.php
▶ Open 📄 View Source
🐘 LandingPage.php
▶ Open 📄 View Source
🐘 Language.php
▶ Open 📄 View Source
🐘 LanguageTargeting.php
▶ Open 📄 View Source
🐘 LanguagesListResponse.php
▶ Open 📄 View Source
🐘 LastModifiedInfo.php
▶ Open 📄 View Source
🐘 ListPopulationClause.php
▶ Open 📄 View Source
🐘 ListPopulationRule.php
▶ Open 📄 View Source
🐘 ListPopulationTerm.php
▶ Open 📄 View Source
🐘 ListTargetingExpression.php
▶ Open 📄 View Source
🐘 LookbackConfiguration.php
▶ Open 📄 View Source
🐘 MeasurementPartnerAdvertiserLink.php
▶ Open 📄 View Source
🐘 MeasurementPartnerCampaignLink.php
▶ Open 📄 View Source
🐘 MeasurementPartnerWrappingData.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 Metro.php
▶ Open 📄 View Source
🐘 MetrosListResponse.php
▶ Open 📄 View Source
🐘 MobileApp.php
▶ Open 📄 View Source
🐘 MobileAppsListResponse.php
▶ Open 📄 View Source
🐘 MobileCarrier.php
▶ Open 📄 View Source
🐘 MobileCarriersListResponse.php
▶ Open 📄 View Source
🐘 ObaIcon.php
▶ Open 📄 View Source
🐘 ObjectFilter.php
▶ Open 📄 View Source
🐘 OfflineUserAddressInfo.php
▶ Open 📄 View Source
🐘 OffsetPosition.php
▶ Open 📄 View Source
🐘 OmnitureSettings.php
▶ Open 📄 View Source
🐘 OperatingSystem.php
▶ Open 📄 View Source
🐘 OperatingSystemVersion.php
▶ Open 📄 View Source
🐘 OperatingSystemVersionsListResponse.php
▶ Open 📄 View Source
🐘 OperatingSystemsListResponse.php
▶ Open 📄 View Source
🐘 OptimizationActivity.php
▶ Open 📄 View Source
🐘 Order.php
▶ Open 📄 View Source
🐘 OrderContact.php
▶ Open 📄 View Source
🐘 OrderDocument.php
▶ Open 📄 View Source
🐘 OrderDocumentsListResponse.php
▶ Open 📄 View Source
🐘 OrdersListResponse.php
▶ Open 📄 View Source
🐘 PathFilter.php
▶ Open 📄 View Source
🐘 PathReportCompatibleFields.php
▶ Open 📄 View Source
🐘 PathReportDimensionValue.php
▶ Open 📄 View Source
🐘 PathToConversionReportCompatibleFields.php
▶ Open 📄 View Source
🐘 Placement.php
▶ Open 📄 View Source
🐘 PlacementAssignment.php
▶ Open 📄 View Source
🐘 PlacementConversionDomainOverride.php
▶ Open 📄 View Source
🐘 PlacementGroup.php
▶ Open 📄 View Source
🐘 PlacementGroupsListResponse.php
▶ Open 📄 View Source
🐘 PlacementSingleConversionDomain.php
▶ Open 📄 View Source
🐘 PlacementStrategiesListResponse.php
▶ Open 📄 View Source
🐘 PlacementStrategy.php
▶ Open 📄 View Source
🐘 PlacementTag.php
▶ Open 📄 View Source
🐘 PlacementsGenerateTagsResponse.php
▶ Open 📄 View Source
🐘 PlacementsListResponse.php
▶ Open 📄 View Source
🐘 PlatformType.php
▶ Open 📄 View Source
🐘 PlatformTypesListResponse.php
▶ Open 📄 View Source
🐘 PopupWindowProperties.php
▶ Open 📄 View Source
🐘 PostalCode.php
▶ Open 📄 View Source
🐘 PostalCodesListResponse.php
▶ Open 📄 View Source
🐘 Pricing.php
▶ Open 📄 View Source
🐘 PricingSchedule.php
▶ Open 📄 View Source
🐘 PricingSchedulePricingPeriod.php
▶ Open 📄 View Source
🐘 Project.php
▶ Open 📄 View Source
🐘 ProjectsListResponse.php
▶ Open 📄 View Source
🐘 ProximityFilter.php
▶ Open 📄 View Source
🐘 ReachReportCompatibleFields.php
▶ Open 📄 View Source
🐘 Recipient.php
▶ Open 📄 View Source
🐘 Region.php
▶ Open 📄 View Source
🐘 RegionsListResponse.php
▶ Open 📄 View Source
🐘 RemarketingList.php
▶ Open 📄 View Source
🐘 RemarketingListShare.php
▶ Open 📄 View Source
🐘 RemarketingListsListResponse.php
▶ Open 📄 View Source
🐘 RemarketingValueAttribute.php
▶ Open 📄 View Source
🐘 Report.php
▶ Open 📄 View Source
🐘 ReportCompatibleFields.php
▶ Open 📄 View Source
🐘 ReportCriteria.php
▶ Open 📄 View Source
🐘 ReportCrossDimensionReachCriteria.php
▶ Open 📄 View Source
🐘 ReportCrossMediaReachCriteria.php
▶ Open 📄 View Source
🐘 ReportDelivery.php
▶ Open 📄 View Source
🐘 ReportFloodlightCriteria.php
▶ Open 📄 View Source
🐘 ReportFloodlightCriteriaReportProperties.php
▶ Open 📄 View Source
🐘 ReportList.php
▶ Open 📄 View Source
🐘 ReportPathAttributionCriteria.php
▶ Open 📄 View Source
🐘 ReportPathCriteria.php
▶ Open 📄 View Source
🐘 ReportPathToConversionCriteria.php
▶ Open 📄 View Source
🐘 ReportPathToConversionCriteriaReportProperties.php
▶ Open 📄 View Source
🐘 ReportReachCriteria.php
▶ Open 📄 View Source
🐘 ReportSchedule.php
▶ Open 📄 View Source
🐘 ReportsConfiguration.php
▶ Open 📄 View Source
🐘 RequestValue.php
▶ Open 📄 View Source
🐘 RichMediaExitOverride.php
▶ Open 📄 View Source
🐘 Rule.php
▶ Open 📄 View Source
🐘 RuleBlock.php
▶ Open 📄 View Source
🐘 Site.php
▶ Open 📄 View Source
🐘 SiteCompanionSetting.php
▶ Open 📄 View Source
🐘 SiteContact.php
▶ Open 📄 View Source
🐘 SiteSettings.php
▶ Open 📄 View Source
🐘 SiteSkippableSetting.php
▶ Open 📄 View Source
🐘 SiteTranscodeSetting.php
▶ Open 📄 View Source
🐘 SiteVideoSettings.php
▶ Open 📄 View Source
🐘 SitesListResponse.php
▶ Open 📄 View Source
🐘 Size.php
▶ Open 📄 View Source
🐘 SizesListResponse.php
▶ Open 📄 View Source
🐘 SkippableSetting.php
▶ Open 📄 View Source
🐘 SortedDimension.php
▶ Open 📄 View Source
🐘 StudioCreative.php
▶ Open 📄 View Source
🐘 StudioCreativeAsset.php
▶ Open 📄 View Source
🐘 StudioCreativeAssetsResponse.php
▶ Open 📄 View Source
🐘 StudioCreativeDimension.php
▶ Open 📄 View Source
🐘 Subaccount.php
▶ Open 📄 View Source
🐘 SubaccountsListResponse.php
▶ Open 📄 View Source
🐘 TagData.php
▶ Open 📄 View Source
🐘 TagSetting.php
▶ Open 📄 View Source
🐘 TagSettings.php
▶ Open 📄 View Source
🐘 TargetWindow.php
▶ Open 📄 View Source
🐘 TargetableRemarketingList.php
▶ Open 📄 View Source
🐘 TargetableRemarketingListsListResponse.php
▶ Open 📄 View Source
🐘 TargetingTemplate.php
▶ Open 📄 View Source
🐘 TargetingTemplatesListResponse.php
▶ Open 📄 View Source
🐘 TechnologyTargeting.php
▶ Open 📄 View Source
🐘 ThirdPartyAuthenticationToken.php
▶ Open 📄 View Source
🐘 ThirdPartyTrackingUrl.php
▶ Open 📄 View Source
🐘 TranscodeSetting.php
▶ Open 📄 View Source
🐘 TvCampaignDetail.php
▶ Open 📄 View Source
🐘 TvCampaignSummariesListResponse.php
▶ Open 📄 View Source
🐘 TvCampaignSummary.php
▶ Open 📄 View Source
🐘 TvCampaignTimepoint.php
▶ Open 📄 View Source
🐘 UniversalAdId.php
▶ Open 📄 View Source
🐘 UserDefinedVariableConfiguration.php
▶ Open 📄 View Source
🐘 UserIdentifier.php
▶ Open 📄 View Source
🐘 UserProfile.php
▶ Open 📄 View Source
🐘 UserProfileList.php
▶ Open 📄 View Source
🐘 UserRole.php
▶ Open 📄 View Source
🐘 UserRolePermission.php
▶ Open 📄 View Source
🐘 UserRolePermissionGroup.php
▶ Open 📄 View Source
🐘 UserRolePermissionGroupsListResponse.php
▶ Open 📄 View Source
🐘 UserRolePermissionsListResponse.php
▶ Open 📄 View Source
🐘 UserRolesListResponse.php
▶ Open 📄 View Source
🐘 UvarFilter.php
▶ Open 📄 View Source
🐘 VideoFormat.php
▶ Open 📄 View Source
🐘 VideoFormatsListResponse.php
▶ Open 📄 View Source
🐘 VideoOffset.php
▶ Open 📄 View Source
🐘 VideoProcessingData.php
▶ Open 📄 View Source
🐘 VideoSettings.php
▶ Open 📄 View Source
🐘 YoutubeSettings.php
▶ Open 📄 View Source

📄 Source: Ad.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Dfareporting;

class Ad extends \Google\Collection
{
  public const COMPATIBILITY_DISPLAY = 'DISPLAY';
  public const COMPATIBILITY_DISPLAY_INTERSTITIAL = 'DISPLAY_INTERSTITIAL';
  /**
   * Deprecated enum value. No longer supported.
   */
  public const COMPATIBILITY_APP = 'APP';
  /**
   * Deprecated enum value. No longer supported.
   */
  public const COMPATIBILITY_APP_INTERSTITIAL = 'APP_INTERSTITIAL';
  public const COMPATIBILITY_IN_STREAM_VIDEO = 'IN_STREAM_VIDEO';
  public const COMPATIBILITY_IN_STREAM_AUDIO = 'IN_STREAM_AUDIO';
  public const TYPE_AD_SERVING_STANDARD_AD = 'AD_SERVING_STANDARD_AD';
  public const TYPE_AD_SERVING_DEFAULT_AD = 'AD_SERVING_DEFAULT_AD';
  public const TYPE_AD_SERVING_CLICK_TRACKER = 'AD_SERVING_CLICK_TRACKER';
  public const TYPE_AD_SERVING_TRACKING = 'AD_SERVING_TRACKING';
  public const TYPE_AD_SERVING_BRAND_SAFE_AD = 'AD_SERVING_BRAND_SAFE_AD';
  protected $collection_key = 'placementAssignments';
  /**
   * Account ID of this ad. This is a read-only field that can be left blank.
   *
   * @var string
   */
  public $accountId;
  /**
   * Whether this ad is active. When true, archived must be false.
   *
   * @var bool
   */
  public $active;
  /**
   * Advertiser ID of this ad. This is a required field on insertion.
   *
   * @var string
   */
  public $advertiserId;
  protected $advertiserIdDimensionValueType = DimensionValue::class;
  protected $advertiserIdDimensionValueDataType = '';
  /**
   * Whether this ad is archived. When true, active must be false.
   *
   * @var bool
   */
  public $archived;
  /**
   * Audience segment ID that is being targeted for this ad. Applicable when
   * type is AD_SERVING_STANDARD_AD.
   *
   * @var string
   */
  public $audienceSegmentId;
  /**
   * Campaign ID of this ad. This is a required field on insertion.
   *
   * @var string
   */
  public $campaignId;
  protected $campaignIdDimensionValueType = DimensionValue::class;
  protected $campaignIdDimensionValueDataType = '';
  protected $clickThroughUrlType = ClickThroughUrl::class;
  protected $clickThroughUrlDataType = '';
  protected $clickThroughUrlSuffixPropertiesType = ClickThroughUrlSuffixProperties::class;
  protected $clickThroughUrlSuffixPropertiesDataType = '';
  /**
   * Comments for this ad.
   *
   * @var string
   */
  public $comments;
  /**
   * Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
   * DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on
   * mobile devices or in mobile apps for regular or interstitial ads,
   * respectively. APP and APP_INTERSTITIAL are only used for existing default
   * ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL
   * and default ads created for those placements will be limited to those
   * compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video
   * ads developed with the VAST standard.
   *
   * @var string
   */
  public $compatibility;
  protected $contextualKeywordTargetingType = ContextualKeywordTargeting::class;
  protected $contextualKeywordTargetingDataType = '';
  protected $createInfoType = LastModifiedInfo::class;
  protected $createInfoDataType = '';
  protected $creativeGroupAssignmentsType = CreativeGroupAssignment::class;
  protected $creativeGroupAssignmentsDataType = 'array';
  protected $creativeRotationType = CreativeRotation::class;
  protected $creativeRotationDataType = '';
  protected $dayPartTargetingType = DayPartTargeting::class;
  protected $dayPartTargetingDataType = '';
  protected $defaultClickThroughEventTagPropertiesType = DefaultClickThroughEventTagProperties::class;
  protected $defaultClickThroughEventTagPropertiesDataType = '';
  protected $deliveryScheduleType = DeliverySchedule::class;
  protected $deliveryScheduleDataType = '';
  /**
   * 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.
   *
   * @var bool
   */
  public $dynamicClickTracker;
  /**
   * @var string
   */
  public $endTime;
  protected $eventTagOverridesType = EventTagOverride::class;
  protected $eventTagOverridesDataType = 'array';
  protected $geoTargetingType = GeoTargeting::class;
  protected $geoTargetingDataType = '';
  /**
   * ID of this ad. This is a read-only, auto-generated field.
   *
   * @var string
   */
  public $id;
  protected $idDimensionValueType = DimensionValue::class;
  protected $idDimensionValueDataType = '';
  protected $keyValueTargetingExpressionType = KeyValueTargetingExpression::class;
  protected $keyValueTargetingExpressionDataType = '';
  /**
   * Identifies what kind of resource this is. Value: the fixed string
   * "dfareporting#ad".
   *
   * @var string
   */
  public $kind;
  protected $languageTargetingType = LanguageTargeting::class;
  protected $languageTargetingDataType = '';
  protected $lastModifiedInfoType = LastModifiedInfo::class;
  protected $lastModifiedInfoDataType = '';
  /**
   * Name of this ad. This is a required field and must be less than 256
   * characters long.
   *
   * @var string
   */
  public $name;
  protected $placementAssignmentsType = PlacementAssignment::class;
  protected $placementAssignmentsDataType = 'array';
  protected $remarketingListExpressionType = ListTargetingExpression::class;
  protected $remarketingListExpressionDataType = '';
  protected $sizeType = Size::class;
  protected $sizeDataType = '';
  /**
   * Whether this ad is ssl compliant. This is a read-only field that is auto-
   * generated when the ad is inserted or updated.
   *
   * @var bool
   */
  public $sslCompliant;
  /**
   * Whether this ad requires ssl. This is a read-only field that is auto-
   * generated when the ad is inserted or updated.
   *
   * @var bool
   */
  public $sslRequired;
  /**
   * @var string
   */
  public $startTime;
  /**
   * Subaccount ID of this ad. This is a read-only field that can be left blank.
   *
   * @var string
   */
  public $subaccountId;
  /**
   * Targeting template ID, used to apply preconfigured targeting information to
   * this ad. This cannot be set while any of dayPartTargeting, geoTargeting,
   * keyValueTargetingExpression, languageTargeting, remarketingListExpression,
   * or technologyTargeting are set. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @var string
   */
  public $targetingTemplateId;
  protected $technologyTargetingType = TechnologyTargeting::class;
  protected $technologyTargetingDataType = '';
  /**
   * 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).
   *
   * @var string
   */
  public $type;

  /**
   * Account ID of this ad. This is a read-only field that can be left blank.
   *
   * @param string $accountId
   */
  public function setAccountId($accountId)
  {
    $this->accountId = $accountId;
  }
  /**
   * @return string
   */
  public function getAccountId()
  {
    return $this->accountId;
  }
  /**
   * Whether this ad is active. When true, archived must be false.
   *
   * @param bool $active
   */
  public function setActive($active)
  {
    $this->active = $active;
  }
  /**
   * @return bool
   */
  public function getActive()
  {
    return $this->active;
  }
  /**
   * Advertiser ID of this ad. This is a required field on insertion.
   *
   * @param string $advertiserId
   */
  public function setAdvertiserId($advertiserId)
  {
    $this->advertiserId = $advertiserId;
  }
  /**
   * @return string
   */
  public function getAdvertiserId()
  {
    return $this->advertiserId;
  }
  /**
   * Dimension value for the ID of the advertiser. This is a read-only, auto-
   * generated field.
   *
   * @param DimensionValue $advertiserIdDimensionValue
   */
  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
  {
    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
  }
  /**
   * @return DimensionValue
   */
  public function getAdvertiserIdDimensionValue()
  {
    return $this->advertiserIdDimensionValue;
  }
  /**
   * Whether this ad is archived. When true, active must be false.
   *
   * @param bool $archived
   */
  public function setArchived($archived)
  {
    $this->archived = $archived;
  }
  /**
   * @return bool
   */
  public function getArchived()
  {
    return $this->archived;
  }
  /**
   * Audience segment ID that is being targeted for this ad. Applicable when
   * type is AD_SERVING_STANDARD_AD.
   *
   * @param string $audienceSegmentId
   */
  public function setAudienceSegmentId($audienceSegmentId)
  {
    $this->audienceSegmentId = $audienceSegmentId;
  }
  /**
   * @return string
   */
  public function getAudienceSegmentId()
  {
    return $this->audienceSegmentId;
  }
  /**
   * Campaign ID of this ad. This is a required field on insertion.
   *
   * @param string $campaignId
   */
  public function setCampaignId($campaignId)
  {
    $this->campaignId = $campaignId;
  }
  /**
   * @return string
   */
  public function getCampaignId()
  {
    return $this->campaignId;
  }
  /**
   * Dimension value for the ID of the campaign. This is a read-only, auto-
   * generated field.
   *
   * @param DimensionValue $campaignIdDimensionValue
   */
  public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
  {
    $this->campaignIdDimensionValue = $campaignIdDimensionValue;
  }
  /**
   * @return DimensionValue
   */
  public function getCampaignIdDimensionValue()
  {
    return $this->campaignIdDimensionValue;
  }
  /**
   * Click-through URL for this ad. This is a required field on insertion.
   * Applicable when type is AD_SERVING_CLICK_TRACKER.
   *
   * @param ClickThroughUrl $clickThroughUrl
   */
  public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
  {
    $this->clickThroughUrl = $clickThroughUrl;
  }
  /**
   * @return ClickThroughUrl
   */
  public function getClickThroughUrl()
  {
    return $this->clickThroughUrl;
  }
  /**
   * 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.
   *
   * @param ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties
   */
  public function setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
  {
    $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
  }
  /**
   * @return ClickThroughUrlSuffixProperties
   */
  public function getClickThroughUrlSuffixProperties()
  {
    return $this->clickThroughUrlSuffixProperties;
  }
  /**
   * Comments for this ad.
   *
   * @param string $comments
   */
  public function setComments($comments)
  {
    $this->comments = $comments;
  }
  /**
   * @return string
   */
  public function getComments()
  {
    return $this->comments;
  }
  /**
   * Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
   * DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on
   * mobile devices or in mobile apps for regular or interstitial ads,
   * respectively. APP and APP_INTERSTITIAL are only used for existing default
   * ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL
   * and default ads created for those placements will be limited to those
   * compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video
   * ads developed with the VAST standard.
   *
   * Accepted values: DISPLAY, DISPLAY_INTERSTITIAL, APP, APP_INTERSTITIAL,
   * IN_STREAM_VIDEO, IN_STREAM_AUDIO
   *
   * @param self::COMPATIBILITY_* $compatibility
   */
  public function setCompatibility($compatibility)
  {
    $this->compatibility = $compatibility;
  }
  /**
   * @return self::COMPATIBILITY_*
   */
  public function getCompatibility()
  {
    return $this->compatibility;
  }
  /**
   * Optional. Contextual keyword targeting information for this ad.
   *
   * @param ContextualKeywordTargeting $contextualKeywordTargeting
   */
  public function setContextualKeywordTargeting(ContextualKeywordTargeting $contextualKeywordTargeting)
  {
    $this->contextualKeywordTargeting = $contextualKeywordTargeting;
  }
  /**
   * @return ContextualKeywordTargeting
   */
  public function getContextualKeywordTargeting()
  {
    return $this->contextualKeywordTargeting;
  }
  /**
   * Information about the creation of this ad. This is a read-only field.
   *
   * @param LastModifiedInfo $createInfo
   */
  public function setCreateInfo(LastModifiedInfo $createInfo)
  {
    $this->createInfo = $createInfo;
  }
  /**
   * @return LastModifiedInfo
   */
  public function getCreateInfo()
  {
    return $this->createInfo;
  }
  /**
   * 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.
   *
   * @param CreativeGroupAssignment[] $creativeGroupAssignments
   */
  public function setCreativeGroupAssignments($creativeGroupAssignments)
  {
    $this->creativeGroupAssignments = $creativeGroupAssignments;
  }
  /**
   * @return CreativeGroupAssignment[]
   */
  public function getCreativeGroupAssignments()
  {
    return $this->creativeGroupAssignments;
  }
  /**
   * 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 .
   *
   * @param CreativeRotation $creativeRotation
   */
  public function setCreativeRotation(CreativeRotation $creativeRotation)
  {
    $this->creativeRotation = $creativeRotation;
  }
  /**
   * @return CreativeRotation
   */
  public function getCreativeRotation()
  {
    return $this->creativeRotation;
  }
  /**
   * Time and day targeting information for this ad. This field must be left
   * blank if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param DayPartTargeting $dayPartTargeting
   */
  public function setDayPartTargeting(DayPartTargeting $dayPartTargeting)
  {
    $this->dayPartTargeting = $dayPartTargeting;
  }
  /**
   * @return DayPartTargeting
   */
  public function getDayPartTargeting()
  {
    return $this->dayPartTargeting;
  }
  /**
   * Default click-through event tag properties for this ad.
   *
   * @param DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties
   */
  public function setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
  {
    $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
  }
  /**
   * @return DefaultClickThroughEventTagProperties
   */
  public function getDefaultClickThroughEventTagProperties()
  {
    return $this->defaultClickThroughEventTagProperties;
  }
  /**
   * 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.
   *
   * @param DeliverySchedule $deliverySchedule
   */
  public function setDeliverySchedule(DeliverySchedule $deliverySchedule)
  {
    $this->deliverySchedule = $deliverySchedule;
  }
  /**
   * @return DeliverySchedule
   */
  public function getDeliverySchedule()
  {
    return $this->deliverySchedule;
  }
  /**
   * 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.
   *
   * @param bool $dynamicClickTracker
   */
  public function setDynamicClickTracker($dynamicClickTracker)
  {
    $this->dynamicClickTracker = $dynamicClickTracker;
  }
  /**
   * @return bool
   */
  public function getDynamicClickTracker()
  {
    return $this->dynamicClickTracker;
  }
  /**
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Event tag overrides for this ad.
   *
   * @param EventTagOverride[] $eventTagOverrides
   */
  public function setEventTagOverrides($eventTagOverrides)
  {
    $this->eventTagOverrides = $eventTagOverrides;
  }
  /**
   * @return EventTagOverride[]
   */
  public function getEventTagOverrides()
  {
    return $this->eventTagOverrides;
  }
  /**
   * Geographical targeting information for this ad. This field must be left
   * blank if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param GeoTargeting $geoTargeting
   */
  public function setGeoTargeting(GeoTargeting $geoTargeting)
  {
    $this->geoTargeting = $geoTargeting;
  }
  /**
   * @return GeoTargeting
   */
  public function getGeoTargeting()
  {
    return $this->geoTargeting;
  }
  /**
   * ID of this ad. This is a read-only, auto-generated field.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Dimension value for the ID of this ad. This is a read-only, auto-generated
   * field.
   *
   * @param DimensionValue $idDimensionValue
   */
  public function setIdDimensionValue(DimensionValue $idDimensionValue)
  {
    $this->idDimensionValue = $idDimensionValue;
  }
  /**
   * @return DimensionValue
   */
  public function getIdDimensionValue()
  {
    return $this->idDimensionValue;
  }
  /**
   * Key-value targeting information for this ad. This field must be left blank
   * if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param KeyValueTargetingExpression $keyValueTargetingExpression
   */
  public function setKeyValueTargetingExpression(KeyValueTargetingExpression $keyValueTargetingExpression)
  {
    $this->keyValueTargetingExpression = $keyValueTargetingExpression;
  }
  /**
   * @return KeyValueTargetingExpression
   */
  public function getKeyValueTargetingExpression()
  {
    return $this->keyValueTargetingExpression;
  }
  /**
   * Identifies what kind of resource this is. Value: the fixed string
   * "dfareporting#ad".
   *
   * @param string $kind
   */
  public function setKind($kind)
  {
    $this->kind = $kind;
  }
  /**
   * @return string
   */
  public function getKind()
  {
    return $this->kind;
  }
  /**
   * Language targeting information for this ad. This field must be left blank
   * if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param LanguageTargeting $languageTargeting
   */
  public function setLanguageTargeting(LanguageTargeting $languageTargeting)
  {
    $this->languageTargeting = $languageTargeting;
  }
  /**
   * @return LanguageTargeting
   */
  public function getLanguageTargeting()
  {
    return $this->languageTargeting;
  }
  /**
   * Information about the most recent modification of this ad. This is a read-
   * only field.
   *
   * @param LastModifiedInfo $lastModifiedInfo
   */
  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
  {
    $this->lastModifiedInfo = $lastModifiedInfo;
  }
  /**
   * @return LastModifiedInfo
   */
  public function getLastModifiedInfo()
  {
    return $this->lastModifiedInfo;
  }
  /**
   * Name of this ad. This is a required field and must be less than 256
   * characters long.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Placement assignments for this ad.
   *
   * @param PlacementAssignment[] $placementAssignments
   */
  public function setPlacementAssignments($placementAssignments)
  {
    $this->placementAssignments = $placementAssignments;
  }
  /**
   * @return PlacementAssignment[]
   */
  public function getPlacementAssignments()
  {
    return $this->placementAssignments;
  }
  /**
   * Remarketing list targeting expression for this ad. This field must be left
   * blank if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param ListTargetingExpression $remarketingListExpression
   */
  public function setRemarketingListExpression(ListTargetingExpression $remarketingListExpression)
  {
    $this->remarketingListExpression = $remarketingListExpression;
  }
  /**
   * @return ListTargetingExpression
   */
  public function getRemarketingListExpression()
  {
    return $this->remarketingListExpression;
  }
  /**
   * Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
   *
   * @param Size $size
   */
  public function setSize(Size $size)
  {
    $this->size = $size;
  }
  /**
   * @return Size
   */
  public function getSize()
  {
    return $this->size;
  }
  /**
   * Whether this ad is ssl compliant. This is a read-only field that is auto-
   * generated when the ad is inserted or updated.
   *
   * @param bool $sslCompliant
   */
  public function setSslCompliant($sslCompliant)
  {
    $this->sslCompliant = $sslCompliant;
  }
  /**
   * @return bool
   */
  public function getSslCompliant()
  {
    return $this->sslCompliant;
  }
  /**
   * Whether this ad requires ssl. This is a read-only field that is auto-
   * generated when the ad is inserted or updated.
   *
   * @param bool $sslRequired
   */
  public function setSslRequired($sslRequired)
  {
    $this->sslRequired = $sslRequired;
  }
  /**
   * @return bool
   */
  public function getSslRequired()
  {
    return $this->sslRequired;
  }
  /**
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
  /**
   * Subaccount ID of this ad. This is a read-only field that can be left blank.
   *
   * @param string $subaccountId
   */
  public function setSubaccountId($subaccountId)
  {
    $this->subaccountId = $subaccountId;
  }
  /**
   * @return string
   */
  public function getSubaccountId()
  {
    return $this->subaccountId;
  }
  /**
   * Targeting template ID, used to apply preconfigured targeting information to
   * this ad. This cannot be set while any of dayPartTargeting, geoTargeting,
   * keyValueTargetingExpression, languageTargeting, remarketingListExpression,
   * or technologyTargeting are set. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param string $targetingTemplateId
   */
  public function setTargetingTemplateId($targetingTemplateId)
  {
    $this->targetingTemplateId = $targetingTemplateId;
  }
  /**
   * @return string
   */
  public function getTargetingTemplateId()
  {
    return $this->targetingTemplateId;
  }
  /**
   * Technology platform targeting information for this ad. This field must be
   * left blank if the ad is using a targeting template. Applicable when type is
   * AD_SERVING_STANDARD_AD.
   *
   * @param TechnologyTargeting $technologyTargeting
   */
  public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting)
  {
    $this->technologyTargeting = $technologyTargeting;
  }
  /**
   * @return TechnologyTargeting
   */
  public function getTechnologyTargeting()
  {
    return $this->technologyTargeting;
  }
  /**
   * 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).
   *
   * Accepted values: AD_SERVING_STANDARD_AD, AD_SERVING_DEFAULT_AD,
   * AD_SERVING_CLICK_TRACKER, AD_SERVING_TRACKING, AD_SERVING_BRAND_SAFE_AD
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Ad::class, 'Google_Service_Dfareporting_Ad');
← Back