All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.admanager.jaxws.v202402.PublisherQueryLanguageServiceInterface Maven / Gradle / Ivy

The newest version!
// Copyright 2024 Google LLC
//
// 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.


package com.google.api.ads.admanager.jaxws.v202402;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * 
 *       Provides methods for executing a PQL {@link Statement} to retrieve information from the system.
 *       In order to support the selection of columns of interest from various tables, {@link Statement}
 *       objects support a "select" clause.
 *       
 *       

An example query text might be {@code "select CountryCode, Name from Geo_Target"}, where * {@code CountryCode} and {@code Name} are columns of interest and {@code Geo_Target} is the table. * *

The following tables are supported: * *

Geo_Target

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the Geo target
NameThe name of the Geo target
CanonicalParentIdThe criteria ID of the direct parent that defines the canonical name of the geo target. * For example, if the current geo target is "San Francisco", its canonical name would be * "San Francisco, California, United States" thus the canonicalParentId would be the criteria ID * of California and the canonicalParentId of California would be the criteria ID of United states *
ParentIdsA comma separated list of criteria IDs of all parents of the geo target ordered by ascending * size
CountryCodeCountry code as defined by ISO 3166-1 alpha-2
TypeAllowable values: *
    *
  • Airport
  • *
  • Autonomous_Community
  • *
  • Canton
  • *
  • City
  • *
  • Congressional_District
  • *
  • Country
  • *
  • County
  • *
  • Department
  • *
  • DMA_Region
  • *
  • Governorate
  • *
  • Municipality
  • *
  • Neighborhood
  • *
  • Postal_Code
  • *
  • Prefecture
  • *
  • Province
  • *
  • Region
  • *
  • State
  • *
  • Territory
  • *
  • Tv_Region
  • *
  • Union_Territory
  • *
*
TargetableIndicates whether geographical targeting is allowed
* *

Bandwidth_Group

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the bandwidth group
BandwidthNameName of the bandwidth group
* *

Browser

* *

Note: this table only contains browsers that are available in the Ad Manager UI targeting * picker. * *

* * * * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the browser
BrowserNameName of the browser
MajorVersionMajor version of the browser
MinorVersionMinor version of the browser
* *

Browser_Language

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the browser language
BrowserLanguageNameBrowser's language
* *

Device_Capability

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the device capability
DeviceCapabilityNameName of the device capability
* *

Device_Category

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the device category
DeviceCategoryNameName of the device category
* *

Device_Manufacturer

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the device manufacturer
MobileDeviceManufacturerNameName of the device manufacturer
* *

Mobile_Carrier

* * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the mobile carrier
CountryCodeThe country code of the mobile carrier
MobileCarrierNameName of the mobile carrier
* *

Mobile_Device

* * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the mobile device
MobileDeviceManufacturerIdId of the device manufacturer
MobileDeviceNameName of the mobile device
* *

Mobile_Device_Submodel

* * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the mobile device submodel
MobileDeviceIdId of the mobile device
MobileDeviceSubmodelNameName of the mobile device submodel
* *

Operating_System

* * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the operating system
OperatingSystemNameName of the operating system
* *

Operating_System_Version

* * * * * * * * * * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the operating system version
OperatingSystemIdId of the operating system
MajorVersionThe operating system major version
MinorVersionThe operating system minor version
MicroVersionThe operating system micro version
* *

Third_Party_Company

* * * * * * * * * * * * * * * * * * * * * * *
Column NameDescription
IdUnique identifier for the third party company
NameThe third party company name
TypeThe third party company type
StatusThe status of the third party company
*

Line_Item

Column nameTypeDescription
CostTypeTextThe method used for billing this {@code LineItem}.
CreationDateTimeDatetimeThe date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.
DeliveryRateTypeTextThe strategy for delivering ads over the course of the {@code LineItem}'s duration. This attribute is optional and defaults to {@link DeliveryRateType#EVENLY}. Starting in v201306, it may default to {@link DeliveryRateType#FRONTLOADED} if specifically configured to on the network.
EndDateTimeDatetimeThe date and time on which the {@code LineItem} stops serving.
ExternalIdTextAn identifier for the {@code LineItem} that is meaningful to the publisher.
IdNumberUniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.
IsMissingCreativesBooleanIndicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.
IsSetTopBoxEnabledBooleanWhether or not this line item is set-top box enabled.
LastModifiedDateTimeDatetimeThe date and time this {@code LineItem} was last modified.
LatestNielsenInTargetRatioMilliPercentNumberThe most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}'s settings. It's provided in milli percent, or null if not applicable.
LineItemTypeTextIndicates the line item type of a {@code LineItem}.
NameTextThe name of the {@code LineItem}.
OrderIdNumberThe ID of the {@link Order} to which the {@code LineItem} belongs.
StartDateTimeDatetimeThe date and time on which the {@code LineItem} is enabled to begin serving.
StatusTextThe status of the {@code LineItem}.
TargetingTargetingThe targeting criteria for the ad campaign.
UnitsBoughtNumberThe total number of impressions or clicks that will be reserved for the {@code LineItem}. If the line item is of type {@link LineItemType#SPONSORSHIP}, then it represents the percentage of available impressions reserved.

Ad_Unit

Column nameTypeDescription
AdUnitCodeTextA string used to uniquely identify the ad unit for the purposes of serving the ad. This attribute is read-only and is assigned by Google when an ad unit is created.
ExternalSetTopBoxChannelIdTextThe channel ID for set-top box enabled {@link AdUnit ad units}.
IdNumberUniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.
LastModifiedDateTimeDatetimeThe date and time this ad unit was last modified.
NameTextThe name of the ad unit.
ParentIdNumberThe ID of the ad unit's parent. Every ad unit has a parent except for the root ad unit, which is created by Google.

User

Column nameTypeDescription
EmailTextThe email or login of the user.
ExternalIdTextAn identifier for the user that is meaningful to the publisher.
IdNumberThe unique ID of the user.
IsServiceAccountBooleanTrue if this user is an OAuth2 service account user, false otherwise.
NameTextThe name of the user.
RoleIdNumberThe unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.
RoleNameTextThe name of the {@link Role} assigned to the user.

Programmatic_Buyer

Column nameTypeDescription
BuyerAccountIdNumberThe ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.
EnabledForPreferredDealsBooleanWhether the buyer is allowed to negotiate Preferred Deals.
EnabledForProgrammaticGuaranteedBooleanWhether the buyer is enabled for Programmatic Guaranteed deals.
IsAgencyBooleanWhether the buyer is an advertising agency.
NameTextDisplay name that references the buyer.
ParentIdNumberThe ID of the programmatic buyer's sponsor. If the programmatic buyer has no sponsor, this field will be -1.
PartnerClientIdTextID used to represent Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.

Audience_Segment_Category

Column nameTypeDescription
IdNumberThe unique identifier for the audience segment category.
NameTextThe name of the audience segment category.
ParentIdNumberThe unique identifier of the audience segment category's parent.

Audience_Segment

Column nameTypeDescription
AdIdSizeNumberThe number of AdID users in the segment.
CategoryIdsSet of numberThe ids of the categories that this audience segment belongs to.
IdNumberThe unique identifier for the audience segment.
IdfaSizeNumberThe number of IDFA users in the segment.
MobileWebSizeNumberThe number of mobile web users in the segment.
NameTextThe name of the audience segment.
OwnerAccountIdNumberThe owner account id of the audience segment.
OwnerNameTextThe owner name of the audience segment.
PpidSizeNumberThe number of PPID users in the segment.
SegmentTypeTextThe type of the audience segment.

Time_Zone

Column nameTypeDescription
IdTextThe id of time zone in the form of {@code America/New_York}.
StandardGmtOffsetTextThe standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.

Proposal_Terms_And_Conditions

Column nameTypeDescription

Change_History

Restrictions: Only ordering by {@code ChangeDateTime} descending is supported. The {@code IN} operator is only supported on the {@code entityType} column. {@code OFFSET} is not supported. To page through results, filter on the earliest change {@code Id} as a continuation token. For example {@code "WHERE Id < :id"}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.
Column nameTypeDescription
ChangeDateTimeDatetimeThe date and time this change happened.
EntityIdNumberThe ID of the entity that was changed.
EntityTypeTextThe {@link ChangeHistoryEntityType type} of the entity that was changed.
IdTextThe ID of this change. IDs may only be used with {@code "<"} operator for paging and are subject to change. Do not store IDs. Note that the {@code "<"} here does not compare the value of the ID but the row in the change history table it represents.
OperationTextThe {@link ChangeHistoryOperation operation} that was performed on this entity.
UserIdNumberThe {@link User#id ID} of the user that made this change.

ad_category

Column nameTypeDescription
ChildIdsSet of numberChild IDs of an Ad category. Only general categories have children
IdNumberID of an Ad category
NameTextLocalized name of an Ad category
ParentIdNumberParent ID of an Ad category. Only general categories have parents
TypeTextType of an Ad category. Only general categories have children

rich_media_ad_company

The global set of rich media ad companies that are known to Google.
Column nameTypeDescription
CompanyGvlIdNumberIAB Global Vendor List ID of a Rich Media Ad Company
GdprStatusTextGDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.
IdNumberID of a Rich Media Ad Company
NameTextName of a Rich Media Ad Company
PolicyUrlTextPolicy URL of a Rich Media Ad Company

mcm_earnings

Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. "WHERE month = '2020-01'" or "WHERE month IN ('2020-01')"). Bydefault, child publishers are ordered by their network code.
Column nameTypeDescription
ChildNameTextThe name of the child publisher.
ChildNetworkCodeTextThe network code of the child publisher.
ChildPaymentCurrencyCodeTextThe child payment currency code as defined by ISO 4217.
ChildPaymentMicrosNumberThe portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}
DeductionsCurrencyCodeTextThe deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.
DeductionsMicrosNumberThe deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.
DelegationTypeTextThe current type of MCM delegation between the parent and child publisher.
MonthDateThe year and month that the MCM earnings data applies to. The date will be specified as the first of the month.
ParentNameTextThe name of the parent publisher.
ParentNetworkCodeTextThe network code of the parent publisher.
ParentPaymentCurrencyCodeTextThe parent payment currency code as defined by ISO 4217.
ParentPaymentMicrosNumberThe portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.
TotalEarningsCurrencyCodeTextThe total earnings currency code as defined by ISO 4217.
TotalEarningsMicrosNumberThe total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.

Linked_Device

Column nameTypeDescription
IdNumberThe ID of the LinkedDevice
NameTextThe name of the LinkedDevice
UserIdNumberThe ID of the user that this device belongs to.
VisibilityTextThe visibility of the LinkedDevice.

child_publisher

By default, child publishers are ordered by their ID.
Column nameTypeDescription
AccountStatusTextThe account status of the child publisher's Ad Manager network. Deprecated and replaced by the AccountStatus column. Possible values are {$code INVITED}, {$code DECLINED}, {$code APPROVED}, {$code CLOSED_BY_PUBLISHER}, {$code CLOSED_INVALID_ACTIVITY}, {$code CLOSED_POLICY_VIOLATION}, {$code DEACTIVATED_BY_AD_MANAGER}, {$code DISAPPROVED_DUPLICATE_ACCOUNT}, {$code DISAPPROVED_INELIGIBLE}, {$code PENDING_GOOGLE_APPROVAL}, {$code EXPIRED}, and {$code INACTIVE}.
AddressVerificationExpirationTimeDatetimeDate when the child publisher's address verification (mail PIN) will expire.
AddressVerificationLastModifiedTimeDatetimeThe time of the last change in the child publisher's address verification (mail PIN) process.
AddressVerificationStatusTextThe address verification (mail PIN) status of the child publisher's Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.
AgreementStatusTextStatus of the delegation relationship between parent and child. Deprecated and replaced by the InvitationStatus column. Possible values are {$code APPROVED}, {$code PENDING}, {$code REJECTED}, {$code WITHDRAWN}.
ApprovalStatusTextThe approval status of the child publisher's Ad Manager network. Possible values are {$code APPROVED}, {$code CLOSED_BY_PUBLISHER}, {$code CLOSED_INVALID_ACTIVITY}, {$code CLOSED_POLICY_VIOLATION}, {$code DEACTIVATED_BY_AD_MANAGER}, {$code DISAPPROVED_DUPLICATE_ACCOUNT}, {$code DISAPPROVED_INELIGIBLE}, and {$code PENDING_GOOGLE_APPROVAL}.
ApprovedManageAccountRevshareMillipercentNumberThe approved revshare with the MCM child publisher
ChildNetworkAdExchangeEnabledBooleanWhether the child publisher's Ad Manager network has Ad Exchange enabled
ChildNetworkCodeTextThe network code of the MCM child publisher
DelegationTypeTextThe delegation type of the MCM child publisher. This will be the approved type if the child has accepted the relationship, and the proposed type otherwise.
EmailTextThe email of the MCM child publisher
IdNumberThe ID of the MCM child publisher.
IdentityVerificationLastModifiedTimeDatetimeThe time of the last change in the child publisher's identity verification process.
IdentityVerificationStatusTextStatus of the child publisher's identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.
InvitationStatusTextStatus of the parent's invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.
NameTextThe name of the MCM child publisher
OnboardingTasksSet of textThe child publisher's pending onboarding tasks. This will only be populated if the child publisher's {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.
ReadinessStatusTextOverall onboarding readiness of the child publisher. Correlates with serving behavior, but does not include site-level approval information. Possible values are {$code READY}, {$code NOT_READY}, and {$code INACTIVE}.
SellerIdTextThe child publisher's seller ID, as specified in the parent publisher's sellers.json file. This field is only relevant for Manage Inventory child publishers.
* * * This class was generated by the JAX-WS RI. * JAX-WS RI 2.3.0.2 * Generated source version: 2.1 * */ @WebService(name = "PublisherQueryLanguageServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402") @XmlSeeAlso({ ObjectFactory.class }) public interface PublisherQueryLanguageServiceInterface { /** * * Retrieves rows of data that satisfy the given {@link Statement#query} from the system. * * * @param selectStatement * @return * returns com.google.api.ads.admanager.jaxws.v202402.ResultSet * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402") @RequestWrapper(localName = "select", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.PublisherQueryLanguageServiceInterfaceselect") @ResponseWrapper(localName = "selectResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402", className = "com.google.api.ads.admanager.jaxws.v202402.PublisherQueryLanguageServiceInterfaceselectResponse") public ResultSet select( @WebParam(name = "selectStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202402") Statement selectStatement) throws ApiException_Exception ; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy