diff --git a/CHANGELOG.md b/CHANGELOG.md index 295c54fb0..466c49983 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### 66.0.0 + +* Added support for v202408. +* Removed support for v202308. +* Removed examples for v202311. +* Added AdsTxtService in v202408. + ### 65.0.0 * Added support for v202405. diff --git a/examples/AdManager/v202311/ActivityGroupService/GetActiveActivityGroups.php b/examples/AdManager/v202311/ActivityGroupService/GetActiveActivityGroups.php deleted file mode 100644 index ad96e7f1e..000000000 --- a/examples/AdManager/v202311/ActivityGroupService/GetActiveActivityGroups.php +++ /dev/null @@ -1,100 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class GetActiveActivityGroups -{ - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session - ) { - $activityGroupService = $serviceFactory->createActivityGroupService( - $session - ); - - // Create a statement to select activity groups. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('status = :status') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('status', ActivityGroupStatus::ACTIVE); - - // Retrieve a small amount of activity groups at a time, paging - // through until all activity groups have been retrieved. - $totalResultSetSize = 0; - do { - $page = $activityGroupService->getActivityGroupsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each activity group. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $activityGroup) { - printf( - "%d) Activity group with ID %d and name '%s' was" - . " found.%s", - $i++, - $activityGroup->getId(), - $activityGroup->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session); - } -} - -GetActiveActivityGroups::main(); diff --git a/examples/AdManager/v202311/ActivityGroupService/GetAllActivityGroups.php b/examples/AdManager/v202311/ActivityGroupService/GetAllActivityGroups.php deleted file mode 100644 index 5f2115239..000000000 --- a/examples/AdManager/v202311/ActivityGroupService/GetAllActivityGroups.php +++ /dev/null @@ -1,97 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class GetAllActivityGroups -{ - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session - ) { - $activityGroupService = $serviceFactory->createActivityGroupService( - $session - ); - - // Create a statement to select activity groups. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->orderBy('id ASC') - ->limit($pageSize); - - // Retrieve a small amount of activity groups at a time, paging - // through until all activity groups have been retrieved. - $totalResultSetSize = 0; - do { - $page = $activityGroupService->getActivityGroupsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each activity group. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $activityGroup) { - printf( - "%d) Activity group with ID %d and name '%s' was" - . " found.%s", - $i++, - $activityGroup->getId(), - $activityGroup->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session); - } -} - -GetAllActivityGroups::main(); diff --git a/examples/AdManager/v202311/ActivityService/GetActiveActivities.php b/examples/AdManager/v202311/ActivityService/GetActiveActivities.php deleted file mode 100644 index e634b0d27..000000000 --- a/examples/AdManager/v202311/ActivityService/GetActiveActivities.php +++ /dev/null @@ -1,99 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class GetActiveActivities -{ - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session - ) { - $activityService = $serviceFactory->createActivityService($session); - - // Create a statement to select activities. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('status = :status') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('status', ActivityStatus::ACTIVE); - - // Retrieve a small amount of activities at a time, paging - // through until all activities have been retrieved. - $totalResultSetSize = 0; - do { - $page = $activityService->getActivitiesByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each activity. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $activity) { - printf( - "%d) Activity with ID %d, name '%s', and type '%s'" - . " was found.%s", - $i++, - $activity->getId(), - $activity->getName(), - $activity->getType(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session); - } -} - -GetActiveActivities::main(); diff --git a/examples/AdManager/v202311/ActivityService/GetAllActivities.php b/examples/AdManager/v202311/ActivityService/GetAllActivities.php deleted file mode 100644 index 112ebff50..000000000 --- a/examples/AdManager/v202311/ActivityService/GetAllActivities.php +++ /dev/null @@ -1,94 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class GetAllActivities -{ - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session - ) { - $activityService = $serviceFactory->createActivityService($session); - - // Create a statement to select activities. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->orderBy('id ASC') - ->limit($pageSize); - - // Retrieve a small amount of activities at a time, paging - // through until all activities have been retrieved. - $totalResultSetSize = 0; - do { - $page = $activityService->getActivitiesByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each activity. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $activity) { - printf( - "%d) Activity with ID %d and name '%s' was found.%s", - $i++, - $activity->getId(), - $activity->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session); - } -} - -GetAllActivities::main(); diff --git a/examples/AdManager/v202311/CmsMetadataService/ActivateCmsMetadataValues.php b/examples/AdManager/v202311/CmsMetadataService/ActivateCmsMetadataValues.php deleted file mode 100644 index b963a36a8..000000000 --- a/examples/AdManager/v202311/CmsMetadataService/ActivateCmsMetadataValues.php +++ /dev/null @@ -1,135 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class ActivateCmsMetadataValues -{ - - // Set the CMS metadata key to retrieve values for. - // Run GetAllCmsMetadataKeys.php to retrieve CMS metadata keys. - const CMS_METADATA_KEY_ID = 'INSERT_CMS_METADATA_KEY_ID_HERE'; - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session, - int $cmsMetadataKeyId - ) - { - $cmsMetadataService = - $serviceFactory->createCmsMetadataService($session); - - // Create a statement to select CMS metadata values. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder()) - ->where("cmsKeyId = :cmsKeyId AND status = :status") - ->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT) - ->withBindVariableValue("cmsKeyId", $cmsMetadataKeyId) - ->withBindVariableValue("status", CmsMetadataKeyStatus::INACTIVE); - - // Retrieve a small amount of CMS metadata values at a time, paging - // through until all CMS metadata values have been retrieved. - $totalResultSetSize = 0; - do { - $page = $cmsMetadataService->getCmsMetadataValuesByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each CMS metadata value. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $cmsMetadataValue) { - printf( - "%d) CMS Metadata Value with ID %d will be " . - "activated.%s", - $i++, - $cmsMetadataValue->getCmsMetadataValueId(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of CMS Metadata Values to be activated: %d%s", - $totalResultSetSize, PHP_EOL); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement to activate all matching - // values. - $statementBuilder->removeLimitAndOffset(); - - // Create an action. - $action = new \Google\AdsApi\AdManager\v202311\ActivateCmsMetadataValues(); - - // Perform the action. - $result = $cmsMetadataService->performCmsMetadataValueAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result != null && $result->getNumChanges() > 0) { - printf( - "Number of items activated: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No CMS Metadata Values were activated.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - self::CMS_METADATA_KEY_ID - ); - } -} - -ActivateCmsMetadataValues::main(); diff --git a/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingKeys.php b/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingKeys.php deleted file mode 100644 index cd1a51846..000000000 --- a/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingKeys.php +++ /dev/null @@ -1,136 +0,0 @@ -createCustomTargetingService( - $session - ); - - // Create a statement to select the custom targeting keys to delete. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $customTargetingKeyId); - - // Retrieve a small amount of custom targeting keys at a time, paging - // through until all custom targeting keys have been retrieved. - $totalResultSetSize = 0; - do { - $page = $customTargetingService->getCustomTargetingKeysByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the custom targeting keys to be - // deleted. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $customTargetingKey) { - printf( - "%d) Custom targeting key with ID %d, name '%s', " - . "and display name '%s' will be deleted.%s", - $i++, - $customTargetingKey->getId(), - $customTargetingKey->getName(), - $customTargetingKey->getDisplayName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of custom targeting keys to be deleted: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new DeleteCustomTargetingKeysAction(); - $result = $customTargetingService->performCustomTargetingKeyAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of custom targeting keys deleted: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No custom targeting keys were deleted.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::CUSTOM_TARGETING_KEY_ID) - ); - } -} - -DeleteCustomTargetingKeys::main(); diff --git a/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingValues.php b/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingValues.php deleted file mode 100644 index c37a83306..000000000 --- a/examples/AdManager/v202311/CustomTargetingService/DeleteCustomTargetingValues.php +++ /dev/null @@ -1,147 +0,0 @@ -createCustomTargetingService( - $session - ); - - // Create a statement to select the custom targeting values to delete. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where( - 'customTargetingKeyId = :customTargetingKeyId AND id = :id' - ) - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue( - 'customTargetingKeyId', - $customTargetingKeyId - ) - ->withBindVariableValue('id', $customTargetingValueId); - - // Retrieve a small amount of custom targeting values at a time, paging - // through until all custom targeting values have been retrieved. - $totalResultSetSize = 0; - do { - $page = $customTargetingService - ->getCustomTargetingValuesByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the custom targeting values to be - // deleted. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $customTargetingValue) { - printf( - "%d) Custom targeting value with ID %d, name '%s', " - . "and display name '%s' will be deleted.%s", - $i++, - $customTargetingValue->getId(), - $customTargetingValue->getName(), - $customTargetingValue->getDisplayName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of custom targeting values to be deleted: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new DeleteCustomTargetingValuesAction(); - $result = $customTargetingService - ->performCustomTargetingValueAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of custom targeting values deleted: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No custom targeting values were deleted.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::CUSTOM_TARGETING_KEY_ID), - intval(self::CUSTOM_TARGETING_VALUE_ID) - ); - } -} - -DeleteCustomTargetingValues::main(); diff --git a/examples/AdManager/v202311/InventoryService/ArchiveAdUnits.php b/examples/AdManager/v202311/InventoryService/ArchiveAdUnits.php deleted file mode 100644 index 254ab03c1..000000000 --- a/examples/AdManager/v202311/InventoryService/ArchiveAdUnits.php +++ /dev/null @@ -1,137 +0,0 @@ -createInventoryService($session); - - // Create a statement to select the ad units to archive. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = - (new StatementBuilder()) - ->where('parentId = :parentId or id = :parentId') - ->orderBy( - 'id ASC' - ) - ->limit($pageSize) - ->withBindVariableValue('parentId', $parentAdUnitId); - - // Retrieve a small amount of ad units at a time, paging - // through until all ad units have been retrieved. - $totalResultSetSize = 0; - do { - $page = $inventoryService->getAdUnitsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the ad units to be - // archived. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $adUnit) { - printf( - "%d) Ad unit with ID %d and name '%s' will be" - . " archived.%s", - $i++, - $adUnit->getId(), - $adUnit->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of ad units to be archived: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new ArchiveAdUnitsAction(); - $result = $inventoryService->performAdUnitAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of ad units archived: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No ad units were archived.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::PARENT_AD_UNIT_ID) - ); - } -} - -ArchiveAdUnits::main(); diff --git a/examples/AdManager/v202311/LineItemService/GetAllLineItems.php b/examples/AdManager/v202311/LineItemService/GetAllLineItems.php deleted file mode 100644 index 284b98487..000000000 --- a/examples/AdManager/v202311/LineItemService/GetAllLineItems.php +++ /dev/null @@ -1,94 +0,0 @@ -It is meant to be run from a command line (not as a webpage) and requires - * that you've setup an `adsapi_php.ini` file in your home directory with your - * API credentials and settings. See README.md for more info. - */ -class GetAllLineItems -{ - - public static function runExample( - ServiceFactory $serviceFactory, - AdManagerSession $session - ) { - $lineItemService = $serviceFactory->createLineItemService($session); - - // Create a statement to select line items. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->orderBy('id ASC') - ->limit($pageSize); - - // Retrieve a small amount of line items at a time, paging - // through until all line items have been retrieved. - $totalResultSetSize = 0; - do { - $page = $lineItemService->getLineItemsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for each line item. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $lineItem) { - printf( - "%d) Line item with ID %d and name '%s' was found.%s", - $i++, - $lineItem->getId(), - $lineItem->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session); - } -} - -GetAllLineItems::main(); diff --git a/examples/AdManager/v202311/LineItemService/PauseLineItems.php b/examples/AdManager/v202311/LineItemService/PauseLineItems.php deleted file mode 100644 index 0a08da876..000000000 --- a/examples/AdManager/v202311/LineItemService/PauseLineItems.php +++ /dev/null @@ -1,132 +0,0 @@ -createLineItemService($session); - - // Create a statement to select the line items to pause. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $lineItemId); - - // Retrieve a small amount of line items at a time, paging through until - // all line items have been retrieved. - $totalResultSetSize = 0; - do { - $page = $lineItemService->getLineItemsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the line items to be paused. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $lineItem) { - printf( - "%d) Line item with ID %d and name '%s' will be" - . " paused.%s", - $i++, - $lineItem->getId(), - $lineItem->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of line items to be paused: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new PauseLineItemsAction(); - $result = $lineItemService->performlineItemAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of line items paused: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No line items were paused.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::LINE_ITEM_ID) - ); - } -} - -PauseLineItems::main(); diff --git a/examples/AdManager/v202311/OrderService/ApproveOrders.php b/examples/AdManager/v202311/OrderService/ApproveOrders.php deleted file mode 100644 index 69627c8d3..000000000 --- a/examples/AdManager/v202311/OrderService/ApproveOrders.php +++ /dev/null @@ -1,133 +0,0 @@ -createOrderService($session); - - // Create a statement to select the orders to approve. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $orderId); - - // Retrieve a small amount of orders at a time, paging through until all - // orders have been retrieved. - $totalResultSetSize = 0; - do { - $page = $orderService->getOrdersByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the orders to be approved. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $order) { - printf( - "%d) Order with ID %d, name '%s'," - . " and advertiser ID %d will be approved.%s", - $i++, - $order->getId(), - $order->getName(), - $order->getAdvertiserId(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of orders to be approved: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new ApproveOrdersAction(); - $result = $orderService->performOrderAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of orders approved: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No orders were approved.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::ORDER_ID) - ); - } -} - -ApproveOrders::main(); diff --git a/examples/AdManager/v202311/PlacementService/DeactivatePlacements.php b/examples/AdManager/v202311/PlacementService/DeactivatePlacements.php deleted file mode 100644 index 0ea4751f7..000000000 --- a/examples/AdManager/v202311/PlacementService/DeactivatePlacements.php +++ /dev/null @@ -1,133 +0,0 @@ -createPlacementService($session); - - // Create a statement to select the placements to deactivate. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $placementId); - - // Retrieve a small amount of placements at a time, paging - // through until all placements have been retrieved. - $totalResultSetSize = 0; - do { - $page = $placementService->getPlacementsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the placements to be - // deactivated. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $placement) { - printf( - "%d) Placement with ID %d and name '%s' will be" - . " deactivated.%s", - $i++, - $placement->getId(), - $placement->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of placements to be deactivated: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new DeactivatePlacementsAction(); - $result = $placementService->performPlacementAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of placements deactivated: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No placements were deactivated.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::PLACEMENT_ID) - ); - } -} - -DeactivatePlacements::main(); diff --git a/examples/AdManager/v202311/ProposalLineItemService/ArchiveProposalLineItems.php b/examples/AdManager/v202311/ProposalLineItemService/ArchiveProposalLineItems.php deleted file mode 100644 index 751cd4e8c..000000000 --- a/examples/AdManager/v202311/ProposalLineItemService/ArchiveProposalLineItems.php +++ /dev/null @@ -1,134 +0,0 @@ -createProposalLineItemService($session); - - // Create a statement to select the proposal line items to archive. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $proposalLineItemId); - - // Retrieve a small amount of proposal line items at a time, paging - // through until all proposal line items have been retrieved. - $totalResultSetSize = 0; - do { - $page = $proposalLineItemService->getProposalLineItemsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the proposal line items to be - // archived. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $proposalLineItem) { - printf( - "%d) Proposal line item with ID %d and name '%s' will" - . " be archived.%s", - $i++, - $proposalLineItem->getId(), - $proposalLineItem->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of proposal line items to be archived: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new ArchiveProposalLineItemsAction(); - $result = $proposalLineItemService->performProposalLineItemAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of proposal line items archived: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No proposal line items were archived.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::PROPOSAL_LINE_ITEM_ID) - ); - } -} - -ArchiveProposalLineItems::main(); diff --git a/examples/AdManager/v202311/ProposalService/RequestBuyerAcceptance.php b/examples/AdManager/v202311/ProposalService/RequestBuyerAcceptance.php deleted file mode 100644 index 575a99832..000000000 --- a/examples/AdManager/v202311/ProposalService/RequestBuyerAcceptance.php +++ /dev/null @@ -1,137 +0,0 @@ -createProposalService($session); - - // Create a statement to select the proposals to request buyer - // acceptance for. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $programmaticProposalId); - - // Retrieve a small amount of proposals at a time, paging through until - // all proposals have been retrieved. - $totalResultSetSize = 0; - do { - $page = $proposalService->getProposalsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the proposals to request buyer - // acceptance for. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $proposal) { - printf( - "%d) Proposal with ID %d and name '%s' will be" - . " requested for buyer acceptance.%s", - $i++, - $proposal->getId(), - $proposal->getName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of proposals to request buyer acceptance for: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new RequestBuyerAcceptanceAction(); - $result = $proposalService->performProposalAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of proposals requested for buyer acceptance: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf( - "No proposals were requested for buyer acceptance.%s", - PHP_EOL - ); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::PROGRAMMATIC_PROPOSAL_ID) - ); - } -} - -RequestBuyerAcceptance::main(); diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetAllLineItems.php b/examples/AdManager/v202311/PublisherQueryLanguageService/GetAllLineItems.php deleted file mode 100644 index e7e1ef727..000000000 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetAllLineItems.php +++ /dev/null @@ -1,114 +0,0 @@ -createPublisherQueryLanguageService( - $session - ); - - // Create statement to select all line items. - $statementBuilder = new StatementBuilder(); - $statementBuilder->select('Id, Name, Status'); - $statementBuilder->from('Line_Item'); - $statementBuilder->orderBy('Id ASC'); - $statementBuilder->offset(0); - $statementBuilder->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT); - - // Default for result sets. - $combinedResultSet = null; - $i = 0; - - do { - // Get all line items. - $resultSet = $pqlService->select($statementBuilder->toStatement()); - - // Combine result sets with previous ones. - $combinedResultSet = is_null($combinedResultSet) - ? $resultSet - : Pql::combineResultSets( - $combinedResultSet, - $resultSet - ); - - $rows = $resultSet->getRows(); - - printf( - "%d) %d line items beginning at offset %d were found.%s", - $i++, - is_null($rows) ? 0 : count($rows), - $statementBuilder->getOffset(), - PHP_EOL - ); - - $statementBuilder->increaseOffsetBy( - StatementBuilder::SUGGESTED_PAGE_LIMIT - ); - $rows = $resultSet->getRows(); - } while (!empty($rows)); - - // Change to your file location. - $filePath = tempnam(sys_get_temp_dir(), 'Line-Items-') . '.csv'; - - CsvFiles::writeCsv( - Pql::resultSetTo2DimensionStringArray($combinedResultSet), - $filePath - ); - - printf("Line items saved to: %s%s", $filePath, PHP_EOL); - } - - public static function main() - { - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - self::runExample(new ServiceFactory(), $session); - } -} - -GetAllLineItems::main(); diff --git a/examples/AdManager/v202311/SuggestedAdUnitService/ApproveSuggestedAdUnits.php b/examples/AdManager/v202311/SuggestedAdUnitService/ApproveSuggestedAdUnits.php deleted file mode 100644 index 7eb5aaa4e..000000000 --- a/examples/AdManager/v202311/SuggestedAdUnitService/ApproveSuggestedAdUnits.php +++ /dev/null @@ -1,136 +0,0 @@ -createSuggestedAdUnitService( - $session - ); - - // Create a statement to select the suggested ad units to approve. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder()) - ->where('numRequests >= :numRequests') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('numRequests', $numberOfRequests); - - // Retrieve a small amount of suggested ad units at a time, paging - // through until all suggested ad units have been retrieved. - $totalResultSetSize = 0; - do { - $page = $suggestedAdUnitService->getSuggestedAdUnitsByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the suggested ad units to be - // approved. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $suggestedAdUnit) { - printf( - "%d) Suggested ad unit with ID %d " - . "and number of requests %d will be approved.%s", - $i++, - $suggestedAdUnit->getId(), - $suggestedAdUnit->getNumRequests(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of suggested ad units to be approved: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new ApproveSuggestedAdUnitsAction(); - $result = $suggestedAdUnitService->performSuggestedAdUnitAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of suggested ad units approved: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No suggested ad units were approved.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample( - new ServiceFactory(), - $session, - intval(self::NUMBER_OF_REQUESTS) - ); - } -} - -ApproveSuggestedAdUnits::main(); diff --git a/examples/AdManager/v202311/UserService/DeactivateUsers.php b/examples/AdManager/v202311/UserService/DeactivateUsers.php deleted file mode 100644 index b42b66e4d..000000000 --- a/examples/AdManager/v202311/UserService/DeactivateUsers.php +++ /dev/null @@ -1,129 +0,0 @@ -createUserService($session); - - // Create a statement to select the users to deactivate. - $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; - $statementBuilder = (new StatementBuilder())->where('id = :id') - ->orderBy('id ASC') - ->limit($pageSize) - ->withBindVariableValue('id', $userId); - - // Retrieve a small amount of users at a time, paging through until all - // users have been retrieved. - $totalResultSetSize = 0; - do { - $page = $userService->getUsersByStatement( - $statementBuilder->toStatement() - ); - - // Print out some information for the users to be deactivated. - if ($page->getResults() !== null) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $user) { - printf( - "%d) User with ID %d, email '%s', " - . "and role '%s' will be deactivated.%s", - $i++, - $user->getId(), - $user->getEmail(), - $user->getRoleName(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy($pageSize); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Total number of users to be deactivated: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement so we can reuse the - // statement. - $statementBuilder->removeLimitAndOffset(); - - // Create and perform action. - $action = new DeactivateUsersAction(); - $result = $userService->performUserAction( - $action, - $statementBuilder->toStatement() - ); - - if ($result !== null && $result->getNumChanges() > 0) { - printf( - "Number of users deactivated: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - printf("No users were deactivated.%s", PHP_EOL); - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder())->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session, intval(self::USER_ID)); - } -} - -DeactivateUsers::main(); diff --git a/examples/AdManager/v202311/UserTeamAssociationService/DeleteUserTeamAssociations.php b/examples/AdManager/v202311/UserTeamAssociationService/DeleteUserTeamAssociations.php deleted file mode 100644 index 187b4a400..000000000 --- a/examples/AdManager/v202311/UserTeamAssociationService/DeleteUserTeamAssociations.php +++ /dev/null @@ -1,139 +0,0 @@ -createUserTeamAssociationService($session); - - // Create a statement to get all user team associations for a user. - $statementBuilder = (new StatementBuilder()) - ->where('WHERE userId = :userId ') - ->orderBy('userId ASC, teamId ASC') - ->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT) - ->withBindVariableValue('userId', $userId); - - // Default for total result set size. - $totalResultSetSize = 0; - - do { - // Get user team associations by statement. - $page = $userTeamAssociationService - ->getUserTeamAssociationsByStatement( - $statementBuilder->toStatement() - ); - - if (!empty($page->getResults())) { - $totalResultSetSize = $page->getTotalResultSetSize(); - $i = $page->getStartIndex(); - foreach ($page->getResults() as $userTeamAssociation) { - printf( - "%d) User team association with user ID %d and " - . "team ID %d will be deleted.%s", - $i++, - $userTeamAssociation->getUserId(), - $userTeamAssociation->getTeamId(), - PHP_EOL - ); - } - } - - $statementBuilder->increaseOffsetBy( - StatementBuilder::SUGGESTED_PAGE_LIMIT - ); - } while ($statementBuilder->getOffset() < $totalResultSetSize); - - printf( - "Number of user team associations to be deleted: %d%s", - $totalResultSetSize, - PHP_EOL - ); - - if ($totalResultSetSize > 0) { - // Remove limit and offset from statement. - $statementBuilder->removeLimitAndOffset(); - - // Create action. - $action = new DeleteAction(); - - // Perform action. - $result = $userTeamAssociationService - ->performUserTeamAssociationAction( - $action, - $statementBuilder->toStatement() - ); - - if (!is_null($result) && $result->getNumChanges() > 0) { - printf( - "Number of user team associations deleted: %d%s", - $result->getNumChanges(), - PHP_EOL - ); - } else { - print "No user team associations were deleted.\n"; - } - } - } - - public static function main() - { - // Generate a refreshable OAuth2 credential for authentication. - $oAuth2Credential = (new OAuth2TokenBuilder()) - ->fromFile() - ->build(); - - // Construct an API session configured from an `adsapi_php.ini` file - // and the OAuth2 credentials above. - $session = (new AdManagerSessionBuilder()) - ->fromFile() - ->withOAuth2Credential($oAuth2Credential) - ->build(); - - self::runExample(new ServiceFactory(), $session, intval(self::USER_ID)); - } -} - -DeleteUserTeamAssociations::main(); diff --git a/examples/AdManager/v202311/AdjustmentService/CreateForecastAdjustments.php b/examples/AdManager/v202408/AdjustmentService/CreateForecastAdjustments.php similarity index 89% rename from examples/AdManager/v202311/AdjustmentService/CreateForecastAdjustments.php rename to examples/AdManager/v202408/AdjustmentService/CreateForecastAdjustments.php index 94b22c2cd..486616981 100644 --- a/examples/AdManager/v202311/AdjustmentService/CreateForecastAdjustments.php +++ b/examples/AdManager/v202408/AdjustmentService/CreateForecastAdjustments.php @@ -15,19 +15,19 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AdjustmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AdjustmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\Date; -use Google\AdsApi\AdManager\v202311\DateRange; -use Google\AdsApi\AdManager\v202311\ForecastAdjustment; -use Google\AdsApi\AdManager\v202311\ForecastAdjustmentStatus; -use Google\AdsApi\AdManager\v202311\ForecastAdjustmentVolumeType; -use Google\AdsApi\AdManager\v202311\HistoricalBasisVolumeSettings; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Date; +use Google\AdsApi\AdManager\v202408\DateRange; +use Google\AdsApi\AdManager\v202408\ForecastAdjustment; +use Google\AdsApi\AdManager\v202408\ForecastAdjustmentStatus; +use Google\AdsApi\AdManager\v202408\ForecastAdjustmentVolumeType; +use Google\AdsApi\AdManager\v202408\HistoricalBasisVolumeSettings; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/AdjustmentService/GetAllTrafficForecastSegments.php b/examples/AdManager/v202408/AdjustmentService/GetAllTrafficForecastSegments.php similarity index 95% rename from examples/AdManager/v202311/AdjustmentService/GetAllTrafficForecastSegments.php rename to examples/AdManager/v202408/AdjustmentService/GetAllTrafficForecastSegments.php index d734f6154..35beb0b95 100644 --- a/examples/AdManager/v202311/AdjustmentService/GetAllTrafficForecastSegments.php +++ b/examples/AdManager/v202408/AdjustmentService/GetAllTrafficForecastSegments.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AdjustmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AdjustmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php b/examples/AdManager/v202408/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php similarity index 95% rename from examples/AdManager/v202311/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php rename to examples/AdManager/v202408/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php index 52722445a..c3d96c3de 100644 --- a/examples/AdManager/v202311/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php +++ b/examples/AdManager/v202408/AdjustmentService/GetForecastAdjustmentsForTrafficForecastSegment.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AdjustmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AdjustmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/AdjustmentService/UpdateForecastAdjustments.php b/examples/AdManager/v202408/AdjustmentService/UpdateForecastAdjustments.php similarity index 94% rename from examples/AdManager/v202311/AdjustmentService/UpdateForecastAdjustments.php rename to examples/AdManager/v202408/AdjustmentService/UpdateForecastAdjustments.php index 545a82e93..2c7da0b8f 100644 --- a/examples/AdManager/v202311/AdjustmentService/UpdateForecastAdjustments.php +++ b/examples/AdManager/v202408/AdjustmentService/UpdateForecastAdjustments.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AdjustmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AdjustmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/AudienceSegmentService/GetAllAudienceSegments.php b/examples/AdManager/v202408/AudienceSegmentService/GetAllAudienceSegments.php similarity index 95% rename from examples/AdManager/v202311/AudienceSegmentService/GetAllAudienceSegments.php rename to examples/AdManager/v202408/AudienceSegmentService/GetAllAudienceSegments.php index 0c52ec90f..a31ea2086 100644 --- a/examples/AdManager/v202311/AudienceSegmentService/GetAllAudienceSegments.php +++ b/examples/AdManager/v202408/AudienceSegmentService/GetAllAudienceSegments.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AudienceSegmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AudienceSegmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/AudienceSegmentService/GetFirstPartyAudienceSegments.php b/examples/AdManager/v202408/AudienceSegmentService/GetFirstPartyAudienceSegments.php similarity index 93% rename from examples/AdManager/v202311/AudienceSegmentService/GetFirstPartyAudienceSegments.php rename to examples/AdManager/v202408/AudienceSegmentService/GetFirstPartyAudienceSegments.php index 8a9bbf934..35a4a8a52 100644 --- a/examples/AdManager/v202311/AudienceSegmentService/GetFirstPartyAudienceSegments.php +++ b/examples/AdManager/v202408/AudienceSegmentService/GetFirstPartyAudienceSegments.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\AudienceSegmentService; +namespace Google\AdsApi\Examples\AdManager\v202408\AudienceSegmentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\AudienceSegmentType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\AudienceSegmentType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CdnConfigurationService/CreateCdnConfigurations.php b/examples/AdManager/v202408/CdnConfigurationService/CreateCdnConfigurations.php similarity index 91% rename from examples/AdManager/v202311/CdnConfigurationService/CreateCdnConfigurations.php rename to examples/AdManager/v202408/CdnConfigurationService/CreateCdnConfigurations.php index a0f9c29cf..cc3f8f83f 100644 --- a/examples/AdManager/v202311/CdnConfigurationService/CreateCdnConfigurations.php +++ b/examples/AdManager/v202408/CdnConfigurationService/CreateCdnConfigurations.php @@ -15,20 +15,20 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CdnConfigurationService; +namespace Google\AdsApi\Examples\AdManager\v202408\CdnConfigurationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\CdnConfiguration; -use Google\AdsApi\AdManager\v202311\CdnConfigurationType; -use Google\AdsApi\AdManager\v202311\MediaLocationSettings; -use Google\AdsApi\AdManager\v202311\OriginForwardingType; -use Google\AdsApi\AdManager\v202311\SecurityPolicySettings; -use Google\AdsApi\AdManager\v202311\SecurityPolicyType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\SourceContentConfiguration; +use Google\AdsApi\AdManager\v202408\CdnConfiguration; +use Google\AdsApi\AdManager\v202408\CdnConfigurationType; +use Google\AdsApi\AdManager\v202408\MediaLocationSettings; +use Google\AdsApi\AdManager\v202408\OriginForwardingType; +use Google\AdsApi\AdManager\v202408\SecurityPolicySettings; +use Google\AdsApi\AdManager\v202408\SecurityPolicyType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\SourceContentConfiguration; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CdnConfigurationService/GetAllCdnConfigurations.php b/examples/AdManager/v202408/CdnConfigurationService/GetAllCdnConfigurations.php similarity index 95% rename from examples/AdManager/v202311/CdnConfigurationService/GetAllCdnConfigurations.php rename to examples/AdManager/v202408/CdnConfigurationService/GetAllCdnConfigurations.php index 60e0a4e4e..210552421 100644 --- a/examples/AdManager/v202311/CdnConfigurationService/GetAllCdnConfigurations.php +++ b/examples/AdManager/v202408/CdnConfigurationService/GetAllCdnConfigurations.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CdnConfigurationService; +namespace Google\AdsApi\Examples\AdManager\v202408\CdnConfigurationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/CmsMetadataService/ActivateCmsMetadataValues.php b/examples/AdManager/v202408/CmsMetadataService/ActivateCmsMetadataValues.php new file mode 100644 index 000000000..6091707dc --- /dev/null +++ b/examples/AdManager/v202408/CmsMetadataService/ActivateCmsMetadataValues.php @@ -0,0 +1,135 @@ +It is meant to be run from a command line (not as a webpage) and requires + * that you've setup an `adsapi_php.ini` file in your home directory with your + * API credentials and settings. See README.md for more info. + */ +class ActivateCmsMetadataValues +{ + + // Set the CMS metadata key to retrieve values for. + // Run GetAllCmsMetadataKeys.php to retrieve CMS metadata keys. + const CMS_METADATA_KEY_ID = 'INSERT_CMS_METADATA_KEY_ID_HERE'; + + public static function runExample( + ServiceFactory $serviceFactory, + AdManagerSession $session, + int $cmsMetadataKeyId + ) + { + $cmsMetadataService = + $serviceFactory->createCmsMetadataService($session); + + // Create a statement to select CMS metadata values. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder()) + ->where("cmsKeyId = :cmsKeyId AND status = :status") + ->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT) + ->withBindVariableValue("cmsKeyId", $cmsMetadataKeyId) + ->withBindVariableValue("status", CmsMetadataKeyStatus::INACTIVE); + + // Retrieve a small amount of CMS metadata values at a time, paging + // through until all CMS metadata values have been retrieved. + $totalResultSetSize = 0; + do { + $page = $cmsMetadataService->getCmsMetadataValuesByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for each CMS metadata value. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $cmsMetadataValue) { + printf( + "%d) CMS Metadata Value with ID %d will be " . + "activated.%s", + $i++, + $cmsMetadataValue->getCmsMetadataValueId(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf("Number of CMS Metadata Values to be activated: %d%s", + $totalResultSetSize, PHP_EOL); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement to activate all matching + // values. + $statementBuilder->removeLimitAndOffset(); + + // Create an action. + $action = new \Google\AdsApi\AdManager\v202408\ActivateCmsMetadataValues(); + + // Perform the action. + $result = $cmsMetadataService->performCmsMetadataValueAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result != null && $result->getNumChanges() > 0) { + printf( + "Number of items activated: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No CMS Metadata Values were activated.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + self::CMS_METADATA_KEY_ID + ); + } +} + +ActivateCmsMetadataValues::main(); diff --git a/examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataKeys.php b/examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataKeys.php similarity index 94% rename from examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataKeys.php rename to examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataKeys.php index fd16d5033..25894c35f 100644 --- a/examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataKeys.php +++ b/examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataKeys.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CmsMetadataService; +namespace Google\AdsApi\Examples\AdManager\v202408\CmsMetadataService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataValues.php b/examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataValues.php similarity index 95% rename from examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataValues.php rename to examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataValues.php index 7cb6c5b59..11aee7dc0 100644 --- a/examples/AdManager/v202311/CmsMetadataService/GetAllCmsMetadataValues.php +++ b/examples/AdManager/v202408/CmsMetadataService/GetAllCmsMetadataValues.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CmsMetadataService; +namespace Google\AdsApi\Examples\AdManager\v202408\CmsMetadataService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CmsMetadataService/GetCmsMetadataValuesForKey.php b/examples/AdManager/v202408/CmsMetadataService/GetCmsMetadataValuesForKey.php similarity index 95% rename from examples/AdManager/v202311/CmsMetadataService/GetCmsMetadataValuesForKey.php rename to examples/AdManager/v202408/CmsMetadataService/GetCmsMetadataValuesForKey.php index e664afd19..67e466689 100644 --- a/examples/AdManager/v202311/CmsMetadataService/GetCmsMetadataValuesForKey.php +++ b/examples/AdManager/v202408/CmsMetadataService/GetCmsMetadataValuesForKey.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CmsMetadataService; +namespace Google\AdsApi\Examples\AdManager\v202408\CmsMetadataService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CompanyService/CreateCompanies.php b/examples/AdManager/v202408/CompanyService/CreateCompanies.php similarity index 92% rename from examples/AdManager/v202311/CompanyService/CreateCompanies.php rename to examples/AdManager/v202408/CompanyService/CreateCompanies.php index 9346f2e8d..8b085cfa1 100644 --- a/examples/AdManager/v202311/CompanyService/CreateCompanies.php +++ b/examples/AdManager/v202408/CompanyService/CreateCompanies.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CompanyService; +namespace Google\AdsApi\Examples\AdManager\v202408\CompanyService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\Company; -use Google\AdsApi\AdManager\v202311\CompanyType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Company; +use Google\AdsApi\AdManager\v202408\CompanyType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CompanyService/GetAdvertisers.php b/examples/AdManager/v202408/CompanyService/GetAdvertisers.php similarity index 93% rename from examples/AdManager/v202311/CompanyService/GetAdvertisers.php rename to examples/AdManager/v202408/CompanyService/GetAdvertisers.php index 5bbd63a3b..0c4e47d78 100644 --- a/examples/AdManager/v202311/CompanyService/GetAdvertisers.php +++ b/examples/AdManager/v202408/CompanyService/GetAdvertisers.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CompanyService; +namespace Google\AdsApi\Examples\AdManager\v202408\CompanyService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\CompanyType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\CompanyType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CompanyService/GetAllCompanies.php b/examples/AdManager/v202408/CompanyService/GetAllCompanies.php similarity index 94% rename from examples/AdManager/v202311/CompanyService/GetAllCompanies.php rename to examples/AdManager/v202408/CompanyService/GetAllCompanies.php index 2c67e2801..64d09f36e 100644 --- a/examples/AdManager/v202311/CompanyService/GetAllCompanies.php +++ b/examples/AdManager/v202408/CompanyService/GetAllCompanies.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CompanyService; +namespace Google\AdsApi\Examples\AdManager\v202408\CompanyService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ContactService/GetAllContacts.php b/examples/AdManager/v202408/ContactService/GetAllContacts.php similarity index 94% rename from examples/AdManager/v202311/ContactService/GetAllContacts.php rename to examples/AdManager/v202408/ContactService/GetAllContacts.php index 6681f2d8f..ca291f7eb 100644 --- a/examples/AdManager/v202311/ContactService/GetAllContacts.php +++ b/examples/AdManager/v202408/ContactService/GetAllContacts.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ContactService; +namespace Google\AdsApi\Examples\AdManager\v202408\ContactService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ContactService/GetUninvitedContacts.php b/examples/AdManager/v202408/ContactService/GetUninvitedContacts.php similarity index 93% rename from examples/AdManager/v202311/ContactService/GetUninvitedContacts.php rename to examples/AdManager/v202408/ContactService/GetUninvitedContacts.php index 33ec87282..43bd7e35c 100644 --- a/examples/AdManager/v202311/ContactService/GetUninvitedContacts.php +++ b/examples/AdManager/v202408/ContactService/GetUninvitedContacts.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ContactService; +namespace Google\AdsApi\Examples\AdManager\v202408\ContactService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ContactStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ContactStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ContentService/GetAllContent.php b/examples/AdManager/v202408/ContentService/GetAllContent.php similarity index 95% rename from examples/AdManager/v202311/ContentService/GetAllContent.php rename to examples/AdManager/v202408/ContentService/GetAllContent.php index 2ec0cc053..56ee91568 100644 --- a/examples/AdManager/v202311/ContentService/GetAllContent.php +++ b/examples/AdManager/v202408/ContentService/GetAllContent.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ContentService; +namespace Google\AdsApi\Examples\AdManager\v202408\ContentService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ContentService/GetRecentlyModifiedContent.php b/examples/AdManager/v202408/ContentService/GetRecentlyModifiedContent.php similarity index 94% rename from examples/AdManager/v202311/ContentService/GetRecentlyModifiedContent.php rename to examples/AdManager/v202408/ContentService/GetRecentlyModifiedContent.php index 0440a018d..5a2972929 100644 --- a/examples/AdManager/v202311/ContentService/GetRecentlyModifiedContent.php +++ b/examples/AdManager/v202408/ContentService/GetRecentlyModifiedContent.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ContentService; +namespace Google\AdsApi\Examples\AdManager\v202408\ContentService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,9 +23,9 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/CreateCreatives.php b/examples/AdManager/v202408/CreativeService/CreateCreatives.php similarity index 92% rename from examples/AdManager/v202311/CreativeService/CreateCreatives.php rename to examples/AdManager/v202408/CreativeService/CreateCreatives.php index 0a9b6cbe8..c1913ed45 100644 --- a/examples/AdManager/v202311/CreativeService/CreateCreatives.php +++ b/examples/AdManager/v202408/CreativeService/CreateCreatives.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\CreativeAsset; -use Google\AdsApi\AdManager\v202311\ImageCreative; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; +use Google\AdsApi\AdManager\v202408\CreativeAsset; +use Google\AdsApi\AdManager\v202408\ImageCreative; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/CreateNativeCreatives.php b/examples/AdManager/v202408/CreativeService/CreateNativeCreatives.php similarity index 93% rename from examples/AdManager/v202311/CreativeService/CreateNativeCreatives.php rename to examples/AdManager/v202408/CreativeService/CreateNativeCreatives.php index 2d1fda958..e5ab80b3f 100644 --- a/examples/AdManager/v202311/CreativeService/CreateNativeCreatives.php +++ b/examples/AdManager/v202408/CreativeService/CreateNativeCreatives.php @@ -15,19 +15,19 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\AssetCreativeTemplateVariableValue; -use Google\AdsApi\AdManager\v202311\CreativeAsset; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\StringCreativeTemplateVariableValue; -use Google\AdsApi\AdManager\v202311\TemplateCreative; -use Google\AdsApi\AdManager\v202311\UrlCreativeTemplateVariableValue; +use Google\AdsApi\AdManager\v202408\AssetCreativeTemplateVariableValue; +use Google\AdsApi\AdManager\v202408\CreativeAsset; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\StringCreativeTemplateVariableValue; +use Google\AdsApi\AdManager\v202408\TemplateCreative; +use Google\AdsApi\AdManager\v202408\UrlCreativeTemplateVariableValue; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/CreateVideoCreatives.php b/examples/AdManager/v202408/CreativeService/CreateVideoCreatives.php similarity index 93% rename from examples/AdManager/v202311/CreativeService/CreateVideoCreatives.php rename to examples/AdManager/v202408/CreativeService/CreateVideoCreatives.php index 980bdfd18..8b60a0ed4 100644 --- a/examples/AdManager/v202311/CreativeService/CreateVideoCreatives.php +++ b/examples/AdManager/v202408/CreativeService/CreateVideoCreatives.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\VideoCreative; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\VideoCreative; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/GetAllCreatives.php b/examples/AdManager/v202408/CreativeService/GetAllCreatives.php similarity index 94% rename from examples/AdManager/v202311/CreativeService/GetAllCreatives.php rename to examples/AdManager/v202408/CreativeService/GetAllCreatives.php index 3b769db95..96828286b 100644 --- a/examples/AdManager/v202311/CreativeService/GetAllCreatives.php +++ b/examples/AdManager/v202408/CreativeService/GetAllCreatives.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/GetImageCreatives.php b/examples/AdManager/v202408/CreativeService/GetImageCreatives.php similarity index 95% rename from examples/AdManager/v202311/CreativeService/GetImageCreatives.php rename to examples/AdManager/v202408/CreativeService/GetImageCreatives.php index 051ae9560..e402c22ba 100644 --- a/examples/AdManager/v202311/CreativeService/GetImageCreatives.php +++ b/examples/AdManager/v202408/CreativeService/GetImageCreatives.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeService/UpdateCreatives.php b/examples/AdManager/v202408/CreativeService/UpdateCreatives.php similarity index 92% rename from examples/AdManager/v202311/CreativeService/UpdateCreatives.php rename to examples/AdManager/v202408/CreativeService/UpdateCreatives.php index aea849329..e771a4a58 100644 --- a/examples/AdManager/v202311/CreativeService/UpdateCreatives.php +++ b/examples/AdManager/v202408/CreativeService/UpdateCreatives.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\HasDestinationUrlCreative; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\HasDestinationUrlCreative; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeSetService/GetAllCreativeSets.php b/examples/AdManager/v202408/CreativeSetService/GetAllCreativeSets.php similarity index 94% rename from examples/AdManager/v202311/CreativeSetService/GetAllCreativeSets.php rename to examples/AdManager/v202408/CreativeSetService/GetAllCreativeSets.php index fd8edb513..0ba310f09 100644 --- a/examples/AdManager/v202311/CreativeSetService/GetAllCreativeSets.php +++ b/examples/AdManager/v202408/CreativeSetService/GetAllCreativeSets.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeSetService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeSetService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeSetService/GetCreativeSetsForMasterCreative.php b/examples/AdManager/v202408/CreativeSetService/GetCreativeSetsForMasterCreative.php similarity index 95% rename from examples/AdManager/v202311/CreativeSetService/GetCreativeSetsForMasterCreative.php rename to examples/AdManager/v202408/CreativeSetService/GetCreativeSetsForMasterCreative.php index 03f52c279..74df543b6 100644 --- a/examples/AdManager/v202311/CreativeSetService/GetCreativeSetsForMasterCreative.php +++ b/examples/AdManager/v202408/CreativeSetService/GetCreativeSetsForMasterCreative.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeSetService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeSetService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeTemplateService/GetAllCreativeTemplates.php b/examples/AdManager/v202408/CreativeTemplateService/GetAllCreativeTemplates.php similarity index 95% rename from examples/AdManager/v202311/CreativeTemplateService/GetAllCreativeTemplates.php rename to examples/AdManager/v202408/CreativeTemplateService/GetAllCreativeTemplates.php index 2bd6b578e..e92b46a1f 100644 --- a/examples/AdManager/v202311/CreativeTemplateService/GetAllCreativeTemplates.php +++ b/examples/AdManager/v202408/CreativeTemplateService/GetAllCreativeTemplates.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeTemplateService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeTemplateService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php b/examples/AdManager/v202408/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php similarity index 93% rename from examples/AdManager/v202311/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php rename to examples/AdManager/v202408/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php index eb8924298..54cb39013 100644 --- a/examples/AdManager/v202311/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php +++ b/examples/AdManager/v202408/CreativeTemplateService/GetSystemDefinedCreativeTemplates.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeTemplateService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeTemplateService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\CreativeTemplateType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\CreativeTemplateType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeWrapperService/GetActiveCreativeWrappers.php b/examples/AdManager/v202408/CreativeWrapperService/GetActiveCreativeWrappers.php similarity index 93% rename from examples/AdManager/v202311/CreativeWrapperService/GetActiveCreativeWrappers.php rename to examples/AdManager/v202408/CreativeWrapperService/GetActiveCreativeWrappers.php index 9e95744a1..0e3a81792 100644 --- a/examples/AdManager/v202311/CreativeWrapperService/GetActiveCreativeWrappers.php +++ b/examples/AdManager/v202408/CreativeWrapperService/GetActiveCreativeWrappers.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeWrapperService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeWrapperService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\CreativeWrapperStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\CreativeWrapperStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CreativeWrapperService/GetAllCreativeWrappers.php b/examples/AdManager/v202408/CreativeWrapperService/GetAllCreativeWrappers.php similarity index 95% rename from examples/AdManager/v202311/CreativeWrapperService/GetAllCreativeWrappers.php rename to examples/AdManager/v202408/CreativeWrapperService/GetAllCreativeWrappers.php index fc06bcd99..535b00b99 100644 --- a/examples/AdManager/v202311/CreativeWrapperService/GetAllCreativeWrappers.php +++ b/examples/AdManager/v202408/CreativeWrapperService/GetAllCreativeWrappers.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CreativeWrapperService; +namespace Google\AdsApi\Examples\AdManager\v202408\CreativeWrapperService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CustomFieldService/GetAllCustomFields.php b/examples/AdManager/v202408/CustomFieldService/GetAllCustomFields.php similarity index 94% rename from examples/AdManager/v202311/CustomFieldService/GetAllCustomFields.php rename to examples/AdManager/v202408/CustomFieldService/GetAllCustomFields.php index 2e0d78d75..9b532081d 100644 --- a/examples/AdManager/v202311/CustomFieldService/GetAllCustomFields.php +++ b/examples/AdManager/v202408/CustomFieldService/GetAllCustomFields.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CustomFieldService; +namespace Google\AdsApi\Examples\AdManager\v202408\CustomFieldService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CustomFieldService/GetCustomFieldsForLineItems.php b/examples/AdManager/v202408/CustomFieldService/GetCustomFieldsForLineItems.php similarity index 93% rename from examples/AdManager/v202311/CustomFieldService/GetCustomFieldsForLineItems.php rename to examples/AdManager/v202408/CustomFieldService/GetCustomFieldsForLineItems.php index 65f2ce10f..8d6a7d84f 100644 --- a/examples/AdManager/v202311/CustomFieldService/GetCustomFieldsForLineItems.php +++ b/examples/AdManager/v202408/CustomFieldService/GetCustomFieldsForLineItems.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CustomFieldService; +namespace Google\AdsApi\Examples\AdManager\v202408\CustomFieldService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\CustomFieldEntityType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\CustomFieldEntityType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CustomTargetingService/CreateCustomTargetingKeysAndValues.php b/examples/AdManager/v202408/CustomTargetingService/CreateCustomTargetingKeysAndValues.php similarity index 94% rename from examples/AdManager/v202311/CustomTargetingService/CreateCustomTargetingKeysAndValues.php rename to examples/AdManager/v202408/CustomTargetingService/CreateCustomTargetingKeysAndValues.php index 349e88b86..d937878cd 100644 --- a/examples/AdManager/v202311/CustomTargetingService/CreateCustomTargetingKeysAndValues.php +++ b/examples/AdManager/v202408/CustomTargetingService/CreateCustomTargetingKeysAndValues.php @@ -15,17 +15,17 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CustomTargetingService; +namespace Google\AdsApi\Examples\AdManager\v202408\CustomTargetingService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\CustomTargetingKey; -use Google\AdsApi\AdManager\v202311\CustomTargetingKeyType; -use Google\AdsApi\AdManager\v202311\CustomTargetingValue; -use Google\AdsApi\AdManager\v202311\CustomTargetingValueMatchType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\CustomTargetingKey; +use Google\AdsApi\AdManager\v202408\CustomTargetingKeyType; +use Google\AdsApi\AdManager\v202408\CustomTargetingValue; +use Google\AdsApi\AdManager\v202408\CustomTargetingValueMatchType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingKeys.php b/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingKeys.php new file mode 100644 index 000000000..af652877c --- /dev/null +++ b/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingKeys.php @@ -0,0 +1,136 @@ +createCustomTargetingService( + $session + ); + + // Create a statement to select the custom targeting keys to delete. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $customTargetingKeyId); + + // Retrieve a small amount of custom targeting keys at a time, paging + // through until all custom targeting keys have been retrieved. + $totalResultSetSize = 0; + do { + $page = $customTargetingService->getCustomTargetingKeysByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the custom targeting keys to be + // deleted. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $customTargetingKey) { + printf( + "%d) Custom targeting key with ID %d, name '%s', " + . "and display name '%s' will be deleted.%s", + $i++, + $customTargetingKey->getId(), + $customTargetingKey->getName(), + $customTargetingKey->getDisplayName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of custom targeting keys to be deleted: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new DeleteCustomTargetingKeysAction(); + $result = $customTargetingService->performCustomTargetingKeyAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of custom targeting keys deleted: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No custom targeting keys were deleted.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::CUSTOM_TARGETING_KEY_ID) + ); + } +} + +DeleteCustomTargetingKeys::main(); diff --git a/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingValues.php b/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingValues.php new file mode 100644 index 000000000..f0db6b494 --- /dev/null +++ b/examples/AdManager/v202408/CustomTargetingService/DeleteCustomTargetingValues.php @@ -0,0 +1,147 @@ +createCustomTargetingService( + $session + ); + + // Create a statement to select the custom targeting values to delete. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where( + 'customTargetingKeyId = :customTargetingKeyId AND id = :id' + ) + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue( + 'customTargetingKeyId', + $customTargetingKeyId + ) + ->withBindVariableValue('id', $customTargetingValueId); + + // Retrieve a small amount of custom targeting values at a time, paging + // through until all custom targeting values have been retrieved. + $totalResultSetSize = 0; + do { + $page = $customTargetingService + ->getCustomTargetingValuesByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the custom targeting values to be + // deleted. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $customTargetingValue) { + printf( + "%d) Custom targeting value with ID %d, name '%s', " + . "and display name '%s' will be deleted.%s", + $i++, + $customTargetingValue->getId(), + $customTargetingValue->getName(), + $customTargetingValue->getDisplayName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of custom targeting values to be deleted: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new DeleteCustomTargetingValuesAction(); + $result = $customTargetingService + ->performCustomTargetingValueAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of custom targeting values deleted: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No custom targeting values were deleted.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::CUSTOM_TARGETING_KEY_ID), + intval(self::CUSTOM_TARGETING_VALUE_ID) + ); + } +} + +DeleteCustomTargetingValues::main(); diff --git a/examples/AdManager/v202311/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php b/examples/AdManager/v202408/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php similarity index 96% rename from examples/AdManager/v202311/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php rename to examples/AdManager/v202408/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php index 973137212..0920fd2a4 100644 --- a/examples/AdManager/v202311/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php +++ b/examples/AdManager/v202408/CustomTargetingService/GetAllCustomTargetingKeysAndValues.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CustomTargetingService; +namespace Google\AdsApi\Examples\AdManager\v202408\CustomTargetingService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php b/examples/AdManager/v202408/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php similarity index 96% rename from examples/AdManager/v202311/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php rename to examples/AdManager/v202408/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php index 00d93fdb3..1116b3dbb 100644 --- a/examples/AdManager/v202311/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php +++ b/examples/AdManager/v202408/CustomTargetingService/GetPredefinedCustomTargetingKeysAndValues.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\CustomTargetingService; +namespace Google\AdsApi\Examples\AdManager\v202408\CustomTargetingService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\CustomTargetingKeyType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\CustomTargetingKeyType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ForecastService/GetAvailabilityForecast.php b/examples/AdManager/v202408/ForecastService/GetAvailabilityForecast.php similarity index 85% rename from examples/AdManager/v202311/ForecastService/GetAvailabilityForecast.php rename to examples/AdManager/v202408/ForecastService/GetAvailabilityForecast.php index b66953787..7bf6ede60 100644 --- a/examples/AdManager/v202311/ForecastService/GetAvailabilityForecast.php +++ b/examples/AdManager/v202408/ForecastService/GetAvailabilityForecast.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ForecastService; +namespace Google\AdsApi\Examples\AdManager\v202408\ForecastService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,23 +23,23 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\AdUnitTargeting; -use Google\AdsApi\AdManager\v202311\AvailabilityForecastOptions; -use Google\AdsApi\AdManager\v202311\CostType; -use Google\AdsApi\AdManager\v202311\CreativePlaceholder; -use Google\AdsApi\AdManager\v202311\CreativeRotationType; -use Google\AdsApi\AdManager\v202311\Goal; -use Google\AdsApi\AdManager\v202311\GoalType; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\LineItem; -use Google\AdsApi\AdManager\v202311\LineItemType; -use Google\AdsApi\AdManager\v202311\ProspectiveLineItem; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\StartDateTimeType; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\UnitType; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions; +use Google\AdsApi\AdManager\v202408\CostType; +use Google\AdsApi\AdManager\v202408\CreativePlaceholder; +use Google\AdsApi\AdManager\v202408\CreativeRotationType; +use Google\AdsApi\AdManager\v202408\Goal; +use Google\AdsApi\AdManager\v202408\GoalType; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\LineItem; +use Google\AdsApi\AdManager\v202408\LineItemType; +use Google\AdsApi\AdManager\v202408\ProspectiveLineItem; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\StartDateTimeType; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\UnitType; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ForecastService/GetAvailabilityForecastForLineItem.php b/examples/AdManager/v202408/ForecastService/GetAvailabilityForecastForLineItem.php similarity index 94% rename from examples/AdManager/v202311/ForecastService/GetAvailabilityForecastForLineItem.php rename to examples/AdManager/v202408/ForecastService/GetAvailabilityForecastForLineItem.php index ed7c77f3c..9529c718b 100644 --- a/examples/AdManager/v202311/ForecastService/GetAvailabilityForecastForLineItem.php +++ b/examples/AdManager/v202408/ForecastService/GetAvailabilityForecastForLineItem.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ForecastService; +namespace Google\AdsApi\Examples\AdManager\v202408\ForecastService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\AvailabilityForecastOptions; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ForecastService/GetDeliveryForecastForLineItems.php b/examples/AdManager/v202408/ForecastService/GetDeliveryForecastForLineItems.php similarity index 94% rename from examples/AdManager/v202311/ForecastService/GetDeliveryForecastForLineItems.php rename to examples/AdManager/v202408/ForecastService/GetDeliveryForecastForLineItems.php index 99e1a93f6..49895b9aa 100644 --- a/examples/AdManager/v202311/ForecastService/GetDeliveryForecastForLineItems.php +++ b/examples/AdManager/v202408/ForecastService/GetDeliveryForecastForLineItems.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ForecastService; +namespace Google\AdsApi\Examples\AdManager\v202408\ForecastService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\DeliveryForecastOptions; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\DeliveryForecastOptions; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ForecastService/GetTrafficData.php b/examples/AdManager/v202408/ForecastService/GetTrafficData.php similarity index 90% rename from examples/AdManager/v202311/ForecastService/GetTrafficData.php rename to examples/AdManager/v202408/ForecastService/GetTrafficData.php index 2dd274832..8129e11d3 100644 --- a/examples/AdManager/v202311/ForecastService/GetTrafficData.php +++ b/examples/AdManager/v202408/ForecastService/GetTrafficData.php @@ -15,21 +15,21 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ForecastService; +namespace Google\AdsApi\Examples\AdManager\v202408\ForecastService; require __DIR__ . '/../../../../vendor/autoload.php'; use DateTime; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDates; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\AdUnitTargeting; -use Google\AdsApi\AdManager\v202311\DateRange; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\TrafficDataRequest; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDates; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\DateRange; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\TrafficDataRequest; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/InventoryService/ArchiveAdUnits.php b/examples/AdManager/v202408/InventoryService/ArchiveAdUnits.php new file mode 100644 index 000000000..531d65493 --- /dev/null +++ b/examples/AdManager/v202408/InventoryService/ArchiveAdUnits.php @@ -0,0 +1,137 @@ +createInventoryService($session); + + // Create a statement to select the ad units to archive. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = + (new StatementBuilder()) + ->where('parentId = :parentId or id = :parentId') + ->orderBy( + 'id ASC' + ) + ->limit($pageSize) + ->withBindVariableValue('parentId', $parentAdUnitId); + + // Retrieve a small amount of ad units at a time, paging + // through until all ad units have been retrieved. + $totalResultSetSize = 0; + do { + $page = $inventoryService->getAdUnitsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the ad units to be + // archived. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $adUnit) { + printf( + "%d) Ad unit with ID %d and name '%s' will be" + . " archived.%s", + $i++, + $adUnit->getId(), + $adUnit->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of ad units to be archived: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new ArchiveAdUnitsAction(); + $result = $inventoryService->performAdUnitAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of ad units archived: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No ad units were archived.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::PARENT_AD_UNIT_ID) + ); + } +} + +ArchiveAdUnits::main(); diff --git a/examples/AdManager/v202311/InventoryService/CreateAdUnits.php b/examples/AdManager/v202408/InventoryService/CreateAdUnits.php similarity index 90% rename from examples/AdManager/v202311/InventoryService/CreateAdUnits.php rename to examples/AdManager/v202408/InventoryService/CreateAdUnits.php index 3e1fe0d7f..d1f6ae31b 100644 --- a/examples/AdManager/v202311/InventoryService/CreateAdUnits.php +++ b/examples/AdManager/v202408/InventoryService/CreateAdUnits.php @@ -15,18 +15,18 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\InventoryService; +namespace Google\AdsApi\Examples\AdManager\v202408\InventoryService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\AdUnit; -use Google\AdsApi\AdManager\v202311\AdUnitSize; -use Google\AdsApi\AdManager\v202311\AdUnitTargetWindow; -use Google\AdsApi\AdManager\v202311\EnvironmentType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; +use Google\AdsApi\AdManager\v202408\AdUnit; +use Google\AdsApi\AdManager\v202408\AdUnitSize; +use Google\AdsApi\AdManager\v202408\AdUnitTargetWindow; +use Google\AdsApi\AdManager\v202408\EnvironmentType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/InventoryService/GetAdUnitHierarchy.php b/examples/AdManager/v202408/InventoryService/GetAdUnitHierarchy.php similarity index 96% rename from examples/AdManager/v202311/InventoryService/GetAdUnitHierarchy.php rename to examples/AdManager/v202408/InventoryService/GetAdUnitHierarchy.php index c5476340e..6d6003f1d 100644 --- a/examples/AdManager/v202311/InventoryService/GetAdUnitHierarchy.php +++ b/examples/AdManager/v202408/InventoryService/GetAdUnitHierarchy.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\InventoryService; +namespace Google\AdsApi\Examples\AdManager\v202408\InventoryService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\AdUnit; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\AdUnit; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/InventoryService/GetAllAdUnitSizes.php b/examples/AdManager/v202408/InventoryService/GetAllAdUnitSizes.php similarity index 93% rename from examples/AdManager/v202311/InventoryService/GetAllAdUnitSizes.php rename to examples/AdManager/v202408/InventoryService/GetAllAdUnitSizes.php index 5fefae029..b90137082 100644 --- a/examples/AdManager/v202311/InventoryService/GetAllAdUnitSizes.php +++ b/examples/AdManager/v202408/InventoryService/GetAllAdUnitSizes.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\InventoryService; +namespace Google\AdsApi\Examples\AdManager\v202408\InventoryService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/InventoryService/GetAllAdUnits.php b/examples/AdManager/v202408/InventoryService/GetAllAdUnits.php similarity index 94% rename from examples/AdManager/v202311/InventoryService/GetAllAdUnits.php rename to examples/AdManager/v202408/InventoryService/GetAllAdUnits.php index 4206df194..779556dd8 100644 --- a/examples/AdManager/v202311/InventoryService/GetAllAdUnits.php +++ b/examples/AdManager/v202408/InventoryService/GetAllAdUnits.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\InventoryService; +namespace Google\AdsApi\Examples\AdManager\v202408\InventoryService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/InventoryService/GetTopLevelAdUnits.php b/examples/AdManager/v202408/InventoryService/GetTopLevelAdUnits.php similarity index 95% rename from examples/AdManager/v202311/InventoryService/GetTopLevelAdUnits.php rename to examples/AdManager/v202408/InventoryService/GetTopLevelAdUnits.php index b3f9bfb0c..8a1c7d0d2 100644 --- a/examples/AdManager/v202311/InventoryService/GetTopLevelAdUnits.php +++ b/examples/AdManager/v202408/InventoryService/GetTopLevelAdUnits.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\InventoryService; +namespace Google\AdsApi\Examples\AdManager\v202408\InventoryService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LabelService/GetActiveLabels.php b/examples/AdManager/v202408/LabelService/GetActiveLabels.php similarity index 94% rename from examples/AdManager/v202311/LabelService/GetActiveLabels.php rename to examples/AdManager/v202408/LabelService/GetActiveLabels.php index 67beb3ad7..a2dd737ba 100644 --- a/examples/AdManager/v202311/LabelService/GetActiveLabels.php +++ b/examples/AdManager/v202408/LabelService/GetActiveLabels.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LabelService; +namespace Google\AdsApi\Examples\AdManager\v202408\LabelService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LabelService/GetAllLabels.php b/examples/AdManager/v202408/LabelService/GetAllLabels.php similarity index 94% rename from examples/AdManager/v202311/LabelService/GetAllLabels.php rename to examples/AdManager/v202408/LabelService/GetAllLabels.php index d34a6aa23..d407b7380 100644 --- a/examples/AdManager/v202311/LabelService/GetAllLabels.php +++ b/examples/AdManager/v202408/LabelService/GetAllLabels.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LabelService; +namespace Google\AdsApi\Examples\AdManager\v202408\LabelService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemCreativeAssociationService/CreateLicas.php b/examples/AdManager/v202408/LineItemCreativeAssociationService/CreateLicas.php similarity index 94% rename from examples/AdManager/v202311/LineItemCreativeAssociationService/CreateLicas.php rename to examples/AdManager/v202408/LineItemCreativeAssociationService/CreateLicas.php index 02073ad09..755aa7368 100644 --- a/examples/AdManager/v202311/LineItemCreativeAssociationService/CreateLicas.php +++ b/examples/AdManager/v202408/LineItemCreativeAssociationService/CreateLicas.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemCreativeAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemCreativeAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\LineItemCreativeAssociation; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemCreativeAssociationService/DeactivateLicas.php b/examples/AdManager/v202408/LineItemCreativeAssociationService/DeactivateLicas.php similarity index 95% rename from examples/AdManager/v202311/LineItemCreativeAssociationService/DeactivateLicas.php rename to examples/AdManager/v202408/LineItemCreativeAssociationService/DeactivateLicas.php index fda45144f..200b8a7f8 100644 --- a/examples/AdManager/v202311/LineItemCreativeAssociationService/DeactivateLicas.php +++ b/examples/AdManager/v202408/LineItemCreativeAssociationService/DeactivateLicas.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemCreativeAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemCreativeAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\DeactivateLineItemCreativeAssociations as DeactivateLineItemCreativeAssociationsAction; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\DeactivateLineItemCreativeAssociations as DeactivateLineItemCreativeAssociationsAction; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemCreativeAssociationService/GetAllLicas.php b/examples/AdManager/v202408/LineItemCreativeAssociationService/GetAllLicas.php similarity index 95% rename from examples/AdManager/v202311/LineItemCreativeAssociationService/GetAllLicas.php rename to examples/AdManager/v202408/LineItemCreativeAssociationService/GetAllLicas.php index 86c59eea0..d4ac9fa50 100644 --- a/examples/AdManager/v202311/LineItemCreativeAssociationService/GetAllLicas.php +++ b/examples/AdManager/v202408/LineItemCreativeAssociationService/GetAllLicas.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemCreativeAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemCreativeAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemCreativeAssociationService/GetLicasForLineItem.php b/examples/AdManager/v202408/LineItemCreativeAssociationService/GetLicasForLineItem.php similarity index 96% rename from examples/AdManager/v202311/LineItemCreativeAssociationService/GetLicasForLineItem.php rename to examples/AdManager/v202408/LineItemCreativeAssociationService/GetLicasForLineItem.php index faf05c17c..6d1678772 100644 --- a/examples/AdManager/v202311/LineItemCreativeAssociationService/GetLicasForLineItem.php +++ b/examples/AdManager/v202408/LineItemCreativeAssociationService/GetLicasForLineItem.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemCreativeAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemCreativeAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemCreativeAssociationService/PushCreativeToDevices.php b/examples/AdManager/v202408/LineItemCreativeAssociationService/PushCreativeToDevices.php similarity index 94% rename from examples/AdManager/v202311/LineItemCreativeAssociationService/PushCreativeToDevices.php rename to examples/AdManager/v202408/LineItemCreativeAssociationService/PushCreativeToDevices.php index 64a011b7f..5eb859177 100644 --- a/examples/AdManager/v202311/LineItemCreativeAssociationService/PushCreativeToDevices.php +++ b/examples/AdManager/v202408/LineItemCreativeAssociationService/PushCreativeToDevices.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemCreativeAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemCreativeAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\CreativePushOptions; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\CreativePushOptions; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemService/CreateLineItems.php b/examples/AdManager/v202408/LineItemService/CreateLineItems.php similarity index 83% rename from examples/AdManager/v202311/LineItemService/CreateLineItems.php rename to examples/AdManager/v202408/LineItemService/CreateLineItems.php index f08a7fa6e..de7e84689 100644 --- a/examples/AdManager/v202311/LineItemService/CreateLineItems.php +++ b/examples/AdManager/v202408/LineItemService/CreateLineItems.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,32 +23,32 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\BrowserTargeting; -use Google\AdsApi\AdManager\v202311\CostType; -use Google\AdsApi\AdManager\v202311\CreativePlaceholder; -use Google\AdsApi\AdManager\v202311\CreativeRotationType; -use Google\AdsApi\AdManager\v202311\DayOfWeek; -use Google\AdsApi\AdManager\v202311\DayPart; -use Google\AdsApi\AdManager\v202311\DayPartTargeting; -use Google\AdsApi\AdManager\v202311\GeoTargeting; -use Google\AdsApi\AdManager\v202311\Goal; -use Google\AdsApi\AdManager\v202311\GoalType; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\LineItem; -use Google\AdsApi\AdManager\v202311\LineItemType; -use Google\AdsApi\AdManager\v202311\Location; -use Google\AdsApi\AdManager\v202311\MinuteOfHour; -use Google\AdsApi\AdManager\v202311\Money; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\StartDateTimeType; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\Technology; -use Google\AdsApi\AdManager\v202311\TechnologyTargeting; -use Google\AdsApi\AdManager\v202311\TimeOfDay; -use Google\AdsApi\AdManager\v202311\UnitType; -use Google\AdsApi\AdManager\v202311\UserDomainTargeting; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\BrowserTargeting; +use Google\AdsApi\AdManager\v202408\CostType; +use Google\AdsApi\AdManager\v202408\CreativePlaceholder; +use Google\AdsApi\AdManager\v202408\CreativeRotationType; +use Google\AdsApi\AdManager\v202408\DayOfWeek; +use Google\AdsApi\AdManager\v202408\DayPart; +use Google\AdsApi\AdManager\v202408\DayPartTargeting; +use Google\AdsApi\AdManager\v202408\GeoTargeting; +use Google\AdsApi\AdManager\v202408\Goal; +use Google\AdsApi\AdManager\v202408\GoalType; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\LineItem; +use Google\AdsApi\AdManager\v202408\LineItemType; +use Google\AdsApi\AdManager\v202408\Location; +use Google\AdsApi\AdManager\v202408\MinuteOfHour; +use Google\AdsApi\AdManager\v202408\Money; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\StartDateTimeType; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\Technology; +use Google\AdsApi\AdManager\v202408\TechnologyTargeting; +use Google\AdsApi\AdManager\v202408\TimeOfDay; +use Google\AdsApi\AdManager\v202408\UnitType; +use Google\AdsApi\AdManager\v202408\UserDomainTargeting; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemService/CreateLineItemsWithCustomCriteria.php b/examples/AdManager/v202408/LineItemService/CreateLineItemsWithCustomCriteria.php similarity index 89% rename from examples/AdManager/v202311/LineItemService/CreateLineItemsWithCustomCriteria.php rename to examples/AdManager/v202408/LineItemService/CreateLineItemsWithCustomCriteria.php index 4834e30d2..08fdbb441 100644 --- a/examples/AdManager/v202311/LineItemService/CreateLineItemsWithCustomCriteria.php +++ b/examples/AdManager/v202408/LineItemService/CreateLineItemsWithCustomCriteria.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,26 +23,26 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\AdUnitTargeting; -use Google\AdsApi\AdManager\v202311\CostType; -use Google\AdsApi\AdManager\v202311\CreativePlaceholder; -use Google\AdsApi\AdManager\v202311\CreativeRotationType; -use Google\AdsApi\AdManager\v202311\CustomCriteria; -use Google\AdsApi\AdManager\v202311\CustomCriteriaComparisonOperator; -use Google\AdsApi\AdManager\v202311\CustomCriteriaSet; -use Google\AdsApi\AdManager\v202311\CustomCriteriaSetLogicalOperator; -use Google\AdsApi\AdManager\v202311\Goal; -use Google\AdsApi\AdManager\v202311\GoalType; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\LineItem; -use Google\AdsApi\AdManager\v202311\LineItemType; -use Google\AdsApi\AdManager\v202311\Money; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\StartDateTimeType; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\UnitType; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\CostType; +use Google\AdsApi\AdManager\v202408\CreativePlaceholder; +use Google\AdsApi\AdManager\v202408\CreativeRotationType; +use Google\AdsApi\AdManager\v202408\CustomCriteria; +use Google\AdsApi\AdManager\v202408\CustomCriteriaComparisonOperator; +use Google\AdsApi\AdManager\v202408\CustomCriteriaSet; +use Google\AdsApi\AdManager\v202408\CustomCriteriaSetLogicalOperator; +use Google\AdsApi\AdManager\v202408\Goal; +use Google\AdsApi\AdManager\v202408\GoalType; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\LineItem; +use Google\AdsApi\AdManager\v202408\LineItemType; +use Google\AdsApi\AdManager\v202408\Money; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\StartDateTimeType; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\UnitType; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemService/CreateVideoLineItems.php b/examples/AdManager/v202408/LineItemService/CreateVideoLineItems.php similarity index 83% rename from examples/AdManager/v202311/LineItemService/CreateVideoLineItems.php rename to examples/AdManager/v202408/LineItemService/CreateVideoLineItems.php index e444338cf..6d53e382f 100644 --- a/examples/AdManager/v202311/LineItemService/CreateVideoLineItems.php +++ b/examples/AdManager/v202408/LineItemService/CreateVideoLineItems.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,34 +23,34 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\AdUnitTargeting; -use Google\AdsApi\AdManager\v202311\CmsMetadataCriteria; -use Google\AdsApi\AdManager\v202311\CmsMetadataCriteriaComparisonOperator; -use Google\AdsApi\AdManager\v202311\CompanionDeliveryOption; -use Google\AdsApi\AdManager\v202311\ContentTargeting; -use Google\AdsApi\AdManager\v202311\CostType; -use Google\AdsApi\AdManager\v202311\CreativePlaceholder; -use Google\AdsApi\AdManager\v202311\CreativeRotationType; -use Google\AdsApi\AdManager\v202311\CustomCriteriaSet; -use Google\AdsApi\AdManager\v202311\CustomCriteriaSetLogicalOperator; -use Google\AdsApi\AdManager\v202311\EnvironmentType; -use Google\AdsApi\AdManager\v202311\Goal; -use Google\AdsApi\AdManager\v202311\GoalType; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\LineItem; -use Google\AdsApi\AdManager\v202311\LineItemType; -use Google\AdsApi\AdManager\v202311\Money; -use Google\AdsApi\AdManager\v202311\RequestPlatform; -use Google\AdsApi\AdManager\v202311\RequestPlatformTargeting; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\StartDateTimeType; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\VideoPosition; -use Google\AdsApi\AdManager\v202311\VideoPositionTarget; -use Google\AdsApi\AdManager\v202311\VideoPositionTargeting; -use Google\AdsApi\AdManager\v202311\VideoPositionType; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\CmsMetadataCriteria; +use Google\AdsApi\AdManager\v202408\CmsMetadataCriteriaComparisonOperator; +use Google\AdsApi\AdManager\v202408\CompanionDeliveryOption; +use Google\AdsApi\AdManager\v202408\ContentTargeting; +use Google\AdsApi\AdManager\v202408\CostType; +use Google\AdsApi\AdManager\v202408\CreativePlaceholder; +use Google\AdsApi\AdManager\v202408\CreativeRotationType; +use Google\AdsApi\AdManager\v202408\CustomCriteriaSet; +use Google\AdsApi\AdManager\v202408\CustomCriteriaSetLogicalOperator; +use Google\AdsApi\AdManager\v202408\EnvironmentType; +use Google\AdsApi\AdManager\v202408\Goal; +use Google\AdsApi\AdManager\v202408\GoalType; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\LineItem; +use Google\AdsApi\AdManager\v202408\LineItemType; +use Google\AdsApi\AdManager\v202408\Money; +use Google\AdsApi\AdManager\v202408\RequestPlatform; +use Google\AdsApi\AdManager\v202408\RequestPlatformTargeting; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\StartDateTimeType; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\VideoPosition; +use Google\AdsApi\AdManager\v202408\VideoPositionTarget; +use Google\AdsApi\AdManager\v202408\VideoPositionTargeting; +use Google\AdsApi\AdManager\v202408\VideoPositionType; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -106,7 +106,7 @@ public static function runExample( $videoPositionTargeting->setTargetedPositions([$videoPositionTarget]); // Alternate ways to target video positions. See the documentation for // VideoPositionTarget for more information: - // https://developers.google.com/ad-manager/docs/reference/v202311/LineItemService.VideoPositionTarget + // https://developers.google.com/ad-manager/docs/reference/v202408/LineItemService.VideoPositionTarget // $videoPositionTarget->setVideoBumperType(VideoBumperType::BEFORE); // $videoPositionTarget->setVideoPositionWithinPod(1); // $videoPositionTarget->setAdSlotId($customAdSlotId); diff --git a/examples/AdManager/v202408/LineItemService/GetAllLineItems.php b/examples/AdManager/v202408/LineItemService/GetAllLineItems.php new file mode 100644 index 000000000..9fc7f6c75 --- /dev/null +++ b/examples/AdManager/v202408/LineItemService/GetAllLineItems.php @@ -0,0 +1,94 @@ +It is meant to be run from a command line (not as a webpage) and requires + * that you've setup an `adsapi_php.ini` file in your home directory with your + * API credentials and settings. See README.md for more info. + */ +class GetAllLineItems +{ + + public static function runExample( + ServiceFactory $serviceFactory, + AdManagerSession $session + ) { + $lineItemService = $serviceFactory->createLineItemService($session); + + // Create a statement to select line items. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->orderBy('id ASC') + ->limit($pageSize); + + // Retrieve a small amount of line items at a time, paging + // through until all line items have been retrieved. + $totalResultSetSize = 0; + do { + $page = $lineItemService->getLineItemsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for each line item. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $lineItem) { + printf( + "%d) Line item with ID %d and name '%s' was found.%s", + $i++, + $lineItem->getId(), + $lineItem->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf("Number of results found: %d%s", $totalResultSetSize, PHP_EOL); + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample(new ServiceFactory(), $session); + } +} + +GetAllLineItems::main(); diff --git a/examples/AdManager/v202311/LineItemService/GetLineItemsThatNeedCreatives.php b/examples/AdManager/v202408/LineItemService/GetLineItemsThatNeedCreatives.php similarity index 95% rename from examples/AdManager/v202311/LineItemService/GetLineItemsThatNeedCreatives.php rename to examples/AdManager/v202408/LineItemService/GetLineItemsThatNeedCreatives.php index d2f8a4c5e..543033f71 100644 --- a/examples/AdManager/v202311/LineItemService/GetLineItemsThatNeedCreatives.php +++ b/examples/AdManager/v202408/LineItemService/GetLineItemsThatNeedCreatives.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/LineItemService/GetRecentlyUpdatedLineItems.php b/examples/AdManager/v202408/LineItemService/GetRecentlyUpdatedLineItems.php similarity index 94% rename from examples/AdManager/v202311/LineItemService/GetRecentlyUpdatedLineItems.php rename to examples/AdManager/v202408/LineItemService/GetRecentlyUpdatedLineItems.php index f0cd68178..bbb0d5ae1 100644 --- a/examples/AdManager/v202311/LineItemService/GetRecentlyUpdatedLineItems.php +++ b/examples/AdManager/v202408/LineItemService/GetRecentlyUpdatedLineItems.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,9 +23,9 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/LineItemService/PauseLineItems.php b/examples/AdManager/v202408/LineItemService/PauseLineItems.php new file mode 100644 index 000000000..0795d4982 --- /dev/null +++ b/examples/AdManager/v202408/LineItemService/PauseLineItems.php @@ -0,0 +1,132 @@ +createLineItemService($session); + + // Create a statement to select the line items to pause. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $lineItemId); + + // Retrieve a small amount of line items at a time, paging through until + // all line items have been retrieved. + $totalResultSetSize = 0; + do { + $page = $lineItemService->getLineItemsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the line items to be paused. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $lineItem) { + printf( + "%d) Line item with ID %d and name '%s' will be" + . " paused.%s", + $i++, + $lineItem->getId(), + $lineItem->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of line items to be paused: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new PauseLineItemsAction(); + $result = $lineItemService->performlineItemAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of line items paused: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No line items were paused.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::LINE_ITEM_ID) + ); + } +} + +PauseLineItems::main(); diff --git a/examples/AdManager/v202311/LineItemService/UpdateLineItems.php b/examples/AdManager/v202408/LineItemService/UpdateLineItems.php similarity index 94% rename from examples/AdManager/v202311/LineItemService/UpdateLineItems.php rename to examples/AdManager/v202408/LineItemService/UpdateLineItems.php index 32b114206..a761c5375 100644 --- a/examples/AdManager/v202311/LineItemService/UpdateLineItems.php +++ b/examples/AdManager/v202408/LineItemService/UpdateLineItems.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\LineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\LineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NativeStyleService/CreateNativeStyles.php b/examples/AdManager/v202408/NativeStyleService/CreateNativeStyles.php similarity index 96% rename from examples/AdManager/v202311/NativeStyleService/CreateNativeStyles.php rename to examples/AdManager/v202408/NativeStyleService/CreateNativeStyles.php index 5513c60af..e878c732c 100644 --- a/examples/AdManager/v202311/NativeStyleService/CreateNativeStyles.php +++ b/examples/AdManager/v202408/NativeStyleService/CreateNativeStyles.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NativeStyleService; +namespace Google\AdsApi\Examples\AdManager\v202408\NativeStyleService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\NativeStyle; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; +use Google\AdsApi\AdManager\v202408\NativeStyle; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NativeStyleService/GetAllNativeStyles.php b/examples/AdManager/v202408/NativeStyleService/GetAllNativeStyles.php similarity index 95% rename from examples/AdManager/v202311/NativeStyleService/GetAllNativeStyles.php rename to examples/AdManager/v202408/NativeStyleService/GetAllNativeStyles.php index 3fcc650c3..0c89c354b 100644 --- a/examples/AdManager/v202311/NativeStyleService/GetAllNativeStyles.php +++ b/examples/AdManager/v202408/NativeStyleService/GetAllNativeStyles.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NativeStyleService; +namespace Google\AdsApi\Examples\AdManager\v202408\NativeStyleService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NetworkService/GetAllNetworks.php b/examples/AdManager/v202408/NetworkService/GetAllNetworks.php similarity index 94% rename from examples/AdManager/v202311/NetworkService/GetAllNetworks.php rename to examples/AdManager/v202408/NetworkService/GetAllNetworks.php index 13665f8b8..6c538b4bd 100644 --- a/examples/AdManager/v202311/NetworkService/GetAllNetworks.php +++ b/examples/AdManager/v202408/NetworkService/GetAllNetworks.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NetworkService; +namespace Google\AdsApi\Examples\AdManager\v202408\NetworkService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NetworkService/GetCurrentNetwork.php b/examples/AdManager/v202408/NetworkService/GetCurrentNetwork.php similarity index 93% rename from examples/AdManager/v202311/NetworkService/GetCurrentNetwork.php rename to examples/AdManager/v202408/NetworkService/GetCurrentNetwork.php index 46124c9be..6a482ce11 100644 --- a/examples/AdManager/v202311/NetworkService/GetCurrentNetwork.php +++ b/examples/AdManager/v202408/NetworkService/GetCurrentNetwork.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NetworkService; +namespace Google\AdsApi\Examples\AdManager\v202408\NetworkService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NetworkService/GetDefaultThirdPartyDataDeclaration.php b/examples/AdManager/v202408/NetworkService/GetDefaultThirdPartyDataDeclaration.php similarity index 95% rename from examples/AdManager/v202311/NetworkService/GetDefaultThirdPartyDataDeclaration.php rename to examples/AdManager/v202408/NetworkService/GetDefaultThirdPartyDataDeclaration.php index 9b6d1088b..6e65169b1 100644 --- a/examples/AdManager/v202311/NetworkService/GetDefaultThirdPartyDataDeclaration.php +++ b/examples/AdManager/v202408/NetworkService/GetDefaultThirdPartyDataDeclaration.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NetworkService; +namespace Google\AdsApi\Examples\AdManager\v202408\NetworkService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; use Google\AdsApi\AdManager\v202005\DeclarationType; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/NetworkService/MakeTestNetwork.php b/examples/AdManager/v202408/NetworkService/MakeTestNetwork.php similarity index 95% rename from examples/AdManager/v202311/NetworkService/MakeTestNetwork.php rename to examples/AdManager/v202408/NetworkService/MakeTestNetwork.php index f7e769fe2..9cd5f4994 100644 --- a/examples/AdManager/v202311/NetworkService/MakeTestNetwork.php +++ b/examples/AdManager/v202408/NetworkService/MakeTestNetwork.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\NetworkService; +namespace Google\AdsApi\Examples\AdManager\v202408\NetworkService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ApiException; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ApiException; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/OrderService/ApproveOrders.php b/examples/AdManager/v202408/OrderService/ApproveOrders.php new file mode 100644 index 000000000..4290e498b --- /dev/null +++ b/examples/AdManager/v202408/OrderService/ApproveOrders.php @@ -0,0 +1,133 @@ +createOrderService($session); + + // Create a statement to select the orders to approve. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $orderId); + + // Retrieve a small amount of orders at a time, paging through until all + // orders have been retrieved. + $totalResultSetSize = 0; + do { + $page = $orderService->getOrdersByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the orders to be approved. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $order) { + printf( + "%d) Order with ID %d, name '%s'," + . " and advertiser ID %d will be approved.%s", + $i++, + $order->getId(), + $order->getName(), + $order->getAdvertiserId(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of orders to be approved: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new ApproveOrdersAction(); + $result = $orderService->performOrderAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of orders approved: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No orders were approved.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::ORDER_ID) + ); + } +} + +ApproveOrders::main(); diff --git a/examples/AdManager/v202311/OrderService/CreateOrders.php b/examples/AdManager/v202408/OrderService/CreateOrders.php similarity index 95% rename from examples/AdManager/v202311/OrderService/CreateOrders.php rename to examples/AdManager/v202408/OrderService/CreateOrders.php index 33e39c2bc..e2fedb7a0 100644 --- a/examples/AdManager/v202311/OrderService/CreateOrders.php +++ b/examples/AdManager/v202408/OrderService/CreateOrders.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\OrderService; +namespace Google\AdsApi\Examples\AdManager\v202408\OrderService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\Order; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Order; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/OrderService/GetAllOrders.php b/examples/AdManager/v202408/OrderService/GetAllOrders.php similarity index 94% rename from examples/AdManager/v202311/OrderService/GetAllOrders.php rename to examples/AdManager/v202408/OrderService/GetAllOrders.php index 119b5f820..cc254350e 100644 --- a/examples/AdManager/v202311/OrderService/GetAllOrders.php +++ b/examples/AdManager/v202408/OrderService/GetAllOrders.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\OrderService; +namespace Google\AdsApi\Examples\AdManager\v202408\OrderService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/OrderService/GetOrdersStartingSoon.php b/examples/AdManager/v202408/OrderService/GetOrdersStartingSoon.php similarity index 93% rename from examples/AdManager/v202311/OrderService/GetOrdersStartingSoon.php rename to examples/AdManager/v202408/OrderService/GetOrdersStartingSoon.php index cf855ad24..7582766dd 100644 --- a/examples/AdManager/v202311/OrderService/GetOrdersStartingSoon.php +++ b/examples/AdManager/v202408/OrderService/GetOrdersStartingSoon.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\OrderService; +namespace Google\AdsApi\Examples\AdManager\v202408\OrderService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,10 +23,10 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\OrderStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\OrderStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/OrderService/UpdateOrders.php b/examples/AdManager/v202408/OrderService/UpdateOrders.php similarity index 94% rename from examples/AdManager/v202311/OrderService/UpdateOrders.php rename to examples/AdManager/v202408/OrderService/UpdateOrders.php index 548f56afc..c5a016d28 100644 --- a/examples/AdManager/v202311/OrderService/UpdateOrders.php +++ b/examples/AdManager/v202408/OrderService/UpdateOrders.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\OrderService; +namespace Google\AdsApi\Examples\AdManager\v202408\OrderService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/PlacementService/DeactivatePlacements.php b/examples/AdManager/v202408/PlacementService/DeactivatePlacements.php new file mode 100644 index 000000000..ac61685d6 --- /dev/null +++ b/examples/AdManager/v202408/PlacementService/DeactivatePlacements.php @@ -0,0 +1,133 @@ +createPlacementService($session); + + // Create a statement to select the placements to deactivate. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $placementId); + + // Retrieve a small amount of placements at a time, paging + // through until all placements have been retrieved. + $totalResultSetSize = 0; + do { + $page = $placementService->getPlacementsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the placements to be + // deactivated. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $placement) { + printf( + "%d) Placement with ID %d and name '%s' will be" + . " deactivated.%s", + $i++, + $placement->getId(), + $placement->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of placements to be deactivated: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new DeactivatePlacementsAction(); + $result = $placementService->performPlacementAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of placements deactivated: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No placements were deactivated.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::PLACEMENT_ID) + ); + } +} + +DeactivatePlacements::main(); diff --git a/examples/AdManager/v202311/PlacementService/GetActivePlacements.php b/examples/AdManager/v202408/PlacementService/GetActivePlacements.php similarity index 93% rename from examples/AdManager/v202311/PlacementService/GetActivePlacements.php rename to examples/AdManager/v202408/PlacementService/GetActivePlacements.php index 4633663e5..664f7bcff 100644 --- a/examples/AdManager/v202311/PlacementService/GetActivePlacements.php +++ b/examples/AdManager/v202408/PlacementService/GetActivePlacements.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PlacementService; +namespace Google\AdsApi\Examples\AdManager\v202408\PlacementService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\InventoryStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\InventoryStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/PlacementService/GetAllPlacements.php b/examples/AdManager/v202408/PlacementService/GetAllPlacements.php similarity index 94% rename from examples/AdManager/v202311/PlacementService/GetAllPlacements.php rename to examples/AdManager/v202408/PlacementService/GetAllPlacements.php index 0856ac93f..62bf5b07a 100644 --- a/examples/AdManager/v202311/PlacementService/GetAllPlacements.php +++ b/examples/AdManager/v202408/PlacementService/GetAllPlacements.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PlacementService; +namespace Google\AdsApi\Examples\AdManager\v202408\PlacementService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/ProposalLineItemService/ArchiveProposalLineItems.php b/examples/AdManager/v202408/ProposalLineItemService/ArchiveProposalLineItems.php new file mode 100644 index 000000000..74c347792 --- /dev/null +++ b/examples/AdManager/v202408/ProposalLineItemService/ArchiveProposalLineItems.php @@ -0,0 +1,134 @@ +createProposalLineItemService($session); + + // Create a statement to select the proposal line items to archive. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $proposalLineItemId); + + // Retrieve a small amount of proposal line items at a time, paging + // through until all proposal line items have been retrieved. + $totalResultSetSize = 0; + do { + $page = $proposalLineItemService->getProposalLineItemsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the proposal line items to be + // archived. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $proposalLineItem) { + printf( + "%d) Proposal line item with ID %d and name '%s' will" + . " be archived.%s", + $i++, + $proposalLineItem->getId(), + $proposalLineItem->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of proposal line items to be archived: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new ArchiveProposalLineItemsAction(); + $result = $proposalLineItemService->performProposalLineItemAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of proposal line items archived: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No proposal line items were archived.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::PROPOSAL_LINE_ITEM_ID) + ); + } +} + +ArchiveProposalLineItems::main(); diff --git a/examples/AdManager/v202311/ProposalLineItemService/CreateProposalLineItems.php b/examples/AdManager/v202408/ProposalLineItemService/CreateProposalLineItems.php similarity index 85% rename from examples/AdManager/v202311/ProposalLineItemService/CreateProposalLineItems.php rename to examples/AdManager/v202408/ProposalLineItemService/CreateProposalLineItems.php index 7f36437c0..e15f3adf6 100644 --- a/examples/AdManager/v202311/ProposalLineItemService/CreateProposalLineItems.php +++ b/examples/AdManager/v202408/ProposalLineItemService/CreateProposalLineItems.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalLineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalLineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,25 +23,25 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\v202311\RequestPlatformTargeting; -use Google\AdsApi\AdManager\v202311\AdUnitTargeting; -use Google\AdsApi\AdManager\v202311\CreativePlaceholder; -use Google\AdsApi\AdManager\v202311\DeliveryRateType; -use Google\AdsApi\AdManager\v202311\DeviceCapability; -use Google\AdsApi\AdManager\v202311\DeviceCapabilityTargeting; -use Google\AdsApi\AdManager\v202311\Goal; -use Google\AdsApi\AdManager\v202311\InventoryTargeting; -use Google\AdsApi\AdManager\v202311\LineItemType; -use Google\AdsApi\AdManager\v202311\Money; -use Google\AdsApi\AdManager\v202311\ProposalLineItem; -use Google\AdsApi\AdManager\v202311\RateType; -use Google\AdsApi\AdManager\v202311\RequestPlatform; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Size; -use Google\AdsApi\AdManager\v202311\Targeting; -use Google\AdsApi\AdManager\v202311\TechnologyTargeting; -use Google\AdsApi\AdManager\v202311\UnitType; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\v202408\RequestPlatformTargeting; +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\CreativePlaceholder; +use Google\AdsApi\AdManager\v202408\DeliveryRateType; +use Google\AdsApi\AdManager\v202408\DeviceCapability; +use Google\AdsApi\AdManager\v202408\DeviceCapabilityTargeting; +use Google\AdsApi\AdManager\v202408\Goal; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\LineItemType; +use Google\AdsApi\AdManager\v202408\Money; +use Google\AdsApi\AdManager\v202408\ProposalLineItem; +use Google\AdsApi\AdManager\v202408\RateType; +use Google\AdsApi\AdManager\v202408\RequestPlatform; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Size; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\TechnologyTargeting; +use Google\AdsApi\AdManager\v202408\UnitType; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalLineItemService/GetAllProposalLineItems.php b/examples/AdManager/v202408/ProposalLineItemService/GetAllProposalLineItems.php similarity index 95% rename from examples/AdManager/v202311/ProposalLineItemService/GetAllProposalLineItems.php rename to examples/AdManager/v202408/ProposalLineItemService/GetAllProposalLineItems.php index 123d6238b..a1e76dc63 100644 --- a/examples/AdManager/v202311/ProposalLineItemService/GetAllProposalLineItems.php +++ b/examples/AdManager/v202408/ProposalLineItemService/GetAllProposalLineItems.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalLineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalLineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalLineItemService/GetProposalLineItemsForProposal.php b/examples/AdManager/v202408/ProposalLineItemService/GetProposalLineItemsForProposal.php similarity index 95% rename from examples/AdManager/v202311/ProposalLineItemService/GetProposalLineItemsForProposal.php rename to examples/AdManager/v202408/ProposalLineItemService/GetProposalLineItemsForProposal.php index 16ce77ccc..b0912b78f 100644 --- a/examples/AdManager/v202311/ProposalLineItemService/GetProposalLineItemsForProposal.php +++ b/examples/AdManager/v202408/ProposalLineItemService/GetProposalLineItemsForProposal.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalLineItemService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalLineItemService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalService/CreateProposals.php b/examples/AdManager/v202408/ProposalService/CreateProposals.php similarity index 91% rename from examples/AdManager/v202311/ProposalService/CreateProposals.php rename to examples/AdManager/v202408/ProposalService/CreateProposals.php index 0724eff4a..5b65cd297 100644 --- a/examples/AdManager/v202311/ProposalService/CreateProposals.php +++ b/examples/AdManager/v202408/ProposalService/CreateProposals.php @@ -15,18 +15,18 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\Proposal; -use Google\AdsApi\AdManager\v202311\ProposalCompanyAssociation; -use Google\AdsApi\AdManager\v202311\ProposalCompanyAssociationType; -use Google\AdsApi\AdManager\v202311\ProposalMarketplaceInfo; -use Google\AdsApi\AdManager\v202311\SalespersonSplit; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Proposal; +use Google\AdsApi\AdManager\v202408\ProposalCompanyAssociation; +use Google\AdsApi\AdManager\v202408\ProposalCompanyAssociationType; +use Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo; +use Google\AdsApi\AdManager\v202408\SalespersonSplit; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalService/GetAllProposals.php b/examples/AdManager/v202408/ProposalService/GetAllProposals.php similarity index 94% rename from examples/AdManager/v202311/ProposalService/GetAllProposals.php rename to examples/AdManager/v202408/ProposalService/GetAllProposals.php index 74293792f..020b7adb5 100644 --- a/examples/AdManager/v202311/ProposalService/GetAllProposals.php +++ b/examples/AdManager/v202408/ProposalService/GetAllProposals.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalService/GetMarketplaceComments.php b/examples/AdManager/v202408/ProposalService/GetMarketplaceComments.php similarity index 93% rename from examples/AdManager/v202311/ProposalService/GetMarketplaceComments.php rename to examples/AdManager/v202408/ProposalService/GetMarketplaceComments.php index 6668c4ff0..9aade536f 100644 --- a/examples/AdManager/v202311/ProposalService/GetMarketplaceComments.php +++ b/examples/AdManager/v202408/ProposalService/GetMarketplaceComments.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ProposalService/GetProposalsAwaitingSellerReview.php b/examples/AdManager/v202408/ProposalService/GetProposalsAwaitingSellerReview.php similarity index 93% rename from examples/AdManager/v202311/ProposalService/GetProposalsAwaitingSellerReview.php rename to examples/AdManager/v202408/ProposalService/GetProposalsAwaitingSellerReview.php index 26219e9fe..609abc26a 100644 --- a/examples/AdManager/v202311/ProposalService/GetProposalsAwaitingSellerReview.php +++ b/examples/AdManager/v202408/ProposalService/GetProposalsAwaitingSellerReview.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ProposalService; +namespace Google\AdsApi\Examples\AdManager\v202408\ProposalService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\NegotiationStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\NegotiationStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/ProposalService/RequestBuyerAcceptance.php b/examples/AdManager/v202408/ProposalService/RequestBuyerAcceptance.php new file mode 100644 index 000000000..66074575c --- /dev/null +++ b/examples/AdManager/v202408/ProposalService/RequestBuyerAcceptance.php @@ -0,0 +1,137 @@ +createProposalService($session); + + // Create a statement to select the proposals to request buyer + // acceptance for. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $programmaticProposalId); + + // Retrieve a small amount of proposals at a time, paging through until + // all proposals have been retrieved. + $totalResultSetSize = 0; + do { + $page = $proposalService->getProposalsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the proposals to request buyer + // acceptance for. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $proposal) { + printf( + "%d) Proposal with ID %d and name '%s' will be" + . " requested for buyer acceptance.%s", + $i++, + $proposal->getId(), + $proposal->getName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of proposals to request buyer acceptance for: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new RequestBuyerAcceptanceAction(); + $result = $proposalService->performProposalAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of proposals requested for buyer acceptance: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf( + "No proposals were requested for buyer acceptance.%s", + PHP_EOL + ); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::PROGRAMMATIC_PROPOSAL_ID) + ); + } +} + +RequestBuyerAcceptance::main(); diff --git a/examples/AdManager/v202408/PublisherQueryLanguageService/GetAllLineItems.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetAllLineItems.php new file mode 100644 index 000000000..bf287b87a --- /dev/null +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetAllLineItems.php @@ -0,0 +1,114 @@ +createPublisherQueryLanguageService( + $session + ); + + // Create statement to select all line items. + $statementBuilder = new StatementBuilder(); + $statementBuilder->select('Id, Name, Status'); + $statementBuilder->from('Line_Item'); + $statementBuilder->orderBy('Id ASC'); + $statementBuilder->offset(0); + $statementBuilder->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT); + + // Default for result sets. + $combinedResultSet = null; + $i = 0; + + do { + // Get all line items. + $resultSet = $pqlService->select($statementBuilder->toStatement()); + + // Combine result sets with previous ones. + $combinedResultSet = is_null($combinedResultSet) + ? $resultSet + : Pql::combineResultSets( + $combinedResultSet, + $resultSet + ); + + $rows = $resultSet->getRows(); + + printf( + "%d) %d line items beginning at offset %d were found.%s", + $i++, + is_null($rows) ? 0 : count($rows), + $statementBuilder->getOffset(), + PHP_EOL + ); + + $statementBuilder->increaseOffsetBy( + StatementBuilder::SUGGESTED_PAGE_LIMIT + ); + $rows = $resultSet->getRows(); + } while (!empty($rows)); + + // Change to your file location. + $filePath = tempnam(sys_get_temp_dir(), 'Line-Items-') . '.csv'; + + CsvFiles::writeCsv( + Pql::resultSetTo2DimensionStringArray($combinedResultSet), + $filePath + ); + + printf("Line items saved to: %s%s", $filePath, PHP_EOL); + } + + public static function main() + { + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + self::runExample(new ServiceFactory(), $session); + } +} + +GetAllLineItems::main(); diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php similarity index 90% rename from examples/AdManager/v202311/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php rename to examples/AdManager/v202408/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php index 149816c55..f8d71fd09 100644 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetAllProgrammaticBuyers.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PublisherQueryLanguageService; +namespace Google\AdsApi\Examples\AdManager\v202408\PublisherQueryLanguageService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\CsvFiles; -use Google\AdsApi\AdManager\Util\v202311\Pql; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\CsvFiles; +use Google\AdsApi\AdManager\Util\v202408\Pql; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -32,7 +32,7 @@ * Programmatic_Buyer table. * * A full list of available tables can be found at - * https://developers.google.com/ad-manager/docs/reference/v202311/PublisherQueryLanguageService + * https://developers.google.com/ad-manager/docs/reference/v202408/PublisherQueryLanguageService * * This example is meant to be run from a command line (not as a webpage) and * requires that you've setup an `adsapi_php.ini` file in your home directory diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetGeoTargets.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetGeoTargets.php similarity index 91% rename from examples/AdManager/v202311/PublisherQueryLanguageService/GetGeoTargets.php rename to examples/AdManager/v202408/PublisherQueryLanguageService/GetGeoTargets.php index 998e4d92e..2f4e83d04 100644 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetGeoTargets.php +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetGeoTargets.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PublisherQueryLanguageService; +namespace Google\AdsApi\Examples\AdManager\v202408\PublisherQueryLanguageService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\CsvFiles; -use Google\AdsApi\AdManager\Util\v202311\Pql; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\CsvFiles; +use Google\AdsApi\AdManager\Util\v202408\Pql; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -33,7 +33,7 @@ * 'State', 'Postal_Code', and 'DMA_Region' (i.e. Metro). * * A full list of available geo target types can be found at - * https://developers.google.com/ad-manager/docs/reference/v202311/PublisherQueryLanguageService + * https://developers.google.com/ad-manager/docs/reference/v202408/PublisherQueryLanguageService * * This example is meant to be run from a command line (not as a webpage) and * requires that you've setup an `adsapi_php.ini` file in your home directory diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetLineItemsNamedLike.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetLineItemsNamedLike.php similarity index 93% rename from examples/AdManager/v202311/PublisherQueryLanguageService/GetLineItemsNamedLike.php rename to examples/AdManager/v202408/PublisherQueryLanguageService/GetLineItemsNamedLike.php index 0c3065365..3037b8d33 100644 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetLineItemsNamedLike.php +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetLineItemsNamedLike.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PublisherQueryLanguageService; +namespace Google\AdsApi\Examples\AdManager\v202408\PublisherQueryLanguageService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\Pql; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\Pql; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -35,7 +35,7 @@ * your PHP memory_limit for this example to work. * * @see - * https://developers.google.com/ad-manager/docs/reference/v202311/PublisherQueryLanguageService#Line_Item + * https://developers.google.com/ad-manager/docs/reference/v202408/PublisherQueryLanguageService#Line_Item */ class GetLineItemsNamedLike { diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetMcmEarnings.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetMcmEarnings.php similarity index 91% rename from examples/AdManager/v202311/PublisherQueryLanguageService/GetMcmEarnings.php rename to examples/AdManager/v202408/PublisherQueryLanguageService/GetMcmEarnings.php index 9b3dd0d20..5a2a7fb43 100644 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetMcmEarnings.php +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetMcmEarnings.php @@ -15,16 +15,16 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PublisherQueryLanguageService; +namespace Google\AdsApi\Examples\AdManager\v202408\PublisherQueryLanguageService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\CsvFiles; -use Google\AdsApi\AdManager\Util\v202311\Pql; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\CsvFiles; +use Google\AdsApi\AdManager\Util\v202408\Pql; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -32,7 +32,7 @@ * the prior month. * * A full list of available tables can be found at - * https://developers.google.com/ad-manager/docs/reference/v202311/PublisherQueryLanguageService + * https://developers.google.com/ad-manager/docs/reference/v202408/PublisherQueryLanguageService * * This example is meant to be run from a command line (not as a webpage) and * requires that you've setup an `adsapi_php.ini` file in your home directory diff --git a/examples/AdManager/v202311/PublisherQueryLanguageService/GetRecentChanges.php b/examples/AdManager/v202408/PublisherQueryLanguageService/GetRecentChanges.php similarity index 94% rename from examples/AdManager/v202311/PublisherQueryLanguageService/GetRecentChanges.php rename to examples/AdManager/v202408/PublisherQueryLanguageService/GetRecentChanges.php index d7ae681ad..49e53008c 100644 --- a/examples/AdManager/v202311/PublisherQueryLanguageService/GetRecentChanges.php +++ b/examples/AdManager/v202408/PublisherQueryLanguageService/GetRecentChanges.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\PublisherQueryLanguageService; +namespace Google\AdsApi\Examples\AdManager\v202408\PublisherQueryLanguageService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,10 +23,10 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\Pql; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\Pql; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** @@ -38,7 +38,7 @@ * PHP memory_limit for this example to work. * * @see - * https://developers.google.com/ad-manager/docs/reference/v202311/PublisherQueryLanguageService#Change_History + * https://developers.google.com/ad-manager/docs/reference/v202408/PublisherQueryLanguageService#Change_History */ class GetRecentChanges { diff --git a/examples/AdManager/v202311/ReportService/RunDeliveryReportForOrder.php b/examples/AdManager/v202408/ReportService/RunDeliveryReportForOrder.php similarity index 87% rename from examples/AdManager/v202311/ReportService/RunDeliveryReportForOrder.php rename to examples/AdManager/v202408/ReportService/RunDeliveryReportForOrder.php index c5b8cf99d..231ac83a6 100644 --- a/examples/AdManager/v202311/ReportService/RunDeliveryReportForOrder.php +++ b/examples/AdManager/v202408/ReportService/RunDeliveryReportForOrder.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; @@ -23,17 +23,17 @@ use DateTimeZone; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\AdManagerDateTimes; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\Column; -use Google\AdsApi\AdManager\v202311\DateRangeType; -use Google\AdsApi\AdManager\v202311\Dimension; -use Google\AdsApi\AdManager\v202311\DimensionAttribute; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQuery; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\Column; +use Google\AdsApi\AdManager\v202408\DateRangeType; +use Google\AdsApi\AdManager\v202408\Dimension; +use Google\AdsApi\AdManager\v202408\DimensionAttribute; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQuery; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ReportService/RunInventoryReport.php b/examples/AdManager/v202408/ReportService/RunInventoryReport.php similarity index 87% rename from examples/AdManager/v202311/ReportService/RunInventoryReport.php rename to examples/AdManager/v202408/ReportService/RunInventoryReport.php index 84d11f8a6..47aababb7 100644 --- a/examples/AdManager/v202311/ReportService/RunInventoryReport.php +++ b/examples/AdManager/v202408/ReportService/RunInventoryReport.php @@ -15,21 +15,21 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\v202311\Column; -use Google\AdsApi\AdManager\v202311\DateRangeType; -use Google\AdsApi\AdManager\v202311\Dimension; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQuery; -use Google\AdsApi\AdManager\v202311\ReportQueryAdUnitView; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\v202408\Column; +use Google\AdsApi\AdManager\v202408\DateRangeType; +use Google\AdsApi\AdManager\v202408\Dimension; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQuery; +use Google\AdsApi\AdManager\v202408\ReportQueryAdUnitView; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ReportService/RunReachReport.php b/examples/AdManager/v202408/ReportService/RunReachReport.php similarity index 88% rename from examples/AdManager/v202311/ReportService/RunReachReport.php rename to examples/AdManager/v202408/ReportService/RunReachReport.php index f943a095e..4921ca4c1 100644 --- a/examples/AdManager/v202311/ReportService/RunReachReport.php +++ b/examples/AdManager/v202408/ReportService/RunReachReport.php @@ -15,20 +15,20 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\v202311\Column; -use Google\AdsApi\AdManager\v202311\DateRangeType; -use Google\AdsApi\AdManager\v202311\Dimension; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQuery; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\v202408\Column; +use Google\AdsApi\AdManager\v202408\DateRangeType; +use Google\AdsApi\AdManager\v202408\Dimension; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQuery; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ReportService/RunReachReportWithAdUnitDimensions.php b/examples/AdManager/v202408/ReportService/RunReachReportWithAdUnitDimensions.php similarity index 87% rename from examples/AdManager/v202311/ReportService/RunReachReportWithAdUnitDimensions.php rename to examples/AdManager/v202408/ReportService/RunReachReportWithAdUnitDimensions.php index c7b9c31fd..81d925c5f 100644 --- a/examples/AdManager/v202311/ReportService/RunReachReportWithAdUnitDimensions.php +++ b/examples/AdManager/v202408/ReportService/RunReachReportWithAdUnitDimensions.php @@ -15,21 +15,21 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\v202311\Column; -use Google\AdsApi\AdManager\v202311\DateRangeType; -use Google\AdsApi\AdManager\v202311\Dimension; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQuery; -use Google\AdsApi\AdManager\v202311\ReportQueryAdUnitView; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\v202408\Column; +use Google\AdsApi\AdManager\v202408\DateRangeType; +use Google\AdsApi\AdManager\v202408\Dimension; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQuery; +use Google\AdsApi\AdManager\v202408\ReportQueryAdUnitView; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ReportService/RunReportWithCustomFields.php b/examples/AdManager/v202408/ReportService/RunReportWithCustomFields.php similarity index 89% rename from examples/AdManager/v202311/ReportService/RunReportWithCustomFields.php rename to examples/AdManager/v202408/ReportService/RunReportWithCustomFields.php index 88a61b79a..0e813c491 100644 --- a/examples/AdManager/v202311/ReportService/RunReportWithCustomFields.php +++ b/examples/AdManager/v202408/ReportService/RunReportWithCustomFields.php @@ -15,20 +15,20 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\v202311\Column; -use Google\AdsApi\AdManager\v202311\DateRangeType; -use Google\AdsApi\AdManager\v202311\Dimension; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQuery; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\v202408\Column; +use Google\AdsApi\AdManager\v202408\DateRangeType; +use Google\AdsApi\AdManager\v202408\Dimension; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQuery; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/ReportService/RunSavedQuery.php b/examples/AdManager/v202408/ReportService/RunSavedQuery.php similarity index 89% rename from examples/AdManager/v202311/ReportService/RunSavedQuery.php rename to examples/AdManager/v202408/ReportService/RunSavedQuery.php index bfffb60e0..832a7534e 100644 --- a/examples/AdManager/v202311/ReportService/RunSavedQuery.php +++ b/examples/AdManager/v202408/ReportService/RunSavedQuery.php @@ -15,18 +15,18 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\ReportService; +namespace Google\AdsApi\Examples\AdManager\v202408\ReportService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\ReportDownloader; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ExportFormat; -use Google\AdsApi\AdManager\v202311\ReportJob; -use Google\AdsApi\AdManager\v202311\ReportQueryAdUnitView; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\ReportDownloader; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJob; +use Google\AdsApi\AdManager\v202408\ReportQueryAdUnitView; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; use UnexpectedValueException; diff --git a/examples/AdManager/v202311/SiteService/CreateSites.php b/examples/AdManager/v202408/SiteService/CreateSites.php similarity index 92% rename from examples/AdManager/v202311/SiteService/CreateSites.php rename to examples/AdManager/v202408/SiteService/CreateSites.php index 3807a8d40..7b5410c14 100644 --- a/examples/AdManager/v202311/SiteService/CreateSites.php +++ b/examples/AdManager/v202408/SiteService/CreateSites.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SiteService; +namespace Google\AdsApi\Examples\AdManager\v202408\SiteService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\DelegationType; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Site; +use Google\AdsApi\AdManager\v202408\DelegationType; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Site; use Google\AdsApi\Common\OAuth2TokenBuilder; use RuntimeException; diff --git a/examples/AdManager/v202311/SiteService/GetAllSites.php b/examples/AdManager/v202408/SiteService/GetAllSites.php similarity index 94% rename from examples/AdManager/v202311/SiteService/GetAllSites.php rename to examples/AdManager/v202408/SiteService/GetAllSites.php index b6727b7ed..5c2b9e29b 100644 --- a/examples/AdManager/v202311/SiteService/GetAllSites.php +++ b/examples/AdManager/v202408/SiteService/GetAllSites.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SiteService; +namespace Google\AdsApi\Examples\AdManager\v202408\SiteService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/SiteService/GetSitesRequiringApproval.php b/examples/AdManager/v202408/SiteService/GetSitesRequiringApproval.php similarity index 93% rename from examples/AdManager/v202311/SiteService/GetSitesRequiringApproval.php rename to examples/AdManager/v202408/SiteService/GetSitesRequiringApproval.php index f86c73186..7fc4b2508 100644 --- a/examples/AdManager/v202311/SiteService/GetSitesRequiringApproval.php +++ b/examples/AdManager/v202408/SiteService/GetSitesRequiringApproval.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SiteService; +namespace Google\AdsApi\Examples\AdManager\v202408\SiteService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ApprovalStatus; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ApprovalStatus; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/SiteService/SubmitSitesForApproval.php b/examples/AdManager/v202408/SiteService/SubmitSitesForApproval.php similarity index 91% rename from examples/AdManager/v202311/SiteService/SubmitSitesForApproval.php rename to examples/AdManager/v202408/SiteService/SubmitSitesForApproval.php index bf49c56f7..c3c6168df 100644 --- a/examples/AdManager/v202311/SiteService/SubmitSitesForApproval.php +++ b/examples/AdManager/v202408/SiteService/SubmitSitesForApproval.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SiteService; +namespace Google\AdsApi\Examples\AdManager\v202408\SiteService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\SubmitSiteForApproval; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\SubmitSiteForApproval; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/SuggestedAdUnitService/ApproveSuggestedAdUnits.php b/examples/AdManager/v202408/SuggestedAdUnitService/ApproveSuggestedAdUnits.php new file mode 100644 index 000000000..070291d32 --- /dev/null +++ b/examples/AdManager/v202408/SuggestedAdUnitService/ApproveSuggestedAdUnits.php @@ -0,0 +1,136 @@ +createSuggestedAdUnitService( + $session + ); + + // Create a statement to select the suggested ad units to approve. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder()) + ->where('numRequests >= :numRequests') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('numRequests', $numberOfRequests); + + // Retrieve a small amount of suggested ad units at a time, paging + // through until all suggested ad units have been retrieved. + $totalResultSetSize = 0; + do { + $page = $suggestedAdUnitService->getSuggestedAdUnitsByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the suggested ad units to be + // approved. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $suggestedAdUnit) { + printf( + "%d) Suggested ad unit with ID %d " + . "and number of requests %d will be approved.%s", + $i++, + $suggestedAdUnit->getId(), + $suggestedAdUnit->getNumRequests(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of suggested ad units to be approved: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new ApproveSuggestedAdUnitsAction(); + $result = $suggestedAdUnitService->performSuggestedAdUnitAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of suggested ad units approved: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No suggested ad units were approved.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample( + new ServiceFactory(), + $session, + intval(self::NUMBER_OF_REQUESTS) + ); + } +} + +ApproveSuggestedAdUnits::main(); diff --git a/examples/AdManager/v202311/SuggestedAdUnitService/GetAllSuggestedAdUnits.php b/examples/AdManager/v202408/SuggestedAdUnitService/GetAllSuggestedAdUnits.php similarity index 95% rename from examples/AdManager/v202311/SuggestedAdUnitService/GetAllSuggestedAdUnits.php rename to examples/AdManager/v202408/SuggestedAdUnitService/GetAllSuggestedAdUnits.php index 575d8fce8..66f371c3e 100644 --- a/examples/AdManager/v202311/SuggestedAdUnitService/GetAllSuggestedAdUnits.php +++ b/examples/AdManager/v202408/SuggestedAdUnitService/GetAllSuggestedAdUnits.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SuggestedAdUnitService; +namespace Google\AdsApi\Examples\AdManager\v202408\SuggestedAdUnitService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php b/examples/AdManager/v202408/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php similarity index 95% rename from examples/AdManager/v202311/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php rename to examples/AdManager/v202408/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php index 68a6ee420..724600384 100644 --- a/examples/AdManager/v202311/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php +++ b/examples/AdManager/v202408/SuggestedAdUnitService/GetHighlyRequestedSuggestedAdUnits.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\SuggestedAdUnitService; +namespace Google\AdsApi\Examples\AdManager\v202408\SuggestedAdUnitService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/TargetingPresetService/GetAllTargetingPresets.php b/examples/AdManager/v202408/TargetingPresetService/GetAllTargetingPresets.php similarity index 95% rename from examples/AdManager/v202311/TargetingPresetService/GetAllTargetingPresets.php rename to examples/AdManager/v202408/TargetingPresetService/GetAllTargetingPresets.php index 6597fbb15..d9dbf3217 100644 --- a/examples/AdManager/v202311/TargetingPresetService/GetAllTargetingPresets.php +++ b/examples/AdManager/v202408/TargetingPresetService/GetAllTargetingPresets.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\TargetingPresetService; +namespace Google\AdsApi\Examples\AdManager\v202408\TargetingPresetService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/TeamService/CreateTeams.php b/examples/AdManager/v202408/TeamService/CreateTeams.php similarity index 93% rename from examples/AdManager/v202311/TeamService/CreateTeams.php rename to examples/AdManager/v202408/TeamService/CreateTeams.php index 937a13658..511c379f2 100644 --- a/examples/AdManager/v202311/TeamService/CreateTeams.php +++ b/examples/AdManager/v202408/TeamService/CreateTeams.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\TeamService; +namespace Google\AdsApi\Examples\AdManager\v202408\TeamService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\Team; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\Team; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/TeamService/GetAllTeams.php b/examples/AdManager/v202408/TeamService/GetAllTeams.php similarity index 94% rename from examples/AdManager/v202311/TeamService/GetAllTeams.php rename to examples/AdManager/v202408/TeamService/GetAllTeams.php index d05701537..21e16d48f 100644 --- a/examples/AdManager/v202311/TeamService/GetAllTeams.php +++ b/examples/AdManager/v202408/TeamService/GetAllTeams.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\TeamService; +namespace Google\AdsApi\Examples\AdManager\v202408\TeamService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/TeamService/UpdateTeams.php b/examples/AdManager/v202408/TeamService/UpdateTeams.php similarity index 94% rename from examples/AdManager/v202311/TeamService/UpdateTeams.php rename to examples/AdManager/v202408/TeamService/UpdateTeams.php index b390f0aba..0f9e05872 100644 --- a/examples/AdManager/v202311/TeamService/UpdateTeams.php +++ b/examples/AdManager/v202408/TeamService/UpdateTeams.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\TeamService; +namespace Google\AdsApi\Examples\AdManager\v202408\TeamService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserService/CreateUsers.php b/examples/AdManager/v202408/UserService/CreateUsers.php similarity index 94% rename from examples/AdManager/v202311/UserService/CreateUsers.php rename to examples/AdManager/v202408/UserService/CreateUsers.php index 1e7aac19b..5d6a6d3f0 100644 --- a/examples/AdManager/v202311/UserService/CreateUsers.php +++ b/examples/AdManager/v202408/UserService/CreateUsers.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\User; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\User; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/UserService/DeactivateUsers.php b/examples/AdManager/v202408/UserService/DeactivateUsers.php new file mode 100644 index 000000000..27c91fb86 --- /dev/null +++ b/examples/AdManager/v202408/UserService/DeactivateUsers.php @@ -0,0 +1,129 @@ +createUserService($session); + + // Create a statement to select the users to deactivate. + $pageSize = StatementBuilder::SUGGESTED_PAGE_LIMIT; + $statementBuilder = (new StatementBuilder())->where('id = :id') + ->orderBy('id ASC') + ->limit($pageSize) + ->withBindVariableValue('id', $userId); + + // Retrieve a small amount of users at a time, paging through until all + // users have been retrieved. + $totalResultSetSize = 0; + do { + $page = $userService->getUsersByStatement( + $statementBuilder->toStatement() + ); + + // Print out some information for the users to be deactivated. + if ($page->getResults() !== null) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $user) { + printf( + "%d) User with ID %d, email '%s', " + . "and role '%s' will be deactivated.%s", + $i++, + $user->getId(), + $user->getEmail(), + $user->getRoleName(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy($pageSize); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Total number of users to be deactivated: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement so we can reuse the + // statement. + $statementBuilder->removeLimitAndOffset(); + + // Create and perform action. + $action = new DeactivateUsersAction(); + $result = $userService->performUserAction( + $action, + $statementBuilder->toStatement() + ); + + if ($result !== null && $result->getNumChanges() > 0) { + printf( + "Number of users deactivated: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + printf("No users were deactivated.%s", PHP_EOL); + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder())->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample(new ServiceFactory(), $session, intval(self::USER_ID)); + } +} + +DeactivateUsers::main(); diff --git a/examples/AdManager/v202311/UserService/GetAllRoles.php b/examples/AdManager/v202408/UserService/GetAllRoles.php similarity index 95% rename from examples/AdManager/v202311/UserService/GetAllRoles.php rename to examples/AdManager/v202408/UserService/GetAllRoles.php index 48b6497ed..0c307ffba 100644 --- a/examples/AdManager/v202311/UserService/GetAllRoles.php +++ b/examples/AdManager/v202408/UserService/GetAllRoles.php @@ -15,13 +15,13 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserService/GetAllUsers.php b/examples/AdManager/v202408/UserService/GetAllUsers.php similarity index 94% rename from examples/AdManager/v202311/UserService/GetAllUsers.php rename to examples/AdManager/v202408/UserService/GetAllUsers.php index 7c78f6a8e..92be6817e 100644 --- a/examples/AdManager/v202311/UserService/GetAllUsers.php +++ b/examples/AdManager/v202408/UserService/GetAllUsers.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserService/GetCurrentUser.php b/examples/AdManager/v202408/UserService/GetCurrentUser.php similarity index 95% rename from examples/AdManager/v202311/UserService/GetCurrentUser.php rename to examples/AdManager/v202408/UserService/GetCurrentUser.php index cf810d229..bb27c42d2 100644 --- a/examples/AdManager/v202311/UserService/GetCurrentUser.php +++ b/examples/AdManager/v202408/UserService/GetCurrentUser.php @@ -15,13 +15,13 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserService/GetUserByEmailAddress.php b/examples/AdManager/v202408/UserService/GetUserByEmailAddress.php similarity index 95% rename from examples/AdManager/v202311/UserService/GetUserByEmailAddress.php rename to examples/AdManager/v202408/UserService/GetUserByEmailAddress.php index 1fe2633cb..6b1b6f7e3 100644 --- a/examples/AdManager/v202311/UserService/GetUserByEmailAddress.php +++ b/examples/AdManager/v202408/UserService/GetUserByEmailAddress.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserService/UpdateUsers.php b/examples/AdManager/v202408/UserService/UpdateUsers.php similarity index 94% rename from examples/AdManager/v202311/UserService/UpdateUsers.php rename to examples/AdManager/v202408/UserService/UpdateUsers.php index 9c6da62cb..b19f1891e 100644 --- a/examples/AdManager/v202311/UserService/UpdateUsers.php +++ b/examples/AdManager/v202408/UserService/UpdateUsers.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserTeamAssociationService/CreateUserTeamAssociations.php b/examples/AdManager/v202408/UserTeamAssociationService/CreateUserTeamAssociations.php similarity index 94% rename from examples/AdManager/v202311/UserTeamAssociationService/CreateUserTeamAssociations.php rename to examples/AdManager/v202408/UserTeamAssociationService/CreateUserTeamAssociations.php index 8650327f1..eabd116d1 100644 --- a/examples/AdManager/v202311/UserTeamAssociationService/CreateUserTeamAssociations.php +++ b/examples/AdManager/v202408/UserTeamAssociationService/CreateUserTeamAssociations.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserTeamAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserTeamAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\UserTeamAssociation; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\UserTeamAssociation; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202408/UserTeamAssociationService/DeleteUserTeamAssociations.php b/examples/AdManager/v202408/UserTeamAssociationService/DeleteUserTeamAssociations.php new file mode 100644 index 000000000..a673c6376 --- /dev/null +++ b/examples/AdManager/v202408/UserTeamAssociationService/DeleteUserTeamAssociations.php @@ -0,0 +1,139 @@ +createUserTeamAssociationService($session); + + // Create a statement to get all user team associations for a user. + $statementBuilder = (new StatementBuilder()) + ->where('WHERE userId = :userId ') + ->orderBy('userId ASC, teamId ASC') + ->limit(StatementBuilder::SUGGESTED_PAGE_LIMIT) + ->withBindVariableValue('userId', $userId); + + // Default for total result set size. + $totalResultSetSize = 0; + + do { + // Get user team associations by statement. + $page = $userTeamAssociationService + ->getUserTeamAssociationsByStatement( + $statementBuilder->toStatement() + ); + + if (!empty($page->getResults())) { + $totalResultSetSize = $page->getTotalResultSetSize(); + $i = $page->getStartIndex(); + foreach ($page->getResults() as $userTeamAssociation) { + printf( + "%d) User team association with user ID %d and " + . "team ID %d will be deleted.%s", + $i++, + $userTeamAssociation->getUserId(), + $userTeamAssociation->getTeamId(), + PHP_EOL + ); + } + } + + $statementBuilder->increaseOffsetBy( + StatementBuilder::SUGGESTED_PAGE_LIMIT + ); + } while ($statementBuilder->getOffset() < $totalResultSetSize); + + printf( + "Number of user team associations to be deleted: %d%s", + $totalResultSetSize, + PHP_EOL + ); + + if ($totalResultSetSize > 0) { + // Remove limit and offset from statement. + $statementBuilder->removeLimitAndOffset(); + + // Create action. + $action = new DeleteAction(); + + // Perform action. + $result = $userTeamAssociationService + ->performUserTeamAssociationAction( + $action, + $statementBuilder->toStatement() + ); + + if (!is_null($result) && $result->getNumChanges() > 0) { + printf( + "Number of user team associations deleted: %d%s", + $result->getNumChanges(), + PHP_EOL + ); + } else { + print "No user team associations were deleted.\n"; + } + } + } + + public static function main() + { + // Generate a refreshable OAuth2 credential for authentication. + $oAuth2Credential = (new OAuth2TokenBuilder()) + ->fromFile() + ->build(); + + // Construct an API session configured from an `adsapi_php.ini` file + // and the OAuth2 credentials above. + $session = (new AdManagerSessionBuilder()) + ->fromFile() + ->withOAuth2Credential($oAuth2Credential) + ->build(); + + self::runExample(new ServiceFactory(), $session, intval(self::USER_ID)); + } +} + +DeleteUserTeamAssociations::main(); diff --git a/examples/AdManager/v202311/UserTeamAssociationService/GetAllUserTeamAssociations.php b/examples/AdManager/v202408/UserTeamAssociationService/GetAllUserTeamAssociations.php similarity index 95% rename from examples/AdManager/v202311/UserTeamAssociationService/GetAllUserTeamAssociations.php rename to examples/AdManager/v202408/UserTeamAssociationService/GetAllUserTeamAssociations.php index ba2faca9a..f44317c08 100644 --- a/examples/AdManager/v202311/UserTeamAssociationService/GetAllUserTeamAssociations.php +++ b/examples/AdManager/v202408/UserTeamAssociationService/GetAllUserTeamAssociations.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserTeamAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserTeamAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserTeamAssociationService/GetUserTeamAssociationsForUser.php b/examples/AdManager/v202408/UserTeamAssociationService/GetUserTeamAssociationsForUser.php similarity index 95% rename from examples/AdManager/v202311/UserTeamAssociationService/GetUserTeamAssociationsForUser.php rename to examples/AdManager/v202408/UserTeamAssociationService/GetUserTeamAssociationsForUser.php index abd0e4928..00ca6c0b2 100644 --- a/examples/AdManager/v202311/UserTeamAssociationService/GetUserTeamAssociationsForUser.php +++ b/examples/AdManager/v202408/UserTeamAssociationService/GetUserTeamAssociationsForUser.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserTeamAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserTeamAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/examples/AdManager/v202311/UserTeamAssociationService/UpdateUserTeamAssociations.php b/examples/AdManager/v202408/UserTeamAssociationService/UpdateUserTeamAssociations.php similarity index 94% rename from examples/AdManager/v202311/UserTeamAssociationService/UpdateUserTeamAssociations.php rename to examples/AdManager/v202408/UserTeamAssociationService/UpdateUserTeamAssociations.php index ad34f362b..4e5938a9c 100644 --- a/examples/AdManager/v202311/UserTeamAssociationService/UpdateUserTeamAssociations.php +++ b/examples/AdManager/v202408/UserTeamAssociationService/UpdateUserTeamAssociations.php @@ -15,15 +15,15 @@ * limitations under the License. */ -namespace Google\AdsApi\Examples\AdManager\v202311\UserTeamAssociationService; +namespace Google\AdsApi\Examples\AdManager\v202408\UserTeamAssociationService; require __DIR__ . '/../../../../vendor/autoload.php'; use Google\AdsApi\AdManager\AdManagerSession; use Google\AdsApi\AdManager\AdManagerSessionBuilder; -use Google\AdsApi\AdManager\Util\v202311\StatementBuilder; -use Google\AdsApi\AdManager\v202311\ServiceFactory; -use Google\AdsApi\AdManager\v202311\TeamAccessType; +use Google\AdsApi\AdManager\Util\v202408\StatementBuilder; +use Google\AdsApi\AdManager\v202408\ServiceFactory; +use Google\AdsApi\AdManager\v202408\TeamAccessType; use Google\AdsApi\Common\OAuth2TokenBuilder; /** diff --git a/resources/wsdls/apis/ads/publisher/v202308/ActivityGroupService.wsdl b/resources/wsdls/apis/ads/publisher/v202308/ActivityGroupService.wsdl deleted file mode 100644 index 45a3fe74a..000000000 --- a/resources/wsdls/apis/ads/publisher/v202308/ActivityGroupService.wsdl +++ /dev/null @@ -1,1783 +0,0 @@ - - - - - - - - - - - - - - - Contains an object value. - <p> - <b>This object is experimental! - <code>ObjectValue</code> is an experimental, innovative, and rapidly - changing new feature for Ad Manager. Unfortunately, being on the bleeding edge means that - we may make backwards-incompatible changes to - <code>ObjectValue</code>. We will inform the community when this feature - is no longer experimental.</b> - - - - - - - - - - - - Errors relating to Activity and Activity Group services. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Activities are organized within activity groups, which are sets of activities that share the same - configuration. You create and manage activities from within activity groups. - - - - - - - The unique ID of the {@code ActivityGroup}. This attribute is readonly and is assigned by - Google. - - - - - - - The name of the {@code ActivityGroup}. This attribute is required to create an activity group - and has a maximum length of 255 characters. - - - - - - - The company ids whose ads will be included for conversion tracking on the activities in this - group. Only clicks and impressions of ads from these companies will lead to conversions on the - containing activities. This attribute is required when creating an activity group. - - <p>The company types allowed are: {@link Company.Type#ADVERTISER}, and {@link - Company.Type#AD_NETWORK}, and {@link Company.Type#HOUSE_ADVERTISER} - - - - - - - Ad Manager records view-through conversions for users who have previously viewed an Ad Manager - ad within the number of days that you set here (1 to 30 days), then visits a webpage containing - activity tags from this activity group. To be counted, the ad needs to belong to one of the - companies associated with the activity group. This attribute is required to create an activity - group. - - - - - - - Ad Manager records click-through conversions for users who have previously clicked on an Ad - Manager ad within the number of days that you set here (1 to 30 days), then visits a webpage - containing activity tags from this activity group. To be counted, the ad needs to belong to one - of the companies associated with the activity group. This attribute is required to create an - activity group. - - - - - - - The status of this activity group. This attribute is readonly. - - - - - - - - - Captures a page of {@link ActivityGroup} objects. - - - - - - - The size of the total result set to which this page belongs. - - - - - - - The absolute index in the total result set on which this page begins. - - - - - - - The collection of activity groups contained within this page. - - - - - - - - - The API error base class that provides details about an error that occurred - while processing a service request. - - <p>The OGNL field path is provided for parsers to identify the request data - element that may have caused the error.</p> - - - - - - - The OGNL field path to identify cause of error. - - - - - - - A parsed copy of the field path. For example, the field path "operations[1].operand" - corresponds to this list: {FieldPathElement(field = "operations", index = 1), - FieldPathElement(field = "operand", index = null)}. - - - - - - - The data that caused the error. - - - - - - - A simple string representation of the error and reason. - - - - - - - - - Exception class for holding a list of service errors. - - - - - - - - - List of errors. - - - - - - - - - - - Errors related to the usage of API versions. - - - - - - - - - - - - - - Base class for exceptions. - - - - - - - Error message. - - - - - - - - - An error for an exception that occurred when authenticating. - - - - - - - - - - - - - - Contains a boolean value. - - - - - - - - - The boolean value. - - - - - - - - - - - Error for the size of the collection being too large - - - - - - - - - - - - - - A place for common errors that can be used across services. - - - - - - - - - - - - - - Represents a date. - - - - - - - Year (e.g., 2009) - - - - - - - Month (1..12) - - - - - - - Day (1..31) - - - - - - - - - Represents a date combined with the time of day. - - - - - - - - - - - - - - Contains a date-time value. - - - - - - - - - The {@code DateTime} value. - - - - - - - - - - - Contains a date value. - - - - - - - - - The {@code Date} value. - - - - - - - - - - - Errors related to feature management. If you attempt using a feature that is not available to - the current network you'll receive a FeatureError with the missing feature as the trigger. - - - - - - - - - - - - - - A segment of a field path. Each dot in a field path defines a new segment. - - - - - - - The name of a field in lower camelcase. (e.g. "biddingStrategy") - - - - - - - For list fields, this is a 0-indexed position in the list. Null for non-list fields. - - - - - - - - - Indicates that a server-side error has occured. {@code InternalApiError}s - are generally not the result of an invalid request or message sent by the - client. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Caused by supplying a null value for an attribute that cannot be null. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Contains a numeric value. - - - - - - - - - The numeric value represented as a string. - - - - - - - - - - - Lists errors related to parsing. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Errors related to incorrect permission. - - - - - - - - - - - - - - An error that occurs while executing a PQL query contained in - a {@link Statement} object. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - An error that occurs while parsing a PQL query contained in a - {@link Statement} object. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Describes a client-side error on which a user is attempting - to perform an action to which they have no quota remaining. - - - - - - - - - - - - - - A list of all errors associated with the Range constraint. - - - - - - - - - - - - - - A list of all errors to be used for validating sizes of collections. - - - - - - - - - - - - - - Errors due to missing required field. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - A list of all errors to be used in conjunction with required number - validators. - - - - - - - - - - - - - - Errors related to the server. - - - - - - - - - - - - - - Contains a set of {@link Value Values}. May not contain duplicates. - - - - - - - - - The values. They must all be the same type of {@code Value} and not contain duplicates. - - - - - - - - - - - Represents the SOAP request header used by API requests. - - - - - - - The network code to use in the context of a request. - - - - - - - The name of client library application. - - - - - - - - - Represents the SOAP request header used by API responses. - - - - - - - - - - - Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a - PQL query. Statements are typically used to retrieve objects of a predefined - domain type, which makes SELECT clause unnecessary. - <p> - An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id - LIMIT 30"}. - </p> - <p> - Statements support bind variables. These are substitutes for literals - and can be thought of as input parameters to a PQL query. - </p> - <p> - An example of such a query might be {@code "WHERE id = :idValue"}. - </p> - <p> - Statements also support use of the LIKE keyword. This provides wildcard string matching. - </p> - <p> - An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}. - </p> - The value for the variable idValue must then be set with an object of type - {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or - {@link BooleanValue}. - - - - - - - Holds the query in PQL syntax. The syntax is:<br> - <code>[WHERE <condition> {[AND | OR] <condition> ...}]</code><br> - <code>[ORDER BY <property> [ASC | DESC]]</code><br> - <code>[LIMIT {[<offset>,] <count>} | {<count> OFFSET <offset>}]</code><br> - <p> - <code><condition></code><br> - &nbsp;&nbsp;&nbsp;&nbsp; - <code>:= <property> {< | <= | > | >= | = | != } <value></code><br> - <code><condition></code><br> - &nbsp;&nbsp;&nbsp;&nbsp; - <code>:= <property> {< | <= | > | >= | = | != } <bind variable></code><br> - <code><condition> := <property> IN <list></code><br> - <code><condition> := <property> IS NULL</code><br> - <code><condition> := <property> LIKE <wildcard%match></code><br> - <code><bind variable> := :<name></code><br> - </p> - - - - - - - Holds keys and values for bind variables and their values. The key is the - name of the bind variable. The value is the literal value of the variable. - <p> - In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, - the bind variable, represented by {@code :bindStatus} is named {@code - bindStatus}, which would also be the parameter map key. The bind variable's - value would be represented by a parameter map value of type - {@link TextValue}. The final result, for example, would be an entry of - {@code "bindStatus" => StringParam("ACTIVE")}. - </p> - - - - - - - - - An error that occurs while parsing {@link Statement} objects. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - A list of error code for reporting invalid content of input strings. - - - - - - - - - - - - - - Errors for Strings which do not meet given length constraints. - - - - - - - - - - - - - - This represents an entry in a map with a key of type String - and value of type Value. - - - - - - - - - - - Contains a string value. - - - - - - - - - The string value. - - - - - - - - - - - An error for a field which must satisfy a uniqueness constraint - - - - - - - - - - - - {@code Value} represents a value. - - - - - - - - The reasons for the target error. - - - - - - - The 'activities' feature is required but not enabled. - - - - - - - Activity group cannot be associated with the company types. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The activity group status. - - - - - - - - - - - - - Indicates that the operation is not allowed in the version the request - was made in. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - The SOAP message contains a request header with an ambiguous definition of the authentication - header fields. This means either the {@code authToken} and {@code oAuthToken} fields were - both null or both were specified. Exactly one value should be specified with each request. - - - - - - - The login provided is invalid. - - - - - - - Tried to authenticate with provided information, but failed. - - - - - - - The OAuth provided is invalid. - - - - - - - The specified service to use was not recognized. - - - - - - - The SOAP message is missing a request header with an {@code authToken} and optional {@code - networkCode}. - - - - - - - The HTTP request is missing a request header with an {@code authToken} - - - - - - - The request is missing an {@code authToken} - - - - - - - The network does not have API access enabled. - - - - - - - The user is not associated with any network. - - - - - - - No network for the given {@code networkCode} was found. - - - - - - - The user has access to more than one network, but did not provide a {@code networkCode}. - - - - - - - An error happened on the server side during connection to authentication service. - - - - - - - The user tried to create a test network using an account that already is associated with a - network. - - - - - - - The account is blocked and under investigation by the collections team. Please contact Google - for more information. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Describes reasons for common errors - - - - - - - Indicates that an attempt was made to retrieve an entity that does not - exist. - - - - - - - Indicates that an attempt was made to create an entity that already - exists. - - - - - - - Indicates that a value is not applicable for given use case. - - - - - - - Indicates that two elements in the collection were identical. - - - - - - - Indicates that an attempt was made to change an immutable field. - - - - - - - Indicates that the requested operation is not supported. - - - - - - - Indicates that another request attempted to update the same data in the same network - at about the same time. Please wait and try the request again. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A feature is being used that is not enabled on the current network. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The single reason for the internal API error. - - - - - - - API encountered an unexpected internal error. - - - - - - - A temporary error occurred during the request. Please retry. - - - - - - - The cause of the error is not known or only defined in newer versions. - - - - - - - The API is currently unavailable for a planned downtime. - - - - - - - Mutate succeeded but server was unable to build response. Client should not retry mutate. - - - - - - - - - The reasons for the target error. - - - - - - - Assuming that a method will not have more than 3 arguments, if it does, - return NULL - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates an error in parsing an attribute. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Describes reasons for permission errors. - - - - - - - User does not have the required permission for the request. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates that there was an error executing the PQL. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates that there was a PQL syntax error. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - The number of requests made per second is too high and has exceeded the - allowable limit. The recommended approach to handle this error is to wait - about 5 seconds and then retry the request. Note that this does not - guarantee the request will succeed. If it fails again, try increasing the - wait time. - <p>Another way to mitigate this error is to limit requests to 8 per second for Ad Manager - 360 accounts, or 2 per second for Ad Manager accounts. Once again - this does not guarantee that every request will succeed, but may help - reduce the number of times you receive this error. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - This user has exceeded the allowed number of new report requests per hour - (this includes both reports run via the UI and reports - run via {@link ReportService#runReportJob}). - The recommended approach to handle this error is to wait about 10 minutes - and then retry the request. Note that this does not guarantee the request - will succeed. If it fails again, try increasing the wait time. - <p>Another way to mitigate this error is to limit the number of new report - requests to 250 per hour per user. Once again, this does not guarantee that - every request will succeed, but may help reduce the number of times you - receive this error. - - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A required collection is missing. - - - - - - - Collection size is too large. - - - - - - - Collection size is too small. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Missing required field. - - - - - - - - - Describes reasons for a number to be invalid. - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Describes reasons for server errors - - - - - - - Indicates that an unexpected error occured. - - - - - - - Indicates that the server is currently experiencing a high load. Please - wait and try your request again. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A bind variable has not been bound to a value. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - - The input string value contains disallowed characters. - - - - - - - The input string value is invalid for the associated field. - - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Creates a new {@link ActivityGroup} objects. - - - - - - - - - - - - - - - - - - - A fault element of type ApiException. - - - - - - - Gets an {@link ActivityGroupPage} of {@link ActivityGroup} objects that satisfy the given - {@link Statement#query}. The following fields are supported for filtering: - - <table> - <tr> - <th scope="col">PQL Property</th> <th scope="col">Object Property</th> - </tr> - <tr> - <td>{@code id}</td> - <td>{@link ActivityGroup#id}</td> - </tr> - <tr> - <td>{@code name}</td> - <td>{@link ActivityGroup#name}</td> - </tr> - <tr> - <td>{@code impressionsLookback}</td> - <td>{@link ActivityGroup#impressionsLookback}</td> - </tr> - <tr> - <td>{@code clicksLookback}</td> - <td>{@link ActivityGroup#clicksLookback}</td> - </tr> - <tr> - <td>{@code status}</td> - <td>{@link ActivityGroup#status}</td> - </tr> - </table> - - - - - - - - - - - - - - - - - - - Updates the specified {@link ActivityGroup} objects. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - As of February 22, 2024 this service will become read only as part of Spotlight deprecation, <a - href="https://support.google.com/admanager/answer/7519021#spotlight">learn more</a>.. - - <p>Provides methods for creating, updating and retrieving {@link ActivityGroup} objects. - - <p>An activity group contains {@link Activity} objects. Activities have a many-to-one - relationship with activity groups, meaning each activity can belong to only one activity group, - but activity groups can have multiple activities. An activity group can be used to manage the - activities it contains. - - - - Creates a new {@link ActivityGroup} objects. - - - - - - - - Gets an {@link ActivityGroupPage} of {@link ActivityGroup} objects that satisfy the given - {@link Statement#query}. The following fields are supported for filtering: - - <table> - <tr> - <th scope="col">PQL Property</th> <th scope="col">Object Property</th> - </tr> - <tr> - <td>{@code id}</td> - <td>{@link ActivityGroup#id}</td> - </tr> - <tr> - <td>{@code name}</td> - <td>{@link ActivityGroup#name}</td> - </tr> - <tr> - <td>{@code impressionsLookback}</td> - <td>{@link ActivityGroup#impressionsLookback}</td> - </tr> - <tr> - <td>{@code clicksLookback}</td> - <td>{@link ActivityGroup#clicksLookback}</td> - </tr> - <tr> - <td>{@code status}</td> - <td>{@link ActivityGroup#status}</td> - </tr> - </table> - - - - - - - - Updates the specified {@link ActivityGroup} objects. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/wsdls/apis/ads/publisher/v202308/ActivityService.wsdl b/resources/wsdls/apis/ads/publisher/v202308/ActivityService.wsdl deleted file mode 100644 index 45bec70be..000000000 --- a/resources/wsdls/apis/ads/publisher/v202308/ActivityService.wsdl +++ /dev/null @@ -1,1808 +0,0 @@ - - - - - - - - - - - - - - - Contains an object value. - <p> - <b>This object is experimental! - <code>ObjectValue</code> is an experimental, innovative, and rapidly - changing new feature for Ad Manager. Unfortunately, being on the bleeding edge means that - we may make backwards-incompatible changes to - <code>ObjectValue</code>. We will inform the community when this feature - is no longer experimental.</b> - - - - - - - - - - - - An activity is a specific user action that an advertiser wants to track, such as the completion - of a purchase or a visit to a webpage. You create and manage activities in Ad Manager. When a - user performs the action after seeing an advertiser's ad, that's a conversion. - - <p>For example, you set up an activity in Ad Manager to track how many users visit an - advertiser's promotional website after viewing or clicking on an ad. When a user views an ad, - then visits the page, that's one conversion. - - - - - - - The unique ID of the {@code Activity}. This value is readonly and is assigned by Google. - - - - - - - The ID of the {@link ActivityGroup} that this {@link Activity} belongs to. - - - - - - - The name of the {@code Activity}. This attribute is required and has a maximum length of 255 - characters. - - - - - - - The URL of the webpage where the tags from this activity will be placed. This attribute is - optional. - - - - - - - The status of this activity. This attribute is readonly. - - - - - - - The activity type. This attribute is optional and defaults to {@link Activity.Type#PAGE_VIEWS} - - - - - - - - - Errors relating to Activity and Activity Group services. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Captures a page of {@link Activity} objects. - - - - - - - The size of the total result set to which this page belongs. - - - - - - - The absolute index in the total result set on which this page begins. - - - - - - - The collection of activities contained within this page. - - - - - - - - - The API error base class that provides details about an error that occurred - while processing a service request. - - <p>The OGNL field path is provided for parsers to identify the request data - element that may have caused the error.</p> - - - - - - - The OGNL field path to identify cause of error. - - - - - - - A parsed copy of the field path. For example, the field path "operations[1].operand" - corresponds to this list: {FieldPathElement(field = "operations", index = 1), - FieldPathElement(field = "operand", index = null)}. - - - - - - - The data that caused the error. - - - - - - - A simple string representation of the error and reason. - - - - - - - - - Exception class for holding a list of service errors. - - - - - - - - - List of errors. - - - - - - - - - - - Errors related to the usage of API versions. - - - - - - - - - - - - - - Base class for exceptions. - - - - - - - Error message. - - - - - - - - - An error for an exception that occurred when authenticating. - - - - - - - - - - - - - - Contains a boolean value. - - - - - - - - - The boolean value. - - - - - - - - - - - Error for the size of the collection being too large - - - - - - - - - - - - - - A place for common errors that can be used across services. - - - - - - - - - - - - - - Represents a date. - - - - - - - Year (e.g., 2009) - - - - - - - Month (1..12) - - - - - - - Day (1..31) - - - - - - - - - Represents a date combined with the time of day. - - - - - - - - - - - - - - Contains a date-time value. - - - - - - - - - The {@code DateTime} value. - - - - - - - - - - - Contains a date value. - - - - - - - - - The {@code Date} value. - - - - - - - - - - - Errors related to feature management. If you attempt using a feature that is not available to - the current network you'll receive a FeatureError with the missing feature as the trigger. - - - - - - - - - - - - - - A segment of a field path. Each dot in a field path defines a new segment. - - - - - - - The name of a field in lower camelcase. (e.g. "biddingStrategy") - - - - - - - For list fields, this is a 0-indexed position in the list. Null for non-list fields. - - - - - - - - - Indicates that a server-side error has occured. {@code InternalApiError}s - are generally not the result of an invalid request or message sent by the - client. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Caused by supplying a null value for an attribute that cannot be null. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Contains a numeric value. - - - - - - - - - The numeric value represented as a string. - - - - - - - - - - - Lists errors related to parsing. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Errors related to incorrect permission. - - - - - - - - - - - - - - An error that occurs while executing a PQL query contained in - a {@link Statement} object. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - An error that occurs while parsing a PQL query contained in a - {@link Statement} object. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Describes a client-side error on which a user is attempting - to perform an action to which they have no quota remaining. - - - - - - - - - - - - - - A list of all errors associated with the Range constraint. - - - - - - - - - - - - - - A list of all errors to be used for validating sizes of collections. - - - - - - - - - - - - - - Errors due to missing required field. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - Errors related to the server. - - - - - - - - - - - - - - Contains a set of {@link Value Values}. May not contain duplicates. - - - - - - - - - The values. They must all be the same type of {@code Value} and not contain duplicates. - - - - - - - - - - - Represents the SOAP request header used by API requests. - - - - - - - The network code to use in the context of a request. - - - - - - - The name of client library application. - - - - - - - - - Represents the SOAP request header used by API responses. - - - - - - - - - - - Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a - PQL query. Statements are typically used to retrieve objects of a predefined - domain type, which makes SELECT clause unnecessary. - <p> - An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id - LIMIT 30"}. - </p> - <p> - Statements support bind variables. These are substitutes for literals - and can be thought of as input parameters to a PQL query. - </p> - <p> - An example of such a query might be {@code "WHERE id = :idValue"}. - </p> - <p> - Statements also support use of the LIKE keyword. This provides wildcard string matching. - </p> - <p> - An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}. - </p> - The value for the variable idValue must then be set with an object of type - {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or - {@link BooleanValue}. - - - - - - - Holds the query in PQL syntax. The syntax is:<br> - <code>[WHERE <condition> {[AND | OR] <condition> ...}]</code><br> - <code>[ORDER BY <property> [ASC | DESC]]</code><br> - <code>[LIMIT {[<offset>,] <count>} | {<count> OFFSET <offset>}]</code><br> - <p> - <code><condition></code><br> - &nbsp;&nbsp;&nbsp;&nbsp; - <code>:= <property> {< | <= | > | >= | = | != } <value></code><br> - <code><condition></code><br> - &nbsp;&nbsp;&nbsp;&nbsp; - <code>:= <property> {< | <= | > | >= | = | != } <bind variable></code><br> - <code><condition> := <property> IN <list></code><br> - <code><condition> := <property> IS NULL</code><br> - <code><condition> := <property> LIKE <wildcard%match></code><br> - <code><bind variable> := :<name></code><br> - </p> - - - - - - - Holds keys and values for bind variables and their values. The key is the - name of the bind variable. The value is the literal value of the variable. - <p> - In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, - the bind variable, represented by {@code :bindStatus} is named {@code - bindStatus}, which would also be the parameter map key. The bind variable's - value would be represented by a parameter map value of type - {@link TextValue}. The final result, for example, would be an entry of - {@code "bindStatus" => StringParam("ACTIVE")}. - </p> - - - - - - - - - An error that occurs while parsing {@link Statement} objects. - - - - - - - - - The error reason represented by an enum. - - - - - - - - - - - A list of error code for reporting invalid content of input strings. - - - - - - - - - - - - - - Errors for Strings which do not meet given length constraints. - - - - - - - - - - - - - - This represents an entry in a map with a key of type String - and value of type Value. - - - - - - - - - - - Contains a string value. - - - - - - - - - The string value. - - - - - - - - - - - An error for a field which must satisfy a uniqueness constraint - - - - - - - - - - - - {@code Value} represents a value. - - - - - - - - The activity status. - - - - - - - - - - - The activity type. - - - - - - - Tracks conversions for each visit to a webpage. This is a counter type. - - - - - - - Tracks conversions for visits to a webpage, but only counts one conversion per user per day, - even if a user visits the page multiple times. This is a counter type. - - - - - - - Tracks conversions for visits to a webpage, but only counts one conversion per user per user - session. Session length is set by the advertiser. This is a counter type. - - - - - - - Tracks conversions where the user has made a purchase, the monetary value of each purchase, - plus the number of items that were purchased and the order ID. This is a sales type. - - - - - - - Tracks conversions where the user has made a purchase, the monetary value of each purchase, - plus the order ID (but not the number of items purchased). This is a sales type. - - - - - - - Tracks conversions where the user has installed an iOS application. This is a counter type. - - - - - - - Tracks conversions where the user has installed an Android application. This is a counter - type. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - The 'activities' feature is required but not enabled. - - - - - - - Activity group cannot be associated with the company types. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - Indicates that the operation is not allowed in the version the request - was made in. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - The SOAP message contains a request header with an ambiguous definition of the authentication - header fields. This means either the {@code authToken} and {@code oAuthToken} fields were - both null or both were specified. Exactly one value should be specified with each request. - - - - - - - The login provided is invalid. - - - - - - - Tried to authenticate with provided information, but failed. - - - - - - - The OAuth provided is invalid. - - - - - - - The specified service to use was not recognized. - - - - - - - The SOAP message is missing a request header with an {@code authToken} and optional {@code - networkCode}. - - - - - - - The HTTP request is missing a request header with an {@code authToken} - - - - - - - The request is missing an {@code authToken} - - - - - - - The network does not have API access enabled. - - - - - - - The user is not associated with any network. - - - - - - - No network for the given {@code networkCode} was found. - - - - - - - The user has access to more than one network, but did not provide a {@code networkCode}. - - - - - - - An error happened on the server side during connection to authentication service. - - - - - - - The user tried to create a test network using an account that already is associated with a - network. - - - - - - - The account is blocked and under investigation by the collections team. Please contact Google - for more information. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Describes reasons for common errors - - - - - - - Indicates that an attempt was made to retrieve an entity that does not - exist. - - - - - - - Indicates that an attempt was made to create an entity that already - exists. - - - - - - - Indicates that a value is not applicable for given use case. - - - - - - - Indicates that two elements in the collection were identical. - - - - - - - Indicates that an attempt was made to change an immutable field. - - - - - - - Indicates that the requested operation is not supported. - - - - - - - Indicates that another request attempted to update the same data in the same network - at about the same time. Please wait and try the request again. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A feature is being used that is not enabled on the current network. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The single reason for the internal API error. - - - - - - - API encountered an unexpected internal error. - - - - - - - A temporary error occurred during the request. Please retry. - - - - - - - The cause of the error is not known or only defined in newer versions. - - - - - - - The API is currently unavailable for a planned downtime. - - - - - - - Mutate succeeded but server was unable to build response. Client should not retry mutate. - - - - - - - - - The reasons for the target error. - - - - - - - Assuming that a method will not have more than 3 arguments, if it does, - return NULL - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates an error in parsing an attribute. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Describes reasons for permission errors. - - - - - - - User does not have the required permission for the request. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates that there was an error executing the PQL. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Indicates that there was a PQL syntax error. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - The number of requests made per second is too high and has exceeded the - allowable limit. The recommended approach to handle this error is to wait - about 5 seconds and then retry the request. Note that this does not - guarantee the request will succeed. If it fails again, try increasing the - wait time. - <p>Another way to mitigate this error is to limit requests to 8 per second for Ad Manager - 360 accounts, or 2 per second for Ad Manager accounts. Once again - this does not guarantee that every request will succeed, but may help - reduce the number of times you receive this error. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - This user has exceeded the allowed number of new report requests per hour - (this includes both reports run via the UI and reports - run via {@link ReportService#runReportJob}). - The recommended approach to handle this error is to wait about 10 minutes - and then retry the request. Note that this does not guarantee the request - will succeed. If it fails again, try increasing the wait time. - <p>Another way to mitigate this error is to limit the number of new report - requests to 250 per hour per user. Once again, this does not guarantee that - every request will succeed, but may help reduce the number of times you - receive this error. - - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A required collection is missing. - - - - - - - Collection size is too large. - - - - - - - Collection size is too small. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - Missing required field. - - - - - - - - - Describes reasons for server errors - - - - - - - Indicates that an unexpected error occured. - - - - - - - Indicates that the server is currently experiencing a high load. Please - wait and try your request again. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - - - A bind variable has not been bound to a value. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - The reasons for the target error. - - - - - - - - The input string value contains disallowed characters. - - - - - - - The input string value is invalid for the associated field. - - - - - - - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - - - Creates a new {@link Activity} objects. - - - - - - - - - - - - - - - - - - - A fault element of type ApiException. - - - - - - - Gets an {@link ActivityPage} of {@link Activity} objects that satisfy the given {@link - Statement#query}. The following fields are supported for filtering: - - <table> - <tr> - <th scope="col">PQL Property</th> <th scope="col">Object Property</th> - </tr> - <tr> - <td>{@code id}</td> - <td>{@link Activity#id}</td> - </tr> - <tr> - <td>{@code name}</td> - <td>{@link Activity#name}</td> - </tr> - <tr> - <td>{@code expectedURL}</td> - <td>{@link Activity#expectedURL}</td> - </tr> - <tr> - <td>{@code status}</td> - <td>{@link Activity#status}</td> - </tr> - <tr> - <td>{@code activityGroupId}</td> - <td>{@link Activity#activityGroupId}</td> - </tr> - </table> - - - - - - - - - - - - - - - - - - - Updates the specified {@link Activity} objects. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - As of February 22, 2024 this service will become read only as part of Spotlight deprecation, <a - href="https://support.google.com/admanager/answer/7519021#spotlight">learn more</a>. - - <p>Provides methods for creating, updating and retrieving {@link Activity} objects. - - <p>An activity group contains {@link Activity} objects. Activities have a many-to-one - relationship with activity groups, meaning each activity can belong to only one activity group, - but activity groups can have multiple activities. An activity group can be used to manage the - activities it contains. - - - - Creates a new {@link Activity} objects. - - - - - - - - Gets an {@link ActivityPage} of {@link Activity} objects that satisfy the given {@link - Statement#query}. The following fields are supported for filtering: - - <table> - <tr> - <th scope="col">PQL Property</th> <th scope="col">Object Property</th> - </tr> - <tr> - <td>{@code id}</td> - <td>{@link Activity#id}</td> - </tr> - <tr> - <td>{@code name}</td> - <td>{@link Activity#name}</td> - </tr> - <tr> - <td>{@code expectedURL}</td> - <td>{@link Activity#expectedURL}</td> - </tr> - <tr> - <td>{@code status}</td> - <td>{@link Activity#status}</td> - </tr> - <tr> - <td>{@code activityGroupId}</td> - <td>{@link Activity#activityGroupId}</td> - </tr> - </table> - - - - - - - - Updates the specified {@link Activity} objects. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/wsdls/apis/ads/publisher/v202308/CreativeReviewService.wsdl b/resources/wsdls/apis/ads/publisher/v202308/CreativeReviewService.wsdl deleted file mode 100644 index 3d5910755..000000000 --- a/resources/wsdls/apis/ads/publisher/v202308/CreativeReviewService.wsdl +++ /dev/null @@ -1,584 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This attribute is read-only. - - - - - - - This attribute is read-only. - - - - - - - This attribute is read-only. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This represents an entry in a map with a key of type String - and value of type Value. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets a {@link CreativeReviewPage} of {@link CreativeReview} objects that satisfy the given - {@link Statement#query}. This will allow you to review creatives that have displayed (or could - have displayed) on your pages or apps in the last 30 days. To ensure that you are always - reviewing the most important creatives first, the {@link CreativeReview} objects are ranked - according to the number of impressions that they've received. - - <p>This feature is not yet openly available. Publishers will need to apply for access for this - feature through their account managers. - - - - - - - - - - - - - - - - - - - A fault element of type ApiException. - - - - - - - - - - - - - - - - - - - - - - - - - - Gets a {@link CreativeReviewPage} of {@link CreativeReview} objects that satisfy the given - {@link Statement#query}. This will allow you to review creatives that have displayed (or could - have displayed) on your pages or apps in the last 30 days. To ensure that you are always - reviewing the most important creatives first, the {@link CreativeReview} objects are ranked - according to the number of impressions that they've received. - - <p>This feature is not yet openly available. Publishers will need to apply for access for this - feature through their account managers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/wsdls/apis/ads/publisher/v202311/InventoryService.wsdl b/resources/wsdls/apis/ads/publisher/v202311/InventoryService.wsdl index 1329ed644..19031a42f 100644 --- a/resources/wsdls/apis/ads/publisher/v202311/InventoryService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202311/InventoryService.wsdl @@ -1727,7 +1727,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1742,7 +1742,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1750,7 +1750,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1758,7 +1758,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202311/LineItemCreativeAssociationService.wsdl b/resources/wsdls/apis/ads/publisher/v202311/LineItemCreativeAssociationService.wsdl index 357d7fd31..c5a1d3400 100644 --- a/resources/wsdls/apis/ads/publisher/v202311/LineItemCreativeAssociationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202311/LineItemCreativeAssociationService.wsdl @@ -1799,7 +1799,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1814,7 +1814,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1822,7 +1822,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1830,7 +1830,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202311/PublisherQueryLanguageService.wsdl b/resources/wsdls/apis/ads/publisher/v202311/PublisherQueryLanguageService.wsdl index d2bbcc5bd..e1b5e89a7 100644 --- a/resources/wsdls/apis/ads/publisher/v202311/PublisherQueryLanguageService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202311/PublisherQueryLanguageService.wsdl @@ -5288,7 +5288,7 @@ <td>The status of the third party company</td> </tr> </table> - <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AccountStatus</td><td><code>Text</code></td><td>The account status of the child publisher&#39;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}.</td></tr><tr><td>AgreementStatus</td><td><code>Text</code></td><td>Status 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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table> + <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2>The global set of rich media ad companies that are known to Google.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AccountStatus</td><td><code>Text</code></td><td>The account status of the child publisher&#39;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}.</td></tr><tr><td>AgreementStatus</td><td><code>Text</code></td><td>Status 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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table> diff --git a/resources/wsdls/apis/ads/publisher/v202311/SiteService.wsdl b/resources/wsdls/apis/ads/publisher/v202311/SiteService.wsdl index 7dd1d150f..fc71227fa 100644 --- a/resources/wsdls/apis/ads/publisher/v202311/SiteService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202311/SiteService.wsdl @@ -23,6 +23,15 @@ + + + + + + + + + @@ -399,6 +408,17 @@ + + + + + + + + + + + diff --git a/resources/wsdls/apis/ads/publisher/v202402/InventoryService.wsdl b/resources/wsdls/apis/ads/publisher/v202402/InventoryService.wsdl index eac66686f..6c7a6a3da 100644 --- a/resources/wsdls/apis/ads/publisher/v202402/InventoryService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202402/InventoryService.wsdl @@ -1727,7 +1727,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1742,7 +1742,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1750,7 +1750,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1758,7 +1758,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202402/LineItemCreativeAssociationService.wsdl b/resources/wsdls/apis/ads/publisher/v202402/LineItemCreativeAssociationService.wsdl index ee544fce2..c45fd6e60 100644 --- a/resources/wsdls/apis/ads/publisher/v202402/LineItemCreativeAssociationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202402/LineItemCreativeAssociationService.wsdl @@ -1799,7 +1799,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1814,7 +1814,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1822,7 +1822,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1830,7 +1830,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202402/PublisherQueryLanguageService.wsdl b/resources/wsdls/apis/ads/publisher/v202402/PublisherQueryLanguageService.wsdl index f3751b3d8..66cb0f6a3 100644 --- a/resources/wsdls/apis/ads/publisher/v202402/PublisherQueryLanguageService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202402/PublisherQueryLanguageService.wsdl @@ -5295,7 +5295,7 @@ <td>The status of the third party company</td> </tr> </table> - <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>IsAgency</td><td><code>Boolean</code></td><td>Whether the buyer is an advertising agency.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AccountStatus</td><td><code>Text</code></td><td>The account status of the child publisher&#39;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}.</td></tr><tr><td>AddressVerificationExpirationTime</td><td><code>Datetime</code></td><td>Date when the child publisher&#39;s address verification (mail PIN) will expire.</td></tr><tr><td>AddressVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s address verification (mail PIN) process.</td></tr><tr><td>AddressVerificationStatus</td><td><code>Text</code></td><td>The address verification (mail PIN) status of the child publisher&#39;s Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>AgreementStatus</td><td><code>Text</code></td><td>Status 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}.</td></tr><tr><td>ApprovalStatus</td><td><code>Text</code></td><td>The approval status of the child publisher&#39;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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>IdentityVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s identity verification process.</td></tr><tr><td>IdentityVerificationStatus</td><td><code>Text</code></td><td>Status of the child publisher&#39;s identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>InvitationStatus</td><td><code>Text</code></td><td>Status of the parent&#39;s invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>ReadinessStatus</td><td><code>Text</code></td><td>Overall 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}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table> + <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>IsAgency</td><td><code>Boolean</code></td><td>Whether the buyer is an advertising agency.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2>The global set of rich media ad companies that are known to Google.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AccountStatus</td><td><code>Text</code></td><td>The account status of the child publisher&#39;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}.</td></tr><tr><td>AddressVerificationExpirationTime</td><td><code>Datetime</code></td><td>Date when the child publisher&#39;s address verification (mail PIN) will expire.</td></tr><tr><td>AddressVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s address verification (mail PIN) process.</td></tr><tr><td>AddressVerificationStatus</td><td><code>Text</code></td><td>The address verification (mail PIN) status of the child publisher&#39;s Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>AgreementStatus</td><td><code>Text</code></td><td>Status 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}.</td></tr><tr><td>ApprovalStatus</td><td><code>Text</code></td><td>The approval status of the child publisher&#39;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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>IdentityVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s identity verification process.</td></tr><tr><td>IdentityVerificationStatus</td><td><code>Text</code></td><td>Status of the child publisher&#39;s identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>InvitationStatus</td><td><code>Text</code></td><td>Status of the parent&#39;s invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>ReadinessStatus</td><td><code>Text</code></td><td>Overall 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}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table> diff --git a/resources/wsdls/apis/ads/publisher/v202402/SiteService.wsdl b/resources/wsdls/apis/ads/publisher/v202402/SiteService.wsdl index c9e3f6860..c69ffd9ad 100644 --- a/resources/wsdls/apis/ads/publisher/v202402/SiteService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202402/SiteService.wsdl @@ -23,6 +23,15 @@ + + + + + + + + + @@ -399,6 +408,17 @@ + + + + + + + + + + + diff --git a/resources/wsdls/apis/ads/publisher/v202405/InventoryService.wsdl b/resources/wsdls/apis/ads/publisher/v202405/InventoryService.wsdl index 564f3c760..5df490419 100644 --- a/resources/wsdls/apis/ads/publisher/v202405/InventoryService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202405/InventoryService.wsdl @@ -1727,7 +1727,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1742,7 +1742,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1750,7 +1750,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1758,7 +1758,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202405/LineItemCreativeAssociationService.wsdl b/resources/wsdls/apis/ads/publisher/v202405/LineItemCreativeAssociationService.wsdl index a88cfa98f..ca0ebfa2f 100644 --- a/resources/wsdls/apis/ads/publisher/v202405/LineItemCreativeAssociationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202405/LineItemCreativeAssociationService.wsdl @@ -1799,7 +1799,7 @@ - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1814,7 +1814,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1822,7 +1822,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1830,7 +1830,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. diff --git a/resources/wsdls/apis/ads/publisher/v202405/PublisherQueryLanguageService.wsdl b/resources/wsdls/apis/ads/publisher/v202405/PublisherQueryLanguageService.wsdl index 8e2f019db..db66c816d 100644 --- a/resources/wsdls/apis/ads/publisher/v202405/PublisherQueryLanguageService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202405/PublisherQueryLanguageService.wsdl @@ -5295,7 +5295,7 @@ <td>The status of the third party company</td> </tr> </table> - <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>IsAgency</td><td><code>Boolean</code></td><td>Whether the buyer is an advertising agency.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AddressVerificationExpirationTime</td><td><code>Datetime</code></td><td>Date when the child publisher&#39;s address verification (mail PIN) will expire.</td></tr><tr><td>AddressVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s address verification (mail PIN) process.</td></tr><tr><td>AddressVerificationStatus</td><td><code>Text</code></td><td>The address verification (mail PIN) status of the child publisher&#39;s Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>ApprovalStatus</td><td><code>Text</code></td><td>The approval status of the child publisher&#39;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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>IdentityVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s identity verification process.</td></tr><tr><td>IdentityVerificationStatus</td><td><code>Text</code></td><td>Status of the child publisher&#39;s identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>InvitationStatus</td><td><code>Text</code></td><td>Status of the parent&#39;s invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>ReadinessStatus</td><td><code>Text</code></td><td>Overall 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}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table><h2 id="content_label">content_label</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the Content Label</td></tr><tr><td>Label</td><td><code>Text</code></td><td>The name of the Content Label</td></tr></table> + <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>IsAgency</td><td><code>Boolean</code></td><td>Whether the buyer is an advertising agency.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2>The global set of rich media ad companies that are known to Google.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AddressVerificationExpirationTime</td><td><code>Datetime</code></td><td>Date when the child publisher&#39;s address verification (mail PIN) will expire.</td></tr><tr><td>AddressVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s address verification (mail PIN) process.</td></tr><tr><td>AddressVerificationStatus</td><td><code>Text</code></td><td>The address verification (mail PIN) status of the child publisher&#39;s Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>ApprovalStatus</td><td><code>Text</code></td><td>The approval status of the child publisher&#39;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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>IdentityVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s identity verification process.</td></tr><tr><td>IdentityVerificationStatus</td><td><code>Text</code></td><td>Status of the child publisher&#39;s identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>InvitationStatus</td><td><code>Text</code></td><td>Status of the parent&#39;s invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>ReadinessStatus</td><td><code>Text</code></td><td>Overall 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}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table><h2 id="content_label">content_label</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the Content Label</td></tr><tr><td>Label</td><td><code>Text</code></td><td>The name of the Content Label</td></tr></table> diff --git a/resources/wsdls/apis/ads/publisher/v202405/SiteService.wsdl b/resources/wsdls/apis/ads/publisher/v202405/SiteService.wsdl index 2fd1d5675..12643ff85 100644 --- a/resources/wsdls/apis/ads/publisher/v202405/SiteService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202405/SiteService.wsdl @@ -23,6 +23,15 @@ + + + + + + + + + @@ -399,6 +408,17 @@ + + + + + + + + + + + diff --git a/resources/wsdls/apis/ads/publisher/v202308/AdRuleService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/AdRuleService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/AdRuleService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/AdRuleService.wsdl index 7be1efca0..fde95790f 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/AdRuleService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/AdRuleService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1111,6 +1111,17 @@ + + + + Content label targeting information. + + + + + + @@ -2747,6 +2758,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -2916,6 +2944,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -3902,20 +3943,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -4740,6 +4767,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -5693,7 +5730,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/AdjustmentService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/AdjustmentService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/AdjustmentService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/AdjustmentService.wsdl index b096c63a0..7020c9fb7 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/AdjustmentService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/AdjustmentService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -469,6 +469,17 @@ + + + + Content label targeting information. + + + + + + @@ -2520,6 +2531,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -2840,6 +2868,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -3445,20 +3486,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -3891,6 +3918,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -4797,6 +4831,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -5694,7 +5738,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202408/AdsTxtService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/AdsTxtService.wsdl new file mode 100644 index 000000000..93665c9c9 --- /dev/null +++ b/resources/wsdls/apis/ads/publisher/v202408/AdsTxtService.wsdl @@ -0,0 +1,444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the download URL String for the MCM Manage Inventory SupplyChain diagnostics report. + The report is refreshed twice daily. + + + + + + + + + + + + + + + + + A fault element of type ApiException. + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the download URL String for the MCM Manage Inventory SupplyChain diagnostics report. + The report is refreshed twice daily. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/wsdls/apis/ads/publisher/v202308/AudienceSegmentService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/AudienceSegmentService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/AudienceSegmentService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/AudienceSegmentService.wsdl index 61f18120b..368472916 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/AudienceSegmentService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/AudienceSegmentService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -2006,20 +2006,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -2324,6 +2310,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -2587,6 +2580,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3287,7 +3290,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CdnConfigurationService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CdnConfigurationService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CdnConfigurationService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CdnConfigurationService.wsdl index 9947941ba..52d4c0ab7 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CdnConfigurationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CdnConfigurationService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1691,6 +1691,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2131,7 +2141,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CmsMetadataService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CmsMetadataService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CmsMetadataService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CmsMetadataService.wsdl index 9b9d26bec..0b5172394 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CmsMetadataService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CmsMetadataService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1490,6 +1490,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1966,7 +1976,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CompanyService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CompanyService.wsdl similarity index 97% rename from resources/wsdls/apis/ads/publisher/v202308/CompanyService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CompanyService.wsdl index 08dddc3b2..0554c218b 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CompanyService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CompanyService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -418,13 +418,6 @@ - - - - Specifies the default billing settings of this {@code Company}. This attribute is optional. - - - @@ -527,14 +520,6 @@ - - - - Settings for a {@link Company}. - - - - @@ -2542,6 +2527,27 @@ + + + + An MCM parent revenue share must be between 0 to 100_000L in millis. + + + + + + + An MCM reseller parent revenue share must be 100_000L in millis. + + + + + + + An MCM Manage Inventory parent revenue share must be 100_000L in millis. + + + @@ -2556,6 +2562,62 @@ + + + + The MCM child network has been disapproved by Google. + + + + + + + Manage inventory is not supported in reseller network. + + + + + + + Cannot send MCM invitation to a MCM parent. + + + + + + + A non-reseller MCM parent cannot send invitation to child which has another reseller parent. + + + + + + + Cannot send MCM invitation to self. + + + + + + + An MCM parent network cannot be disabled as parent with active children. + + + + + + + Cannot turn on MCM feature flag on a MCM Child network with active invitations. + + + + + + + An Ad Exchange account is required for an MCM parent network. + + + @@ -2593,10 +2655,10 @@ - + - The currency cannot be deleted as it is still being used by active rate cards. + The data transfer config cannot have a deprecated event type. @@ -2882,6 +2944,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3478,7 +3550,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ContactService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ContactService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/ContactService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ContactService.wsdl index 5dcb73eb6..e1702fa2f 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ContactService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ContactService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1438,6 +1438,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1845,7 +1855,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ContentBundleService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ContentBundleService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/ContentBundleService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ContentBundleService.wsdl index 6657ee58b..6f781d654 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ContentBundleService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ContentBundleService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1445,6 +1445,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1878,7 +1888,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ContentService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ContentService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/ContentService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ContentService.wsdl index 7694d678b..663f6dc1c 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ContentService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ContentService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1528,6 +1528,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1836,6 +1846,14 @@ + + + + The subtitles sent to DAI are too large. The trigger for this error is the URL that points to + the master playlist. + + + @@ -2348,7 +2366,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CreativeService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CreativeService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CreativeService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CreativeService.wsdl index 3c8e70fa8..af2485670 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CreativeService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CreativeService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1172,6 +1172,22 @@ + + + + Whether the creative has ad badging enabled. + + <p>Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, + {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code + CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code + CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code + CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, + {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types. + + <p>. Defaults to true for all other creative types. + + + @@ -3530,6 +3546,20 @@ + + + + The ad ID is registered with ARPP Pub-ID. + + + + + + + The ad ID is registered with Auditel Spot ID. + + + @@ -4864,6 +4894,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -6264,6 +6301,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -7374,7 +7421,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CreativeSetService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CreativeSetService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CreativeSetService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CreativeSetService.wsdl index e590a263c..61d699f90 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CreativeSetService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CreativeSetService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -2130,6 +2130,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -2851,6 +2858,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3493,7 +3510,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CreativeTemplateService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CreativeTemplateService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CreativeTemplateService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CreativeTemplateService.wsdl index 1e7b2013b..cb98a5bb7 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CreativeTemplateService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CreativeTemplateService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1863,6 +1863,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2158,7 +2168,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CreativeWrapperService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CreativeWrapperService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/CreativeWrapperService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CreativeWrapperService.wsdl index 421d454df..c5ee74ce0 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CreativeWrapperService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CreativeWrapperService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1537,6 +1537,14 @@ + + + + Cannot apply {@link LabelType#CREATIVE_WRAPPER} labels to an ad unit if the label is not + associated with a creative wrapper. + + + @@ -1929,6 +1937,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2363,7 +2381,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CustomFieldService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CustomFieldService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CustomFieldService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CustomFieldService.wsdl index 69a23ed96..e29d66a95 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CustomFieldService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CustomFieldService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1290,20 +1290,6 @@ - - - - Represents the {@link ProductTemplate} type. - - - - - - - Represents the {@link Product} type. - - - @@ -1472,6 +1458,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1718,6 +1711,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2320,7 +2323,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/CustomTargetingService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/CustomTargetingService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/CustomTargetingService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/CustomTargetingService.wsdl index e7100edae..faf3ba956 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/CustomTargetingService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/CustomTargetingService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1527,20 +1527,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -2000,6 +1986,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -2246,6 +2239,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3014,7 +3017,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/DaiAuthenticationKeyService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/DaiAuthenticationKeyService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/DaiAuthenticationKeyService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/DaiAuthenticationKeyService.wsdl index d253e4c90..3260aaa50 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/DaiAuthenticationKeyService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/DaiAuthenticationKeyService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1432,6 +1432,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1859,7 +1869,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/DaiEncodingProfileService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/DaiEncodingProfileService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/DaiEncodingProfileService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/DaiEncodingProfileService.wsdl index fee79b345..5c4ebc6b0 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/DaiEncodingProfileService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/DaiEncodingProfileService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -360,18 +360,6 @@ - - - - Whether to allow the creation or modification of this {@link DaiEncodingProfile} if its - settings do not match one of the encoding profiles that is supported by Google DAI. - - <p>Note that this field will not persist on the encoding profile itself, and will only affect - the current request. - - - @@ -1643,6 +1631,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1890,6 +1885,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2352,7 +2357,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ForecastService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ForecastService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/ForecastService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ForecastService.wsdl index 193a5e0c4..c606af7e9 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ForecastService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ForecastService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -862,6 +862,17 @@ + + + + Content label targeting information. + + + + + + @@ -2256,17 +2267,6 @@ - - - - Specifies the impression goal for the given target demographic. This field is only applicable - if {@link #provider} is not null and demographics-based goal is selected by the user. If this - field is set, {@link LineItem#primaryGoal} will have its {@link Goal#units} value set by Google - to represent the estimated total quantity. - - - @@ -3977,18 +3977,6 @@ - - - - The time zone ID in tz database format (e.g. "America/Los_Angeles") for this {@code - ProposalLineItem}. The number of serving days is calculated in this time zone. So if {@link - #rateType} is {@link RateType#CPD}, it will affect the cost calculation. The {@link - #startDateTime} and {@link #endDateTime} will be returned in this time zone. This attribute is - optional and defaults to the network's time zone. - This attribute is read-only. - - - @@ -4336,15 +4324,6 @@ - - - - Whether or not the {@link Proposal} for this {@code ProposalLineItem} is a programmatic deal. - This attribute is populated from {@link Proposal#isProgrammatic}. - This attribute is read-only. - - - @@ -5145,6 +5124,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -5621,6 +5617,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -7436,20 +7445,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -8099,6 +8094,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -8245,6 +8247,7 @@ + @@ -10820,6 +10823,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -10850,13 +10863,6 @@ - - - - The rate applies to cost per click (CPC) revenue. - - - @@ -10864,20 +10870,6 @@ - - - - The rate applies to cost per unit (CPU) revenue. - - - - - - - The rate applies to flat fee revenue. - - - @@ -11193,6 +11185,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -11872,6 +11871,8 @@ + + @@ -12902,7 +12903,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/InventoryService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/InventoryService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/InventoryService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/InventoryService.wsdl index 487ba9298..3bc4777dc 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/InventoryService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/InventoryService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1724,10 +1724,25 @@ + + + + An error occurred while a user without a valid AdSense account trying to access an Ads + frontend. + + + + + + + An error occurred while AdSense denied access. + + + - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1742,7 +1757,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1750,7 +1765,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1758,7 +1773,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. @@ -2357,6 +2372,14 @@ + + + + Cannot apply {@link LabelType#CREATIVE_WRAPPER} labels to an ad unit if the label is not + associated with a creative wrapper. + + + @@ -2702,6 +2725,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -2764,6 +2794,7 @@ + @@ -3307,6 +3338,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3997,7 +4038,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/LabelService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/LabelService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/LabelService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/LabelService.wsdl index 01a5e0962..07d0477b7 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/LabelService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/LabelService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1267,6 +1267,14 @@ + + + + Cannot apply {@link LabelType#CREATIVE_WRAPPER} labels to an ad unit if the label is not + associated with a creative wrapper. + + + @@ -1610,6 +1618,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2027,7 +2045,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/LineItemCreativeAssociationService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/LineItemCreativeAssociationService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/LineItemCreativeAssociationService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/LineItemCreativeAssociationService.wsdl index 2124ac994..62a43de28 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/LineItemCreativeAssociationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/LineItemCreativeAssociationService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1796,10 +1796,25 @@ + + + + An error occurred while a user without a valid AdSense account trying to access an Ads + frontend. + + + + + + + An error occurred while AdSense denied access. + + + - An error occured while trying to get an associated web property's ad slots. Unable to + An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. @@ -1814,7 +1829,7 @@ - An error occured while trying to retrieve account statues from AdSense API. Unable to + An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. @@ -1822,7 +1837,7 @@ - An error occured while trying to resend the account association verification email. Error + An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. @@ -1830,7 +1845,7 @@ - An error occured while trying to retrieve a response from the AdSense API. There was a + An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. @@ -3147,6 +3162,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -4792,6 +4814,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -5734,7 +5766,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/LineItemService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/LineItemService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/LineItemService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/LineItemService.wsdl index 5c1cbc60b..6a40f03ae 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/LineItemService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/LineItemService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -603,6 +603,17 @@ + + + + Content label targeting information. + + + + + + @@ -1804,17 +1815,6 @@ - - - - Specifies the impression goal for the given target demographic. This field is only applicable - if {@link #provider} is not null and demographics-based goal is selected by the user. If this - field is set, {@link LineItem#primaryGoal} will have its {@link Goal#units} value set by Google - to represent the estimated total quantity. - - - @@ -4190,6 +4190,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -4578,6 +4595,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -6338,20 +6368,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -6980,6 +6996,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -7126,6 +7149,7 @@ + @@ -9644,6 +9668,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -9951,6 +9985,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -11681,7 +11722,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/LineItemTemplateService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/LineItemTemplateService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/LineItemTemplateService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/LineItemTemplateService.wsdl index f422317b6..518513744 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/LineItemTemplateService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/LineItemTemplateService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -2913,20 +2913,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -3426,6 +3412,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -3549,6 +3542,7 @@ + @@ -5751,6 +5745,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -6019,6 +6023,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -6879,7 +6890,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/LiveStreamEventService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/LiveStreamEventService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/LiveStreamEventService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/LiveStreamEventService.wsdl index 2e5841a12..dbbe796df 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/LiveStreamEventService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/LiveStreamEventService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -767,6 +767,16 @@ + + + + The duration (in seconds) that can be used when stitching ads for each livestream event. This + attribute is only available for Pod Serving HLS Segment Redirect and Pod Serving Dash Segment + Redirect. + + + @@ -1750,6 +1760,15 @@ + + + + Ad break should be filled with mostly underlying content. When ad content can't be aligned with + underlying content during transition, the gap will be bridged with slate to maintain the + timeline. + + + @@ -2238,6 +2257,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -2898,6 +2924,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -3866,7 +3902,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/MobileApplicationService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/MobileApplicationService.wsdl similarity index 90% rename from resources/wsdls/apis/ads/publisher/v202308/MobileApplicationService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/MobileApplicationService.wsdl index 652f0d55a..31f4aead7 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/MobileApplicationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/MobileApplicationService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -493,6 +493,13 @@ + + + + The approval status for the mobile application. + + + @@ -1289,6 +1296,57 @@ + + + + The approval status of the mobile application. + + + + + + + Unknown approval status. + + + + + + + The application is not yet ready for review. + + + + + + + The application has not yet been reviewed. + + + + + + + The application can serve ads. + + + + + + + The application failed approval checks and it cannot serve any ads. + + + + + + + The application is disapproved but has a pending review status, signaling an appeal. + + + + + @@ -1303,6 +1361,139 @@ + + + + Exchange partner settings were invalid. + + + + + + + API encountered an unexpected internal error. + + + + + + + At least one of app name or app store id must be set. + + + + + + + The number of active applications exceeds the max number allowed in the network. + + + + + + + Application store id fetched from the internal application catalog is too long. + + + + + + + Manually entered app name cannot be longer than 80 characters. + + + + + + + Manually entered app name cannot be empty. + + + + + + + Invalid combined product key from app store and store id combinations. + + + + + + + Only Android apps are eligible to skip for store id verification. + + + + + + + Linked app cannot be found. + + + + + + + Missing store entry. + + + + + + + Store entry has an unspecified app store. + + + + + + + Store entry has an empty store id. + + + + + + + Store entry is not unique among publisher's active apps. + + + + + + + App store id is not unique among publisher's active apps of the same platform. + + + + + + + The Android package name format is invalid. + + + + + + + App store list should contain app stores from same platform. + + + + + + + App store list should not contain UNKNOWN app store. + + + + + + + App store list should contain existing first party stores. + + + @@ -1333,6 +1524,7 @@ + @@ -1361,6 +1553,7 @@ + @@ -1539,6 +1732,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1966,7 +2169,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/NativeStyleService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/NativeStyleService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/NativeStyleService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/NativeStyleService.wsdl index ccbf0ad7a..1b00f2d87 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/NativeStyleService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/NativeStyleService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -481,6 +481,17 @@ + + + + Content label targeting information. + + + + + + @@ -2294,6 +2305,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -2470,6 +2498,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -3172,20 +3213,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -4233,6 +4260,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -4833,7 +4870,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/NetworkService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/NetworkService.wsdl similarity index 87% rename from resources/wsdls/apis/ads/publisher/v202308/NetworkService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/NetworkService.wsdl index 04e6183f2..e1c4dccf5 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/NetworkService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/NetworkService.wsdl @@ -2,107 +2,20 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> - - - - A {@code ChildPublisher} represents a network being managed as part of Multiple Customer - Management. - - - - - - - Type of delegation the parent has been approved to have over the child. This field is - read-only, and set to the proposed delegation type value {@code proposedDelegationType} upon - approval by the child network. The value remains null if the parent network has not been - approved. - - - - - - - Type of delegation the parent has proposed to have over the child, pending approval of the - child network. Set the value of this field to the delegation type you intend this network to - have over the child network. Upon approval by the child network, its value is copied to {@code - approvedDelegationType}, and {@code proposedDelegationType} is set to null. - - - - - - - Status of the delegation relationship between parent and child. - - - - - - - Status of the child publisher's Ad Manager account based on {@code ChildPublisher#status} as - well as Google's policy verification results. This field is read-only. - - - - - - - Network code of child network. - - - - - - - The child publisher's seller ID, as specified in the parent publisher's sellers.json file. - - <p>This field is only relevant for Manage Inventory child publishers. - - - - - - - The proposed revenue share that the parent publisher will receive in millipercentage (values 0 - to 100000) for Manage Account proposals. For example, 15% is 15000 millipercent. - - <p>For updates, this field is read-only. Use company actions to propose new revenue share - agreements for existing MCM children. This field is ignored for Manage Inventory proposals. - - - - - - - The child publisher's pending onboarding tasks. - - <p>This will only be populated if the child publisher's {@code AccountStatus} is {@code - PENDING_GOOGLE_APPROVAL}. - This attribute is read-only. - - - - - @@ -356,6 +269,20 @@ + + + + An error for multiple customer management. + + + + + + + + + + @@ -433,17 +360,6 @@ - - - - The child networks that have been invited by, have approved, or have rejected this parent - network for Multiple Customer Management. Ordered by an internal identifier. - - <p>This field is read-only - - - @@ -819,191 +735,6 @@ - - - - Status of the association between networks. When a parent network requests access, it is marked - as pending. Once the child network approves, it is marked as approved. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - The association request from the parent network is approved by the child network. - - - - - - - The association request from the parent network is pending child network approval or rejection. - - - - - - - The association request from the parent network is rejected or revoked by the child network. - - - - - - - The association request from the parent network is withdrawn by the parent network. - - - - - - - - - The type of delegation of the child network to the parent network in MCM. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - The parent network gets complete access to the child network's account - - - - - - - A subset of the ad requests from the child are delegated to the parent, determined by the tag - on the child network's web pages. The parent network does not have access to the child network, - as a subset of the inventory could be owned and operated by the child network. - - - - - - - - - Status of the MCM child publisher's Ad Manager account with respect to delegated serving. In - order for the child network to be served ads for MCM, it must have accepted the invite from the - parent network, and must have passed Google's policy compliance verifications. - - - - - - - The value returned if the actual value is not exposed by the requested API version. - - - - - - - The child publisher has not acted on the invite from the parent. - - - - - - - The child publisher has declined the invite. - - - - - - - The child publisher has accepted the invite, and is awaiting Google's policy compliance - verifications. - - - - - - - The child publisher accepted the invite, and Google found it to be compliant with its policies, - i.e. no policy violations were found, and the child publisher can be served ads. - - - - - - - The child publisher accepted the invite, but was disapproved by Google for violating its - policies. - - - - - - - The child publisher accepted the invite, but was disapproved by Google for invalid activity. - - - - - - - The child publisher has closed their own account. - - - - - - - The child publisher accepted the invite, but was disapproved as ineligible by Google. - - - - - - - The child publisher accepted the invite, but was disapproved by Google for being a duplicate of - another account. - - - - - - - The invite was sent to the child publisher more than 90 days ago, due to which it has been - deactivated. - - - - - - - Either the child publisher disconnected from the parent network, or the parent network withdrew - the invite. - - - - - - - The association between the parent and child publishers was deactivated by Google Ad Manager. - - - - - @@ -1445,6 +1176,113 @@ + + + + Possible reasons for {@link McmError} + + + + + + + The value returned if the actual value is not exposed by the requested API version. + + + + + + + An MCM parent revenue share must be between 0 to 100_000L in millis. + + + + + + + An MCM reseller parent revenue share must be 100_000L in millis. + + + + + + + An MCM Manage Inventory parent revenue share must be 100_000L in millis. + + + + + + + The network code is used by another child publisher. + + + + + + + The email is used by another active child publisher. + + + + + + + The MCM child network has been disapproved by Google. + + + + + + + Manage inventory is not supported in reseller network. + + + + + + + Cannot send MCM invitation to a MCM parent. + + + + + + + A non-reseller MCM parent cannot send invitation to child which has another reseller parent. + + + + + + + Cannot send MCM invitation to self. + + + + + + + An MCM parent network cannot be disabled as parent with active children. + + + + + + + Cannot turn on MCM feature flag on a MCM Child network with active invitations. + + + + + + + An Ad Exchange account is required for an MCM parent network. + + + + + @@ -1480,10 +1318,10 @@ - + - The currency cannot be deleted as it is still being used by active rate cards. + The data transfer config cannot have a deprecated event type. @@ -1588,38 +1426,6 @@ - - - - Pending onboarding tasks for the child publishers that must completed before Google's policy - compliance is verified. - - - - - - - - Creation of the child publisher's payments billing profile. - - - - - - - Verification of the child publisher's phone number. - - - - - - - Setup of the child publisher's Ad Manager account. - - - - - @@ -1775,6 +1581,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2345,7 +2161,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/OrderService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/OrderService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/OrderService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/OrderService.wsdl index f90c66605..96e2e7782 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/OrderService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/OrderService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -3468,20 +3468,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -3945,6 +3931,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -4068,6 +4061,7 @@ + @@ -6232,6 +6226,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -6500,6 +6504,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -7558,7 +7569,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/PlacementService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/PlacementService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/PlacementService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/PlacementService.wsdl index dda9e793b..f6a8e238c 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/PlacementService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/PlacementService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1462,6 +1462,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1784,6 +1791,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2259,7 +2276,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ProposalLineItemService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ProposalLineItemService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/ProposalLineItemService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ProposalLineItemService.wsdl index 712cbf100..51fa4197a 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ProposalLineItemService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ProposalLineItemService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -530,6 +530,17 @@ + + + + Content label targeting information. + + + + + + @@ -1638,17 +1649,6 @@ - - - - Specifies the impression goal for the given target demographic. This field is only applicable - if {@link #provider} is not null and demographics-based goal is selected by the user. If this - field is set, {@link LineItem#primaryGoal} will have its {@link Goal#units} value set by Google - to represent the estimated total quantity. - - - @@ -2371,6 +2371,26 @@ + + + + Errors associated with programmatic line items. + + + + + + + + + The error reason represented by an enum. + + + + + + + @@ -2497,18 +2517,6 @@ - - - - The time zone ID in tz database format (e.g. "America/Los_Angeles") for this {@code - ProposalLineItem}. The number of serving days is calculated in this time zone. So if {@link - #rateType} is {@link RateType#CPD}, it will affect the cost calculation. The {@link - #startDateTime} and {@link #endDateTime} will be returned in this time zone. This attribute is - optional and defaults to the network's time zone. - This attribute is read-only. - - - @@ -2856,15 +2864,6 @@ - - - - Whether or not the {@link Proposal} for this {@code ProposalLineItem} is a programmatic deal. - This attribute is populated from {@link Proposal#isProgrammatic}. - This attribute is read-only. - - - @@ -3671,6 +3670,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -4045,6 +4061,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -5037,20 +5066,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -5761,6 +5776,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -5965,6 +5987,7 @@ + @@ -7668,6 +7691,118 @@ + + + + Possible error reasons for a programmatic error. + + + + + + + Audience extension is not supported by programmatic line items. + + + + + + + Auto extension days is not supported by programmatic line items. + + + + + + + Video is currently not supported. + + + + + + + Roadblocking is not supported by programmatic line items. + + + + + + + Programmatic line items do not support {@link CreativeRotationType#SEQUENTIAL}. + + + + + + + Programmatic line items only support {@link LineItemType#STANDARD} and + {@link LineItemType#SPONSORSHIP} if the relevant feature is on. + + + + + + + Programmatic line items only support {@link CostType#CPM}. + + + + + + + Programmatic line items only support a creative size that is supported by AdX. + The list of supported sizes is maintained based on the list published in the help docs: + <a href="https://support.google.com/adxseller/answer/1100453"> + https://support.google.com/adxseller/answer/1100453</a> + + + + + + + Zero cost per unit is not supported by programmatic line items. + + + + + + + Some fields cannot be updated on approved line items. + + + + + + + Creating a new line item in an approved order is not allowed. + + + + + + + Cannot change backfill web property for a programmatic line item whose order has been + approved. + + + + + + + Cost per unit is too low. It has to be at least 0.005 USD. + + + + + + + The value returned if the actual value is not exposed by the requested API version. + + + + + @@ -8377,6 +8512,14 @@ + + + + Cannot video creative fields on a YouTube-targeted proposal line item once it has been sold + (pushed to an order line item). + + + @@ -8610,6 +8753,14 @@ + + + + Deals with agencies are limited to preferred deals, private auctions, and public + marketplace packages. + + + @@ -8728,6 +8879,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -8758,13 +8919,6 @@ - - - - The rate applies to cost per click (CPC) revenue. - - - @@ -8772,20 +8926,6 @@ - - - - The rate applies to cost per unit (CPU) revenue. - - - - - - - The rate applies to flat fee revenue. - - - @@ -9044,6 +9184,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -10372,7 +10519,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ProposalService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ProposalService.wsdl similarity index 95% rename from resources/wsdls/apis/ads/publisher/v202308/ProposalService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ProposalService.wsdl index 276d838f2..4105f3296 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ProposalService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ProposalService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -655,6 +655,17 @@ + + + + Content label targeting information. + + + + + + @@ -1789,6 +1800,15 @@ + + + + The marketplace ID of this proposal. This is a shared ID between Ad Manager and the buy-side + platform. This value is null if the proposal has not been sent to the buyer. + This attribute is read-only. + + + @@ -2260,6 +2280,26 @@ + + + + Errors associated with programmatic line items. + + + + + + + + + The error reason represented by an enum. + + + + + + + @@ -2617,6 +2657,26 @@ + + + + Lists all errors for makegood proposal line items. + + + + + + + + + The error reason represented by an enum. + + + + + + + @@ -3261,6 +3321,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -3499,6 +3576,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -4583,6 +4673,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -5192,6 +5289,118 @@ + + + + Possible error reasons for a programmatic error. + + + + + + + Audience extension is not supported by programmatic line items. + + + + + + + Auto extension days is not supported by programmatic line items. + + + + + + + Video is currently not supported. + + + + + + + Roadblocking is not supported by programmatic line items. + + + + + + + Programmatic line items do not support {@link CreativeRotationType#SEQUENTIAL}. + + + + + + + Programmatic line items only support {@link LineItemType#STANDARD} and + {@link LineItemType#SPONSORSHIP} if the relevant feature is on. + + + + + + + Programmatic line items only support {@link CostType#CPM}. + + + + + + + Programmatic line items only support a creative size that is supported by AdX. + The list of supported sizes is maintained based on the list published in the help docs: + <a href="https://support.google.com/adxseller/answer/1100453"> + https://support.google.com/adxseller/answer/1100453</a> + + + + + + + Zero cost per unit is not supported by programmatic line items. + + + + + + + Some fields cannot be updated on approved line items. + + + + + + + Creating a new line item in an approved order is not allowed. + + + + + + + Cannot change backfill web property for a programmatic line item whose order has been + approved. + + + + + + + Cost per unit is too low. It has to be at least 0.005 USD. + + + + + + + The value returned if the actual value is not exposed by the requested API version. + + + + + @@ -5892,6 +6101,100 @@ + + + + Cannot video creative fields on a YouTube-targeted proposal line item once it has been sold + (pushed to an order line item). + + + + + + + The value returned if the actual value is not exposed by the requested API version. + + + + + + + + + The reasons for the target error. + + + + + + + The original proposal line item for this makegood already has a makegood. + + + + + + + The original proposal line item for this makegood is itself a makegood. + + + + + + + The original proposal line item for this makegood has not been sold. + + + + + + + This makegood or its original is not a standard line item. + + + + + + + This makegood or its original is not a CPM line item. + + + + + + + This makegood or its original has a cost type not supported on makegoods. + + + + + + + The original proposal line item for this makegood is too far in the past. + + + + + + + This makegood has a rate that's different from the original proposal line item. + + + + + + + This makegood has an impression goal greater than the original proposal line item. + + + + + + + Makegoods are not supported for non-DV360 buyers. + + + @@ -6039,6 +6342,14 @@ + + + + Deals with agencies are limited to preferred deals, private auctions, and public + marketplace packages. + + + @@ -6202,6 +6513,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -7219,7 +7540,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/PublisherQueryLanguageService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/PublisherQueryLanguageService.wsdl similarity index 91% rename from resources/wsdls/apis/ads/publisher/v202308/PublisherQueryLanguageService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/PublisherQueryLanguageService.wsdl index fe8561d31..293db0a71 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/PublisherQueryLanguageService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/PublisherQueryLanguageService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -517,6 +517,17 @@ + + + + Content label targeting information. + + + + + + @@ -2421,6 +2432,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -2597,6 +2625,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -4313,6 +4354,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -4590,6 +4641,13 @@ + + + + CPA {@link LineItem}s can't have end dates older than February 22, 2024. + + + @@ -5278,7 +5336,7 @@ <td>The status of the third party company</td> </tr> </table> - <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AccountStatus</td><td><code>Text</code></td><td>The account status of the child publisher&#39;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}.</td></tr><tr><td>AgreementStatus</td><td><code>Text</code></td><td>Status 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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table> + <h2 id="Line_Item">Line_Item</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CostType</td><td><code>Text</code></td><td>The method used for billing this {@code LineItem}.</td></tr><tr><td>CreationDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last created. This attribute may be null for {@code LineItem}s created before this feature was introduced.</td></tr><tr><td>DeliveryRateType</td><td><code>Text</code></td><td>The strategy for delivering ads over the course of the {@code LineItem}&#39;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.</td></tr><tr><td>EndDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} stops serving.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the {@code LineItem} that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the {@code LineItem}. This attribute is read-only and is assigned by Google when a line item is created.</td></tr><tr><td>IsMissingCreatives</td><td><code>Boolean</code></td><td>Indicates if a {@code LineItem} is missing any {@link Creative creatives} for the {@code creativePlaceholders} specified.</td></tr><tr><td>IsSetTopBoxEnabled</td><td><code>Boolean</code></td><td>Whether or not this line item is set-top box enabled.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this {@code LineItem} was last modified.</td></tr><tr><td>LatestNielsenInTargetRatioMilliPercent</td><td><code>Number</code></td><td>The most recently computed in-target ratio measured from Nielsen reporting data and the {@code LineItem}&#39;s settings. It&#39;s provided in milli percent, or null if not applicable.</td></tr><tr><td>LineItemType</td><td><code>Text</code></td><td>Indicates the line item type of a {@code LineItem}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the {@code LineItem}.</td></tr><tr><td>OrderId</td><td><code>Number</code></td><td>The ID of the {@link Order} to which the {@code LineItem} belongs.</td></tr><tr><td>StartDateTime</td><td><code>Datetime</code></td><td>The date and time on which the {@code LineItem} is enabled to begin serving.</td></tr><tr><td>Status</td><td><code>Text</code></td><td>The status of the {@code LineItem}.</td></tr><tr><td>Targeting</td><td><code>Targeting</code></td><td>The targeting criteria for the ad campaign.</td></tr><tr><td>UnitsBought</td><td><code>Number</code></td><td>The 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.</td></tr></table><h2 id="Ad_Unit">Ad_Unit</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdUnitCode</td><td><code>Text</code></td><td>A 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.</td></tr><tr><td>ExternalSetTopBoxChannelId</td><td><code>Text</code></td><td>The channel ID for set-top box enabled {@link AdUnit ad units}.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>Uniquely identifies the ad unit. This value is read-only and is assigned by Google when an ad unit is created.</td></tr><tr><td>LastModifiedDateTime</td><td><code>Datetime</code></td><td>The date and time this ad unit was last modified.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the ad unit.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the ad unit&#39;s parent. Every ad unit has a parent except for the root ad unit, which is created by Google.</td></tr></table><h2 id="User">User</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Email</td><td><code>Text</code></td><td>The email or login of the user.</td></tr><tr><td>ExternalId</td><td><code>Text</code></td><td>An identifier for the user that is meaningful to the publisher.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique ID of the user.</td></tr><tr><td>IsServiceAccount</td><td><code>Boolean</code></td><td>True if this user is an OAuth2 service account user, false otherwise.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the user.</td></tr><tr><td>RoleId</td><td><code>Number</code></td><td>The unique role ID of the user. {@link Role} objects that are created by Google will have negative IDs.</td></tr><tr><td>RoleName</td><td><code>Text</code></td><td>The name of the {@link Role} assigned to the user.</td></tr></table><h2 id="Programmatic_Buyer">Programmatic_Buyer</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>BuyerAccountId</td><td><code>Number</code></td><td>The ID used by Authorized Buyers to bill the appropriate buyer network for a programmatic order.</td></tr><tr><td>EnabledForPreferredDeals</td><td><code>Boolean</code></td><td>Whether the buyer is allowed to negotiate Preferred Deals.</td></tr><tr><td>EnabledForProgrammaticGuaranteed</td><td><code>Boolean</code></td><td>Whether the buyer is enabled for Programmatic Guaranteed deals.</td></tr><tr><td>IsAgency</td><td><code>Boolean</code></td><td>Whether the buyer is an advertising agency.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Display name that references the buyer.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The ID of the programmatic buyer&#39;s sponsor. If the programmatic buyer has no sponsor, this field will be -1.</td></tr><tr><td>PartnerClientId</td><td><code>Text</code></td><td>ID used to represent Display &amp; Video 360 client buyer partner ID (if Display &amp; Video 360) or Authorized Buyers client buyer account ID.</td></tr></table><h2 id="Audience_Segment_Category">Audience_Segment_Category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment category.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment category.</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>The unique identifier of the audience segment category&#39;s parent.</td></tr></table><h2 id="Audience_Segment">Audience_Segment</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AdIdSize</td><td><code>Number</code></td><td>The number of AdID users in the segment.</td></tr><tr><td>CategoryIds</td><td><code>Set of number</code></td><td>The ids of the categories that this audience segment belongs to.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The unique identifier for the audience segment.</td></tr><tr><td>IdfaSize</td><td><code>Number</code></td><td>The number of IDFA users in the segment.</td></tr><tr><td>MobileWebSize</td><td><code>Number</code></td><td>The number of mobile web users in the segment.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the audience segment.</td></tr><tr><td>OwnerAccountId</td><td><code>Number</code></td><td>The owner account id of the audience segment.</td></tr><tr><td>OwnerName</td><td><code>Text</code></td><td>The owner name of the audience segment.</td></tr><tr><td>PpidSize</td><td><code>Number</code></td><td>The number of PPID users in the segment.</td></tr><tr><td>SegmentType</td><td><code>Text</code></td><td>The type of the audience segment.</td></tr></table><h2 id="Time_Zone">Time_Zone</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Text</code></td><td>The id of time zone in the form of {@code America/New_York}.</td></tr><tr><td>StandardGmtOffset</td><td><code>Text</code></td><td>The standard GMT offset in current time in the form of {@code GMT-05:00} for {@code America/New_York}, excluding the Daylight Saving Time.</td></tr></table><h2 id="Proposal_Terms_And_Conditions">Proposal_Terms_And_Conditions</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr></table><h2 id="Change_History">Change_History</h2>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 &quot;WHERE Id &lt; :id&quot;}. On each query, both an upper bound and a lower bound for the {@code ChangeDateTime} are required.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChangeDateTime</td><td><code>Datetime</code></td><td>The date and time this change happened.</td></tr><tr><td>EntityId</td><td><code>Number</code></td><td>The ID of the entity that was changed.</td></tr><tr><td>EntityType</td><td><code>Text</code></td><td>The {@link ChangeHistoryEntityType type} of the entity that was changed.</td></tr><tr><td>Id</td><td><code>Text</code></td><td>The ID of this change. IDs may only be used with {@code &quot;&lt;&quot;} operator for paging and are subject to change. Do not store IDs. Note that the {@code &quot;&lt;&quot;} here does not compare the value of the ID but the row in the change history table it represents.</td></tr><tr><td>Operation</td><td><code>Text</code></td><td>The {@link ChangeHistoryOperation operation} that was performed on this entity.</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The {@link User#id ID} of the user that made this change.</td></tr></table><h2 id="ad_category">ad_category</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildIds</td><td><code>Set of number</code></td><td>Child IDs of an Ad category. Only general categories have children</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of an Ad category</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Localized name of an Ad category</td></tr><tr><td>ParentId</td><td><code>Number</code></td><td>Parent ID of an Ad category. Only general categories have parents</td></tr><tr><td>Type</td><td><code>Text</code></td><td>Type of an Ad category. Only general categories have children</td></tr></table><h2 id="rich_media_ad_company">rich_media_ad_company</h2>The global set of rich media ad companies that are known to Google.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>CompanyGvlId</td><td><code>Number</code></td><td>IAB Global Vendor List ID of a Rich Media Ad Company</td></tr><tr><td>GdprStatus</td><td><code>Text</code></td><td>GDPR compliance status of a Rich Media Ad Company. Indicates whether the company has been registered with Google as a compliant company for GDPR.</td></tr><tr><td>Id</td><td><code>Number</code></td><td>ID of a Rich Media Ad Company</td></tr><tr><td>Name</td><td><code>Text</code></td><td>Name of a Rich Media Ad Company</td></tr><tr><td>PolicyUrl</td><td><code>Text</code></td><td>Policy URL of a Rich Media Ad Company</td></tr></table><h2 id="mcm_earnings">mcm_earnings</h2>Restriction: On each query, an expression scoping the MCM earnings to a single month is required (e.x. &quot;WHERE month = &#39;2020-01&#39;&quot; or &quot;WHERE month IN (&#39;2020-01&#39;)&quot;). Bydefault, child publishers are ordered by their network code.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>ChildName</td><td><code>Text</code></td><td>The name of the child publisher.</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the child publisher.</td></tr><tr><td>ChildPaymentCurrencyCode</td><td><code>Text</code></td><td>The child payment currency code as defined by ISO 4217.</td></tr><tr><td>ChildPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the child publisher in micro units of the {@link ChildPaymentCurrencyCode}</td></tr><tr><td>DeductionsCurrencyCode</td><td><code>Text</code></td><td>The deductions currency code as defined by ISO 4217. Null for earnings prior to August 2020.</td></tr><tr><td>DeductionsMicros</td><td><code>Number</code></td><td>The deductions for the month due to spam in micro units of the {@code DeductionsCurrencyCode}. Null for earnings prior to August 2020.</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The current type of MCM delegation between the parent and child publisher.</td></tr><tr><td>Month</td><td><code>Date</code></td><td>The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.</td></tr><tr><td>ParentName</td><td><code>Text</code></td><td>The name of the parent publisher.</td></tr><tr><td>ParentNetworkCode</td><td><code>Text</code></td><td>The network code of the parent publisher.</td></tr><tr><td>ParentPaymentCurrencyCode</td><td><code>Text</code></td><td>The parent payment currency code as defined by ISO 4217.</td></tr><tr><td>ParentPaymentMicros</td><td><code>Number</code></td><td>The portion of the total earnings paid to the parent publisher in micro units of the {@link code ParentPaymentCurrencyCode}.</td></tr><tr><td>TotalEarningsCurrencyCode</td><td><code>Text</code></td><td>The total earnings currency code as defined by ISO 4217.</td></tr><tr><td>TotalEarningsMicros</td><td><code>Number</code></td><td>The total earnings for the month in micro units of the {@code TotalEarningsCurrencyCode}.</td></tr></table><h2 id="Linked_Device">Linked_Device</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the LinkedDevice</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the LinkedDevice</td></tr><tr><td>UserId</td><td><code>Number</code></td><td>The ID of the user that this device belongs to.</td></tr><tr><td>Visibility</td><td><code>Text</code></td><td>The visibility of the LinkedDevice.</td></tr></table><h2 id="child_publisher">child_publisher</h2>By default, child publishers are ordered by their ID.<table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>AddressVerificationExpirationTime</td><td><code>Datetime</code></td><td>Date when the child publisher&#39;s address verification (mail PIN) will expire.</td></tr><tr><td>AddressVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s address verification (mail PIN) process.</td></tr><tr><td>AddressVerificationStatus</td><td><code>Text</code></td><td>The address verification (mail PIN) status of the child publisher&#39;s Ad Manager network. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>ApprovalStatus</td><td><code>Text</code></td><td>The approval status of the child publisher&#39;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}.</td></tr><tr><td>ApprovedManageAccountRevshareMillipercent</td><td><code>Number</code></td><td>The approved revshare with the MCM child publisher</td></tr><tr><td>ChildNetworkAdExchangeEnabled</td><td><code>Boolean</code></td><td>Whether the child publisher&#39;s Ad Manager network has Ad Exchange enabled</td></tr><tr><td>ChildNetworkCode</td><td><code>Text</code></td><td>The network code of the MCM child publisher</td></tr><tr><td>DelegationType</td><td><code>Text</code></td><td>The 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.</td></tr><tr><td>Email</td><td><code>Text</code></td><td>The email of the MCM child publisher</td></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the MCM child publisher.</td></tr><tr><td>IdentityVerificationLastModifiedTime</td><td><code>Datetime</code></td><td>The time of the last change in the child publisher&#39;s identity verification process.</td></tr><tr><td>IdentityVerificationStatus</td><td><code>Text</code></td><td>Status of the child publisher&#39;s identity verification process. Possible values are {$code EXEMPT}, {$code EXPIRED}, {$code FAILED}, {$code PENDING}, {$code NOT_ELIGIBLE}, and {$code VERIFIED}.</td></tr><tr><td>InvitationStatus</td><td><code>Text</code></td><td>Status of the parent&#39;s invitation request to a child publisher. Possible values are {$code ACCEPTED}, {$code EXPIRED}, {$code PENDING}, {$code REJECTED}, and {$code WITHDRAWN}.</td></tr><tr><td>Name</td><td><code>Text</code></td><td>The name of the MCM child publisher</td></tr><tr><td>OnboardingTasks</td><td><code>Set of text</code></td><td>The child publisher&#39;s pending onboarding tasks. This will only be populated if the child publisher&#39;s {@code AccountStatus} is {@code PENDING_GOOGLE_APPROVAL}.</td></tr><tr><td>ReadinessStatus</td><td><code>Text</code></td><td>Overall 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}.</td></tr><tr><td>SellerId</td><td><code>Text</code></td><td>The child publisher&#39;s seller ID, as specified in the parent publisher&#39;s sellers.json file. This field is only relevant for Manage Inventory child publishers.</td></tr></table><h2 id="content_label">content_label</h2><table><tr><th>Column name</th><th>Type</th><th>Description</th></tr><tr><td>Id</td><td><code>Number</code></td><td>The ID of the Content Label</td></tr><tr><td>Label</td><td><code>Text</code></td><td>The name of the Content Label</td></tr></table> @@ -5310,7 +5368,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/ReportService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/ReportService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/ReportService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/ReportService.wsdl index d62f73504..23977f2af 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/ReportService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/ReportService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1360,21 +1360,22 @@ - + - The CPD revenue earned, calculated in publisher currency, for the ads delivered by the ad - server. - <p>Corresponds to "Ad server CPD revenue" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + The CPM and CPC revenue earned, calculated in publisher currency, for the ads delivered by the + ad server. This includes pre-rev-share revenue for Programmatic traffic. This is a temporary + metric to help with the transition from gross to net revenue reporting. + <p>Corresponds to "Ad server CPM and CPC revenue (gross)" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - + - The CPA revenue earned, calculated in publisher currency, for the ads delivered by the ad + The CPD revenue earned, calculated in publisher currency, for the ads delivered by the ad server. - <p>Corresponds to "CPA revenue" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + <p>Corresponds to "Ad server CPD revenue" in the Ad Manager UI. Compatible with the "Historical" report type.</p> @@ -1387,6 +1388,16 @@ + + + + The CPM, CPC and CPD gross revenue earned, calculated in publisher currency, for the ads + delivered by the ad server. This includes pre-rev-share revenue for Programmatic traffic. This + is a temporary metric to help with the transition from gross to net revenue reporting. + <p>Corresponds to "Ad server CPM, CPC, CPD, and vCPM revenue (gross)" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + + + @@ -3410,6 +3421,24 @@ + + + + The percentage of total impressions from video creatives with audible playback at start, from + all total measurable impressions for Active View. + <p>Corresponds to "Active View % audible at start" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + + + + + + + The percentage of total impressions from video creatives where volume > 0 at any point, from + all total impressions measurable for Active View. + <p>Corresponds to "Active View % ever audible" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + + + @@ -3648,69 +3677,6 @@ - - - - Number of view-through conversions. - - - - - - - Number of view-through conversions per thousand impressions. - <p>Corresponds to "Conversions per thousand impressions" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Number of click-through conversions. - <p>Corresponds to "Click-through conversions" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Number of click-through conversions per click. - <p>Corresponds to "Conversions per click" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Revenue for view-through conversions. - <p>Corresponds to "Advertiser view-through sales" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Revenue for click-through conversions. - <p>Corresponds to "Advertiser click-through sales" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Total number of conversions. - <p>Corresponds to "Total conversions" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Total revenue for conversions. - <p>Corresponds to "Total advertiser sales" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - @@ -5219,44 +5185,6 @@ - - - - Breaks down reporting data by activity ID. Can be used to filter by - activity ID. - <p>Compatible with the "Historical" report type.</p> - - - - - - - Breaks down reporting data by activity. The activity name and the activity - ID are automatically included as columns in the report. Can be used to - filter by activity name. - <p>Corresponds to "Activity" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - - - - - Breaks down reporting data by activity group ID. Can be used to filter by - activity group ID. - <p>Compatible with the "Historical" report type.</p> - - - - - - - Breaks down reporting data by activity group. The activity group name and - the activity group ID are automatically included as columns in the report. - Can be used to filter by activity group name. - <p>Corresponds to "Activity group" in the Ad Manager UI. Compatible with the "Historical" report type.</p> - - - @@ -5295,21 +5223,6 @@ - - - - Breaks down reporting data by {@link CustomTargetingKey#id}. - - - - - - - Breaks down reporting data by custom targeting key. {@link CustomTargetingKey#name} and {@link - CustomTargetingKey#id} are automatically included as columns in the report. - - - @@ -5427,11 +5340,26 @@ - + - Breaks down reporting data by video placement. - <p>Corresponds to "Video placement" in the Ad Manager UI. Compatible with the "Historical" report type.</p> + Breaks down reporting data by the ID of the type of video placement as defined by the updated + IAB definition. The values of "in-stream" and "accompanying content" are declared via publisher + inputted URL parameters. The values of "interstitial" and "no content" are populated + automatically based on the declared inventory type. The video placement dimension only applies + to backfill traffic. + + + + + + + Breaks down reporting data by the name of the type of video placement as defined by the updated + IAB definition. The values of "in-stream" and "accompanying content" are declared via publisher + inputted URL parameters. The values of "interstitial" and "no content" are populated + automatically based on the declared inventory type. The video placement dimension only applies + to backfill traffic. + <p>Corresponds to "Video placement (new)" in the Ad Manager UI. Compatible with the "Historical" report type.</p> @@ -7300,6 +7228,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -7512,6 +7450,14 @@ + + + + The report uses a field that has been temporarily disabled. See more details at + https://ads.google.com/status/publisher. + + + @@ -8097,7 +8043,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/SegmentPopulationService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/SegmentPopulationService.wsdl similarity index 96% rename from resources/wsdls/apis/ads/publisher/v202308/SegmentPopulationService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/SegmentPopulationService.wsdl index 1481e795e..b72f69019 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/SegmentPopulationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/SegmentPopulationService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -202,18 +202,20 @@ - + + + + @@ -308,6 +310,14 @@ + + + + + + + + @@ -373,6 +383,7 @@ + @@ -392,6 +403,9 @@ + + + @@ -614,7 +628,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/SiteService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/SiteService.wsdl similarity index 96% rename from resources/wsdls/apis/ads/publisher/v202308/SiteService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/SiteService.wsdl index 65032389a..6efd075c3 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/SiteService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/SiteService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -23,6 +23,15 @@ + + + + + + + + + @@ -289,6 +298,8 @@ + @@ -399,6 +410,19 @@ + + + + + + + + + + + + + @@ -474,6 +498,7 @@ + @@ -536,6 +561,7 @@ + @@ -900,7 +926,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/StreamActivityMonitorService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/StreamActivityMonitorService.wsdl similarity index 99% rename from resources/wsdls/apis/ads/publisher/v202308/StreamActivityMonitorService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/StreamActivityMonitorService.wsdl index 790103a75..57c0f8d4a 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/StreamActivityMonitorService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/StreamActivityMonitorService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -569,6 +569,7 @@ + @@ -863,7 +864,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/SuggestedAdUnitService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/SuggestedAdUnitService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/SuggestedAdUnitService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/SuggestedAdUnitService.wsdl index 5552f8d73..54d822646 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/SuggestedAdUnitService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/SuggestedAdUnitService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1392,6 +1392,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1770,6 +1777,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2148,7 +2165,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/TargetingPresetService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/TargetingPresetService.wsdl similarity index 94% rename from resources/wsdls/apis/ads/publisher/v202308/TargetingPresetService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/TargetingPresetService.wsdl index 9ee40b9c2..ffe413b5a 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/TargetingPresetService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/TargetingPresetService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -457,6 +457,17 @@ + + + + Content label targeting information. + + + + + + @@ -892,6 +903,18 @@ + + + + Action to delete saved targeting expressions. + + + + + + + + @@ -2143,6 +2166,23 @@ + + + + Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the + IDs in the AD_CATEGORY table of type VERTICAL. + + + + + + + Specifies the content labels that are excluded by the entity. The IDs listed here correspond to + the IDs in the CONTENT_LABEL table. + + + @@ -2167,6 +2207,14 @@ + + + + Represents the actions that can be performed on {@link TargetingPresetDto} objects. + + + + @@ -2323,6 +2371,23 @@ + + + + Represents the result of performing an action on objects. + + + + + + + The number of objects that were changed as a result of performing the + action. + + + + + @@ -2371,6 +2436,19 @@ + + + + Vertical targeting information. + + + + + + + @@ -2990,20 +3068,6 @@ - - - - Only active custom-criteria keys are supported in content metadata mapping. - - - - - - - Only active custom-criteria values are supported in content metadata mapping. - - - @@ -3923,6 +3987,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -4303,6 +4377,33 @@ + + + + Creates new {@link TargetingPreset} objects. + + + + + + + + + + + + + + + + + + + A fault element of type ApiException. + + + @@ -4337,12 +4438,46 @@ - + - A fault element of type ApiException. + Performs actions on the saved targeting objects that match the given {@code filterStatement}. + + + + + + + + + + + + + + + + + + Updates the specified {@link TargetingPreset} objects. + + + + + + + + + + + + + + @@ -4354,19 +4489,45 @@ + + + + + + + + + - - + + + + + + + + + + + Service for interacting with Targeting Presets. + + + Creates new {@link TargetingPreset} objects. + + + + + Gets a {@link TargetingPresetPage} of {@link TargetingPreset} objects that satisfy the given @@ -4390,9 +4551,41 @@ + + + Performs actions on the saved targeting objects that match the given {@code filterStatement}. + + + + + + + + Updates the specified {@link TargetingPreset} objects. + + + + + + + + + + + + + + + + + + + @@ -4409,10 +4602,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/TeamService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/TeamService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/TeamService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/TeamService.wsdl index 37e093660..8d1d2699f 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/TeamService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/TeamService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1272,6 +1272,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1608,6 +1615,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2152,7 +2169,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/UserService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/UserService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/UserService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/UserService.wsdl index 6dfc6e099..8abe69176 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/UserService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/UserService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -949,16 +949,6 @@ - - - - Specifies whether or not the {@code User} wants to permit the Publisher Display Ads system to - send email notifications to their email address. - This attribute is read-only. - - - @@ -1429,6 +1419,13 @@ + + + + The number of teams on the user exceeds the max number allowed. + + + @@ -1682,6 +1679,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -2347,7 +2354,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/UserTeamAssociationService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/UserTeamAssociationService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/UserTeamAssociationService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/UserTeamAssociationService.wsdl index 674e377b5..fa1d5ff84 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/UserTeamAssociationService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/UserTeamAssociationService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -1346,6 +1346,16 @@ + + + + This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. + The recommended approach to handle this error is to wait 30 minutes and then retry the + request. Note that this does not guarantee the request will succeed. If it fails again, try + increasing the wait time. + + + @@ -1849,7 +1859,7 @@ - + diff --git a/resources/wsdls/apis/ads/publisher/v202308/YieldGroupService.wsdl b/resources/wsdls/apis/ads/publisher/v202408/YieldGroupService.wsdl similarity index 98% rename from resources/wsdls/apis/ads/publisher/v202308/YieldGroupService.wsdl rename to resources/wsdls/apis/ads/publisher/v202408/YieldGroupService.wsdl index 470dc5651..67408b92c 100644 --- a/resources/wsdls/apis/ads/publisher/v202308/YieldGroupService.wsdl +++ b/resources/wsdls/apis/ads/publisher/v202408/YieldGroupService.wsdl @@ -2,15 +2,15 @@ + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:tns="https://www.google.com/apis/ads/publisher/v202408"> @@ -175,6 +175,12 @@ + + + + + + + + + + + + + @@ -1124,8 +1141,6 @@ - - @@ -1230,6 +1245,7 @@ + @@ -1353,6 +1369,7 @@ + @@ -1493,6 +1510,7 @@ + @@ -1514,7 +1532,6 @@ - @@ -1747,7 +1764,7 @@ - + diff --git a/src/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimes.php b/src/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimes.php similarity index 96% rename from src/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimes.php rename to src/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimes.php index 5ec3a250a..5c466df24 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimes.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimes.php @@ -15,12 +15,12 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use DateTime; use DateTimeZone; -use Google\AdsApi\AdManager\v202308\Date; -use Google\AdsApi\AdManager\v202308\DateTime as AdManagerDateTime; +use Google\AdsApi\AdManager\v202408\Date; +use Google\AdsApi\AdManager\v202408\DateTime as AdManagerDateTime; /** * Static utility methods for working with Ad Manager `DateTime` objects. diff --git a/src/Google/AdsApi/AdManager/Util/v202308/AdManagerDates.php b/src/Google/AdsApi/AdManager/Util/v202408/AdManagerDates.php similarity index 93% rename from src/Google/AdsApi/AdManager/Util/v202308/AdManagerDates.php rename to src/Google/AdsApi/AdManager/Util/v202408/AdManagerDates.php index e82b11995..f8c53ab72 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/AdManagerDates.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/AdManagerDates.php @@ -15,9 +15,9 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; -use Google\AdsApi\AdManager\v202308\Date; +use Google\AdsApi\AdManager\v202408\Date; /** * Static utility methods for working with Ad Manager `Date` objects. diff --git a/src/Google/AdsApi/AdManager/Util/v202308/CsvFiles.php b/src/Google/AdsApi/AdManager/Util/v202408/CsvFiles.php similarity index 97% rename from src/Google/AdsApi/AdManager/Util/v202308/CsvFiles.php rename to src/Google/AdsApi/AdManager/Util/v202408/CsvFiles.php index 9470ea67f..e1b58f7c1 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/CsvFiles.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/CsvFiles.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use InvalidArgumentException; diff --git a/src/Google/AdsApi/AdManager/Util/v202308/Pql.php b/src/Google/AdsApi/AdManager/Util/v202408/Pql.php similarity index 91% rename from src/Google/AdsApi/AdManager/Util/v202308/Pql.php rename to src/Google/AdsApi/AdManager/Util/v202408/Pql.php index 220d0796a..7aeab0fb7 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/Pql.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/Pql.php @@ -15,21 +15,21 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; - -use Google\AdsApi\AdManager\v202308\BooleanValue; -use Google\AdsApi\AdManager\v202308\Date; -use Google\AdsApi\AdManager\v202308\DateTime as AdManagerDateTime; -use Google\AdsApi\AdManager\v202308\DateTimeValue; -use Google\AdsApi\AdManager\v202308\DateValue; -use Google\AdsApi\AdManager\v202308\NumberValue; -use Google\AdsApi\AdManager\v202308\ResultSet; -use Google\AdsApi\AdManager\v202308\Row; -use Google\AdsApi\AdManager\v202308\SetValue; -use Google\AdsApi\AdManager\v202308\Targeting; -use Google\AdsApi\AdManager\v202308\TargetingValue; -use Google\AdsApi\AdManager\v202308\TextValue; -use Google\AdsApi\AdManager\v202308\Value; +namespace Google\AdsApi\AdManager\Util\v202408; + +use Google\AdsApi\AdManager\v202408\BooleanValue; +use Google\AdsApi\AdManager\v202408\Date; +use Google\AdsApi\AdManager\v202408\DateTime as AdManagerDateTime; +use Google\AdsApi\AdManager\v202408\DateTimeValue; +use Google\AdsApi\AdManager\v202408\DateValue; +use Google\AdsApi\AdManager\v202408\NumberValue; +use Google\AdsApi\AdManager\v202408\ResultSet; +use Google\AdsApi\AdManager\v202408\Row; +use Google\AdsApi\AdManager\v202408\SetValue; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\TargetingValue; +use Google\AdsApi\AdManager\v202408\TextValue; +use Google\AdsApi\AdManager\v202408\Value; use InvalidArgumentException; /** diff --git a/src/Google/AdsApi/AdManager/Util/v202308/ReportDownloader.php b/src/Google/AdsApi/AdManager/Util/v202408/ReportDownloader.php similarity index 98% rename from src/Google/AdsApi/AdManager/Util/v202308/ReportDownloader.php rename to src/Google/AdsApi/AdManager/Util/v202408/ReportDownloader.php index 4085f60d9..26db29763 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/ReportDownloader.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/ReportDownloader.php @@ -15,14 +15,14 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use Google\AdsApi\Common\AdsGuzzleHttpClientFactory; use Google\AdsApi\Common\GuzzleHttpClientFactory; use Google\AdsApi\AdManager\AdManagerGuzzleLogMessageFormatterProvider; use Google\AdsApi\AdManager\AdManagerHeaderHandler; -use Google\AdsApi\AdManager\v202308\ReportJobStatus; -use Google\AdsApi\AdManager\v202308\ReportService; +use Google\AdsApi\AdManager\v202408\ReportJobStatus; +use Google\AdsApi\AdManager\v202408\ReportService; use GuzzleHttp\Client; use GuzzleHttp\RequestOptions; use Psr\Http\Message\StreamInterface; diff --git a/src/Google/AdsApi/AdManager/Util/v202308/StatementBuilder.php b/src/Google/AdsApi/AdManager/Util/v202408/StatementBuilder.php similarity index 98% rename from src/Google/AdsApi/AdManager/Util/v202308/StatementBuilder.php rename to src/Google/AdsApi/AdManager/Util/v202408/StatementBuilder.php index db850f0b0..d7c81adc7 100644 --- a/src/Google/AdsApi/AdManager/Util/v202308/StatementBuilder.php +++ b/src/Google/AdsApi/AdManager/Util/v202408/StatementBuilder.php @@ -15,10 +15,10 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use Google\AdsApi\Common\Util\MapEntries; -use Google\AdsApi\AdManager\v202308\Statement; +use Google\AdsApi\AdManager\v202408\Statement; use InvalidArgumentException; /** @@ -102,7 +102,7 @@ public function toStatement() $statement->setValues( MapEntries::fromAssociativeArray( $this->getBindVariableMap(), - 'Google\AdsApi\AdManager\v202308\String_ValueMapEntry' + 'Google\AdsApi\AdManager\v202408\String_ValueMapEntry' ) ); diff --git a/src/Google/AdsApi/AdManager/v202308/ActivateAdRules.php b/src/Google/AdsApi/AdManager/v202308/ActivateAdRules.php deleted file mode 100644 index cbe0f8165..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivateAdRules.php +++ /dev/null @@ -1,18 +0,0 @@ -id = $id; - $this->activityGroupId = $activityGroupId; - $this->name = $name; - $this->expectedURL = $expectedURL; - $this->status = $status; - $this->type = $type; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return int - */ - public function getActivityGroupId() - { - return $this->activityGroupId; - } - - /** - * @param int $activityGroupId - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setActivityGroupId($activityGroupId) - { - $this->activityGroupId = (!is_null($activityGroupId) && PHP_INT_SIZE === 4) - ? floatval($activityGroupId) : $activityGroupId; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return string - */ - public function getExpectedURL() - { - return $this->expectedURL; - } - - /** - * @param string $expectedURL - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setExpectedURL($expectedURL) - { - $this->expectedURL = $expectedURL; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * @param string $type - * @return \Google\AdsApi\AdManager\v202308\Activity - */ - public function setType($type) - { - $this->type = $type; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityError.php b/src/Google/AdsApi/AdManager/v202308/ActivityError.php deleted file mode 100644 index ee644828b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityError.php +++ /dev/null @@ -1,48 +0,0 @@ -reason = $reason; - } - - /** - * @return string - */ - public function getReason() - { - return $this->reason; - } - - /** - * @param string $reason - * @return \Google\AdsApi\AdManager\v202308\ActivityError - */ - public function setReason($reason) - { - $this->reason = $reason; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityErrorReason.php b/src/Google/AdsApi/AdManager/v202308/ActivityErrorReason.php deleted file mode 100644 index e8d4265d9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityErrorReason.php +++ /dev/null @@ -1,16 +0,0 @@ -id = $id; - $this->name = $name; - $this->companyIds = $companyIds; - $this->impressionsLookback = $impressionsLookback; - $this->clicksLookback = $clicksLookback; - $this->status = $status; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return int[] - */ - public function getCompanyIds() - { - return $this->companyIds; - } - - /** - * @param int[]|null $companyIds - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setCompanyIds(array $companyIds = null) - { - $this->companyIds = $companyIds; - return $this; - } - - /** - * @return int - */ - public function getImpressionsLookback() - { - return $this->impressionsLookback; - } - - /** - * @param int $impressionsLookback - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setImpressionsLookback($impressionsLookback) - { - $this->impressionsLookback = $impressionsLookback; - return $this; - } - - /** - * @return int - */ - public function getClicksLookback() - { - return $this->clicksLookback; - } - - /** - * @param int $clicksLookback - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setClicksLookback($clicksLookback) - { - $this->clicksLookback = $clicksLookback; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityGroupPage.php b/src/Google/AdsApi/AdManager/v202308/ActivityGroupPage.php deleted file mode 100644 index 5c9355436..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityGroupPage.php +++ /dev/null @@ -1,93 +0,0 @@ -totalResultSetSize = $totalResultSetSize; - $this->startIndex = $startIndex; - $this->results = $results; - } - - /** - * @return int - */ - public function getTotalResultSetSize() - { - return $this->totalResultSetSize; - } - - /** - * @param int $totalResultSetSize - * @return \Google\AdsApi\AdManager\v202308\ActivityGroupPage - */ - public function setTotalResultSetSize($totalResultSetSize) - { - $this->totalResultSetSize = $totalResultSetSize; - return $this; - } - - /** - * @return int - */ - public function getStartIndex() - { - return $this->startIndex; - } - - /** - * @param int $startIndex - * @return \Google\AdsApi\AdManager\v202308\ActivityGroupPage - */ - public function setStartIndex($startIndex) - { - $this->startIndex = $startIndex; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup[] - */ - public function getResults() - { - return $this->results; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ActivityGroup[]|null $results - * @return \Google\AdsApi\AdManager\v202308\ActivityGroupPage - */ - public function setResults(array $results = null) - { - $this->results = $results; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityGroupService.php b/src/Google/AdsApi/AdManager/v202308/ActivityGroupService.php deleted file mode 100644 index ecc5bbb0e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityGroupService.php +++ /dev/null @@ -1,144 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivityError' => 'Google\\AdsApi\\AdManager\\v202308\\ActivityError', - 'ActivityGroup' => 'Google\\AdsApi\\AdManager\\v202308\\ActivityGroup', - 'ActivityGroupPage' => 'Google\\AdsApi\\AdManager\\v202308\\ActivityGroupPage', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createActivityGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createActivityGroupsResponse', - 'getActivityGroupsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getActivityGroupsByStatementResponse', - 'updateActivityGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateActivityGroupsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ActivityGroupService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates a new {@link ActivityGroup} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ActivityGroup[] $activityGroups - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createActivityGroups(array $activityGroups) - { - return $this->__soapCall('createActivityGroups', array(array('activityGroups' => $activityGroups)))->getRval(); - } - - /** - * Gets an {@link ActivityGroupPage} of {@link ActivityGroup} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link ActivityGroup#id}
{@code name}{@link ActivityGroup#name}
{@code impressionsLookback}{@link ActivityGroup#impressionsLookback}
{@code clicksLookback}{@link ActivityGroup#clicksLookback}
{@code status}{@link ActivityGroup#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ActivityGroupPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getActivityGroupsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getActivityGroupsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link ActivityGroup} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ActivityGroup[] $activityGroups - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateActivityGroups(array $activityGroups) - { - return $this->__soapCall('updateActivityGroups', array(array('activityGroups' => $activityGroups)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityGroupStatus.php b/src/Google/AdsApi/AdManager/v202308/ActivityGroupStatus.php deleted file mode 100644 index dcf067da6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityGroupStatus.php +++ /dev/null @@ -1,15 +0,0 @@ -totalResultSetSize = $totalResultSetSize; - $this->startIndex = $startIndex; - $this->results = $results; - } - - /** - * @return int - */ - public function getTotalResultSetSize() - { - return $this->totalResultSetSize; - } - - /** - * @param int $totalResultSetSize - * @return \Google\AdsApi\AdManager\v202308\ActivityPage - */ - public function setTotalResultSetSize($totalResultSetSize) - { - $this->totalResultSetSize = $totalResultSetSize; - return $this; - } - - /** - * @return int - */ - public function getStartIndex() - { - return $this->startIndex; - } - - /** - * @param int $startIndex - * @return \Google\AdsApi\AdManager\v202308\ActivityPage - */ - public function setStartIndex($startIndex) - { - $this->startIndex = $startIndex; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Activity[] - */ - public function getResults() - { - return $this->results; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Activity[]|null $results - * @return \Google\AdsApi\AdManager\v202308\ActivityPage - */ - public function setResults(array $results = null) - { - $this->results = $results; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityService.php b/src/Google/AdsApi/AdManager/v202308/ActivityService.php deleted file mode 100644 index d928cbf35..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityService.php +++ /dev/null @@ -1,143 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'Activity' => 'Google\\AdsApi\\AdManager\\v202308\\Activity', - 'ActivityError' => 'Google\\AdsApi\\AdManager\\v202308\\ActivityError', - 'ActivityPage' => 'Google\\AdsApi\\AdManager\\v202308\\ActivityPage', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createActivitiesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createActivitiesResponse', - 'getActivitiesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getActivitiesByStatementResponse', - 'updateActivitiesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateActivitiesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ActivityService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates a new {@link Activity} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Activity[] $activities - * @return \Google\AdsApi\AdManager\v202308\Activity[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createActivities(array $activities) - { - return $this->__soapCall('createActivities', array(array('activities' => $activities)))->getRval(); - } - - /** - * Gets an {@link ActivityPage} of {@link Activity} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Activity#id}
{@code name}{@link Activity#name}
{@code expectedURL}{@link Activity#expectedURL}
{@code status}{@link Activity#status}
{@code activityGroupId}{@link Activity#activityGroupId}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ActivityPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getActivitiesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getActivitiesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Activity} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Activity[] $activities - * @return \Google\AdsApi\AdManager\v202308\Activity[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateActivities(array $activities) - { - return $this->__soapCall('updateActivities', array(array('activities' => $activities)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ActivityStatus.php b/src/Google/AdsApi/AdManager/v202308/ActivityStatus.php deleted file mode 100644 index 7767f8740..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ActivityStatus.php +++ /dev/null @@ -1,15 +0,0 @@ -isNativeEligible = $isNativeEligible; - $this->isInterstitial = $isInterstitial; - $this->isAllowsAllRequestedSizes = $isAllowsAllRequestedSizes; - } - - /** - * @return boolean - */ - public function getIsNativeEligible() - { - return $this->isNativeEligible; - } - - /** - * @param boolean $isNativeEligible - * @return \Google\AdsApi\AdManager\v202308\AdExchangeCreative - */ - public function setIsNativeEligible($isNativeEligible) - { - $this->isNativeEligible = $isNativeEligible; - return $this; - } - - /** - * @return boolean - */ - public function getIsInterstitial() - { - return $this->isInterstitial; - } - - /** - * @param boolean $isInterstitial - * @return \Google\AdsApi\AdManager\v202308\AdExchangeCreative - */ - public function setIsInterstitial($isInterstitial) - { - $this->isInterstitial = $isInterstitial; - return $this; - } - - /** - * @return boolean - */ - public function getIsAllowsAllRequestedSizes() - { - return $this->isAllowsAllRequestedSizes; - } - - /** - * @param boolean $isAllowsAllRequestedSizes - * @return \Google\AdsApi\AdManager\v202308\AdExchangeCreative - */ - public function setIsAllowsAllRequestedSizes($isAllowsAllRequestedSizes) - { - $this->isAllowsAllRequestedSizes = $isAllowsAllRequestedSizes; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AdIdType.php b/src/Google/AdsApi/AdManager/v202308/AdIdType.php deleted file mode 100644 index 094b0f3e6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AdIdType.php +++ /dev/null @@ -1,17 +0,0 @@ -requestUrl = $requestUrl; - $this->isVmapRequest = $isVmapRequest; - $this->responseBody = $responseBody; - $this->redirectResponses = $redirectResponses; - $this->samError = $samError; - $this->adErrors = $adErrors; - } - - /** - * @return string - */ - public function getRequestUrl() - { - return $this->requestUrl; - } - - /** - * @param string $requestUrl - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setRequestUrl($requestUrl) - { - $this->requestUrl = $requestUrl; - return $this; - } - - /** - * @return boolean - */ - public function getIsVmapRequest() - { - return $this->isVmapRequest; - } - - /** - * @param boolean $isVmapRequest - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setIsVmapRequest($isVmapRequest) - { - $this->isVmapRequest = $isVmapRequest; - return $this; - } - - /** - * @return string - */ - public function getResponseBody() - { - return $this->responseBody; - } - - /** - * @param string $responseBody - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setResponseBody($responseBody) - { - $this->responseBody = $responseBody; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdResponse[] - */ - public function getRedirectResponses() - { - return $this->redirectResponses; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdResponse[]|null $redirectResponses - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setRedirectResponses(array $redirectResponses = null) - { - $this->redirectResponses = $redirectResponses; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SamError - */ - public function getSamError() - { - return $this->samError; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SamError $samError - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setSamError($samError) - { - $this->samError = $samError; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SamError[] - */ - public function getAdErrors() - { - return $this->adErrors; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SamError[]|null $adErrors - * @return \Google\AdsApi\AdManager\v202308\AdResponse - */ - public function setAdErrors(array $adErrors = null) - { - $this->adErrors = $adErrors; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AdRule.php b/src/Google/AdsApi/AdManager/v202308/AdRule.php deleted file mode 100644 index 9bffc98aa..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AdRule.php +++ /dev/null @@ -1,394 +0,0 @@ -id = $id; - $this->name = $name; - $this->priority = $priority; - $this->targeting = $targeting; - $this->startDateTime = $startDateTime; - $this->startDateTimeType = $startDateTimeType; - $this->endDateTime = $endDateTime; - $this->unlimitedEndDateTime = $unlimitedEndDateTime; - $this->status = $status; - $this->frequencyCapBehavior = $frequencyCapBehavior; - $this->maxImpressionsPerLineItemPerStream = $maxImpressionsPerLineItemPerStream; - $this->maxImpressionsPerLineItemPerPod = $maxImpressionsPerLineItemPerPod; - $this->preroll = $preroll; - $this->midroll = $midroll; - $this->postroll = $postroll; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return int - */ - public function getPriority() - { - return $this->priority; - } - - /** - * @param int $priority - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setPriority($priority) - { - $this->priority = $priority; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return string - */ - public function getStartDateTimeType() - { - return $this->startDateTimeType; - } - - /** - * @param string $startDateTimeType - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setStartDateTimeType($startDateTimeType) - { - $this->startDateTimeType = $startDateTimeType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - - /** - * @return boolean - */ - public function getUnlimitedEndDateTime() - { - return $this->unlimitedEndDateTime; - } - - /** - * @param boolean $unlimitedEndDateTime - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setUnlimitedEndDateTime($unlimitedEndDateTime) - { - $this->unlimitedEndDateTime = $unlimitedEndDateTime; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return string - */ - public function getFrequencyCapBehavior() - { - return $this->frequencyCapBehavior; - } - - /** - * @param string $frequencyCapBehavior - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setFrequencyCapBehavior($frequencyCapBehavior) - { - $this->frequencyCapBehavior = $frequencyCapBehavior; - return $this; - } - - /** - * @return int - */ - public function getMaxImpressionsPerLineItemPerStream() - { - return $this->maxImpressionsPerLineItemPerStream; - } - - /** - * @param int $maxImpressionsPerLineItemPerStream - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setMaxImpressionsPerLineItemPerStream($maxImpressionsPerLineItemPerStream) - { - $this->maxImpressionsPerLineItemPerStream = $maxImpressionsPerLineItemPerStream; - return $this; - } - - /** - * @return int - */ - public function getMaxImpressionsPerLineItemPerPod() - { - return $this->maxImpressionsPerLineItemPerPod; - } - - /** - * @param int $maxImpressionsPerLineItemPerPod - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setMaxImpressionsPerLineItemPerPod($maxImpressionsPerLineItemPerPod) - { - $this->maxImpressionsPerLineItemPerPod = $maxImpressionsPerLineItemPerPod; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot - */ - public function getPreroll() - { - return $this->preroll; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot $preroll - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setPreroll($preroll) - { - $this->preroll = $preroll; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot - */ - public function getMidroll() - { - return $this->midroll; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot $midroll - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setMidroll($midroll) - { - $this->midroll = $midroll; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot - */ - public function getPostroll() - { - return $this->postroll; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseAdRuleSlot $postroll - * @return \Google\AdsApi\AdManager\v202308\AdRule - */ - public function setPostroll($postroll) - { - $this->postroll = $postroll; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AdRuleService.php b/src/Google/AdsApi/AdManager/v202308/AdRuleService.php deleted file mode 100644 index e01c47cb4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AdRuleService.php +++ /dev/null @@ -1,310 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateAdRules' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateAdRules', - 'AdRuleAction' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleAction', - 'AdRuleDateError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleDateError', - 'AdRule' => 'Google\\AdsApi\\AdManager\\v202308\\AdRule', - 'AdRuleError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleError', - 'AdRuleFrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleFrequencyCapError', - 'NoPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202308\\NoPoddingAdRuleSlot', - 'OptimizedPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202308\\OptimizedPoddingAdRuleSlot', - 'AdRulePage' => 'Google\\AdsApi\\AdManager\\v202308\\AdRulePage', - 'AdRulePriorityError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRulePriorityError', - 'BaseAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202308\\BaseAdRuleSlot', - 'AdRuleSlotError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleSlotError', - 'StandardPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202308\\StandardPoddingAdRuleSlot', - 'AdRuleTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\AdRuleTargetingError', - 'AdSpot' => 'Google\\AdsApi\\AdManager\\v202308\\AdSpot', - 'AdSpotPage' => 'Google\\AdsApi\\AdManager\\v202308\\AdSpotPage', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'BreakTemplate' => 'Google\\AdsApi\\AdManager\\v202308\\BreakTemplate', - 'BreakTemplate.BreakTemplateMember' => 'Google\\AdsApi\\AdManager\\v202308\\BreakTemplateBreakTemplateMember', - 'BreakTemplatePage' => 'Google\\AdsApi\\AdManager\\v202308\\BreakTemplatePage', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DeactivateAdRules' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateAdRules', - 'DeleteAdRules' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteAdRules', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PoddingError' => 'Google\\AdsApi\\AdManager\\v202308\\PoddingError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UnknownAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202308\\UnknownAdRuleSlot', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'createAdRulesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createAdRulesResponse', - 'createAdSpotsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createAdSpotsResponse', - 'createBreakTemplatesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createBreakTemplatesResponse', - 'getAdRulesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAdRulesByStatementResponse', - 'getAdSpotsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAdSpotsByStatementResponse', - 'getBreakTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getBreakTemplatesByStatementResponse', - 'performAdRuleActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performAdRuleActionResponse', - 'updateAdRulesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateAdRulesResponse', - 'updateAdSpotsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateAdSpotsResponse', - 'updateBreakTemplatesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateBreakTemplatesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/AdRuleService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link AdRule} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdRule[] $adRules - * @return \Google\AdsApi\AdManager\v202308\AdRule[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createAdRules(array $adRules) - { - return $this->__soapCall('createAdRules', array(array('adRules' => $adRules)))->getRval(); - } - - /** - * Creates new {@link AdSpot} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdSpot[] $adSpots - * @return \Google\AdsApi\AdManager\v202308\AdSpot[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createAdSpots(array $adSpots) - { - return $this->__soapCall('createAdSpots', array(array('adSpots' => $adSpots)))->getRval(); - } - - /** - * Creates new {@link breakTemplate} objects. - * - * @param \Google\AdsApi\AdManager\v202308\BreakTemplate[] $breakTemplate - * @return \Google\AdsApi\AdManager\v202308\BreakTemplate[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createBreakTemplates(array $breakTemplate) - { - return $this->__soapCall('createBreakTemplates', array(array('breakTemplate' => $breakTemplate)))->getRval(); - } - - /** - * Gets an {@link AdRulePage} of {@link AdRule} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link AdRule#id} ({@link AdRule#adRuleId} beginning in v201702)
{@code name}{@link AdRule#name}
{@code priority}{@link AdRule#priority}
{@code status}{@link AdRule#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\AdRulePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAdRulesByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getAdRulesByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Gets a {@link AdSpotPage} of {@link AdSpot} objects that satisfy the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\AdSpotPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAdSpotsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getAdSpotsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link BreakTemplatePage} of {@link BreakTemplate} objects that satisfy the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\BreakTemplatePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getBreakTemplatesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getBreakTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link AdRule} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\AdRuleAction $adRuleAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performAdRuleAction(\Google\AdsApi\AdManager\v202308\AdRuleAction $adRuleAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performAdRuleAction', array(array('adRuleAction' => $adRuleAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link AdRule} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdRule[] $adRules - * @return \Google\AdsApi\AdManager\v202308\AdRule[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateAdRules(array $adRules) - { - return $this->__soapCall('updateAdRules', array(array('adRules' => $adRules)))->getRval(); - } - - /** - * Updates the specified {@link AdSpot} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdSpot[] $adSpots - * @return \Google\AdsApi\AdManager\v202308\AdSpot[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateAdSpots(array $adSpots) - { - return $this->__soapCall('updateAdSpots', array(array('adSpots' => $adSpots)))->getRval(); - } - - /** - * Updates the specified {@link breakTemplate} objects. - * - * @param \Google\AdsApi\AdManager\v202308\BreakTemplate[] $breakTemplate - * @return \Google\AdsApi\AdManager\v202308\BreakTemplate[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateBreakTemplates(array $breakTemplate) - { - return $this->__soapCall('updateBreakTemplates', array(array('breakTemplate' => $breakTemplate)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AdSenseCreative.php b/src/Google/AdsApi/AdManager/v202308/AdSenseCreative.php deleted file mode 100644 index 904898f25..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AdSenseCreative.php +++ /dev/null @@ -1,30 +0,0 @@ -size = $size; - $this->environmentType = $environmentType; - $this->companions = $companions; - $this->fullDisplayString = $fullDisplayString; - $this->isAudio = $isAudio; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Size - */ - public function getSize() - { - return $this->size; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Size $size - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize - */ - public function setSize($size) - { - $this->size = $size; - return $this; - } - - /** - * @return string - */ - public function getEnvironmentType() - { - return $this->environmentType; - } - - /** - * @param string $environmentType - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize - */ - public function setEnvironmentType($environmentType) - { - $this->environmentType = $environmentType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize[] - */ - public function getCompanions() - { - return $this->companions; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnitSize[]|null $companions - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize - */ - public function setCompanions(array $companions = null) - { - $this->companions = $companions; - return $this; - } - - /** - * @return string - */ - public function getFullDisplayString() - { - return $this->fullDisplayString; - } - - /** - * @param string $fullDisplayString - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize - */ - public function setFullDisplayString($fullDisplayString) - { - $this->fullDisplayString = $fullDisplayString; - return $this; - } - - /** - * @return boolean - */ - public function getIsAudio() - { - return $this->isAudio; - } - - /** - * @param boolean $isAudio - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize - */ - public function setIsAudio($isAudio) - { - $this->isAudio = $isAudio; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AdjustmentService.php b/src/Google/AdsApi/AdManager/v202308/AdjustmentService.php deleted file mode 100644 index 15fe548e1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AdjustmentService.php +++ /dev/null @@ -1,318 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateForecastAdjustments' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateForecastAdjustments', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'DailyVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202308\\DailyVolumeSettings', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateError' => 'Google\\AdsApi\\AdManager\\v202308\\DateError', - 'DateRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateRange', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DeactivateForecastAdjustments' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateForecastAdjustments', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastAdjustmentAction' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastAdjustmentAction', - 'ForecastAdjustment' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastAdjustment', - 'ForecastAdjustmentError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastAdjustmentError', - 'ForecastAdjustmentPage' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastAdjustmentPage', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'HistoricalBasisVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202308\\HistoricalBasisVolumeSettings', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitError', - 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitSizesError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TotalVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202308\\TotalVolumeSettings', - 'TrafficForecastSegment' => 'Google\\AdsApi\\AdManager\\v202308\\TrafficForecastSegment', - 'TrafficForecastSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\TrafficForecastSegmentError', - 'TrafficForecastSegmentPage' => 'Google\\AdsApi\\AdManager\\v202308\\TrafficForecastSegmentPage', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'calculateDailyAdOpportunityCountsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\calculateDailyAdOpportunityCountsResponse', - 'createForecastAdjustmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createForecastAdjustmentsResponse', - 'createTrafficForecastSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createTrafficForecastSegmentsResponse', - 'getForecastAdjustmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getForecastAdjustmentsByStatementResponse', - 'getTrafficForecastSegmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getTrafficForecastSegmentsByStatementResponse', - 'performForecastAdjustmentActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performForecastAdjustmentActionResponse', - 'updateForecastAdjustmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateForecastAdjustmentsResponse', - 'updateTrafficForecastSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateTrafficForecastSegmentsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/AdjustmentService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Takes a prospective forecast adjustment and calculates the daily ad opportunity counts - * corresponding to its provided volume settings. - * - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment $forecastAdjustment - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function calculateDailyAdOpportunityCounts(\Google\AdsApi\AdManager\v202308\ForecastAdjustment $forecastAdjustment) - { - return $this->__soapCall('calculateDailyAdOpportunityCounts', array(array('forecastAdjustment' => $forecastAdjustment)))->getRval(); - } - - /** - * Creates new {@link ForecastAdjustment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] $forecastAdjustments - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createForecastAdjustments(array $forecastAdjustments) - { - return $this->__soapCall('createForecastAdjustments', array(array('forecastAdjustments' => $forecastAdjustments)))->getRval(); - } - - /** - * Creates new {@link TrafficForecastSegment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] $trafficForecastSegments - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createTrafficForecastSegments(array $trafficForecastSegments) - { - return $this->__soapCall('createTrafficForecastSegments', array(array('trafficForecastSegments' => $trafficForecastSegments)))->getRval(); - } - - /** - * Gets a {@link ForecastAdjustmentPage} of {@link ForecastAdjustment} objects that satisfy the - * given {@link Statement#query}. - * - *

The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link ForecastAdjustment#id}
{@code trafficForecastSegmentId}{@link ForecastAdjustment#trafficForecastSegmentId}
{@code name}{@link ForecastAdjustment#name}
{@code startDate}{@link ForecastAdjustment#startDate}
{@code endDate}{@link ForecastAdjustment#endDate}
{@code status}{@link ForecastAdjustment#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustmentPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getForecastAdjustmentsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getForecastAdjustmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link TrafficForecastSegmentPage} of {@link TrafficForecastSegment} objects that - * satisfy the given {@link Statement#query}. - * - *

The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link TrafficForecastSegment#id}
{@code name}{@link TrafficForecastSegment#name}
{@code creationTime}{@link TrafficForecastSegment#creationTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegmentPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getTrafficForecastSegmentsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getTrafficForecastSegmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link ForecastAdjustment} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustmentAction $forecastAdjustmentAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performForecastAdjustmentAction(\Google\AdsApi\AdManager\v202308\ForecastAdjustmentAction $forecastAdjustmentAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performForecastAdjustmentAction', array(array('forecastAdjustmentAction' => $forecastAdjustmentAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link ForecastAdjustment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] $forecastAdjustments - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateForecastAdjustments(array $forecastAdjustments) - { - return $this->__soapCall('updateForecastAdjustments', array(array('forecastAdjustments' => $forecastAdjustments)))->getRval(); - } - - /** - * Updates the specified {@link TrafficForecastSegment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] $trafficForecastSegments - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateTrafficForecastSegments(array $trafficForecastSegments) - { - return $this->__soapCall('updateTrafficForecastSegments', array(array('trafficForecastSegments' => $trafficForecastSegments)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ApiException.php b/src/Google/AdsApi/AdManager/v202308/ApiException.php deleted file mode 100644 index 3696c94df..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ApiException.php +++ /dev/null @@ -1,46 +0,0 @@ -errors = $errors; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ApiError[] - */ - public function getErrors() - { - return $this->errors; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ApiError[]|null $errors - * @return \Google\AdsApi\AdManager\v202308\ApiException - */ - public function setErrors(array $errors = null) - { - $this->errors = $errors; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ApproveAudienceSegments.php b/src/Google/AdsApi/AdManager/v202308/ApproveAudienceSegments.php deleted file mode 100644 index 4fa893ec5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ApproveAudienceSegments.php +++ /dev/null @@ -1,18 +0,0 @@ -skipInventoryCheck = $skipInventoryCheck; - } - - /** - * @return boolean - */ - public function getSkipInventoryCheck() - { - return $this->skipInventoryCheck; - } - - /** - * @param boolean $skipInventoryCheck - * @return \Google\AdsApi\AdManager\v202308\ApproveOrders - */ - public function setSkipInventoryCheck($skipInventoryCheck) - { - $this->skipInventoryCheck = $skipInventoryCheck; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ApproveOrdersWithoutReservationChanges.php b/src/Google/AdsApi/AdManager/v202308/ApproveOrdersWithoutReservationChanges.php deleted file mode 100644 index 5094c1b20..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ApproveOrdersWithoutReservationChanges.php +++ /dev/null @@ -1,18 +0,0 @@ -imageAssets = $imageAssets; - $this->altText = $altText; - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - $this->overrideSize = $overrideSize; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset[] - */ - public function getImageAssets() - { - return $this->imageAssets; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset[]|null $imageAssets - * @return \Google\AdsApi\AdManager\v202308\AspectRatioImageCreative - */ - public function setImageAssets(array $imageAssets = null) - { - $this->imageAssets = $imageAssets; - return $this; - } - - /** - * @return string - */ - public function getAltText() - { - return $this->altText; - } - - /** - * @param string $altText - * @return \Google\AdsApi\AdManager\v202308\AspectRatioImageCreative - */ - public function setAltText($altText) - { - $this->altText = $altText; - return $this; - } - - /** - * @return string[] - */ - public function getThirdPartyImpressionTrackingUrls() - { - return $this->thirdPartyImpressionTrackingUrls; - } - - /** - * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\AspectRatioImageCreative - */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) - { - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - return $this; - } - - /** - * @return boolean - */ - public function getOverrideSize() - { - return $this->overrideSize; - } - - /** - * @param boolean $overrideSize - * @return \Google\AdsApi\AdManager\v202308\AspectRatioImageCreative - */ - public function setOverrideSize($overrideSize) - { - $this->overrideSize = $overrideSize; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AssetCreativeTemplateVariableValue.php b/src/Google/AdsApi/AdManager/v202308/AssetCreativeTemplateVariableValue.php deleted file mode 100644 index 742a4041a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AssetCreativeTemplateVariableValue.php +++ /dev/null @@ -1,45 +0,0 @@ -asset = $asset; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset - */ - public function getAsset() - { - return $this->asset; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset $asset - * @return \Google\AdsApi\AdManager\v202308\AssetCreativeTemplateVariableValue - */ - public function setAsset($asset) - { - $this->asset = $asset; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AudienceSegmentService.php b/src/Google/AdsApi/AdManager/v202308/AudienceSegmentService.php deleted file mode 100644 index 12438b665..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AudienceSegmentService.php +++ /dev/null @@ -1,209 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateAudienceSegments', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ApproveAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202308\\ApproveAudienceSegments', - 'AudienceSegmentDataProvider' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentDataProvider', - 'AudienceSegmentPage' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentPage', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'FirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\FirstPartyAudienceSegment', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateAudienceSegments', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'ThirdPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyAudienceSegment', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NonRuleBasedFirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\NonRuleBasedFirstPartyAudienceSegment', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PopulateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202308\\PopulateAudienceSegments', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'FirstPartyAudienceSegmentRule' => 'Google\\AdsApi\\AdManager\\v202308\\FirstPartyAudienceSegmentRule', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RejectAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202308\\RejectAudienceSegments', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RuleBasedFirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\RuleBasedFirstPartyAudienceSegment', - 'RuleBasedFirstPartyAudienceSegmentSummary' => 'Google\\AdsApi\\AdManager\\v202308\\RuleBasedFirstPartyAudienceSegmentSummary', - 'AudienceSegmentAction' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentAction', - 'AudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegment', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SharedAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202308\\SharedAudienceSegment', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createAudienceSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createAudienceSegmentsResponse', - 'getAudienceSegmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAudienceSegmentsByStatementResponse', - 'performAudienceSegmentActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performAudienceSegmentActionResponse', - 'updateAudienceSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateAudienceSegmentsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/AudienceSegmentService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link FirstPartyAudienceSegment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] $segments - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createAudienceSegments(array $segments) - { - return $this->__soapCall('createAudienceSegments', array(array('segments' => $segments)))->getRval(); - } - - /** - * Gets an {@link AudienceSegmentPage} of {@link AudienceSegment} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code id}{@link AudienceSegment#id}
{@code name}{@link AudienceSegment#name}
{@code status}{@link AudienceSegment#status}
{@code type}{@link AudienceSegment#type}
{@code size}{@link AudienceSegment#size}
{@code dataProviderName}{@link AudienceSegmentDataProvider#name}
{@code segmentType}{@link AudienceSegment#type}
{@code approvalStatus}{@link ThirdPartyAudienceSegment#approvalStatus}
{@code cost}{@link ThirdPartyAudienceSegment#cost}
{@code startDateTime}{@link ThirdPartyAudienceSegment#startDateTime}
{@code endDateTime}{@link ThirdPartyAudienceSegment#endDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\AudienceSegmentPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAudienceSegmentsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getAudienceSegmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs the given {@link AudienceSegmentAction} on the set of segments identified by the given - * statement. - * - * @param \Google\AdsApi\AdManager\v202308\AudienceSegmentAction $action - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performAudienceSegmentAction(\Google\AdsApi\AdManager\v202308\AudienceSegmentAction $action, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performAudienceSegmentAction', array(array('action' => $action, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the given {@link FirstPartyAudienceSegment} objects. - * - * @param \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] $segments - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateAudienceSegments(array $segments) - { - return $this->__soapCall('updateAudienceSegments', array(array('segments' => $segments)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AudioCreative.php b/src/Google/AdsApi/AdManager/v202308/AudioCreative.php deleted file mode 100644 index 4d33a7332..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AudioCreative.php +++ /dev/null @@ -1,67 +0,0 @@ -audioSourceUrl = $audioSourceUrl; - } - - /** - * @return string - */ - public function getAudioSourceUrl() - { - return $this->audioSourceUrl; - } - - /** - * @param string $audioSourceUrl - * @return \Google\AdsApi\AdManager\v202308\AudioCreative - */ - public function setAudioSourceUrl($audioSourceUrl) - { - $this->audioSourceUrl = $audioSourceUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202308/AudioRedirectCreative.php deleted file mode 100644 index 04f7e2041..000000000 --- a/src/Google/AdsApi/AdManager/v202308/AudioRedirectCreative.php +++ /dev/null @@ -1,92 +0,0 @@ -audioAssets = $audioAssets; - $this->mezzanineFile = $mezzanineFile; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectAsset[] - */ - public function getAudioAssets() - { - return $this->audioAssets; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoRedirectAsset[]|null $audioAssets - * @return \Google\AdsApi\AdManager\v202308\AudioRedirectCreative - */ - public function setAudioAssets(array $audioAssets = null) - { - $this->audioAssets = $audioAssets; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectAsset - */ - public function getMezzanineFile() - { - return $this->mezzanineFile; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoRedirectAsset $mezzanineFile - * @return \Google\AdsApi\AdManager\v202308\AudioRedirectCreative - */ - public function setMezzanineFile($mezzanineFile) - { - $this->mezzanineFile = $mezzanineFile; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BandwidthGroup.php b/src/Google/AdsApi/AdManager/v202308/BandwidthGroup.php deleted file mode 100644 index e6c8d34cb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BandwidthGroup.php +++ /dev/null @@ -1,21 +0,0 @@ -isTargeted = $isTargeted; - $this->bandwidthGroups = $bandwidthGroups; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\BandwidthGroupTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getBandwidthGroups() - { - return $this->bandwidthGroups; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $bandwidthGroups - * @return \Google\AdsApi\AdManager\v202308\BandwidthGroupTargeting - */ - public function setBandwidthGroups(array $bandwidthGroups = null) - { - $this->bandwidthGroups = $bandwidthGroups; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BaseDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202308/BaseDynamicAllocationCreative.php deleted file mode 100644 index 3698d2f05..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BaseDynamicAllocationCreative.php +++ /dev/null @@ -1,29 +0,0 @@ -overrideSize = $overrideSize; - $this->primaryImageAsset = $primaryImageAsset; - } - - /** - * @return boolean - */ - public function getOverrideSize() - { - return $this->overrideSize; - } - - /** - * @param boolean $overrideSize - * @return \Google\AdsApi\AdManager\v202308\BaseImageCreative - */ - public function setOverrideSize($overrideSize) - { - $this->overrideSize = $overrideSize; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset - */ - public function getPrimaryImageAsset() - { - return $this->primaryImageAsset; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset $primaryImageAsset - * @return \Google\AdsApi\AdManager\v202308\BaseImageCreative - */ - public function setPrimaryImageAsset($primaryImageAsset) - { - $this->primaryImageAsset = $primaryImageAsset; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202308/BaseImageRedirectCreative.php deleted file mode 100644 index 3363d39cb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BaseImageRedirectCreative.php +++ /dev/null @@ -1,56 +0,0 @@ -imageUrl = $imageUrl; - } - - /** - * @return string - */ - public function getImageUrl() - { - return $this->imageUrl; - } - - /** - * @param string $imageUrl - * @return \Google\AdsApi\AdManager\v202308\BaseImageRedirectCreative - */ - public function setImageUrl($imageUrl) - { - $this->imageUrl = $imageUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BrowserLanguage.php b/src/Google/AdsApi/AdManager/v202308/BrowserLanguage.php deleted file mode 100644 index 1ff10e083..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BrowserLanguage.php +++ /dev/null @@ -1,21 +0,0 @@ -isTargeted = $isTargeted; - $this->browserLanguages = $browserLanguages; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\BrowserLanguageTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getBrowserLanguages() - { - return $this->browserLanguages; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $browserLanguages - * @return \Google\AdsApi\AdManager\v202308\BrowserLanguageTargeting - */ - public function setBrowserLanguages(array $browserLanguages = null) - { - $this->browserLanguages = $browserLanguages; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202308/BrowserTargeting.php deleted file mode 100644 index 6de815534..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BrowserTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -isTargeted = $isTargeted; - $this->browsers = $browsers; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\BrowserTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getBrowsers() - { - return $this->browsers; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $browsers - * @return \Google\AdsApi\AdManager\v202308\BrowserTargeting - */ - public function setBrowsers(array $browsers = null) - { - $this->browsers = $browsers; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202308/BuyerRfp.php deleted file mode 100644 index 34589aff4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/BuyerRfp.php +++ /dev/null @@ -1,319 +0,0 @@ -costPerUnit = $costPerUnit; - $this->units = $units; - $this->budget = $budget; - $this->currencyCode = $currencyCode; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - $this->description = $description; - $this->creativePlaceholders = $creativePlaceholders; - $this->targeting = $targeting; - $this->additionalTerms = $additionalTerms; - $this->adExchangeEnvironment = $adExchangeEnvironment; - $this->rfpType = $rfpType; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getCostPerUnit() - { - return $this->costPerUnit; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $costPerUnit - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setCostPerUnit($costPerUnit) - { - $this->costPerUnit = $costPerUnit; - return $this; - } - - /** - * @return int - */ - public function getUnits() - { - return $this->units; - } - - /** - * @param int $units - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setUnits($units) - { - $this->units = (!is_null($units) && PHP_INT_SIZE === 4) - ? floatval($units) : $units; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getBudget() - { - return $this->budget; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $budget - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setBudget($budget) - { - $this->budget = $budget; - return $this; - } - - /** - * @return string - */ - public function getCurrencyCode() - { - return $this->currencyCode; - } - - /** - * @param string $currencyCode - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setCurrencyCode($currencyCode) - { - $this->currencyCode = $currencyCode; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - - /** - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * @param string $description - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setDescription($description) - { - $this->description = $description; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder[] - */ - public function getCreativePlaceholders() - { - return $this->creativePlaceholders; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativePlaceholder[]|null $creativePlaceholders - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setCreativePlaceholders(array $creativePlaceholders = null) - { - $this->creativePlaceholders = $creativePlaceholders; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return string - */ - public function getAdditionalTerms() - { - return $this->additionalTerms; - } - - /** - * @param string $additionalTerms - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setAdditionalTerms($additionalTerms) - { - $this->additionalTerms = $additionalTerms; - return $this; - } - - /** - * @return string - */ - public function getAdExchangeEnvironment() - { - return $this->adExchangeEnvironment; - } - - /** - * @param string $adExchangeEnvironment - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setAdExchangeEnvironment($adExchangeEnvironment) - { - $this->adExchangeEnvironment = $adExchangeEnvironment; - return $this; - } - - /** - * @return string - */ - public function getRfpType() - { - return $this->rfpType; - } - - /** - * @param string $rfpType - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function setRfpType($rfpType) - { - $this->rfpType = $rfpType; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CdnConfigurationService.php b/src/Google/AdsApi/AdManager/v202308/CdnConfigurationService.php deleted file mode 100644 index 800d7b00f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CdnConfigurationService.php +++ /dev/null @@ -1,154 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCdnConfigurations' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCdnConfigurations', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ArchiveCdnConfigurations' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveCdnConfigurations', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CdnConfigurationAction' => 'Google\\AdsApi\\AdManager\\v202308\\CdnConfigurationAction', - 'CdnConfiguration' => 'Google\\AdsApi\\AdManager\\v202308\\CdnConfiguration', - 'CdnConfigurationError' => 'Google\\AdsApi\\AdManager\\v202308\\CdnConfigurationError', - 'CdnConfigurationPage' => 'Google\\AdsApi\\AdManager\\v202308\\CdnConfigurationPage', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'MediaLocationSettings' => 'Google\\AdsApi\\AdManager\\v202308\\MediaLocationSettings', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'SecurityPolicySettings' => 'Google\\AdsApi\\AdManager\\v202308\\SecurityPolicySettings', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'SourceContentConfiguration' => 'Google\\AdsApi\\AdManager\\v202308\\SourceContentConfiguration', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createCdnConfigurationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCdnConfigurationsResponse', - 'getCdnConfigurationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCdnConfigurationsByStatementResponse', - 'performCdnConfigurationActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCdnConfigurationActionResponse', - 'updateCdnConfigurationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCdnConfigurationsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CdnConfigurationService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link CdnConfiguration} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CdnConfiguration[] $cdnConfigurations - * @return \Google\AdsApi\AdManager\v202308\CdnConfiguration[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCdnConfigurations(array $cdnConfigurations) - { - return $this->__soapCall('createCdnConfigurations', array(array('cdnConfigurations' => $cdnConfigurations)))->getRval(); - } - - /** - * Gets a {@link CdnConfigurationPage} of {@link CdnConfiguration} objects that satisfy the given - * {@link Statement#query}. Currently only CDN Configurations of type {@link - * CdnConfigurationType#LIVE_STREAM_SOURCE_CONTENT} will be returned. The following fields are - * supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CdnConfiguration#id}
{@code name}{@link CdnConfiguration#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\CdnConfigurationPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCdnConfigurationsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getCdnConfigurationsByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Performs actions on {@link CdnConfiguration} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CdnConfigurationAction $cdnConfigurationAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCdnConfigurationAction(\Google\AdsApi\AdManager\v202308\CdnConfigurationAction $cdnConfigurationAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCdnConfigurationAction', array(array('cdnConfigurationAction' => $cdnConfigurationAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link CdnConfiguration} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CdnConfiguration[] $cdnConfigurations - * @return \Google\AdsApi\AdManager\v202308\CdnConfiguration[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCdnConfigurations(array $cdnConfigurations) - { - return $this->__soapCall('updateCdnConfigurations', array(array('cdnConfigurations' => $cdnConfigurations)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ClickTrackingCreative.php b/src/Google/AdsApi/AdManager/v202308/ClickTrackingCreative.php deleted file mode 100644 index 022722396..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ClickTrackingCreative.php +++ /dev/null @@ -1,54 +0,0 @@ -clickTrackingUrl = $clickTrackingUrl; - } - - /** - * @return string - */ - public function getClickTrackingUrl() - { - return $this->clickTrackingUrl; - } - - /** - * @param string $clickTrackingUrl - * @return \Google\AdsApi\AdManager\v202308\ClickTrackingCreative - */ - public function setClickTrackingUrl($clickTrackingUrl) - { - $this->clickTrackingUrl = $clickTrackingUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CmsMetadataService.php b/src/Google/AdsApi/AdManager/v202308/CmsMetadataService.php deleted file mode 100644 index 4dae62d51..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CmsMetadataService.php +++ /dev/null @@ -1,188 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCmsMetadataKeys' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCmsMetadataKeys', - 'ActivateCmsMetadataValues' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCmsMetadataValues', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CmsMetadataKeyAction' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataKeyAction', - 'CmsMetadataKey' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataKey', - 'CmsMetadataKeyPage' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataKeyPage', - 'CmsMetadataValueAction' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataValueAction', - 'CmsMetadataValue' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataValue', - 'CmsMetadataValuePage' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataValuePage', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateCmsMetadataKeys' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateCmsMetadataKeys', - 'DeactivateCmsMetadataValues' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateCmsMetadataValues', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'MetadataMergeSpecError' => 'Google\\AdsApi\\AdManager\\v202308\\MetadataMergeSpecError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getCmsMetadataKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCmsMetadataKeysByStatementResponse', - 'getCmsMetadataValuesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCmsMetadataValuesByStatementResponse', - 'performCmsMetadataKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCmsMetadataKeyActionResponse', - 'performCmsMetadataValueActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCmsMetadataValueActionResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CmsMetadataService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Returns a page of {@link CmsMetadataKey}s matching the specified {@link Statement}. The - * following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CmsMetadataKey#cmsMetadataKeyId}
{@code cmsKey}{@link CmsMetadataKey#keyName}
{@code status}{@link CmsMetadataKey#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\CmsMetadataKeyPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCmsMetadataKeysByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getCmsMetadataKeysByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Returns a page of {@link CmsMetadataValue}s matching the specified {@link Statement}. The - * following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CmsMetadataValue#cmsMetadataValueId}
{@code cmsValue}{@link CmsMetadataValue#valueName}
{@code cmsKey}{@link CmsMetadataValue#key#name}
{@code cmsKeyId}{@link CmsMetadataValue#key#id}
{@code status}{@link CmsMetadataValue#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\CmsMetadataValuePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCmsMetadataValuesByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getCmsMetadataValuesByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Performs actions on {@link CmsMetadataKey} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CmsMetadataKeyAction $keyAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCmsMetadataKeyAction(\Google\AdsApi\AdManager\v202308\CmsMetadataKeyAction $keyAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCmsMetadataKeyAction', array(array('keyAction' => $keyAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link CmsMetadataValue} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CmsMetadataValueAction $valueAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCmsMetadataValueAction(\Google\AdsApi\AdManager\v202308\CmsMetadataValueAction $valueAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCmsMetadataValueAction', array(array('valueAction' => $valueAction, 'filterStatement' => $filterStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Company.php b/src/Google/AdsApi/AdManager/v202308/Company.php deleted file mode 100644 index 033677ffb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Company.php +++ /dev/null @@ -1,470 +0,0 @@ -id = $id; - $this->name = $name; - $this->type = $type; - $this->address = $address; - $this->email = $email; - $this->faxPhone = $faxPhone; - $this->primaryPhone = $primaryPhone; - $this->externalId = $externalId; - $this->comment = $comment; - $this->creditStatus = $creditStatus; - $this->settings = $settings; - $this->appliedLabels = $appliedLabels; - $this->primaryContactId = $primaryContactId; - $this->appliedTeamIds = $appliedTeamIds; - $this->thirdPartyCompanyId = $thirdPartyCompanyId; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->childPublisher = $childPublisher; - $this->viewabilityProvider = $viewabilityProvider; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * @param string $type - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setType($type) - { - $this->type = $type; - return $this; - } - - /** - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * @param string $address - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setAddress($address) - { - $this->address = $address; - return $this; - } - - /** - * @return string - */ - public function getEmail() - { - return $this->email; - } - - /** - * @param string $email - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setEmail($email) - { - $this->email = $email; - return $this; - } - - /** - * @return string - */ - public function getFaxPhone() - { - return $this->faxPhone; - } - - /** - * @param string $faxPhone - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setFaxPhone($faxPhone) - { - $this->faxPhone = $faxPhone; - return $this; - } - - /** - * @return string - */ - public function getPrimaryPhone() - { - return $this->primaryPhone; - } - - /** - * @param string $primaryPhone - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setPrimaryPhone($primaryPhone) - { - $this->primaryPhone = $primaryPhone; - return $this; - } - - /** - * @return string - */ - public function getExternalId() - { - return $this->externalId; - } - - /** - * @param string $externalId - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setExternalId($externalId) - { - $this->externalId = $externalId; - return $this; - } - - /** - * @return string - */ - public function getComment() - { - return $this->comment; - } - - /** - * @param string $comment - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setComment($comment) - { - $this->comment = $comment; - return $this; - } - - /** - * @return string - */ - public function getCreditStatus() - { - return $this->creditStatus; - } - - /** - * @param string $creditStatus - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setCreditStatus($creditStatus) - { - $this->creditStatus = $creditStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CompanySettings - */ - public function getSettings() - { - return $this->settings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CompanySettings $settings - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setSettings($settings) - { - $this->settings = $settings; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getAppliedLabels() - { - return $this->appliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $appliedLabels - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setAppliedLabels(array $appliedLabels = null) - { - $this->appliedLabels = $appliedLabels; - return $this; - } - - /** - * @return int - */ - public function getPrimaryContactId() - { - return $this->primaryContactId; - } - - /** - * @param int $primaryContactId - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setPrimaryContactId($primaryContactId) - { - $this->primaryContactId = (!is_null($primaryContactId) && PHP_INT_SIZE === 4) - ? floatval($primaryContactId) : $primaryContactId; - return $this; - } - - /** - * @return int[] - */ - public function getAppliedTeamIds() - { - return $this->appliedTeamIds; - } - - /** - * @param int[]|null $appliedTeamIds - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setAppliedTeamIds(array $appliedTeamIds = null) - { - $this->appliedTeamIds = $appliedTeamIds; - return $this; - } - - /** - * @return int - */ - public function getThirdPartyCompanyId() - { - return $this->thirdPartyCompanyId; - } - - /** - * @param int $thirdPartyCompanyId - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setThirdPartyCompanyId($thirdPartyCompanyId) - { - $this->thirdPartyCompanyId = $thirdPartyCompanyId; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastModifiedDateTime() - { - return $this->lastModifiedDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setLastModifiedDateTime($lastModifiedDateTime) - { - $this->lastModifiedDateTime = $lastModifiedDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ChildPublisher - */ - public function getChildPublisher() - { - return $this->childPublisher; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ChildPublisher $childPublisher - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setChildPublisher($childPublisher) - { - $this->childPublisher = $childPublisher; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ViewabilityProvider - */ - public function getViewabilityProvider() - { - return $this->viewabilityProvider; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ViewabilityProvider $viewabilityProvider - * @return \Google\AdsApi\AdManager\v202308\Company - */ - public function setViewabilityProvider($viewabilityProvider) - { - $this->viewabilityProvider = $viewabilityProvider; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CompanyService.php b/src/Google/AdsApi/AdManager/v202308/CompanyService.php deleted file mode 100644 index 0f8d98267..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CompanyService.php +++ /dev/null @@ -1,177 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ChildPublisher' => 'Google\\AdsApi\\AdManager\\v202308\\ChildPublisher', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyAction' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyAction', - 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyCreditStatusError', - 'Company' => 'Google\\AdsApi\\AdManager\\v202308\\Company', - 'CompanyError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyError', - 'CompanyPage' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyPage', - 'CompanySettings' => 'Google\\AdsApi\\AdManager\\v202308\\CompanySettings', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'ReInviteAction' => 'Google\\AdsApi\\AdManager\\v202308\\ReInviteAction', - 'EndAgreementAction' => 'Google\\AdsApi\\AdManager\\v202308\\EndAgreementAction', - 'ExchangeSignupApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ExchangeSignupApiError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventoryClientApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryClientApiError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'McmError' => 'Google\\AdsApi\\AdManager\\v202308\\McmError', - 'NetworkError' => 'Google\\AdsApi\\AdManager\\v202308\\NetworkError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ResendInvitationAction' => 'Google\\AdsApi\\AdManager\\v202308\\ResendInvitationAction', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SiteError' => 'Google\\AdsApi\\AdManager\\v202308\\SiteError', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'ViewabilityProvider' => 'Google\\AdsApi\\AdManager\\v202308\\ViewabilityProvider', - 'createCompaniesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCompaniesResponse', - 'getCompaniesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCompaniesByStatementResponse', - 'performCompanyActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCompanyActionResponse', - 'updateCompaniesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCompaniesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CompanyService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Company} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Company[] $companies - * @return \Google\AdsApi\AdManager\v202308\Company[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCompanies(array $companies) - { - return $this->__soapCall('createCompanies', array(array('companies' => $companies)))->getRval(); - } - - /** - * Gets a {@link CompanyPage} of {@link Company} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Company#id}
{@code name}{@link Company#name}
{@code type}{@link Company#type}
{@code lastModifiedDateTime}{@link Company#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CompanyPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCompaniesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCompaniesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Company} objects that match the given {@code Statement}. - * - * @param \Google\AdsApi\AdManager\v202308\CompanyAction $companyAction - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCompanyAction(\Google\AdsApi\AdManager\v202308\CompanyAction $companyAction, \Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('performCompanyAction', array(array('companyAction' => $companyAction, 'statement' => $statement)))->getRval(); - } - - /** - * Updates the specified {@link Company} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Company[] $companies - * @return \Google\AdsApi\AdManager\v202308\Company[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCompanies(array $companies) - { - return $this->__soapCall('updateCompanies', array(array('companies' => $companies)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CompanySettings.php b/src/Google/AdsApi/AdManager/v202308/CompanySettings.php deleted file mode 100644 index a8b702575..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CompanySettings.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Contact' => 'Google\\AdsApi\\AdManager\\v202308\\Contact', - 'ContactError' => 'Google\\AdsApi\\AdManager\\v202308\\ContactError', - 'ContactPage' => 'Google\\AdsApi\\AdManager\\v202308\\ContactPage', - 'BaseContact' => 'Google\\AdsApi\\AdManager\\v202308\\BaseContact', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createContactsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createContactsResponse', - 'getContactsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getContactsByStatementResponse', - 'updateContactsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateContactsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ContactService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Contact} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Contact[] $contacts - * @return \Google\AdsApi\AdManager\v202308\Contact[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createContacts(array $contacts) - { - return $this->__soapCall('createContacts', array(array('contacts' => $contacts)))->getRval(); - } - - /** - * Gets a {@link ContactPage} of {@link Contact} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code name}{@link Contact#name}
{@code email}{@link Contact#email}
{@code id}{@link Contact#id}
{@code comment}{@link Contact#comment}
{@code companyId}{@link Contact#companyId}
{@code title}{@link Contact#title}
{@code cellPhone}{@link Contact#cellPhone}
{@code workPhone}{@link Contact#workPhone}
{@code faxPhone}{@link Contact#faxPhone}
{@code status}{@link Contact#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\ContactPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getContactsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getContactsByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Updates the specified {@link Contact} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Contact[] $contacts - * @return \Google\AdsApi\AdManager\v202308\Contact[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateContacts(array $contacts) - { - return $this->__soapCall('updateContacts', array(array('contacts' => $contacts)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Content.php b/src/Google/AdsApi/AdManager/v202308/Content.php deleted file mode 100644 index 064c5cef4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Content.php +++ /dev/null @@ -1,420 +0,0 @@ -id = $id; - $this->name = $name; - $this->status = $status; - $this->statusDefinedBy = $statusDefinedBy; - $this->hlsIngestStatus = $hlsIngestStatus; - $this->hlsIngestErrors = $hlsIngestErrors; - $this->lastHlsIngestDateTime = $lastHlsIngestDateTime; - $this->dashIngestStatus = $dashIngestStatus; - $this->dashIngestErrors = $dashIngestErrors; - $this->lastDashIngestDateTime = $lastDashIngestDateTime; - $this->importDateTime = $importDateTime; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->cmsSources = $cmsSources; - $this->contentBundleIds = $contentBundleIds; - $this->cmsMetadataValueIds = $cmsMetadataValueIds; - $this->duration = $duration; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return string - */ - public function getStatusDefinedBy() - { - return $this->statusDefinedBy; - } - - /** - * @param string $statusDefinedBy - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setStatusDefinedBy($statusDefinedBy) - { - $this->statusDefinedBy = $statusDefinedBy; - return $this; - } - - /** - * @return string - */ - public function getHlsIngestStatus() - { - return $this->hlsIngestStatus; - } - - /** - * @param string $hlsIngestStatus - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setHlsIngestStatus($hlsIngestStatus) - { - $this->hlsIngestStatus = $hlsIngestStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiIngestError[] - */ - public function getHlsIngestErrors() - { - return $this->hlsIngestErrors; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiIngestError[]|null $hlsIngestErrors - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setHlsIngestErrors(array $hlsIngestErrors = null) - { - $this->hlsIngestErrors = $hlsIngestErrors; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastHlsIngestDateTime() - { - return $this->lastHlsIngestDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastHlsIngestDateTime - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setLastHlsIngestDateTime($lastHlsIngestDateTime) - { - $this->lastHlsIngestDateTime = $lastHlsIngestDateTime; - return $this; - } - - /** - * @return string - */ - public function getDashIngestStatus() - { - return $this->dashIngestStatus; - } - - /** - * @param string $dashIngestStatus - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setDashIngestStatus($dashIngestStatus) - { - $this->dashIngestStatus = $dashIngestStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiIngestError[] - */ - public function getDashIngestErrors() - { - return $this->dashIngestErrors; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiIngestError[]|null $dashIngestErrors - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setDashIngestErrors(array $dashIngestErrors = null) - { - $this->dashIngestErrors = $dashIngestErrors; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastDashIngestDateTime() - { - return $this->lastDashIngestDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastDashIngestDateTime - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setLastDashIngestDateTime($lastDashIngestDateTime) - { - $this->lastDashIngestDateTime = $lastDashIngestDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getImportDateTime() - { - return $this->importDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $importDateTime - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setImportDateTime($importDateTime) - { - $this->importDateTime = $importDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastModifiedDateTime() - { - return $this->lastModifiedDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setLastModifiedDateTime($lastModifiedDateTime) - { - $this->lastModifiedDateTime = $lastModifiedDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CmsContent[] - */ - public function getCmsSources() - { - return $this->cmsSources; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CmsContent[]|null $cmsSources - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setCmsSources(array $cmsSources = null) - { - $this->cmsSources = $cmsSources; - return $this; - } - - /** - * @return int[] - */ - public function getContentBundleIds() - { - return $this->contentBundleIds; - } - - /** - * @param int[]|null $contentBundleIds - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setContentBundleIds(array $contentBundleIds = null) - { - $this->contentBundleIds = $contentBundleIds; - return $this; - } - - /** - * @return int[] - */ - public function getCmsMetadataValueIds() - { - return $this->cmsMetadataValueIds; - } - - /** - * @param int[]|null $cmsMetadataValueIds - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) - { - $this->cmsMetadataValueIds = $cmsMetadataValueIds; - return $this; - } - - /** - * @return int - */ - public function getDuration() - { - return $this->duration; - } - - /** - * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\Content - */ - public function setDuration($duration) - { - $this->duration = (!is_null($duration) && PHP_INT_SIZE === 4) - ? floatval($duration) : $duration; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentBundleService.php b/src/Google/AdsApi/AdManager/v202308/ContentBundleService.php deleted file mode 100644 index b300c2e1c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ContentBundleService.php +++ /dev/null @@ -1,154 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateContentBundles' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateContentBundles', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentBundleAction' => 'Google\\AdsApi\\AdManager\\v202308\\ContentBundleAction', - 'ContentBundle' => 'Google\\AdsApi\\AdManager\\v202308\\ContentBundle', - 'ContentBundlePage' => 'Google\\AdsApi\\AdManager\\v202308\\ContentBundlePage', - 'ContentFilterError' => 'Google\\AdsApi\\AdManager\\v202308\\ContentFilterError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateContentBundles' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateContentBundles', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PlacementError' => 'Google\\AdsApi\\AdManager\\v202308\\PlacementError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createContentBundlesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createContentBundlesResponse', - 'getContentBundlesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getContentBundlesByStatementResponse', - 'performContentBundleActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performContentBundleActionResponse', - 'updateContentBundlesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateContentBundlesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ContentBundleService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link ContentBundle} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ContentBundle[] $contentBundles - * @return \Google\AdsApi\AdManager\v202308\ContentBundle[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createContentBundles(array $contentBundles) - { - return $this->__soapCall('createContentBundles', array(array('contentBundles' => $contentBundles)))->getRval(); - } - - /** - * Gets a {@link ContentBundlePage} of {@link ContentBundle} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link ContentBundle#id}
{@code name}{@link ContentBundle#name}
{@code status}{@link ContentBundle#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ContentBundlePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getContentBundlesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getContentBundlesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link ContentBundle} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\ContentBundleAction $contentBundleAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performContentBundleAction(\Google\AdsApi\AdManager\v202308\ContentBundleAction $contentBundleAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performContentBundleAction', array(array('contentBundleAction' => $contentBundleAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link ContentBundle} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ContentBundle[] $contentBundles - * @return \Google\AdsApi\AdManager\v202308\ContentBundle[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateContentBundles(array $contentBundles) - { - return $this->__soapCall('updateContentBundles', array(array('contentBundles' => $contentBundles)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentService.php b/src/Google/AdsApi/AdManager/v202308/ContentService.php deleted file mode 100644 index 5e7830957..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ContentService.php +++ /dev/null @@ -1,123 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CmsContent' => 'Google\\AdsApi\\AdManager\\v202308\\CmsContent', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Content' => 'Google\\AdsApi\\AdManager\\v202308\\Content', - 'ContentPage' => 'Google\\AdsApi\\AdManager\\v202308\\ContentPage', - 'DaiIngestError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiIngestError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getContentByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getContentByStatementResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ContentService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Content#id}
{@code status}{@link Content#status}
{@code name}{@link Content#name}
{@code lastModifiedDateTime}{@link Content#lastModifiedDateTime}
{@code lastDaiIngestDateTime}{@link Content#lastDaiIngestDateTime}
{@code daiIngestStatus}{@link Content#daiIngestStatus}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\ContentPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getContentByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getContentByStatement', array(array('statement' => $statement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ConversionEvent_TrackingUrlsMapEntry.php b/src/Google/AdsApi/AdManager/v202308/ConversionEvent_TrackingUrlsMapEntry.php deleted file mode 100644 index 69a2456bd..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ConversionEvent_TrackingUrlsMapEntry.php +++ /dev/null @@ -1,68 +0,0 @@ -key = $key; - $this->value = $value; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @param string $key - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry - */ - public function setKey($key) - { - $this->key = $key; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrackingUrls - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrackingUrls $value - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Creative.php b/src/Google/AdsApi/AdManager/v202308/Creative.php deleted file mode 100644 index 9ebf0fba0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Creative.php +++ /dev/null @@ -1,270 +0,0 @@ -advertiserId = $advertiserId; - $this->id = $id; - $this->name = $name; - $this->size = $size; - $this->previewUrl = $previewUrl; - $this->policyLabels = $policyLabels; - $this->appliedLabels = $appliedLabels; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->customFieldValues = $customFieldValues; - $this->thirdPartyDataDeclaration = $thirdPartyDataDeclaration; - } - - /** - * @return int - */ - public function getAdvertiserId() - { - return $this->advertiserId; - } - - /** - * @param int $advertiserId - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setAdvertiserId($advertiserId) - { - $this->advertiserId = (!is_null($advertiserId) && PHP_INT_SIZE === 4) - ? floatval($advertiserId) : $advertiserId; - return $this; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Size - */ - public function getSize() - { - return $this->size; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Size $size - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setSize($size) - { - $this->size = $size; - return $this; - } - - /** - * @return string - */ - public function getPreviewUrl() - { - return $this->previewUrl; - } - - /** - * @param string $previewUrl - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setPreviewUrl($previewUrl) - { - $this->previewUrl = $previewUrl; - return $this; - } - - /** - * @return string[] - */ - public function getPolicyLabels() - { - return $this->policyLabels; - } - - /** - * @param string[]|null $policyLabels - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setPolicyLabels(array $policyLabels = null) - { - $this->policyLabels = $policyLabels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getAppliedLabels() - { - return $this->appliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $appliedLabels - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setAppliedLabels(array $appliedLabels = null) - { - $this->appliedLabels = $appliedLabels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastModifiedDateTime() - { - return $this->lastModifiedDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setLastModifiedDateTime($lastModifiedDateTime) - { - $this->lastModifiedDateTime = $lastModifiedDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[] - */ - public function getCustomFieldValues() - { - return $this->customFieldValues; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[]|null $customFieldValues - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setCustomFieldValues(array $customFieldValues = null) - { - $this->customFieldValues = $customFieldValues; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyDataDeclaration - */ - public function getThirdPartyDataDeclaration() - { - return $this->thirdPartyDataDeclaration; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ThirdPartyDataDeclaration $thirdPartyDataDeclaration - * @return \Google\AdsApi\AdManager\v202308\Creative - */ - public function setThirdPartyDataDeclaration($thirdPartyDataDeclaration) - { - $this->thirdPartyDataDeclaration = $thirdPartyDataDeclaration; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativePlaceholder.php b/src/Google/AdsApi/AdManager/v202308/CreativePlaceholder.php deleted file mode 100644 index cb62ca05e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativePlaceholder.php +++ /dev/null @@ -1,244 +0,0 @@ -size = $size; - $this->creativeTemplateId = $creativeTemplateId; - $this->companions = $companions; - $this->appliedLabels = $appliedLabels; - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - $this->expectedCreativeCount = $expectedCreativeCount; - $this->creativeSizeType = $creativeSizeType; - $this->targetingName = $targetingName; - $this->isAmpOnly = $isAmpOnly; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Size - */ - public function getSize() - { - return $this->size; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Size $size - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setSize($size) - { - $this->size = $size; - return $this; - } - - /** - * @return int - */ - public function getCreativeTemplateId() - { - return $this->creativeTemplateId; - } - - /** - * @param int $creativeTemplateId - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setCreativeTemplateId($creativeTemplateId) - { - $this->creativeTemplateId = (!is_null($creativeTemplateId) && PHP_INT_SIZE === 4) - ? floatval($creativeTemplateId) : $creativeTemplateId; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder[] - */ - public function getCompanions() - { - return $this->companions; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativePlaceholder[]|null $companions - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setCompanions(array $companions = null) - { - $this->companions = $companions; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getAppliedLabels() - { - return $this->appliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $appliedLabels - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setAppliedLabels(array $appliedLabels = null) - { - $this->appliedLabels = $appliedLabels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getEffectiveAppliedLabels() - { - return $this->effectiveAppliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $effectiveAppliedLabels - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) - { - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - return $this; - } - - /** - * @return int - */ - public function getExpectedCreativeCount() - { - return $this->expectedCreativeCount; - } - - /** - * @param int $expectedCreativeCount - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setExpectedCreativeCount($expectedCreativeCount) - { - $this->expectedCreativeCount = $expectedCreativeCount; - return $this; - } - - /** - * @return string - */ - public function getCreativeSizeType() - { - return $this->creativeSizeType; - } - - /** - * @param string $creativeSizeType - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setCreativeSizeType($creativeSizeType) - { - $this->creativeSizeType = $creativeSizeType; - return $this; - } - - /** - * @return string - */ - public function getTargetingName() - { - return $this->targetingName; - } - - /** - * @param string $targetingName - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setTargetingName($targetingName) - { - $this->targetingName = $targetingName; - return $this; - } - - /** - * @return boolean - */ - public function getIsAmpOnly() - { - return $this->isAmpOnly; - } - - /** - * @param boolean $isAmpOnly - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function setIsAmpOnly($isAmpOnly) - { - $this->isAmpOnly = $isAmpOnly; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeReview.php b/src/Google/AdsApi/AdManager/v202308/CreativeReview.php deleted file mode 100644 index d12553278..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeReview.php +++ /dev/null @@ -1,94 +0,0 @@ -id = $id; - $this->reviewableUrl = $reviewableUrl; - $this->impressions = $impressions; - } - - /** - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * @param string $id - * @return \Google\AdsApi\AdManager\v202308\CreativeReview - */ - public function setId($id) - { - $this->id = $id; - return $this; - } - - /** - * @return string - */ - public function getReviewableUrl() - { - return $this->reviewableUrl; - } - - /** - * @param string $reviewableUrl - * @return \Google\AdsApi\AdManager\v202308\CreativeReview - */ - public function setReviewableUrl($reviewableUrl) - { - $this->reviewableUrl = $reviewableUrl; - return $this; - } - - /** - * @return int - */ - public function getImpressions() - { - return $this->impressions; - } - - /** - * @param int $impressions - * @return \Google\AdsApi\AdManager\v202308\CreativeReview - */ - public function setImpressions($impressions) - { - $this->impressions = (!is_null($impressions) && PHP_INT_SIZE === 4) - ? floatval($impressions) : $impressions; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeReviewPage.php b/src/Google/AdsApi/AdManager/v202308/CreativeReviewPage.php deleted file mode 100644 index f40906b1f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeReviewPage.php +++ /dev/null @@ -1,93 +0,0 @@ -totalResultSetSize = $totalResultSetSize; - $this->startIndex = $startIndex; - $this->results = $results; - } - - /** - * @return int - */ - public function getTotalResultSetSize() - { - return $this->totalResultSetSize; - } - - /** - * @param int $totalResultSetSize - * @return \Google\AdsApi\AdManager\v202308\CreativeReviewPage - */ - public function setTotalResultSetSize($totalResultSetSize) - { - $this->totalResultSetSize = $totalResultSetSize; - return $this; - } - - /** - * @return int - */ - public function getStartIndex() - { - return $this->startIndex; - } - - /** - * @param int $startIndex - * @return \Google\AdsApi\AdManager\v202308\CreativeReviewPage - */ - public function setStartIndex($startIndex) - { - $this->startIndex = $startIndex; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeReview[] - */ - public function getResults() - { - return $this->results; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeReview[]|null $results - * @return \Google\AdsApi\AdManager\v202308\CreativeReviewPage - */ - public function setResults(array $results = null) - { - $this->results = $results; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeReviewService.php b/src/Google/AdsApi/AdManager/v202308/CreativeReviewService.php deleted file mode 100644 index 196c04054..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeReviewService.php +++ /dev/null @@ -1,94 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CreativeReview' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeReview', - 'CreativeReviewPage' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeReviewPage', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getCreativeReviewsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCreativeReviewsByStatementResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CreativeReviewService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link CreativeReviewPage} of {@link CreativeReview} objects that satisfy the given - * {@link Statement#query}. This will allow you to review creatives that have displayed (or could - * have displayed) on your pages or apps in the last 30 days. To ensure that you are always - * reviewing the most important creatives first, the {@link CreativeReview} objects are ranked - * according to the number of impressions that they've received. - * - *

This feature is not yet openly available. Publishers will need to apply for access for this - * feature through their account managers. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\CreativeReviewPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCreativeReviewsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getCreativeReviewsByStatement', array(array('statement' => $statement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeService.php b/src/Google/AdsApi/AdManager/v202308/CreativeService.php deleted file mode 100644 index e4023ed07..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeService.php +++ /dev/null @@ -1,241 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\BaseDynamicAllocationCreative', - 'BaseCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCreativeTemplateVariableValue', - 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCreatives' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCreatives', - 'AdExchangeCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AdExchangeCreative', - 'AdSenseCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AdSenseCreative', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'AspectRatioImageCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AspectRatioImageCreative', - 'AssetCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202308\\AssetCreativeTemplateVariableValue', - 'Asset' => 'Google\\AdsApi\\AdManager\\v202308\\Asset', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudioCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AudioCreative', - 'AudioRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AudioRedirectCreative', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BaseAudioCreative' => 'Google\\AdsApi\\AdManager\\v202308\\BaseAudioCreative', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BaseImageCreative' => 'Google\\AdsApi\\AdManager\\v202308\\BaseImageCreative', - 'BaseImageRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\BaseImageRedirectCreative', - 'BaseRichMediaStudioCreative' => 'Google\\AdsApi\\AdManager\\v202308\\BaseRichMediaStudioCreative', - 'BaseVideoCreative' => 'Google\\AdsApi\\AdManager\\v202308\\BaseVideoCreative', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'ClickTag' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTag', - 'ClickTrackingCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTrackingCreative', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ConversionEvent_TrackingUrlsMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\ConversionEvent_TrackingUrlsMapEntry', - 'CreativeAction' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeAction', - 'CreativeAsset' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeAsset', - 'CustomCreativeAsset' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCreativeAsset', - 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeAssetMacroError', - 'Creative' => 'Google\\AdsApi\\AdManager\\v202308\\Creative', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CreativePage' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePage', - 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeSetError', - 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateError', - 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateOperationError', - 'CustomCreative' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCreative', - 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCreativeError', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateCreatives' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateCreatives', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'FileError' => 'Google\\AdsApi\\AdManager\\v202308\\FileError', - 'HasDestinationUrlCreative' => 'Google\\AdsApi\\AdManager\\v202308\\HasDestinationUrlCreative', - 'HasHtmlSnippetDynamicAllocationCreative' => 'Google\\AdsApi\\AdManager\\v202308\\HasHtmlSnippetDynamicAllocationCreative', - 'Html5Creative' => 'Google\\AdsApi\\AdManager\\v202308\\Html5Creative', - 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202308\\HtmlBundleProcessorError', - 'ImageCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ImageCreative', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'ImageOverlayCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ImageOverlayCreative', - 'ImageRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ImageRedirectCreative', - 'ImageRedirectOverlayCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ImageRedirectOverlayCreative', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InternalRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\InternalRedirectCreative', - 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidPhoneNumberError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LegacyDfpCreative' => 'Google\\AdsApi\\AdManager\\v202308\\LegacyDfpCreative', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LongCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202308\\LongCreativeTemplateVariableValue', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'ProgrammaticCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ProgrammaticCreative', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RedirectAsset' => 'Google\\AdsApi\\AdManager\\v202308\\RedirectAsset', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'RichMediaStudioChildAssetProperty' => 'Google\\AdsApi\\AdManager\\v202308\\RichMediaStudioChildAssetProperty', - 'RichMediaStudioCreative' => 'Google\\AdsApi\\AdManager\\v202308\\RichMediaStudioCreative', - 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\RichMediaStudioCreativeError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxCreative' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxCreative', - 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxCreativeError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202308\\StringCreativeTemplateVariableValue', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202308\\SwiffyConversionError', - 'TemplateCreative' => 'Google\\AdsApi\\AdManager\\v202308\\TemplateCreative', - 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\TemplateInstantiatedCreativeError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'ThirdPartyCreative' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyCreative', - 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyDataDeclaration', - 'TrackingUrls' => 'Google\\AdsApi\\AdManager\\v202308\\TrackingUrls', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UnsupportedCreative' => 'Google\\AdsApi\\AdManager\\v202308\\UnsupportedCreative', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UrlCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202308\\UrlCreativeTemplateVariableValue', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VastRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\VastRedirectCreative', - 'VideoCreative' => 'Google\\AdsApi\\AdManager\\v202308\\VideoCreative', - 'VideoMetadata' => 'Google\\AdsApi\\AdManager\\v202308\\VideoMetadata', - 'VideoRedirectAsset' => 'Google\\AdsApi\\AdManager\\v202308\\VideoRedirectAsset', - 'VideoRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202308\\VideoRedirectCreative', - 'createCreativesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCreativesResponse', - 'getCreativesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCreativesByStatementResponse', - 'performCreativeActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCreativeActionResponse', - 'updateCreativesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCreativesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CreativeService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Creative} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Creative[] $creatives - * @return \Google\AdsApi\AdManager\v202308\Creative[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCreatives(array $creatives) - { - return $this->__soapCall('createCreatives', array(array('creatives' => $creatives)))->getRval(); - } - - /** - * Gets a {@link CreativePage} of {@link Creative} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Creative#id}
{@code name}{@link Creative#name}
{@code advertiserId}{@link Creative#advertiserId}
{@code width}{@link Creative#size}
{@code height}{@link Creative#size}
{@code lastModifiedDateTime}{@link Creative#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CreativePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCreativesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCreativesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs action on {@link Creative} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CreativeAction $creativeAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCreativeAction(\Google\AdsApi\AdManager\v202308\CreativeAction $creativeAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCreativeAction', array(array('creativeAction' => $creativeAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Creative} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Creative[] $creatives - * @return \Google\AdsApi\AdManager\v202308\Creative[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCreatives(array $creatives) - { - return $this->__soapCall('updateCreatives', array(array('creatives' => $creatives)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeSetService.php b/src/Google/AdsApi/AdManager/v202308/CreativeSetService.php deleted file mode 100644 index 7d95daa63..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeSetService.php +++ /dev/null @@ -1,162 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeAssetMacroError', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CreativeSet' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeSet', - 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeSetError', - 'CreativeSetPage' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeSetPage', - 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateError', - 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateOperationError', - 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCreativeError', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'FileError' => 'Google\\AdsApi\\AdManager\\v202308\\FileError', - 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202308\\HtmlBundleProcessorError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidPhoneNumberError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\RichMediaStudioCreativeError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxCreativeError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202308\\SwiffyConversionError', - 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\TemplateInstantiatedCreativeError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createCreativeSetResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCreativeSetResponse', - 'getCreativeSetsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCreativeSetsByStatementResponse', - 'updateCreativeSetResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCreativeSetResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CreativeSetService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates a new {@link CreativeSet}. - * - * @param \Google\AdsApi\AdManager\v202308\CreativeSet $creativeSet - * @return \Google\AdsApi\AdManager\v202308\CreativeSet - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCreativeSet(\Google\AdsApi\AdManager\v202308\CreativeSet $creativeSet) - { - return $this->__soapCall('createCreativeSet', array(array('creativeSet' => $creativeSet)))->getRval(); - } - - /** - * Gets a {@link CreativeSetPage} of {@link CreativeSet} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CreativeSet#id}
{@code name}{@link CreativeSet#name}
{@code masterCreativeId}{@link CreativeSet#masterCreativeId}
{@code lastModifiedDateTime}{@link CreativeSet#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\CreativeSetPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCreativeSetsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getCreativeSetsByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Updates the specified {@link CreativeSet}. - * - * @param \Google\AdsApi\AdManager\v202308\CreativeSet $creativeSet - * @return \Google\AdsApi\AdManager\v202308\CreativeSet - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCreativeSet(\Google\AdsApi\AdManager\v202308\CreativeSet $creativeSet) - { - return $this->__soapCall('updateCreativeSet', array(array('creativeSet' => $creativeSet)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeTargeting.php b/src/Google/AdsApi/AdManager/v202308/CreativeTargeting.php deleted file mode 100644 index 4ff1b52e9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -name = $name; - $this->targeting = $targeting; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\CreativeTargeting - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\CreativeTargeting - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeTemplateService.php b/src/Google/AdsApi/AdManager/v202308/CreativeTemplateService.php deleted file mode 100644 index 4ce07e13e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeTemplateService.php +++ /dev/null @@ -1,124 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'AssetCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\AssetCreativeTemplateVariable', - 'CreativeTemplate' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplate', - 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateError', - 'ListStringCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\ListStringCreativeTemplateVariable', - 'ListStringCreativeTemplateVariable.VariableChoice' => 'Google\\AdsApi\\AdManager\\v202308\\ListStringCreativeTemplateVariableVariableChoice', - 'LongCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\LongCreativeTemplateVariable', - 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateOperationError', - 'CreativeTemplatePage' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplatePage', - 'StringCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\StringCreativeTemplateVariable', - 'UrlCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\UrlCreativeTemplateVariable', - 'CreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateVariable', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getCreativeTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCreativeTemplatesByStatementResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CreativeTemplateService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link CreativeTemplatePage} of {@link CreativeTemplate} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CreativeTemplate#id}
{@code name}{@link CreativeTemplate#name}
{@code type}{@link CreativeTemplate#type}
{@code status}{@link CreativeTemplate#status}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CreativeTemplatePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCreativeTemplatesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCreativeTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeWrapperService.php b/src/Google/AdsApi/AdManager/v202308/CreativeWrapperService.php deleted file mode 100644 index 62bc96d1a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CreativeWrapperService.php +++ /dev/null @@ -1,171 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCreativeWrappers' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCreativeWrappers', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ConversionEvent_TrackingUrlsMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\ConversionEvent_TrackingUrlsMapEntry', - 'CreativeWrapperAction' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapperAction', - 'CreativeWrapper' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapper', - 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapperError', - 'CreativeWrapperPage' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapperPage', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateCreativeWrappers' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateCreativeWrappers', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'LabelError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyDataDeclaration', - 'TrackingUrls' => 'Google\\AdsApi\\AdManager\\v202308\\TrackingUrls', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createCreativeWrappersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCreativeWrappersResponse', - 'getCreativeWrappersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCreativeWrappersByStatementResponse', - 'performCreativeWrapperActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCreativeWrapperActionResponse', - 'updateCreativeWrappersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCreativeWrappersResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CreativeWrapperService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates a new {@code CreativeWrapper} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapper[] $creativeWrappers - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapper[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCreativeWrappers(array $creativeWrappers) - { - return $this->__soapCall('createCreativeWrappers', array(array('creativeWrappers' => $creativeWrappers)))->getRval(); - } - - /** - * Gets a {@link CreativeWrapperPage} of {@link CreativeWrapper} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CreativeWrapper#id}
{@code labelId}{@link CreativeWrapper#labelId}
{@code status}{@link CreativeWrapper#status}
{@code ordering}{@link CreativeWrapper#ordering}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapperPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCreativeWrappersByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCreativeWrappersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link CreativeWrapper} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapperAction $creativeWrapperAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCreativeWrapperAction(\Google\AdsApi\AdManager\v202308\CreativeWrapperAction $creativeWrapperAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCreativeWrapperAction', array(array('creativeWrapperAction' => $creativeWrapperAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@code CreativeWrapper} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapper[] $creativeWrappers - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapper[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCreativeWrappers(array $creativeWrappers) - { - return $this->__soapCall('updateCreativeWrappers', array(array('creativeWrappers' => $creativeWrappers)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomCreativeAsset.php b/src/Google/AdsApi/AdManager/v202308/CustomCreativeAsset.php deleted file mode 100644 index 841d81b5d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomCreativeAsset.php +++ /dev/null @@ -1,68 +0,0 @@ -macroName = $macroName; - $this->asset = $asset; - } - - /** - * @return string - */ - public function getMacroName() - { - return $this->macroName; - } - - /** - * @param string $macroName - * @return \Google\AdsApi\AdManager\v202308\CustomCreativeAsset - */ - public function setMacroName($macroName) - { - $this->macroName = $macroName; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset - */ - public function getAsset() - { - return $this->asset; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset $asset - * @return \Google\AdsApi\AdManager\v202308\CustomCreativeAsset - */ - public function setAsset($asset) - { - $this->asset = $asset; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomCriteriaLeaf.php b/src/Google/AdsApi/AdManager/v202308/CustomCriteriaLeaf.php deleted file mode 100644 index 2c76ddb2c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomCriteriaLeaf.php +++ /dev/null @@ -1,18 +0,0 @@ -logicalOperator = $logicalOperator; - $this->children = $children; - } - - /** - * @return string - */ - public function getLogicalOperator() - { - return $this->logicalOperator; - } - - /** - * @param string $logicalOperator - * @return \Google\AdsApi\AdManager\v202308\CustomCriteriaSet - */ - public function setLogicalOperator($logicalOperator) - { - $this->logicalOperator = $logicalOperator; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomCriteriaNode[] - */ - public function getChildren() - { - return $this->children; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomCriteriaNode[]|null $children - * @return \Google\AdsApi\AdManager\v202308\CustomCriteriaSet - */ - public function setChildren(array $children = null) - { - $this->children = $children; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomFieldEntityType.php b/src/Google/AdsApi/AdManager/v202308/CustomFieldEntityType.php deleted file mode 100644 index e75244141..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomFieldEntityType.php +++ /dev/null @@ -1,21 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCustomFields' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCustomFields', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CustomFieldAction' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldAction', - 'CustomField' => 'Google\\AdsApi\\AdManager\\v202308\\CustomField', - 'CustomFieldError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldError', - 'CustomFieldOption' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldOption', - 'CustomFieldPage' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldPage', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateCustomFields' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateCustomFields', - 'DropDownCustomField' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomField', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createCustomFieldOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCustomFieldOptionsResponse', - 'createCustomFieldsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCustomFieldsResponse', - 'getCustomFieldOptionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCustomFieldOptionResponse', - 'getCustomFieldsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCustomFieldsByStatementResponse', - 'performCustomFieldActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCustomFieldActionResponse', - 'updateCustomFieldOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCustomFieldOptionsResponse', - 'updateCustomFieldsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCustomFieldsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CustomFieldService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link CustomFieldOption} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption[] $customFieldOptions - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCustomFieldOptions(array $customFieldOptions) - { - return $this->__soapCall('createCustomFieldOptions', array(array('customFieldOptions' => $customFieldOptions)))->getRval(); - } - - /** - * Creates new {@link CustomField} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\CustomField[] $customFields - * @return \Google\AdsApi\AdManager\v202308\CustomField[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCustomFields(array $customFields) - { - return $this->__soapCall('createCustomFields', array(array('customFields' => $customFields)))->getRval(); - } - - /** - * Returns the {@link CustomFieldOption} uniquely identified by the given ID. - * - * @param int $customFieldOptionId - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCustomFieldOption($customFieldOptionId) - { - return $this->__soapCall('getCustomFieldOption', array(array('customFieldOptionId' => $customFieldOptionId)))->getRval(); - } - - /** - * Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CustomField#id}
{@code entityType}{@link CustomField#entityType}
{@code name}{@link CustomField#name}
{@code isActive}{@link CustomField#isActive}
{@code visibility}{@link CustomField#visibility}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CustomFieldPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCustomFieldsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCustomFieldsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link CustomField} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CustomFieldAction $customFieldAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCustomFieldAction(\Google\AdsApi\AdManager\v202308\CustomFieldAction $customFieldAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCustomFieldAction', array(array('customFieldAction' => $customFieldAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link CustomFieldOption} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption[] $customFieldOptions - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCustomFieldOptions(array $customFieldOptions) - { - return $this->__soapCall('updateCustomFieldOptions', array(array('customFieldOptions' => $customFieldOptions)))->getRval(); - } - - /** - * Updates the specified {@link CustomField} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CustomField[] $customFields - * @return \Google\AdsApi\AdManager\v202308\CustomField[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCustomFields(array $customFields) - { - return $this->__soapCall('updateCustomFields', array(array('customFields' => $customFields)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomFieldValue.php b/src/Google/AdsApi/AdManager/v202308/CustomFieldValue.php deleted file mode 100644 index bb4b0a09d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomFieldValue.php +++ /dev/null @@ -1,45 +0,0 @@ -value = $value; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Value - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Value $value - * @return \Google\AdsApi\AdManager\v202308\CustomFieldValue - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomPacingCurve.php b/src/Google/AdsApi/AdManager/v202308/CustomPacingCurve.php deleted file mode 100644 index 2d35240d0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomPacingCurve.php +++ /dev/null @@ -1,68 +0,0 @@ -customPacingGoalUnit = $customPacingGoalUnit; - $this->customPacingGoals = $customPacingGoals; - } - - /** - * @return string - */ - public function getCustomPacingGoalUnit() - { - return $this->customPacingGoalUnit; - } - - /** - * @param string $customPacingGoalUnit - * @return \Google\AdsApi\AdManager\v202308\CustomPacingCurve - */ - public function setCustomPacingGoalUnit($customPacingGoalUnit) - { - $this->customPacingGoalUnit = $customPacingGoalUnit; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomPacingGoal[] - */ - public function getCustomPacingGoals() - { - return $this->customPacingGoals; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomPacingGoal[]|null $customPacingGoals - * @return \Google\AdsApi\AdManager\v202308\CustomPacingCurve - */ - public function setCustomPacingGoals(array $customPacingGoals = null) - { - $this->customPacingGoals = $customPacingGoals; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomTargetingService.php b/src/Google/AdsApi/AdManager/v202308/CustomTargetingService.php deleted file mode 100644 index 7bcf11577..000000000 --- a/src/Google/AdsApi/AdManager/v202308/CustomTargetingService.php +++ /dev/null @@ -1,277 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateCustomTargetingKeys' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCustomTargetingKeys', - 'ActivateCustomTargetingValues' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateCustomTargetingValues', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomTargetingKeyAction' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingKeyAction', - 'CustomTargetingKey' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingKey', - 'CustomTargetingKeyPage' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingKeyPage', - 'CustomTargetingValueAction' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingValueAction', - 'CustomTargetingValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingValue', - 'CustomTargetingValuePage' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingValuePage', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeleteCustomTargetingKeys' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteCustomTargetingKeys', - 'DeleteCustomTargetingValues' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteCustomTargetingValues', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createCustomTargetingKeysResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCustomTargetingKeysResponse', - 'createCustomTargetingValuesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createCustomTargetingValuesResponse', - 'getCustomTargetingKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCustomTargetingKeysByStatementResponse', - 'getCustomTargetingValuesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCustomTargetingValuesByStatementResponse', - 'performCustomTargetingKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCustomTargetingKeyActionResponse', - 'performCustomTargetingValueActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performCustomTargetingValueActionResponse', - 'updateCustomTargetingKeysResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCustomTargetingKeysResponse', - 'updateCustomTargetingValuesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateCustomTargetingValuesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/CustomTargetingService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link CustomTargetingKey} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] $keys - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCustomTargetingKeys(array $keys) - { - return $this->__soapCall('createCustomTargetingKeys', array(array('keys' => $keys)))->getRval(); - } - - /** - * Creates new {@link CustomTargetingValue} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] $values - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createCustomTargetingValues(array $values) - { - return $this->__soapCall('createCustomTargetingValues', array(array('values' => $values)))->getRval(); - } - - /** - * Gets a {@link CustomTargetingKeyPage} of {@link CustomTargetingKey} objects that satisfy the - * given {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link CustomTargetingKey#id}
{@code name}{@link CustomTargetingKey#name}
{@code displayName}{@link CustomTargetingKey#displayName}
{@code type}{@link CustomTargetingKey#type}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKeyPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCustomTargetingKeysByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCustomTargetingKeysByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link CustomTargetingValuePage} of {@link CustomTargetingValue} objects that satisfy - * the given {@link Statement#query}. - * - *

The {@code WHERE} clause in the {@link Statement#query} must always contain {@link - * CustomTargetingValue#customTargetingKeyId} as one of its columns in a way that it is AND'ed - * with the rest of the query. So, if you want to retrieve values for a known set of key ids, - * valid {@link Statement#query} would look like: - * - *

    - *
  1. "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated - * with keys having ids 17, 18, 19. - *
  2. "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated - * with keys having id 17 and value name is 'red'. - *
- * - *

The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code id}{@link CustomTargetingValue#id}
{@code customTargetingKeyId}{@link CustomTargetingValue#customTargetingKeyId}
{@code name}{@link CustomTargetingValue#name}
{@code displayName}{@link CustomTargetingValue#displayName}
{@code matchType}{@link CustomTargetingValue#matchType}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValuePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCustomTargetingValuesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getCustomTargetingValuesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link CustomTargetingKey} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKeyAction $customTargetingKeyAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCustomTargetingKeyAction(\Google\AdsApi\AdManager\v202308\CustomTargetingKeyAction $customTargetingKeyAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCustomTargetingKeyAction', array(array('customTargetingKeyAction' => $customTargetingKeyAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link CustomTargetingValue} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValueAction $customTargetingValueAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performCustomTargetingValueAction(\Google\AdsApi\AdManager\v202308\CustomTargetingValueAction $customTargetingValueAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performCustomTargetingValueAction', array(array('customTargetingValueAction' => $customTargetingValueAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link CustomTargetingKey} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] $keys - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCustomTargetingKeys(array $keys) - { - return $this->__soapCall('updateCustomTargetingKeys', array(array('keys' => $keys)))->getRval(); - } - - /** - * Updates the specified {@link CustomTargetingValue} objects. - * - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] $values - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateCustomTargetingValues(array $values) - { - return $this->__soapCall('updateCustomTargetingValues', array(array('values' => $values)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyService.php b/src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyService.php deleted file mode 100644 index cc039687c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyService.php +++ /dev/null @@ -1,162 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateDaiAuthenticationKeys' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateDaiAuthenticationKeys', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'DaiAuthenticationKeyAction' => 'Google\\AdsApi\\AdManager\\v202308\\DaiAuthenticationKeyAction', - 'DaiAuthenticationKeyActionError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiAuthenticationKeyActionError', - 'DaiAuthenticationKey' => 'Google\\AdsApi\\AdManager\\v202308\\DaiAuthenticationKey', - 'DaiAuthenticationKeyPage' => 'Google\\AdsApi\\AdManager\\v202308\\DaiAuthenticationKeyPage', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateDaiAuthenticationKeys' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateDaiAuthenticationKeys', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createDaiAuthenticationKeysResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createDaiAuthenticationKeysResponse', - 'getDaiAuthenticationKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getDaiAuthenticationKeysByStatementResponse', - 'performDaiAuthenticationKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performDaiAuthenticationKeyActionResponse', - 'updateDaiAuthenticationKeysResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateDaiAuthenticationKeysResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/DaiAuthenticationKeyService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link DaiAuthenticationKey} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] $daiAuthenticationKeys - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createDaiAuthenticationKeys(array $daiAuthenticationKeys) - { - return $this->__soapCall('createDaiAuthenticationKeys', array(array('daiAuthenticationKeys' => $daiAuthenticationKeys)))->getRval(); - } - - /** - * Gets a {@link DaiAuthenticationKeyPage} of {@link DaiAuthenticationKey} objects that satisfy - * the given {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link DaiAuthenticationKey#id}
{@code status}{@link DaiAuthenticationKey#status}
{@code name}{@link DaiAuthenticationKey#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKeyPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getDaiAuthenticationKeysByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getDaiAuthenticationKeysByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link DaiAuthenticationKey} objects that match the given {@link - * Statement#query}. - * - *

DAI authentication keys cannot be deactivated if there are active {@link LiveStreamEvent}s - * or Content Sources that are using them. - * - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKeyAction $daiAuthenticationKeyAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performDaiAuthenticationKeyAction(\Google\AdsApi\AdManager\v202308\DaiAuthenticationKeyAction $daiAuthenticationKeyAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performDaiAuthenticationKeyAction', array(array('daiAuthenticationKeyAction' => $daiAuthenticationKeyAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link DaiAuthenticationKey} objects. - * - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] $daiAuthenticationKeys - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateDaiAuthenticationKeys(array $daiAuthenticationKeys) - { - return $this->__soapCall('updateDaiAuthenticationKeys', array(array('daiAuthenticationKeys' => $daiAuthenticationKeys)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfile.php b/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfile.php deleted file mode 100644 index d6ee4163a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfile.php +++ /dev/null @@ -1,219 +0,0 @@ -id = $id; - $this->name = $name; - $this->status = $status; - $this->variantType = $variantType; - $this->containerType = $containerType; - $this->videoSettings = $videoSettings; - $this->audioSettings = $audioSettings; - $this->persistUnmatchedProfiles = $persistUnmatchedProfiles; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return string - */ - public function getVariantType() - { - return $this->variantType; - } - - /** - * @param string $variantType - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setVariantType($variantType) - { - $this->variantType = $variantType; - return $this; - } - - /** - * @return string - */ - public function getContainerType() - { - return $this->containerType; - } - - /** - * @param string $containerType - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setContainerType($containerType) - { - $this->containerType = $containerType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoSettings - */ - public function getVideoSettings() - { - return $this->videoSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoSettings $videoSettings - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setVideoSettings($videoSettings) - { - $this->videoSettings = $videoSettings; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AudioSettings - */ - public function getAudioSettings() - { - return $this->audioSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AudioSettings $audioSettings - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setAudioSettings($audioSettings) - { - $this->audioSettings = $audioSettings; - return $this; - } - - /** - * @return boolean - */ - public function getPersistUnmatchedProfiles() - { - return $this->persistUnmatchedProfiles; - } - - /** - * @param boolean $persistUnmatchedProfiles - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile - */ - public function setPersistUnmatchedProfiles($persistUnmatchedProfiles) - { - $this->persistUnmatchedProfiles = $persistUnmatchedProfiles; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileService.php b/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileService.php deleted file mode 100644 index 6a466acb1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileService.php +++ /dev/null @@ -1,163 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateDaiEncodingProfiles' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateDaiEncodingProfiles', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ArchiveDaiEncodingProfiles' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveDaiEncodingProfiles', - 'AudioSettings' => 'Google\\AdsApi\\AdManager\\v202308\\AudioSettings', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'DaiEncodingProfileAction' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileAction', - 'DaiEncodingProfileAdMatchingError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileAdMatchingError', - 'DaiEncodingProfileContainerSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileContainerSettingsError', - 'DaiEncodingProfile' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfile', - 'DaiEncodingProfileNameError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileNameError', - 'DaiEncodingProfilePage' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfilePage', - 'DaiEncodingProfileUpdateError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileUpdateError', - 'DaiEncodingProfileVariantSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\DaiEncodingProfileVariantSettingsError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoSettings' => 'Google\\AdsApi\\AdManager\\v202308\\VideoSettings', - 'createDaiEncodingProfilesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createDaiEncodingProfilesResponse', - 'getDaiEncodingProfilesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getDaiEncodingProfilesByStatementResponse', - 'performDaiEncodingProfileActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performDaiEncodingProfileActionResponse', - 'updateDaiEncodingProfilesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateDaiEncodingProfilesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/DaiEncodingProfileService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link DaiEncodingProfile} objects. - * - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] $daiEncodingProfiles - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createDaiEncodingProfiles(array $daiEncodingProfiles) - { - return $this->__soapCall('createDaiEncodingProfiles', array(array('daiEncodingProfiles' => $daiEncodingProfiles)))->getRval(); - } - - /** - * Gets a {@link DaiEncodingProfilePage} of {@link DaiEncodingProfile} objects that satisfy the - * given {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link DaiEncodingProfile#id}
{@code status}{@link DaiEncodingProfile#status}
{@code name}{@link DaiEncodingProfile#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfilePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getDaiEncodingProfilesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getDaiEncodingProfilesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link DaiEncodingProfile} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfileAction $daiEncodingProfileAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performDaiEncodingProfileAction(\Google\AdsApi\AdManager\v202308\DaiEncodingProfileAction $daiEncodingProfileAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performDaiEncodingProfileAction', array(array('daiEncodingProfileAction' => $daiEncodingProfileAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link DaiEncodingProfile} objects. - * - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] $daiEncodingProfiles - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateDaiEncodingProfiles(array $daiEncodingProfiles) - { - return $this->__soapCall('updateDaiEncodingProfiles', array(array('daiEncodingProfiles' => $daiEncodingProfiles)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DateRange.php b/src/Google/AdsApi/AdManager/v202308/DateRange.php deleted file mode 100644 index 1bfec0094..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DateRange.php +++ /dev/null @@ -1,68 +0,0 @@ -startDate = $startDate; - $this->endDate = $endDate; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Date - */ - public function getStartDate() - { - return $this->startDate; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Date $startDate - * @return \Google\AdsApi\AdManager\v202308\DateRange - */ - public function setStartDate($startDate) - { - $this->startDate = $startDate; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Date - */ - public function getEndDate() - { - return $this->endDate; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Date $endDate - * @return \Google\AdsApi\AdManager\v202308\DateRange - */ - public function setEndDate($endDate) - { - $this->endDate = $endDate; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DateTimeRange.php b/src/Google/AdsApi/AdManager/v202308/DateTimeRange.php deleted file mode 100644 index 0055c37ce..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DateTimeRange.php +++ /dev/null @@ -1,68 +0,0 @@ -startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\DateTimeRange - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\DateTimeRange - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargeting.php deleted file mode 100644 index b074f9b76..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargeting.php +++ /dev/null @@ -1,43 +0,0 @@ -targetedDateTimeRanges = $targetedDateTimeRanges; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTimeRange[] - */ - public function getTargetedDateTimeRanges() - { - return $this->targetedDateTimeRanges; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTimeRange[]|null $targetedDateTimeRanges - * @return \Google\AdsApi\AdManager\v202308\DateTimeRangeTargeting - */ - public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) - { - $this->targetedDateTimeRanges = $targetedDateTimeRanges; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DateTimeValue.php b/src/Google/AdsApi/AdManager/v202308/DateTimeValue.php deleted file mode 100644 index 84847233a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DateTimeValue.php +++ /dev/null @@ -1,43 +0,0 @@ -value = $value; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $value - * @return \Google\AdsApi\AdManager\v202308\DateTimeValue - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DateValue.php b/src/Google/AdsApi/AdManager/v202308/DateValue.php deleted file mode 100644 index 112805a3a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DateValue.php +++ /dev/null @@ -1,43 +0,0 @@ -value = $value; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Date - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Date $value - * @return \Google\AdsApi\AdManager\v202308\DateValue - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DayPart.php b/src/Google/AdsApi/AdManager/v202308/DayPart.php deleted file mode 100644 index 8217069a5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DayPart.php +++ /dev/null @@ -1,93 +0,0 @@ -dayOfWeek = $dayOfWeek; - $this->startTime = $startTime; - $this->endTime = $endTime; - } - - /** - * @return string - */ - public function getDayOfWeek() - { - return $this->dayOfWeek; - } - - /** - * @param string $dayOfWeek - * @return \Google\AdsApi\AdManager\v202308\DayPart - */ - public function setDayOfWeek($dayOfWeek) - { - $this->dayOfWeek = $dayOfWeek; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TimeOfDay - */ - public function getStartTime() - { - return $this->startTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TimeOfDay $startTime - * @return \Google\AdsApi\AdManager\v202308\DayPart - */ - public function setStartTime($startTime) - { - $this->startTime = $startTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TimeOfDay - */ - public function getEndTime() - { - return $this->endTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TimeOfDay $endTime - * @return \Google\AdsApi\AdManager\v202308\DayPart - */ - public function setEndTime($endTime) - { - $this->endTime = $endTime; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202308/DayPartTargeting.php deleted file mode 100644 index 1ac34fa67..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DayPartTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -dayParts = $dayParts; - $this->timeZone = $timeZone; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DayPart[] - */ - public function getDayParts() - { - return $this->dayParts; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DayPart[]|null $dayParts - * @return \Google\AdsApi\AdManager\v202308\DayPartTargeting - */ - public function setDayParts(array $dayParts = null) - { - $this->dayParts = $dayParts; - return $this; - } - - /** - * @return string - */ - public function getTimeZone() - { - return $this->timeZone; - } - - /** - * @param string $timeZone - * @return \Google\AdsApi\AdManager\v202308\DayPartTargeting - */ - public function setTimeZone($timeZone) - { - $this->timeZone = $timeZone; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DeactivateAdRules.php b/src/Google/AdsApi/AdManager/v202308/DeactivateAdRules.php deleted file mode 100644 index 62d6c280c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DeactivateAdRules.php +++ /dev/null @@ -1,18 +0,0 @@ -lineItemDeliveryForecasts = $lineItemDeliveryForecasts; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemDeliveryForecast[] - */ - public function getLineItemDeliveryForecasts() - { - return $this->lineItemDeliveryForecasts; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts - * @return \Google\AdsApi\AdManager\v202308\DeliveryForecast - */ - public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) - { - $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DeviceCapability.php b/src/Google/AdsApi/AdManager/v202308/DeviceCapability.php deleted file mode 100644 index 8dfa1608c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DeviceCapability.php +++ /dev/null @@ -1,21 +0,0 @@ -targetedDeviceCapabilities = $targetedDeviceCapabilities; - $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getTargetedDeviceCapabilities() - { - return $this->targetedDeviceCapabilities; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $targetedDeviceCapabilities - * @return \Google\AdsApi\AdManager\v202308\DeviceCapabilityTargeting - */ - public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) - { - $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getExcludedDeviceCapabilities() - { - return $this->excludedDeviceCapabilities; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $excludedDeviceCapabilities - * @return \Google\AdsApi\AdManager\v202308\DeviceCapabilityTargeting - */ - public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) - { - $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DeviceCategory.php b/src/Google/AdsApi/AdManager/v202308/DeviceCategory.php deleted file mode 100644 index dabc740ca..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DeviceCategory.php +++ /dev/null @@ -1,21 +0,0 @@ -targetedDeviceCategories = $targetedDeviceCategories; - $this->excludedDeviceCategories = $excludedDeviceCategories; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getTargetedDeviceCategories() - { - return $this->targetedDeviceCategories; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $targetedDeviceCategories - * @return \Google\AdsApi\AdManager\v202308\DeviceCategoryTargeting - */ - public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) - { - $this->targetedDeviceCategories = $targetedDeviceCategories; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getExcludedDeviceCategories() - { - return $this->excludedDeviceCategories; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $excludedDeviceCategories - * @return \Google\AdsApi\AdManager\v202308\DeviceCategoryTargeting - */ - public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) - { - $this->excludedDeviceCategories = $excludedDeviceCategories; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DeviceManufacturer.php b/src/Google/AdsApi/AdManager/v202308/DeviceManufacturer.php deleted file mode 100644 index ec8cfc88b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DeviceManufacturer.php +++ /dev/null @@ -1,21 +0,0 @@ -isTargeted = $isTargeted; - $this->deviceManufacturers = $deviceManufacturers; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\DeviceManufacturerTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getDeviceManufacturers() - { - return $this->deviceManufacturers; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $deviceManufacturers - * @return \Google\AdsApi\AdManager\v202308\DeviceManufacturerTargeting - */ - public function setDeviceManufacturers(array $deviceManufacturers = null) - { - $this->deviceManufacturers = $deviceManufacturers; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/DisapproveOrders.php b/src/Google/AdsApi/AdManager/v202308/DisapproveOrders.php deleted file mode 100644 index 0e397bbe3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/DisapproveOrders.php +++ /dev/null @@ -1,18 +0,0 @@ -options = $options; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption[] - */ - public function getOptions() - { - return $this->options; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption[]|null $options - * @return \Google\AdsApi\AdManager\v202308\DropDownCustomField - */ - public function setOptions(array $options = null) - { - $this->options = $options; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/EditProposalsForNegotiation.php b/src/Google/AdsApi/AdManager/v202308/EditProposalsForNegotiation.php deleted file mode 100644 index 2984360a3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/EditProposalsForNegotiation.php +++ /dev/null @@ -1,18 +0,0 @@ -inventoryRule = $inventoryRule; - $this->customCriteriaRule = $customCriteriaRule; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventoryTargeting - */ - public function getInventoryRule() - { - return $this->inventoryRule; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventoryTargeting $inventoryRule - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegmentRule - */ - public function setInventoryRule($inventoryRule) - { - $this->inventoryRule = $inventoryRule; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomCriteriaSet - */ - public function getCustomCriteriaRule() - { - return $this->customCriteriaRule; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomCriteriaSet $customCriteriaRule - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegmentRule - */ - public function setCustomCriteriaRule($customCriteriaRule) - { - $this->customCriteriaRule = $customCriteriaRule; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdown.php b/src/Google/AdsApi/AdManager/v202308/ForecastBreakdown.php deleted file mode 100644 index 998cf47ff..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdown.php +++ /dev/null @@ -1,93 +0,0 @@ -startTime = $startTime; - $this->endTime = $endTime; - $this->breakdownEntries = $breakdownEntries; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartTime() - { - return $this->startTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startTime - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdown - */ - public function setStartTime($startTime) - { - $this->startTime = $startTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndTime() - { - return $this->endTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endTime - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdown - */ - public function setEndTime($endTime) - { - $this->endTime = $endTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownEntry[] - */ - public function getBreakdownEntries() - { - return $this->breakdownEntries; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastBreakdownEntry[]|null $breakdownEntries - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdown - */ - public function setBreakdownEntries(array $breakdownEntries = null) - { - $this->breakdownEntries = $breakdownEntries; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownEntry.php b/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownEntry.php deleted file mode 100644 index b814042e2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownEntry.php +++ /dev/null @@ -1,68 +0,0 @@ -name = $name; - $this->forecast = $forecast; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownEntry - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BreakdownForecast - */ - public function getForecast() - { - return $this->forecast; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BreakdownForecast $forecast - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownEntry - */ - public function setForecast($forecast) - { - $this->forecast = $forecast; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownOptions.php deleted file mode 100644 index 282abd3b9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownOptions.php +++ /dev/null @@ -1,68 +0,0 @@ -timeWindows = $timeWindows; - $this->targets = $targets; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime[] - */ - public function getTimeWindows() - { - return $this->timeWindows; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime[]|null $timeWindows - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownOptions - */ - public function setTimeWindows(array $timeWindows = null) - { - $this->timeWindows = $timeWindows; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownTarget[] - */ - public function getTargets() - { - return $this->targets; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastBreakdownTarget[]|null $targets - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownOptions - */ - public function setTargets(array $targets = null) - { - $this->targets = $targets; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownTarget.php b/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownTarget.php deleted file mode 100644 index f8e6daf37..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ForecastBreakdownTarget.php +++ /dev/null @@ -1,93 +0,0 @@ -name = $name; - $this->targeting = $targeting; - $this->creative = $creative; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownTarget - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownTarget - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder - */ - public function getCreative() - { - return $this->creative; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativePlaceholder $creative - * @return \Google\AdsApi\AdManager\v202308\ForecastBreakdownTarget - */ - public function setCreative($creative) - { - $this->creative = $creative; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastService.php b/src/Google/AdsApi/AdManager/v202308/ForecastService.php deleted file mode 100644 index 4675e1481..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ForecastService.php +++ /dev/null @@ -1,301 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitCodeError', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'AlternativeUnitTypeForecast' => 'Google\\AdsApi\\AdManager\\v202308\\AlternativeUnitTypeForecast', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceExtensionError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'AvailabilityForecast' => 'Google\\AdsApi\\AdManager\\v202308\\AvailabilityForecast', - 'AvailabilityForecastOptions' => 'Google\\AdsApi\\AdManager\\v202308\\AvailabilityForecastOptions', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTrackingLineItemError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyCreditStatusError', - 'ContendingLineItem' => 'Google\\AdsApi\\AdManager\\v202308\\ContendingLineItem', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePlaceholder', - 'CreativeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTargeting', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CustomPacingCurve' => 'Google\\AdsApi\\AdManager\\v202308\\CustomPacingCurve', - 'CustomPacingGoal' => 'Google\\AdsApi\\AdManager\\v202308\\CustomPacingGoal', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateError' => 'Google\\AdsApi\\AdManager\\v202308\\DateError', - 'DateRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateRange', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryData', - 'BreakdownForecast' => 'Google\\AdsApi\\AdManager\\v202308\\BreakdownForecast', - 'DeliveryForecastOptions' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryForecastOptions', - 'DeliveryForecast' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryForecast', - 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryIndicator', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastBreakdown' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastBreakdown', - 'ForecastBreakdownEntry' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastBreakdownEntry', - 'ForecastBreakdownOptions' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastBreakdownOptions', - 'ForecastBreakdownTarget' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastBreakdownTarget', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCap', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'Goal' => 'Google\\AdsApi\\AdManager\\v202308\\Goal', - 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettings', - 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettingsError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociationError', - 'LineItemActivityAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociation', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LineItemDealInfoDto' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemDealInfoDto', - 'LineItemDeliveryForecast' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemDeliveryForecast', - 'LineItem' => 'Google\\AdsApi\\AdManager\\v202308\\LineItem', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'LineItemSummary' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemSummary', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderActionError', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProgrammaticError', - 'ProposalLineItem' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItem', - 'ProposalLineItemMakegoodInfo' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemMakegoodInfo', - 'ProspectiveLineItem' => 'Google\\AdsApi\\AdManager\\v202308\\ProspectiveLineItem', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxLineItemError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'Stats' => 'Google\\AdsApi\\AdManager\\v202308\\Stats', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'TargetingCriteriaBreakdown' => 'Google\\AdsApi\\AdManager\\v202308\\TargetingCriteriaBreakdown', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyMeasurementSettings', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TimeSeries' => 'Google\\AdsApi\\AdManager\\v202308\\TimeSeries', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TrafficDataRequest' => 'Google\\AdsApi\\AdManager\\v202308\\TrafficDataRequest', - 'TrafficDataResponse' => 'Google\\AdsApi\\AdManager\\v202308\\TrafficDataResponse', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'getAvailabilityForecastResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAvailabilityForecastResponse', - 'getAvailabilityForecastByIdResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAvailabilityForecastByIdResponse', - 'getDeliveryForecastResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getDeliveryForecastResponse', - 'getDeliveryForecastByIdsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getDeliveryForecastByIdsResponse', - 'getTrafficDataResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getTrafficDataResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ForecastService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets the availability forecast for a {@link ProspectiveLineItem}. An availability forecast - * reports the maximum number of available units that the line item can book, and the total number - * of units matching the line item's targeting. - * - * @param \Google\AdsApi\AdManager\v202308\ProspectiveLineItem $lineItem - * @param \Google\AdsApi\AdManager\v202308\AvailabilityForecastOptions $forecastOptions - * @return \Google\AdsApi\AdManager\v202308\AvailabilityForecast - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAvailabilityForecast(\Google\AdsApi\AdManager\v202308\ProspectiveLineItem $lineItem, \Google\AdsApi\AdManager\v202308\AvailabilityForecastOptions $forecastOptions) - { - return $this->__soapCall('getAvailabilityForecast', array(array('lineItem' => $lineItem, 'forecastOptions' => $forecastOptions)))->getRval(); - } - - /** - * Gets an {@link AvailabilityForecast} for an existing {@link LineItem} object. An availability - * forecast reports the maximum number of available units that the line item can be booked with, - * and also the total number of units matching the line item's targeting. - * - *

Only line items having type {@link LineItemType#SPONSORSHIP} or {@link - * LineItemType#STANDARD} are valid. Other types will result in {@link - * ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED}. - * - * @param int $lineItemId - * @param \Google\AdsApi\AdManager\v202308\AvailabilityForecastOptions $forecastOptions - * @return \Google\AdsApi\AdManager\v202308\AvailabilityForecast - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAvailabilityForecastById($lineItemId, \Google\AdsApi\AdManager\v202308\AvailabilityForecastOptions $forecastOptions) - { - return $this->__soapCall('getAvailabilityForecastById', array(array('lineItemId' => $lineItemId, 'forecastOptions' => $forecastOptions)))->getRval(); - } - - /** - * Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single - * delivery simulation with line items potentially contending with each other. A delivery forecast - * reports the number of units that will be delivered to each line item given the line item goals - * and contentions from other line items. - * - * @param \Google\AdsApi\AdManager\v202308\ProspectiveLineItem[] $lineItems - * @param \Google\AdsApi\AdManager\v202308\DeliveryForecastOptions $forecastOptions - * @return \Google\AdsApi\AdManager\v202308\DeliveryForecast - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getDeliveryForecast(array $lineItems, \Google\AdsApi\AdManager\v202308\DeliveryForecastOptions $forecastOptions) - { - return $this->__soapCall('getDeliveryForecast', array(array('lineItems' => $lineItems, 'forecastOptions' => $forecastOptions)))->getRval(); - } - - /** - * Gets the delivery forecast for a list of existing {@link LineItem} objects in a single delivery - * simulation. A delivery forecast reports the number of units that will be delivered to each line - * item given the line item goals and contentions from other line items. - * - * @param long[] $lineItemIds - * @param \Google\AdsApi\AdManager\v202308\DeliveryForecastOptions $forecastOptions - * @return \Google\AdsApi\AdManager\v202308\DeliveryForecast - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getDeliveryForecastByIds(array $lineItemIds, \Google\AdsApi\AdManager\v202308\DeliveryForecastOptions $forecastOptions) - { - return $this->__soapCall('getDeliveryForecastByIds', array(array('lineItemIds' => $lineItemIds, 'forecastOptions' => $forecastOptions)))->getRval(); - } - - /** - * Returns forecasted and historical traffic data for the segment of traffic specified by the - * provided request. - * - *

Calling this endpoint programmatically is only available for Ad Manager 360 networks. - * - * @param \Google\AdsApi\AdManager\v202308\TrafficDataRequest $trafficDataRequest - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getTrafficData(\Google\AdsApi\AdManager\v202308\TrafficDataRequest $trafficDataRequest) - { - return $this->__soapCall('getTrafficData', array(array('trafficDataRequest' => $trafficDataRequest)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/GeoTargeting.php b/src/Google/AdsApi/AdManager/v202308/GeoTargeting.php deleted file mode 100644 index c752d7a94..000000000 --- a/src/Google/AdsApi/AdManager/v202308/GeoTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -targetedLocations = $targetedLocations; - $this->excludedLocations = $excludedLocations; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Location[] - */ - public function getTargetedLocations() - { - return $this->targetedLocations; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Location[]|null $targetedLocations - * @return \Google\AdsApi\AdManager\v202308\GeoTargeting - */ - public function setTargetedLocations(array $targetedLocations = null) - { - $this->targetedLocations = $targetedLocations; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Location[] - */ - public function getExcludedLocations() - { - return $this->excludedLocations; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Location[]|null $excludedLocations - * @return \Google\AdsApi\AdManager\v202308\GeoTargeting - */ - public function setExcludedLocations(array $excludedLocations = null) - { - $this->excludedLocations = $excludedLocations; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/HasDestinationUrlCreative.php b/src/Google/AdsApi/AdManager/v202308/HasDestinationUrlCreative.php deleted file mode 100644 index d4255af23..000000000 --- a/src/Google/AdsApi/AdManager/v202308/HasDestinationUrlCreative.php +++ /dev/null @@ -1,79 +0,0 @@ -destinationUrl = $destinationUrl; - $this->destinationUrlType = $destinationUrlType; - } - - /** - * @return string - */ - public function getDestinationUrl() - { - return $this->destinationUrl; - } - - /** - * @param string $destinationUrl - * @return \Google\AdsApi\AdManager\v202308\HasDestinationUrlCreative - */ - public function setDestinationUrl($destinationUrl) - { - $this->destinationUrl = $destinationUrl; - return $this; - } - - /** - * @return string - */ - public function getDestinationUrlType() - { - return $this->destinationUrlType; - } - - /** - * @param string $destinationUrlType - * @return \Google\AdsApi\AdManager\v202308\HasDestinationUrlCreative - */ - public function setDestinationUrlType($destinationUrlType) - { - $this->destinationUrlType = $destinationUrlType; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202308/HasHtmlSnippetDynamicAllocationCreative.php deleted file mode 100644 index eb8e73e7b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/HasHtmlSnippetDynamicAllocationCreative.php +++ /dev/null @@ -1,54 +0,0 @@ -codeSnippet = $codeSnippet; - } - - /** - * @return string - */ - public function getCodeSnippet() - { - return $this->codeSnippet; - } - - /** - * @param string $codeSnippet - * @return \Google\AdsApi\AdManager\v202308\HasHtmlSnippetDynamicAllocationCreative - */ - public function setCodeSnippet($codeSnippet) - { - $this->codeSnippet = $codeSnippet; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/HlsSettings.php b/src/Google/AdsApi/AdManager/v202308/HlsSettings.php deleted file mode 100644 index a00d45c06..000000000 --- a/src/Google/AdsApi/AdManager/v202308/HlsSettings.php +++ /dev/null @@ -1,68 +0,0 @@ -playlistType = $playlistType; - $this->masterPlaylistSettings = $masterPlaylistSettings; - } - - /** - * @return string - */ - public function getPlaylistType() - { - return $this->playlistType; - } - - /** - * @param string $playlistType - * @return \Google\AdsApi\AdManager\v202308\HlsSettings - */ - public function setPlaylistType($playlistType) - { - $this->playlistType = $playlistType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MasterPlaylistSettings - */ - public function getMasterPlaylistSettings() - { - return $this->masterPlaylistSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MasterPlaylistSettings $masterPlaylistSettings - * @return \Google\AdsApi\AdManager\v202308\HlsSettings - */ - public function setMasterPlaylistSettings($masterPlaylistSettings) - { - $this->masterPlaylistSettings = $masterPlaylistSettings; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ImageCreative.php b/src/Google/AdsApi/AdManager/v202308/ImageCreative.php deleted file mode 100644 index c2047cd2d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ImageCreative.php +++ /dev/null @@ -1,108 +0,0 @@ -altText = $altText; - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - $this->secondaryImageAssets = $secondaryImageAssets; - } - - /** - * @return string - */ - public function getAltText() - { - return $this->altText; - } - - /** - * @param string $altText - * @return \Google\AdsApi\AdManager\v202308\ImageCreative - */ - public function setAltText($altText) - { - $this->altText = $altText; - return $this; - } - - /** - * @return string[] - */ - public function getThirdPartyImpressionTrackingUrls() - { - return $this->thirdPartyImpressionTrackingUrls; - } - - /** - * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\ImageCreative - */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) - { - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset[] - */ - public function getSecondaryImageAssets() - { - return $this->secondaryImageAssets; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset[]|null $secondaryImageAssets - * @return \Google\AdsApi\AdManager\v202308\ImageCreative - */ - public function setSecondaryImageAssets(array $secondaryImageAssets = null) - { - $this->secondaryImageAssets = $secondaryImageAssets; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ImageOverlayCreative.php b/src/Google/AdsApi/AdManager/v202308/ImageOverlayCreative.php deleted file mode 100644 index b4b18a3e3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ImageOverlayCreative.php +++ /dev/null @@ -1,183 +0,0 @@ -companionCreativeIds = $companionCreativeIds; - $this->trackingUrls = $trackingUrls; - $this->lockedOrientation = $lockedOrientation; - $this->customParameters = $customParameters; - $this->duration = $duration; - $this->vastPreviewUrl = $vastPreviewUrl; - } - - /** - * @return int[] - */ - public function getCompanionCreativeIds() - { - return $this->companionCreativeIds; - } - - /** - * @param int[]|null $companionCreativeIds - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) - { - $this->companionCreativeIds = $companionCreativeIds; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[] - */ - public function getTrackingUrls() - { - return $this->trackingUrls; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setTrackingUrls(array $trackingUrls = null) - { - $this->trackingUrls = $trackingUrls; - return $this; - } - - /** - * @return string - */ - public function getLockedOrientation() - { - return $this->lockedOrientation; - } - - /** - * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setLockedOrientation($lockedOrientation) - { - $this->lockedOrientation = $lockedOrientation; - return $this; - } - - /** - * @return string - */ - public function getCustomParameters() - { - return $this->customParameters; - } - - /** - * @param string $customParameters - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setCustomParameters($customParameters) - { - $this->customParameters = $customParameters; - return $this; - } - - /** - * @return int - */ - public function getDuration() - { - return $this->duration; - } - - /** - * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setDuration($duration) - { - $this->duration = $duration; - return $this; - } - - /** - * @return string - */ - public function getVastPreviewUrl() - { - return $this->vastPreviewUrl; - } - - /** - * @param string $vastPreviewUrl - * @return \Google\AdsApi\AdManager\v202308\ImageOverlayCreative - */ - public function setVastPreviewUrl($vastPreviewUrl) - { - $this->vastPreviewUrl = $vastPreviewUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202308/ImageRedirectCreative.php deleted file mode 100644 index dba1e6fac..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ImageRedirectCreative.php +++ /dev/null @@ -1,82 +0,0 @@ -altText = $altText; - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - } - - /** - * @return string - */ - public function getAltText() - { - return $this->altText; - } - - /** - * @param string $altText - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectCreative - */ - public function setAltText($altText) - { - $this->altText = $altText; - return $this; - } - - /** - * @return string[] - */ - public function getThirdPartyImpressionTrackingUrls() - { - return $this->thirdPartyImpressionTrackingUrls; - } - - /** - * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectCreative - */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) - { - $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202308/ImageRedirectOverlayCreative.php deleted file mode 100644 index 985a88e29..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ImageRedirectOverlayCreative.php +++ /dev/null @@ -1,182 +0,0 @@ -assetSize = $assetSize; - $this->duration = $duration; - $this->companionCreativeIds = $companionCreativeIds; - $this->trackingUrls = $trackingUrls; - $this->customParameters = $customParameters; - $this->vastPreviewUrl = $vastPreviewUrl; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Size - */ - public function getAssetSize() - { - return $this->assetSize; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Size $assetSize - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setAssetSize($assetSize) - { - $this->assetSize = $assetSize; - return $this; - } - - /** - * @return int - */ - public function getDuration() - { - return $this->duration; - } - - /** - * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setDuration($duration) - { - $this->duration = $duration; - return $this; - } - - /** - * @return int[] - */ - public function getCompanionCreativeIds() - { - return $this->companionCreativeIds; - } - - /** - * @param int[]|null $companionCreativeIds - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) - { - $this->companionCreativeIds = $companionCreativeIds; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[] - */ - public function getTrackingUrls() - { - return $this->trackingUrls; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setTrackingUrls(array $trackingUrls = null) - { - $this->trackingUrls = $trackingUrls; - return $this; - } - - /** - * @return string - */ - public function getCustomParameters() - { - return $this->customParameters; - } - - /** - * @param string $customParameters - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setCustomParameters($customParameters) - { - $this->customParameters = $customParameters; - return $this; - } - - /** - * @return string - */ - public function getVastPreviewUrl() - { - return $this->vastPreviewUrl; - } - - /** - * @param string $vastPreviewUrl - * @return \Google\AdsApi\AdManager\v202308\ImageRedirectOverlayCreative - */ - public function setVastPreviewUrl($vastPreviewUrl) - { - $this->vastPreviewUrl = $vastPreviewUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/InventoryService.php b/src/Google/AdsApi/AdManager/v202308/InventoryService.php deleted file mode 100644 index 677f8b70e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/InventoryService.php +++ /dev/null @@ -1,207 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateAdUnits' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateAdUnits', - 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202308\\AdSenseAccountError', - 'AdSenseSettings' => 'Google\\AdsApi\\AdManager\\v202308\\AdSenseSettings', - 'AdUnitAction' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitAction', - 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitCodeError', - 'AdUnit' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnit', - 'AdUnitHierarchyError' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitHierarchyError', - 'AdUnitPage' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitPage', - 'AdUnitParent' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitParent', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'ArchiveAdUnits' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveAdUnits', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyError', - 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapperError', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateAdUnits' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateAdUnits', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCap', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidColorError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidColorError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitError', - 'InventoryUnitRefreshRateError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitRefreshRateError', - 'AdUnitSize' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitSize', - 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitSizesError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LabelFrequencyCap' => 'Google\\AdsApi\\AdManager\\v202308\\LabelFrequencyCap', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createAdUnitsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createAdUnitsResponse', - 'getAdUnitSizesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAdUnitSizesByStatementResponse', - 'getAdUnitsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAdUnitsByStatementResponse', - 'performAdUnitActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performAdUnitActionResponse', - 'updateAdUnitsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateAdUnitsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/InventoryService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link AdUnit} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdUnit[] $adUnits - * @return \Google\AdsApi\AdManager\v202308\AdUnit[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createAdUnits(array $adUnits) - { - return $this->__soapCall('createAdUnits', array(array('adUnits' => $adUnits)))->getRval(); - } - - /** - * Returns a set of all relevant {@link AdUnitSize} objects. - * - *

The given {@link Statement} is currently ignored but may be honored in future versions. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAdUnitSizesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getAdUnitSizesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link AdUnitPage} of {@link AdUnit} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code adUnitCode}{@link AdUnit#adUnitCode}
{@code id}{@link AdUnit#id}
{@code name}{@link AdUnit#name}
{@code parentId}{@link AdUnit#parentId}
{@code status}{@link AdUnit#status}
{@code lastModifiedDateTime}{@link AdUnit#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\AdUnitPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAdUnitsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getAdUnitsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link AdUnit} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\AdUnitAction $adUnitAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performAdUnitAction(\Google\AdsApi\AdManager\v202308\AdUnitAction $adUnitAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performAdUnitAction', array(array('adUnitAction' => $adUnitAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link AdUnit} objects. - * - * @param \Google\AdsApi\AdManager\v202308\AdUnit[] $adUnits - * @return \Google\AdsApi\AdManager\v202308\AdUnit[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateAdUnits(array $adUnits) - { - return $this->__soapCall('updateAdUnits', array(array('adUnits' => $adUnits)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202308/InventorySizeTargeting.php deleted file mode 100644 index 661b2cfd7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/InventorySizeTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -isTargeted = $isTargeted; - $this->targetedSizes = $targetedSizes; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\InventorySizeTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TargetedSize[] - */ - public function getTargetedSizes() - { - return $this->targetedSizes; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TargetedSize[]|null $targetedSizes - * @return \Google\AdsApi\AdManager\v202308\InventorySizeTargeting - */ - public function setTargetedSizes(array $targetedSizes = null) - { - $this->targetedSizes = $targetedSizes; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/InventoryTargeting.php b/src/Google/AdsApi/AdManager/v202308/InventoryTargeting.php deleted file mode 100644 index 66582fc87..000000000 --- a/src/Google/AdsApi/AdManager/v202308/InventoryTargeting.php +++ /dev/null @@ -1,93 +0,0 @@ -targetedAdUnits = $targetedAdUnits; - $this->excludedAdUnits = $excludedAdUnits; - $this->targetedPlacementIds = $targetedPlacementIds; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnitTargeting[] - */ - public function getTargetedAdUnits() - { - return $this->targetedAdUnits; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnitTargeting[]|null $targetedAdUnits - * @return \Google\AdsApi\AdManager\v202308\InventoryTargeting - */ - public function setTargetedAdUnits(array $targetedAdUnits = null) - { - $this->targetedAdUnits = $targetedAdUnits; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnitTargeting[] - */ - public function getExcludedAdUnits() - { - return $this->excludedAdUnits; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnitTargeting[]|null $excludedAdUnits - * @return \Google\AdsApi\AdManager\v202308\InventoryTargeting - */ - public function setExcludedAdUnits(array $excludedAdUnits = null) - { - $this->excludedAdUnits = $excludedAdUnits; - return $this; - } - - /** - * @return int[] - */ - public function getTargetedPlacementIds() - { - return $this->targetedPlacementIds; - } - - /** - * @param int[]|null $targetedPlacementIds - * @return \Google\AdsApi\AdManager\v202308\InventoryTargeting - */ - public function setTargetedPlacementIds(array $targetedPlacementIds = null) - { - $this->targetedPlacementIds = $targetedPlacementIds; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/InventoryUrlTargeting.php b/src/Google/AdsApi/AdManager/v202308/InventoryUrlTargeting.php deleted file mode 100644 index 8c6f7939d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/InventoryUrlTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -targetedUrls = $targetedUrls; - $this->excludedUrls = $excludedUrls; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventoryUrl[] - */ - public function getTargetedUrls() - { - return $this->targetedUrls; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventoryUrl[]|null $targetedUrls - * @return \Google\AdsApi\AdManager\v202308\InventoryUrlTargeting - */ - public function setTargetedUrls(array $targetedUrls = null) - { - $this->targetedUrls = $targetedUrls; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventoryUrl[] - */ - public function getExcludedUrls() - { - return $this->excludedUrls; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventoryUrl[]|null $excludedUrls - * @return \Google\AdsApi\AdManager\v202308\InventoryUrlTargeting - */ - public function setExcludedUrls(array $excludedUrls = null) - { - $this->excludedUrls = $excludedUrls; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LabelFrequencyCap.php b/src/Google/AdsApi/AdManager/v202308/LabelFrequencyCap.php deleted file mode 100644 index 53694eb5a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LabelFrequencyCap.php +++ /dev/null @@ -1,69 +0,0 @@ -frequencyCap = $frequencyCap; - $this->labelId = $labelId; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\FrequencyCap - */ - public function getFrequencyCap() - { - return $this->frequencyCap; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\FrequencyCap $frequencyCap - * @return \Google\AdsApi\AdManager\v202308\LabelFrequencyCap - */ - public function setFrequencyCap($frequencyCap) - { - $this->frequencyCap = $frequencyCap; - return $this; - } - - /** - * @return int - */ - public function getLabelId() - { - return $this->labelId; - } - - /** - * @param int $labelId - * @return \Google\AdsApi\AdManager\v202308\LabelFrequencyCap - */ - public function setLabelId($labelId) - { - $this->labelId = (!is_null($labelId) && PHP_INT_SIZE === 4) - ? floatval($labelId) : $labelId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LabelService.php b/src/Google/AdsApi/AdManager/v202308/LabelService.php deleted file mode 100644 index 80c260931..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LabelService.php +++ /dev/null @@ -1,164 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateLabels' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateLabels', - 'AdCategoryDto' => 'Google\\AdsApi\\AdManager\\v202308\\AdCategoryDto', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeWrapperError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateLabels' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateLabels', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'LabelAction' => 'Google\\AdsApi\\AdManager\\v202308\\LabelAction', - 'Label' => 'Google\\AdsApi\\AdManager\\v202308\\Label', - 'LabelError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelError', - 'LabelPage' => 'Google\\AdsApi\\AdManager\\v202308\\LabelPage', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createLabelsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createLabelsResponse', - 'getLabelsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getLabelsByStatementResponse', - 'performLabelActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performLabelActionResponse', - 'updateLabelsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateLabelsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/LabelService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Label} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Label[] $labels - * @return \Google\AdsApi\AdManager\v202308\Label[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createLabels(array $labels) - { - return $this->__soapCall('createLabels', array(array('labels' => $labels)))->getRval(); - } - - /** - * Gets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Label#id}
{@code type}{@link Label#type}
{@code name}{@link Label#name}
{@code description}{@link Label#description}
{@code isActive}{@link Label#isActive}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\LabelPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getLabelsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getLabelsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Label} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\LabelAction $labelAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performLabelAction(\Google\AdsApi\AdManager\v202308\LabelAction $labelAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performLabelAction', array(array('labelAction' => $labelAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Label} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Label[] $labels - * @return \Google\AdsApi\AdManager\v202308\Label[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateLabels(array $labels) - { - return $this->__soapCall('updateLabels', array(array('labels' => $labels)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LegacyDfpCreative.php b/src/Google/AdsApi/AdManager/v202308/LegacyDfpCreative.php deleted file mode 100644 index 7d31a3607..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LegacyDfpCreative.php +++ /dev/null @@ -1,29 +0,0 @@ -targeting = $targeting; - $this->creativeTargetings = $creativeTargetings; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\LineItem - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeTargeting[] - */ - public function getCreativeTargetings() - { - return $this->creativeTargetings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeTargeting[]|null $creativeTargetings - * @return \Google\AdsApi\AdManager\v202308\LineItem - */ - public function setCreativeTargetings(array $creativeTargetings = null) - { - $this->creativeTargetings = $creativeTargetings; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociation.php b/src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociation.php deleted file mode 100644 index fa367503d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociation.php +++ /dev/null @@ -1,93 +0,0 @@ -activityId = $activityId; - $this->clickThroughConversionCost = $clickThroughConversionCost; - $this->viewThroughConversionCost = $viewThroughConversionCost; - } - - /** - * @return int - */ - public function getActivityId() - { - return $this->activityId; - } - - /** - * @param int $activityId - * @return \Google\AdsApi\AdManager\v202308\LineItemActivityAssociation - */ - public function setActivityId($activityId) - { - $this->activityId = $activityId; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getClickThroughConversionCost() - { - return $this->clickThroughConversionCost; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $clickThroughConversionCost - * @return \Google\AdsApi\AdManager\v202308\LineItemActivityAssociation - */ - public function setClickThroughConversionCost($clickThroughConversionCost) - { - $this->clickThroughConversionCost = $clickThroughConversionCost; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getViewThroughConversionCost() - { - return $this->viewThroughConversionCost; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $viewThroughConversionCost - * @return \Google\AdsApi\AdManager\v202308\LineItemActivityAssociation - */ - public function setViewThroughConversionCost($viewThroughConversionCost) - { - $this->viewThroughConversionCost = $viewThroughConversionCost; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationService.php b/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationService.php deleted file mode 100644 index 5bee079c6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationService.php +++ /dev/null @@ -1,255 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateLineItemCreativeAssociations', - 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202308\\AdSenseAccountError', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceExtensionError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeAssetMacroError', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CreativeNativeStylePreview' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeNativeStylePreview', - 'CreativePreviewError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePreviewError', - 'CreativePushOptions' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePushOptions', - 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeSetError', - 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateError', - 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateOperationError', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCreativeError', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateLineItemCreativeAssociations', - 'DeleteLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteLineItemCreativeAssociations', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'FileError' => 'Google\\AdsApi\\AdManager\\v202308\\FileError', - 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202308\\HtmlBundleProcessorError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidPhoneNumberError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemCreativeAssociationAction' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationAction', - 'LineItemCreativeAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociation', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LineItemCreativeAssociationOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationOperationError', - 'LineItemCreativeAssociationPage' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationPage', - 'LineItemCreativeAssociationStats' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationStats', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'Long_StatsMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\Long_StatsMapEntry', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\RichMediaStudioCreativeError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxCreativeError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'Stats' => 'Google\\AdsApi\\AdManager\\v202308\\Stats', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202308\\SwiffyConversionError', - 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\TemplateInstantiatedCreativeError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createLineItemCreativeAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createLineItemCreativeAssociationsResponse', - 'getLineItemCreativeAssociationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getLineItemCreativeAssociationsByStatementResponse', - 'getPreviewUrlResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getPreviewUrlResponse', - 'getPreviewUrlsForNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getPreviewUrlsForNativeStylesResponse', - 'performLineItemCreativeAssociationActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performLineItemCreativeAssociationActionResponse', - 'pushCreativeToDevicesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\pushCreativeToDevicesResponse', - 'updateLineItemCreativeAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateLineItemCreativeAssociationsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/LineItemCreativeAssociationService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link LineItemCreativeAssociation} objects - * - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] $lineItemCreativeAssociations - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createLineItemCreativeAssociations(array $lineItemCreativeAssociations) - { - return $this->__soapCall('createLineItemCreativeAssociations', array(array('lineItemCreativeAssociations' => $lineItemCreativeAssociations)))->getRval(); - } - - /** - * Gets a {@link LineItemCreativeAssociationPage} of {@link LineItemCreativeAssociation} objects - * that satisfy the given {@link Statement#query}. The following fields are supported for - * filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code creativeId}{@link LineItemCreativeAssociation#creativeId}
{@code manualCreativeRotationWeight}{@link LineItemCreativeAssociation#manualCreativeRotationWeight}
{@code destinationUrl}{@link LineItemCreativeAssociation#destinationUrl}
{@code lineItemId}{@link LineItemCreativeAssociation#lineItemId}
{@code status}{@link LineItemCreativeAssociation#status}
{@code lastModifiedDateTime}{@link LineItemCreativeAssociation#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getLineItemCreativeAssociationsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getLineItemCreativeAssociationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Returns an insite preview URL that references the specified site URL with the specified - * creative from the association served to it. For Creative Set previewing you may specify the - * master creative Id. - * - * @param int $lineItemId - * @param int $creativeId - * @param string $siteUrl - * @return string - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getPreviewUrl($lineItemId, $creativeId, $siteUrl) - { - return $this->__soapCall('getPreviewUrl', array(array('lineItemId' => $lineItemId, 'creativeId' => $creativeId, 'siteUrl' => $siteUrl)))->getRval(); - } - - /** - * Returns a list of URLs that reference the specified site URL with the specified creative from - * the association served to it. For Creative Set previewing you may specify the master creative - * Id. Each URL corresponds to one available native style for previewing the specified creative. - * - * @param int $lineItemId - * @param int $creativeId - * @param string $siteUrl - * @return \Google\AdsApi\AdManager\v202308\CreativeNativeStylePreview[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getPreviewUrlsForNativeStyles($lineItemId, $creativeId, $siteUrl) - { - return $this->__soapCall('getPreviewUrlsForNativeStyles', array(array('lineItemId' => $lineItemId, 'creativeId' => $creativeId, 'siteUrl' => $siteUrl)))->getRval(); - } - - /** - * Performs actions on {@link LineItemCreativeAssociation} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationAction $lineItemCreativeAssociationAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performLineItemCreativeAssociationAction(\Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationAction $lineItemCreativeAssociationAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performLineItemCreativeAssociationAction', array(array('lineItemCreativeAssociationAction' => $lineItemCreativeAssociationAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Pushes a creative to devices that that satisfy the given {@link Statement#query}. * - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @param \Google\AdsApi\AdManager\v202308\CreativePushOptions $options - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function pushCreativeToDevices(\Google\AdsApi\AdManager\v202308\Statement $filterStatement, \Google\AdsApi\AdManager\v202308\CreativePushOptions $options) - { - return $this->__soapCall('pushCreativeToDevices', array(array('filterStatement' => $filterStatement, 'options' => $options)))->getRval(); - } - - /** - * Updates the specified {@link LineItemCreativeAssociation} objects - * - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] $lineItemCreativeAssociations - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateLineItemCreativeAssociations(array $lineItemCreativeAssociations) - { - return $this->__soapCall('updateLineItemCreativeAssociations', array(array('lineItemCreativeAssociations' => $lineItemCreativeAssociations)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStats.php b/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStats.php deleted file mode 100644 index 7c10f7f4f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStats.php +++ /dev/null @@ -1,93 +0,0 @@ -stats = $stats; - $this->creativeSetStats = $creativeSetStats; - $this->costInOrderCurrency = $costInOrderCurrency; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Stats - */ - public function getStats() - { - return $this->stats; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Stats $stats - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationStats - */ - public function setStats($stats) - { - $this->stats = $stats; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Long_StatsMapEntry[] - */ - public function getCreativeSetStats() - { - return $this->creativeSetStats; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Long_StatsMapEntry[]|null $creativeSetStats - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationStats - */ - public function setCreativeSetStats(array $creativeSetStats = null) - { - $this->creativeSetStats = $creativeSetStats; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getCostInOrderCurrency() - { - return $this->costInOrderCurrency; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $costInOrderCurrency - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationStats - */ - public function setCostInOrderCurrency($costInOrderCurrency) - { - $this->costInOrderCurrency = $costInOrderCurrency; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemService.php b/src/Google/AdsApi/AdManager/v202308/LineItemService.php deleted file mode 100644 index c9ece89b4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LineItemService.php +++ /dev/null @@ -1,391 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateLineItems', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'ArchiveLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveLineItems', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceExtensionError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTrackingLineItemError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyCreditStatusError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePlaceholder', - 'CreativeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTargeting', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CustomPacingCurve' => 'Google\\AdsApi\\AdManager\\v202308\\CustomPacingCurve', - 'CustomPacingGoal' => 'Google\\AdsApi\\AdManager\\v202308\\CustomPacingGoal', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DeleteLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteLineItems', - 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryData', - 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryIndicator', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCap', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'Goal' => 'Google\\AdsApi\\AdManager\\v202308\\Goal', - 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettings', - 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettingsError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemAction' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemAction', - 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociationError', - 'LineItemActivityAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociation', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LineItemDealInfoDto' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemDealInfoDto', - 'LineItem' => 'Google\\AdsApi\\AdManager\\v202308\\LineItem', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'LineItemPage' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemPage', - 'LineItemSummary' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemSummary', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderActionError', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PauseLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\PauseLineItems', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProgrammaticError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'ReleaseLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ReleaseLineItems', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'ReserveAndOverbookLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ReserveAndOverbookLineItems', - 'ReserveLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ReserveLineItems', - 'ResumeAndOverbookLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeAndOverbookLineItems', - 'ResumeLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeLineItems', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxLineItemError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'Stats' => 'Google\\AdsApi\\AdManager\\v202308\\Stats', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyMeasurementSettings', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UnarchiveLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveLineItems', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'createLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createLineItemsResponse', - 'getLineItemsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getLineItemsByStatementResponse', - 'performLineItemActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performLineItemActionResponse', - 'updateLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateLineItemsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/LineItemService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link LineItem} objects. - * - * @param \Google\AdsApi\AdManager\v202308\LineItem[] $lineItems - * @return \Google\AdsApi\AdManager\v202308\LineItem[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createLineItems(array $lineItems) - { - return $this->__soapCall('createLineItems', array(array('lineItems' => $lineItems)))->getRval(); - } - - /** - * Gets a {@link LineItemPage} of {@link LineItem} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL propertyEntity property
- * {@code CostType} - * - * {@link LineItem#costType} - *
- * {@code CreationDateTime} - * - * {@link LineItem#creationDateTime} - *
- * {@code DeliveryRateType} - * - * {@link LineItem#deliveryRateType} - *
- * {@code EndDateTime} - * - * {@link LineItem#endDateTime} - *
- * {@code ExternalId} - * - * {@link LineItem#externalId} - *
- * {@code Id} - * - * {@link LineItem#id} - *
- * {@code IsMissingCreatives} - * - * {@link LineItem#isMissingCreatives} - *
- * {@code IsSetTopBoxEnabled} - * - * {@link LineItem#isSetTopBoxEnabled} - *
- * {@code LastModifiedDateTime} - * - * {@link LineItem#lastModifiedDateTime} - *
- * {@code LineItemType} - * - * {@link LineItem#lineItemType} - *
- * {@code Name} - * - * {@link LineItem#name} - *
- * {@code OrderId} - * - * {@link LineItem#orderId} - *
- * {@code StartDateTime} - * - * {@link LineItem#startDateTime} - *
- * {@code Status} - * - * {@link LineItem#status} - *
- * {@code UnitsBought} - * - * {@link LineItem#unitsBought} - *
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\LineItemPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getLineItemsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getLineItemsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link LineItem} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\LineItemAction $lineItemAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performLineItemAction(\Google\AdsApi\AdManager\v202308\LineItemAction $lineItemAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performLineItemAction', array(array('lineItemAction' => $lineItemAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link LineItem} objects. - * - * @param \Google\AdsApi\AdManager\v202308\LineItem[] $lineItems - * @return \Google\AdsApi\AdManager\v202308\LineItem[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateLineItems(array $lineItems) - { - return $this->__soapCall('updateLineItems', array(array('lineItems' => $lineItems)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemTemplateService.php b/src/Google/AdsApi/AdManager/v202308/LineItemTemplateService.php deleted file mode 100644 index d97568af1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LineItemTemplateService.php +++ /dev/null @@ -1,147 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceExtensionError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTrackingLineItemError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyCreditStatusError', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettingsError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociationError', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'LineItemTemplate' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemTemplate', - 'LineItemTemplatePage' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemTemplatePage', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderActionError', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProgrammaticError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxLineItemError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'getLineItemTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getLineItemTemplatesByStatementResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/LineItemTemplateService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link LineItemTemplatePage} of {@link LineItemTemplate} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link LineItemTemplate#id}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\LineItemTemplatePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getLineItemTemplatesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getLineItemTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LiveStreamConditioning.php b/src/Google/AdsApi/AdManager/v202308/LiveStreamConditioning.php deleted file mode 100644 index 4c12ada50..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LiveStreamConditioning.php +++ /dev/null @@ -1,43 +0,0 @@ -dashBridge = $dashBridge; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DashBridge - */ - public function getDashBridge() - { - return $this->dashBridge; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DashBridge $dashBridge - * @return \Google\AdsApi\AdManager\v202308\LiveStreamConditioning - */ - public function setDashBridge($dashBridge) - { - $this->dashBridge = $dashBridge; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventService.php b/src/Google/AdsApi/AdManager/v202308/LiveStreamEventService.php deleted file mode 100644 index eec7c6ca0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventService.php +++ /dev/null @@ -1,292 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateLiveStreamEvents', - 'AdBreakMarkupError' => 'Google\\AdsApi\\AdManager\\v202308\\AdBreakMarkupError', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ArchiveLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveLiveStreamEvents', - 'ArchiveSlates' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveSlates', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'DashBridge' => 'Google\\AdsApi\\AdManager\\v202308\\DashBridge', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'HlsSettings' => 'Google\\AdsApi\\AdManager\\v202308\\HlsSettings', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'LiveStreamConditioning' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamConditioning', - 'LiveStreamEventAction' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventAction', - 'LiveStreamEventActionError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventActionError', - 'LiveStreamEventCdnSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventCdnSettingsError', - 'LiveStreamEventConditioningError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventConditioningError', - 'LiveStreamEventCustomAssetKeyError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventCustomAssetKeyError', - 'LiveStreamEventDateTimeError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventDateTimeError', - 'LiveStreamEvent' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEvent', - 'LiveStreamEventDvrWindowError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventDvrWindowError', - 'LiveStreamEventPage' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventPage', - 'LiveStreamEventPrerollSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventPrerollSettingsError', - 'LiveStreamEventSlateError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventSlateError', - 'MasterPlaylistSettings' => 'Google\\AdsApi\\AdManager\\v202308\\MasterPlaylistSettings', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PauseLiveStreamEventAds' => 'Google\\AdsApi\\AdManager\\v202308\\PauseLiveStreamEventAds', - 'PauseLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202308\\PauseLiveStreamEvents', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrefetchSettings' => 'Google\\AdsApi\\AdManager\\v202308\\PrefetchSettings', - 'PrerollSettings' => 'Google\\AdsApi\\AdManager\\v202308\\PrerollSettings', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RefreshLiveStreamEventMasterPlaylists' => 'Google\\AdsApi\\AdManager\\v202308\\RefreshLiveStreamEventMasterPlaylists', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SlateAction' => 'Google\\AdsApi\\AdManager\\v202308\\SlateAction', - 'Slate' => 'Google\\AdsApi\\AdManager\\v202308\\Slate', - 'SlatePage' => 'Google\\AdsApi\\AdManager\\v202308\\SlatePage', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UnarchiveSlates' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveSlates', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoAdTagError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoAdTagError', - 'createLiveStreamEventsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createLiveStreamEventsResponse', - 'createSlatesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createSlatesResponse', - 'getLiveStreamEventsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getLiveStreamEventsByStatementResponse', - 'getSlatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSlatesByStatementResponse', - 'performLiveStreamEventActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performLiveStreamEventActionResponse', - 'performSlateActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performSlateActionResponse', - 'updateLiveStreamEventsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateLiveStreamEventsResponse', - 'updateSlatesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateSlatesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/LiveStreamEventService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link LiveStreamEvent} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] $liveStreamEvents - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createLiveStreamEvents(array $liveStreamEvents) - { - return $this->__soapCall('createLiveStreamEvents', array(array('liveStreamEvents' => $liveStreamEvents)))->getRval(); - } - - /** - * Create new slates. - * - *

A slate creative is served as backup content in a live stream event when no other creatives - * are eligible to be served. - * - * @param \Google\AdsApi\AdManager\v202308\Slate[] $slates - * @return \Google\AdsApi\AdManager\v202308\Slate[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createSlates(array $slates) - { - return $this->__soapCall('createSlates', array(array('slates' => $slates)))->getRval(); - } - - /** - * Gets a {@link LiveStreamEventPage} of {@link LiveStreamEvent} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link LiveStreamEvent#id}
{@code slateCreativeId}{@link LiveStreamEvent#slateCreativeId}
{@code assetKey}{@link LiveStreamEvent#assetKey}
{@code streamCreateDaiAuthenticationKeyIds}{@link LiveStreamEvent#streamCreateDaiAuthenticationKeyIds}
{@code dynamicAdInsertionType}{@link LiveStreamEvent#dynamicAdInsertionType}
{@code streamingFormat}{@link LiveStreamEvent#streamingFormat}
{@code customAssetKey}{@link LiveStreamEvent#customAssetKey}
{@code daiEncodingProfileIds}{@link LiveStreamEvent#daiEncodingProfileIds}
{@code segmentUrlAuthenticationKeyIds}{@link LiveStreamEvent#segmentUrlAuthenticationKeyIds}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEventPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getLiveStreamEventsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getLiveStreamEventsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link SlatePage} of {@link Slate} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Slate#id}
{@code name}{@link Slate#name}
{@code lastModifiedDateTime}{@link Slate#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\SlatePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSlatesByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getSlatesByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Performs actions on {@link LiveStreamEvent} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEventAction $liveStreamEventAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performLiveStreamEventAction(\Google\AdsApi\AdManager\v202308\LiveStreamEventAction $liveStreamEventAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performLiveStreamEventAction', array(array('liveStreamEventAction' => $liveStreamEventAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on slates that match the given {@link Statement}. - * - * @param \Google\AdsApi\AdManager\v202308\SlateAction $slateAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performSlateAction(\Google\AdsApi\AdManager\v202308\SlateAction $slateAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performSlateAction', array(array('slateAction' => $slateAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link LiveStreamEvent} objects. - * - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] $liveStreamEvents - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateLiveStreamEvents(array $liveStreamEvents) - { - return $this->__soapCall('updateLiveStreamEvents', array(array('liveStreamEvents' => $liveStreamEvents)))->getRval(); - } - - /** - * Update existing slates. - * - *

Only the slateName is editable. - * - * @param \Google\AdsApi\AdManager\v202308\Slate[] $slates - * @return \Google\AdsApi\AdManager\v202308\Slate[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateSlates(array $slates) - { - return $this->__soapCall('updateSlates', array(array('slates' => $slates)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Long_StatsMapEntry.php b/src/Google/AdsApi/AdManager/v202308/Long_StatsMapEntry.php deleted file mode 100644 index 2a2b57ddf..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Long_StatsMapEntry.php +++ /dev/null @@ -1,69 +0,0 @@ -key = $key; - $this->value = $value; - } - - /** - * @return int - */ - public function getKey() - { - return $this->key; - } - - /** - * @param int $key - * @return \Google\AdsApi\AdManager\v202308\Long_StatsMapEntry - */ - public function setKey($key) - { - $this->key = (!is_null($key) && PHP_INT_SIZE === 4) - ? floatval($key) : $key; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Stats - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Stats $value - * @return \Google\AdsApi\AdManager\v202308\Long_StatsMapEntry - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/MarketplaceCommentPage.php b/src/Google/AdsApi/AdManager/v202308/MarketplaceCommentPage.php deleted file mode 100644 index c6e806933..000000000 --- a/src/Google/AdsApi/AdManager/v202308/MarketplaceCommentPage.php +++ /dev/null @@ -1,68 +0,0 @@ -startIndex = $startIndex; - $this->results = $results; - } - - /** - * @return int - */ - public function getStartIndex() - { - return $this->startIndex; - } - - /** - * @param int $startIndex - * @return \Google\AdsApi\AdManager\v202308\MarketplaceCommentPage - */ - public function setStartIndex($startIndex) - { - $this->startIndex = $startIndex; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MarketplaceComment[] - */ - public function getResults() - { - return $this->results; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MarketplaceComment[]|null $results - * @return \Google\AdsApi\AdManager\v202308\MarketplaceCommentPage - */ - public function setResults(array $results = null) - { - $this->results = $results; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/McmErrorReason.php b/src/Google/AdsApi/AdManager/v202308/McmErrorReason.php deleted file mode 100644 index 0cf193459..000000000 --- a/src/Google/AdsApi/AdManager/v202308/McmErrorReason.php +++ /dev/null @@ -1,16 +0,0 @@ -name = $name; - $this->urlPrefix = $urlPrefix; - $this->securityPolicy = $securityPolicy; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\MediaLocationSettings - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return string - */ - public function getUrlPrefix() - { - return $this->urlPrefix; - } - - /** - * @param string $urlPrefix - * @return \Google\AdsApi\AdManager\v202308\MediaLocationSettings - */ - public function setUrlPrefix($urlPrefix) - { - $this->urlPrefix = $urlPrefix; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SecurityPolicySettings - */ - public function getSecurityPolicy() - { - return $this->securityPolicy; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SecurityPolicySettings $securityPolicy - * @return \Google\AdsApi\AdManager\v202308\MediaLocationSettings - */ - public function setSecurityPolicy($securityPolicy) - { - $this->securityPolicy = $securityPolicy; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileApplicationErrorReason.php b/src/Google/AdsApi/AdManager/v202308/MobileApplicationErrorReason.php deleted file mode 100644 index 000cd80f9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/MobileApplicationErrorReason.php +++ /dev/null @@ -1,15 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'UnarchiveMobileApplications' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveMobileApplications', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'ArchiveMobileApplications' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveMobileApplications', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'MobileApplicationAction' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationAction', - 'MobileApplicationActionError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationActionError', - 'MobileApplication' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplication', - 'MobileApplicationError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationError', - 'MobileApplicationPage' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationPage', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createMobileApplicationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createMobileApplicationsResponse', - 'getMobileApplicationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getMobileApplicationsByStatementResponse', - 'performMobileApplicationActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performMobileApplicationActionResponse', - 'updateMobileApplicationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateMobileApplicationsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/MobileApplicationService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates and claims {@link MobileApplication mobile applications} to be used for targeting in - * the network. - * - * @param \Google\AdsApi\AdManager\v202308\MobileApplication[] $mobileApplications - * @return \Google\AdsApi\AdManager\v202308\MobileApplication[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createMobileApplications(array $mobileApplications) - { - return $this->__soapCall('createMobileApplications', array(array('mobileApplications' => $mobileApplications)))->getRval(); - } - - /** - * Gets a {@link MobileApplicationPage mobileApplicationPage} of {@link MobileApplication mobile - * applications} that satisfy the given {@link Statement}. The following fields are supported for - * filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code id}{@link MobileApplication#id}
{@code displayName}{@link MobileApplication#displayName}
{@code appStore}{@link MobileApplication#appStore}
{@code appStoreId}{@link MobileApplication#appStoreId}
{@code isArchived}{@link MobileApplication#isArchived}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\MobileApplicationPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getMobileApplicationsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getMobileApplicationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs an action on {@link MobileApplication mobile applications}. - * - * @param \Google\AdsApi\AdManager\v202308\MobileApplicationAction $mobileApplicationAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performMobileApplicationAction(\Google\AdsApi\AdManager\v202308\MobileApplicationAction $mobileApplicationAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performMobileApplicationAction', array(array('mobileApplicationAction' => $mobileApplicationAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link MobileApplication mobile applications}. - * - * @param \Google\AdsApi\AdManager\v202308\MobileApplication[] $mobileApplications - * @return \Google\AdsApi\AdManager\v202308\MobileApplication[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateMobileApplications(array $mobileApplications) - { - return $this->__soapCall('updateMobileApplications', array(array('mobileApplications' => $mobileApplications)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileCarrier.php b/src/Google/AdsApi/AdManager/v202308/MobileCarrier.php deleted file mode 100644 index 1a5a484e1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/MobileCarrier.php +++ /dev/null @@ -1,21 +0,0 @@ -isTargeted = $isTargeted; - $this->mobileCarriers = $mobileCarriers; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\MobileCarrierTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getMobileCarriers() - { - return $this->mobileCarriers; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $mobileCarriers - * @return \Google\AdsApi\AdManager\v202308\MobileCarrierTargeting - */ - public function setMobileCarriers(array $mobileCarriers = null) - { - $this->mobileCarriers = $mobileCarriers; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileDeviceSubmodelTargeting.php b/src/Google/AdsApi/AdManager/v202308/MobileDeviceSubmodelTargeting.php deleted file mode 100644 index 01f97f3a0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/MobileDeviceSubmodelTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; - $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getTargetedMobileDeviceSubmodels() - { - return $this->targetedMobileDeviceSubmodels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $targetedMobileDeviceSubmodels - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceSubmodelTargeting - */ - public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) - { - $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getExcludedMobileDeviceSubmodels() - { - return $this->excludedMobileDeviceSubmodels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $excludedMobileDeviceSubmodels - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceSubmodelTargeting - */ - public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) - { - $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202308/MobileDeviceTargeting.php deleted file mode 100644 index a5aaa4121..000000000 --- a/src/Google/AdsApi/AdManager/v202308/MobileDeviceTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -targetedMobileDevices = $targetedMobileDevices; - $this->excludedMobileDevices = $excludedMobileDevices; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getTargetedMobileDevices() - { - return $this->targetedMobileDevices; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $targetedMobileDevices - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceTargeting - */ - public function setTargetedMobileDevices(array $targetedMobileDevices = null) - { - $this->targetedMobileDevices = $targetedMobileDevices; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getExcludedMobileDevices() - { - return $this->excludedMobileDevices; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $excludedMobileDevices - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceTargeting - */ - public function setExcludedMobileDevices(array $excludedMobileDevices = null) - { - $this->excludedMobileDevices = $excludedMobileDevices; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/NativeStyleService.php b/src/Google/AdsApi/AdManager/v202308/NativeStyleService.php deleted file mode 100644 index eb4a76d50..000000000 --- a/src/Google/AdsApi/AdManager/v202308/NativeStyleService.php +++ /dev/null @@ -1,213 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateNativeStyles' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateNativeStyles', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ArchiveNativeStyles' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveNativeStyles', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTemplateError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DeactivateNativeStyles' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateNativeStyles', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'NativeStyleAction' => 'Google\\AdsApi\\AdManager\\v202308\\NativeStyleAction', - 'NativeStyle' => 'Google\\AdsApi\\AdManager\\v202308\\NativeStyle', - 'NativeStyleError' => 'Google\\AdsApi\\AdManager\\v202308\\NativeStyleError', - 'NativeStylePage' => 'Google\\AdsApi\\AdManager\\v202308\\NativeStylePage', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'createNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createNativeStylesResponse', - 'getNativeStylesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getNativeStylesByStatementResponse', - 'performNativeStyleActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performNativeStyleActionResponse', - 'updateNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateNativeStylesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/NativeStyleService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link NativeStyle} objects. - * - * @param \Google\AdsApi\AdManager\v202308\NativeStyle[] $nativeStyles - * @return \Google\AdsApi\AdManager\v202308\NativeStyle[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createNativeStyles(array $nativeStyles) - { - return $this->__soapCall('createNativeStyles', array(array('nativeStyles' => $nativeStyles)))->getRval(); - } - - /** - * Gets a {@link NativeStylePage NativeStylePage} of {@link NativeStyle} objects that satisfy the - * given {@link Statement}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code id}{@link NativeStyle#id}
{@code name}{@link NativeStyle#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\NativeStylePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getNativeStylesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getNativeStylesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link NativeStyle native styles} that match the given {@link Statement}. - * - * @param \Google\AdsApi\AdManager\v202308\NativeStyleAction $nativeStyleAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performNativeStyleAction(\Google\AdsApi\AdManager\v202308\NativeStyleAction $nativeStyleAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performNativeStyleAction', array(array('nativeStyleAction' => $nativeStyleAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link NativeStyle} objects. - * - * @param \Google\AdsApi\AdManager\v202308\NativeStyle[] $nativeStyles - * @return \Google\AdsApi\AdManager\v202308\NativeStyle[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateNativeStyles(array $nativeStyles) - { - return $this->__soapCall('updateNativeStyles', array(array('nativeStyles' => $nativeStyles)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/NetworkService.php b/src/Google/AdsApi/AdManager/v202308/NetworkService.php deleted file mode 100644 index 058be1529..000000000 --- a/src/Google/AdsApi/AdManager/v202308/NetworkService.php +++ /dev/null @@ -1,157 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ChildPublisher', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ExchangeSignupApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ExchangeSignupApiError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'InventoryClientApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryClientApiError', - 'LiveStreamEventSlateError' => 'Google\\AdsApi\\AdManager\\v202308\\LiveStreamEventSlateError', - 'Network' => 'Google\\AdsApi\\AdManager\\v202308\\Network', - 'NetworkError' => 'Google\\AdsApi\\AdManager\\v202308\\NetworkError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxCreativeError', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyDataDeclaration', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UrlError' => 'Google\\AdsApi\\AdManager\\v202308\\UrlError', - 'getAllNetworksResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAllNetworksResponse', - 'getCurrentNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCurrentNetworkResponse', - 'getDefaultThirdPartyDataDeclarationResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getDefaultThirdPartyDataDeclarationResponse', - 'makeTestNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202308\\makeTestNetworkResponse', - 'updateNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateNetworkResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/NetworkService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Returns the list of {@link Network} objects to which the current login has access. - * - *

Intended to be used without a network code in the SOAP header when the login may have more - * than one network associated with it. - * - * @return \Google\AdsApi\AdManager\v202308\Network[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAllNetworks() - { - return $this->__soapCall('getAllNetworks', array(array()))->getRval(); - } - - /** - * Returns the current network for which requests are being made. - * - * @return \Google\AdsApi\AdManager\v202308\Network - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCurrentNetwork() - { - return $this->__soapCall('getCurrentNetwork', array(array()))->getRval(); - } - - /** - * Returns the default {@link ThirdPartyDataDeclaration} for this network. If this setting has - * never been updated on your network, then this API response will be empty. - * - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyDataDeclaration - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getDefaultThirdPartyDataDeclaration() - { - return $this->__soapCall('getDefaultThirdPartyDataDeclaration', array(array()))->getRval(); - } - - /** - * Creates a new blank network for testing purposes using the current login. - * - *

Each login(i.e. email address) can only have one test network. Data from any of your - * existing networks will not be transferred to the new test network. Once the test network is - * created, the test network can be used in the API by supplying the {@link Network#networkCode} - * in the SOAP header or by logging into the Ad Manager UI. - * - *

Test networks are limited in the following ways: - * - *

- * - * @return \Google\AdsApi\AdManager\v202308\Network - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function makeTestNetwork() - { - return $this->__soapCall('makeTestNetwork', array(array()))->getRval(); - } - - /** - * Updates the specified network. Currently, only the network display name can be updated. - * - * @param \Google\AdsApi\AdManager\v202308\Network $network - * @return \Google\AdsApi\AdManager\v202308\Network - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateNetwork(\Google\AdsApi\AdManager\v202308\Network $network) - { - return $this->__soapCall('updateNetwork', array(array('network' => $network)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/OperatingSystem.php b/src/Google/AdsApi/AdManager/v202308/OperatingSystem.php deleted file mode 100644 index e85c58f49..000000000 --- a/src/Google/AdsApi/AdManager/v202308/OperatingSystem.php +++ /dev/null @@ -1,21 +0,0 @@ -isTargeted = $isTargeted; - $this->operatingSystems = $operatingSystems; - } - - /** - * @return boolean - */ - public function getIsTargeted() - { - return $this->isTargeted; - } - - /** - * @param boolean $isTargeted - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemTargeting - */ - public function setIsTargeted($isTargeted) - { - $this->isTargeted = $isTargeted; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getOperatingSystems() - { - return $this->operatingSystems; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $operatingSystems - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemTargeting - */ - public function setOperatingSystems(array $operatingSystems = null) - { - $this->operatingSystems = $operatingSystems; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/OperatingSystemVersionTargeting.php b/src/Google/AdsApi/AdManager/v202308/OperatingSystemVersionTargeting.php deleted file mode 100644 index fa390f266..000000000 --- a/src/Google/AdsApi/AdManager/v202308/OperatingSystemVersionTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -targetedOperatingSystemVersions = $targetedOperatingSystemVersions; - $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getTargetedOperatingSystemVersions() - { - return $this->targetedOperatingSystemVersions; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $targetedOperatingSystemVersions - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemVersionTargeting - */ - public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) - { - $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Technology[] - */ - public function getExcludedOperatingSystemVersions() - { - return $this->excludedOperatingSystemVersions; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Technology[]|null $excludedOperatingSystemVersions - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemVersionTargeting - */ - public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) - { - $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/OrderService.php b/src/Google/AdsApi/AdManager/v202308/OrderService.php deleted file mode 100644 index 6ab99ea5f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/OrderService.php +++ /dev/null @@ -1,244 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'ApproveAndOverbookOrders' => 'Google\\AdsApi\\AdManager\\v202308\\ApproveAndOverbookOrders', - 'ApproveOrders' => 'Google\\AdsApi\\AdManager\\v202308\\ApproveOrders', - 'ApproveOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202308\\ApproveOrdersWithoutReservationChanges', - 'ArchiveOrders' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveOrders', - 'AssetError' => 'Google\\AdsApi\\AdManager\\v202308\\AssetError', - 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceExtensionError', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ClickTrackingLineItemError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202308\\CompanyCreditStatusError', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202308\\CrossSellError', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DeleteOrders' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteOrders', - 'DisapproveOrders' => 'Google\\AdsApi\\AdManager\\v202308\\DisapproveOrders', - 'DisapproveOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202308\\DisapproveOrdersWithoutReservationChanges', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettingsError', - 'ImageError' => 'Google\\AdsApi\\AdManager\\v202308\\ImageError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemActivityAssociationError', - 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemCreativeAssociationError', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OrderAction' => 'Google\\AdsApi\\AdManager\\v202308\\OrderAction', - 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderActionError', - 'Order' => 'Google\\AdsApi\\AdManager\\v202308\\Order', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'OrderPage' => 'Google\\AdsApi\\AdManager\\v202308\\OrderPage', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PauseOrders' => 'Google\\AdsApi\\AdManager\\v202308\\PauseOrders', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProgrammaticError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'ResumeAndOverbookOrders' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeAndOverbookOrders', - 'ResumeOrders' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeOrders', - 'RetractOrders' => 'Google\\AdsApi\\AdManager\\v202308\\RetractOrders', - 'RetractOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202308\\RetractOrdersWithoutReservationChanges', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\SetTopBoxLineItemError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SubmitOrdersForApproval' => 'Google\\AdsApi\\AdManager\\v202308\\SubmitOrdersForApproval', - 'SubmitOrdersForApprovalAndOverbook' => 'Google\\AdsApi\\AdManager\\v202308\\SubmitOrdersForApprovalAndOverbook', - 'SubmitOrdersForApprovalWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202308\\SubmitOrdersForApprovalWithoutReservationChanges', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\TemplateInstantiatedCreativeError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202308\\TranscodingError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UnarchiveOrders' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveOrders', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'createOrdersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createOrdersResponse', - 'getOrdersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getOrdersByStatementResponse', - 'performOrderActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performOrderActionResponse', - 'updateOrdersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateOrdersResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/OrderService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Order} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Order[] $orders - * @return \Google\AdsApi\AdManager\v202308\Order[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createOrders(array $orders) - { - return $this->__soapCall('createOrders', array(array('orders' => $orders)))->getRval(); - } - - /** - * Gets an {@link OrderPage} of {@link Order} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code advertiserId}{@link Order#advertiserId}
{@code endDateTime}{@link Order#endDateTime}
{@code id}{@link Order#id}
{@code name}{@link Order#name}
{@code salespersonId}{@link Order#salespersonId}
{@code startDateTime}{@link Order#startDateTime}
{@code status}{@link Order#status}
{@code traffickerId}{@link Order#traffickerId}
{@code lastModifiedDateTime}{@link Order#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\OrderPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getOrdersByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getOrdersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Order} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\OrderAction $orderAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performOrderAction(\Google\AdsApi\AdManager\v202308\OrderAction $orderAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performOrderAction', array(array('orderAction' => $orderAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Order} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Order[] $orders - * @return \Google\AdsApi\AdManager\v202308\Order[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateOrders(array $orders) - { - return $this->__soapCall('updateOrders', array(array('orders' => $orders)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/PauseLineItems.php b/src/Google/AdsApi/AdManager/v202308/PauseLineItems.php deleted file mode 100644 index 208c18804..000000000 --- a/src/Google/AdsApi/AdManager/v202308/PauseLineItems.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivatePlacements' => 'Google\\AdsApi\\AdManager\\v202308\\ActivatePlacements', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ArchivePlacements' => 'Google\\AdsApi\\AdManager\\v202308\\ArchivePlacements', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivatePlacements' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivatePlacements', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PlacementAction' => 'Google\\AdsApi\\AdManager\\v202308\\PlacementAction', - 'Placement' => 'Google\\AdsApi\\AdManager\\v202308\\Placement', - 'PlacementError' => 'Google\\AdsApi\\AdManager\\v202308\\PlacementError', - 'PlacementPage' => 'Google\\AdsApi\\AdManager\\v202308\\PlacementPage', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SiteTargetingInfo' => 'Google\\AdsApi\\AdManager\\v202308\\SiteTargetingInfo', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createPlacementsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createPlacementsResponse', - 'getPlacementsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getPlacementsByStatementResponse', - 'performPlacementActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performPlacementActionResponse', - 'updatePlacementsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updatePlacementsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/PlacementService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Placement} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Placement[] $placements - * @return \Google\AdsApi\AdManager\v202308\Placement[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createPlacements(array $placements) - { - return $this->__soapCall('createPlacements', array(array('placements' => $placements)))->getRval(); - } - - /** - * Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code description}{@link Placement#description}
{@code id}{@link Placement#id}
{@code name}{@link Placement#name}
{@code placementCode}{@link Placement#placementCode}
{@code status}{@link Placement#status}
{@code lastModifiedDateTime}{@link Placement#lastModifiedDateTime}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\PlacementPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getPlacementsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getPlacementsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Placement} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\PlacementAction $placementAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performPlacementAction(\Google\AdsApi\AdManager\v202308\PlacementAction $placementAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performPlacementAction', array(array('placementAction' => $placementAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Placement} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Placement[] $placements - * @return \Google\AdsApi\AdManager\v202308\Placement[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updatePlacements(array $placements) - { - return $this->__soapCall('updatePlacements', array(array('placements' => $placements)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/PopulateAudienceSegments.php b/src/Google/AdsApi/AdManager/v202308/PopulateAudienceSegments.php deleted file mode 100644 index 11c6339fc..000000000 --- a/src/Google/AdsApi/AdManager/v202308/PopulateAudienceSegments.php +++ /dev/null @@ -1,18 +0,0 @@ -id = $id; - $this->isProgrammatic = $isProgrammatic; - $this->dfpOrderId = $dfpOrderId; - $this->name = $name; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - $this->status = $status; - $this->isArchived = $isArchived; - $this->advertiser = $advertiser; - $this->agencies = $agencies; - $this->internalNotes = $internalNotes; - $this->primarySalesperson = $primarySalesperson; - $this->salesPlannerIds = $salesPlannerIds; - $this->primaryTraffickerId = $primaryTraffickerId; - $this->sellerContactIds = $sellerContactIds; - $this->appliedTeamIds = $appliedTeamIds; - $this->customFieldValues = $customFieldValues; - $this->appliedLabels = $appliedLabels; - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - $this->currencyCode = $currencyCode; - $this->isSold = $isSold; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->marketplaceInfo = $marketplaceInfo; - $this->buyerRfp = $buyerRfp; - $this->hasBuyerRfp = $hasBuyerRfp; - $this->deliveryPausingEnabled = $deliveryPausingEnabled; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return boolean - */ - public function getIsProgrammatic() - { - return $this->isProgrammatic; - } - - /** - * @param boolean $isProgrammatic - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setIsProgrammatic($isProgrammatic) - { - $this->isProgrammatic = $isProgrammatic; - return $this; - } - - /** - * @return int - */ - public function getDfpOrderId() - { - return $this->dfpOrderId; - } - - /** - * @param int $dfpOrderId - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setDfpOrderId($dfpOrderId) - { - $this->dfpOrderId = (!is_null($dfpOrderId) && PHP_INT_SIZE === 4) - ? floatval($dfpOrderId) : $dfpOrderId; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return boolean - */ - public function getIsArchived() - { - return $this->isArchived; - } - - /** - * @param boolean $isArchived - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setIsArchived($isArchived) - { - $this->isArchived = $isArchived; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalCompanyAssociation - */ - public function getAdvertiser() - { - return $this->advertiser; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalCompanyAssociation $advertiser - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setAdvertiser($advertiser) - { - $this->advertiser = $advertiser; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalCompanyAssociation[] - */ - public function getAgencies() - { - return $this->agencies; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalCompanyAssociation[]|null $agencies - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setAgencies(array $agencies = null) - { - $this->agencies = $agencies; - return $this; - } - - /** - * @return string - */ - public function getInternalNotes() - { - return $this->internalNotes; - } - - /** - * @param string $internalNotes - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setInternalNotes($internalNotes) - { - $this->internalNotes = $internalNotes; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SalespersonSplit - */ - public function getPrimarySalesperson() - { - return $this->primarySalesperson; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SalespersonSplit $primarySalesperson - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setPrimarySalesperson($primarySalesperson) - { - $this->primarySalesperson = $primarySalesperson; - return $this; - } - - /** - * @return int[] - */ - public function getSalesPlannerIds() - { - return $this->salesPlannerIds; - } - - /** - * @param int[]|null $salesPlannerIds - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setSalesPlannerIds(array $salesPlannerIds = null) - { - $this->salesPlannerIds = $salesPlannerIds; - return $this; - } - - /** - * @return int - */ - public function getPrimaryTraffickerId() - { - return $this->primaryTraffickerId; - } - - /** - * @param int $primaryTraffickerId - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setPrimaryTraffickerId($primaryTraffickerId) - { - $this->primaryTraffickerId = (!is_null($primaryTraffickerId) && PHP_INT_SIZE === 4) - ? floatval($primaryTraffickerId) : $primaryTraffickerId; - return $this; - } - - /** - * @return int[] - */ - public function getSellerContactIds() - { - return $this->sellerContactIds; - } - - /** - * @param int[]|null $sellerContactIds - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setSellerContactIds(array $sellerContactIds = null) - { - $this->sellerContactIds = $sellerContactIds; - return $this; - } - - /** - * @return int[] - */ - public function getAppliedTeamIds() - { - return $this->appliedTeamIds; - } - - /** - * @param int[]|null $appliedTeamIds - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setAppliedTeamIds(array $appliedTeamIds = null) - { - $this->appliedTeamIds = $appliedTeamIds; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[] - */ - public function getCustomFieldValues() - { - return $this->customFieldValues; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[]|null $customFieldValues - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setCustomFieldValues(array $customFieldValues = null) - { - $this->customFieldValues = $customFieldValues; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getAppliedLabels() - { - return $this->appliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $appliedLabels - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setAppliedLabels(array $appliedLabels = null) - { - $this->appliedLabels = $appliedLabels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getEffectiveAppliedLabels() - { - return $this->effectiveAppliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $effectiveAppliedLabels - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) - { - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - return $this; - } - - /** - * @return string - */ - public function getCurrencyCode() - { - return $this->currencyCode; - } - - /** - * @param string $currencyCode - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setCurrencyCode($currencyCode) - { - $this->currencyCode = $currencyCode; - return $this; - } - - /** - * @return boolean - */ - public function getIsSold() - { - return $this->isSold; - } - - /** - * @param boolean $isSold - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setIsSold($isSold) - { - $this->isSold = $isSold; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastModifiedDateTime() - { - return $this->lastModifiedDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setLastModifiedDateTime($lastModifiedDateTime) - { - $this->lastModifiedDateTime = $lastModifiedDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function getMarketplaceInfo() - { - return $this->marketplaceInfo; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo $marketplaceInfo - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setMarketplaceInfo($marketplaceInfo) - { - $this->marketplaceInfo = $marketplaceInfo; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BuyerRfp - */ - public function getBuyerRfp() - { - return $this->buyerRfp; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BuyerRfp $buyerRfp - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setBuyerRfp($buyerRfp) - { - $this->buyerRfp = $buyerRfp; - return $this; - } - - /** - * @return boolean - */ - public function getHasBuyerRfp() - { - return $this->hasBuyerRfp; - } - - /** - * @param boolean $hasBuyerRfp - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setHasBuyerRfp($hasBuyerRfp) - { - $this->hasBuyerRfp = $hasBuyerRfp; - return $this; - } - - /** - * @return boolean - */ - public function getDeliveryPausingEnabled() - { - return $this->deliveryPausingEnabled; - } - - /** - * @param boolean $deliveryPausingEnabled - * @return \Google\AdsApi\AdManager\v202308\Proposal - */ - public function setDeliveryPausingEnabled($deliveryPausingEnabled) - { - $this->deliveryPausingEnabled = $deliveryPausingEnabled; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalLineItem.php b/src/Google/AdsApi/AdManager/v202308/ProposalLineItem.php deleted file mode 100644 index c25fa2b81..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ProposalLineItem.php +++ /dev/null @@ -1,1249 +0,0 @@ -id = $id; - $this->proposalId = $proposalId; - $this->name = $name; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - $this->timeZoneId = $timeZoneId; - $this->internalNotes = $internalNotes; - $this->isArchived = $isArchived; - $this->goal = $goal; - $this->secondaryGoals = $secondaryGoals; - $this->contractedUnitsBought = $contractedUnitsBought; - $this->deliveryRateType = $deliveryRateType; - $this->roadblockingType = $roadblockingType; - $this->companionDeliveryOption = $companionDeliveryOption; - $this->videoMaxDuration = $videoMaxDuration; - $this->videoCreativeSkippableAdType = $videoCreativeSkippableAdType; - $this->frequencyCaps = $frequencyCaps; - $this->dfpLineItemId = $dfpLineItemId; - $this->lineItemType = $lineItemType; - $this->lineItemPriority = $lineItemPriority; - $this->rateType = $rateType; - $this->creativePlaceholders = $creativePlaceholders; - $this->targeting = $targeting; - $this->customFieldValues = $customFieldValues; - $this->appliedLabels = $appliedLabels; - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion; - $this->isSold = $isSold; - $this->netRate = $netRate; - $this->netCost = $netCost; - $this->deliveryIndicator = $deliveryIndicator; - $this->deliveryData = $deliveryData; - $this->computedStatus = $computedStatus; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->reservationStatus = $reservationStatus; - $this->lastReservationDateTime = $lastReservationDateTime; - $this->environmentType = $environmentType; - $this->allowedFormats = $allowedFormats; - $this->isProgrammatic = $isProgrammatic; - $this->additionalTerms = $additionalTerms; - $this->programmaticCreativeSource = $programmaticCreativeSource; - $this->grpSettings = $grpSettings; - $this->estimatedMinimumImpressions = $estimatedMinimumImpressions; - $this->thirdPartyMeasurementSettings = $thirdPartyMeasurementSettings; - $this->makegoodInfo = $makegoodInfo; - $this->hasMakegood = $hasMakegood; - $this->canCreateMakegood = $canCreateMakegood; - $this->pauseRole = $pauseRole; - $this->pauseReason = $pauseReason; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return int - */ - public function getProposalId() - { - return $this->proposalId; - } - - /** - * @param int $proposalId - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setProposalId($proposalId) - { - $this->proposalId = (!is_null($proposalId) && PHP_INT_SIZE === 4) - ? floatval($proposalId) : $proposalId; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - - /** - * @return string - */ - public function getTimeZoneId() - { - return $this->timeZoneId; - } - - /** - * @param string $timeZoneId - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setTimeZoneId($timeZoneId) - { - $this->timeZoneId = $timeZoneId; - return $this; - } - - /** - * @return string - */ - public function getInternalNotes() - { - return $this->internalNotes; - } - - /** - * @param string $internalNotes - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setInternalNotes($internalNotes) - { - $this->internalNotes = $internalNotes; - return $this; - } - - /** - * @return boolean - */ - public function getIsArchived() - { - return $this->isArchived; - } - - /** - * @param boolean $isArchived - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setIsArchived($isArchived) - { - $this->isArchived = $isArchived; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Goal - */ - public function getGoal() - { - return $this->goal; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Goal $goal - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setGoal($goal) - { - $this->goal = $goal; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Goal[] - */ - public function getSecondaryGoals() - { - return $this->secondaryGoals; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Goal[]|null $secondaryGoals - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setSecondaryGoals(array $secondaryGoals = null) - { - $this->secondaryGoals = $secondaryGoals; - return $this; - } - - /** - * @return int - */ - public function getContractedUnitsBought() - { - return $this->contractedUnitsBought; - } - - /** - * @param int $contractedUnitsBought - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setContractedUnitsBought($contractedUnitsBought) - { - $this->contractedUnitsBought = (!is_null($contractedUnitsBought) && PHP_INT_SIZE === 4) - ? floatval($contractedUnitsBought) : $contractedUnitsBought; - return $this; - } - - /** - * @return string - */ - public function getDeliveryRateType() - { - return $this->deliveryRateType; - } - - /** - * @param string $deliveryRateType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setDeliveryRateType($deliveryRateType) - { - $this->deliveryRateType = $deliveryRateType; - return $this; - } - - /** - * @return string - */ - public function getRoadblockingType() - { - return $this->roadblockingType; - } - - /** - * @param string $roadblockingType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setRoadblockingType($roadblockingType) - { - $this->roadblockingType = $roadblockingType; - return $this; - } - - /** - * @return string - */ - public function getCompanionDeliveryOption() - { - return $this->companionDeliveryOption; - } - - /** - * @param string $companionDeliveryOption - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setCompanionDeliveryOption($companionDeliveryOption) - { - $this->companionDeliveryOption = $companionDeliveryOption; - return $this; - } - - /** - * @return int - */ - public function getVideoMaxDuration() - { - return $this->videoMaxDuration; - } - - /** - * @param int $videoMaxDuration - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setVideoMaxDuration($videoMaxDuration) - { - $this->videoMaxDuration = (!is_null($videoMaxDuration) && PHP_INT_SIZE === 4) - ? floatval($videoMaxDuration) : $videoMaxDuration; - return $this; - } - - /** - * @return string - */ - public function getVideoCreativeSkippableAdType() - { - return $this->videoCreativeSkippableAdType; - } - - /** - * @param string $videoCreativeSkippableAdType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setVideoCreativeSkippableAdType($videoCreativeSkippableAdType) - { - $this->videoCreativeSkippableAdType = $videoCreativeSkippableAdType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\FrequencyCap[] - */ - public function getFrequencyCaps() - { - return $this->frequencyCaps; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\FrequencyCap[]|null $frequencyCaps - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setFrequencyCaps(array $frequencyCaps = null) - { - $this->frequencyCaps = $frequencyCaps; - return $this; - } - - /** - * @return int - */ - public function getDfpLineItemId() - { - return $this->dfpLineItemId; - } - - /** - * @param int $dfpLineItemId - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setDfpLineItemId($dfpLineItemId) - { - $this->dfpLineItemId = (!is_null($dfpLineItemId) && PHP_INT_SIZE === 4) - ? floatval($dfpLineItemId) : $dfpLineItemId; - return $this; - } - - /** - * @return string - */ - public function getLineItemType() - { - return $this->lineItemType; - } - - /** - * @param string $lineItemType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setLineItemType($lineItemType) - { - $this->lineItemType = $lineItemType; - return $this; - } - - /** - * @return int - */ - public function getLineItemPriority() - { - return $this->lineItemPriority; - } - - /** - * @param int $lineItemPriority - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setLineItemPriority($lineItemPriority) - { - $this->lineItemPriority = $lineItemPriority; - return $this; - } - - /** - * @return string - */ - public function getRateType() - { - return $this->rateType; - } - - /** - * @param string $rateType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setRateType($rateType) - { - $this->rateType = $rateType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativePlaceholder[] - */ - public function getCreativePlaceholders() - { - return $this->creativePlaceholders; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativePlaceholder[]|null $creativePlaceholders - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setCreativePlaceholders(array $creativePlaceholders = null) - { - $this->creativePlaceholders = $creativePlaceholders; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[] - */ - public function getCustomFieldValues() - { - return $this->customFieldValues; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BaseCustomFieldValue[]|null $customFieldValues - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setCustomFieldValues(array $customFieldValues = null) - { - $this->customFieldValues = $customFieldValues; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getAppliedLabels() - { - return $this->appliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $appliedLabels - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setAppliedLabels(array $appliedLabels = null) - { - $this->appliedLabels = $appliedLabels; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AppliedLabel[] - */ - public function getEffectiveAppliedLabels() - { - return $this->effectiveAppliedLabels; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AppliedLabel[]|null $effectiveAppliedLabels - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) - { - $this->effectiveAppliedLabels = $effectiveAppliedLabels; - return $this; - } - - /** - * @return boolean - */ - public function getDisableSameAdvertiserCompetitiveExclusion() - { - return $this->disableSameAdvertiserCompetitiveExclusion; - } - - /** - * @param boolean $disableSameAdvertiserCompetitiveExclusion - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setDisableSameAdvertiserCompetitiveExclusion($disableSameAdvertiserCompetitiveExclusion) - { - $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion; - return $this; - } - - /** - * @return boolean - */ - public function getIsSold() - { - return $this->isSold; - } - - /** - * @param boolean $isSold - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setIsSold($isSold) - { - $this->isSold = $isSold; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getNetRate() - { - return $this->netRate; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $netRate - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setNetRate($netRate) - { - $this->netRate = $netRate; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getNetCost() - { - return $this->netCost; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $netCost - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setNetCost($netCost) - { - $this->netCost = $netCost; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeliveryIndicator - */ - public function getDeliveryIndicator() - { - return $this->deliveryIndicator; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeliveryIndicator $deliveryIndicator - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setDeliveryIndicator($deliveryIndicator) - { - $this->deliveryIndicator = $deliveryIndicator; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeliveryData - */ - public function getDeliveryData() - { - return $this->deliveryData; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeliveryData $deliveryData - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setDeliveryData($deliveryData) - { - $this->deliveryData = $deliveryData; - return $this; - } - - /** - * @return string - */ - public function getComputedStatus() - { - return $this->computedStatus; - } - - /** - * @param string $computedStatus - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setComputedStatus($computedStatus) - { - $this->computedStatus = $computedStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastModifiedDateTime() - { - return $this->lastModifiedDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setLastModifiedDateTime($lastModifiedDateTime) - { - $this->lastModifiedDateTime = $lastModifiedDateTime; - return $this; - } - - /** - * @return string - */ - public function getReservationStatus() - { - return $this->reservationStatus; - } - - /** - * @param string $reservationStatus - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setReservationStatus($reservationStatus) - { - $this->reservationStatus = $reservationStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLastReservationDateTime() - { - return $this->lastReservationDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastReservationDateTime - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setLastReservationDateTime($lastReservationDateTime) - { - $this->lastReservationDateTime = $lastReservationDateTime; - return $this; - } - - /** - * @return string - */ - public function getEnvironmentType() - { - return $this->environmentType; - } - - /** - * @param string $environmentType - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setEnvironmentType($environmentType) - { - $this->environmentType = $environmentType; - return $this; - } - - /** - * @return string[] - */ - public function getAllowedFormats() - { - return $this->allowedFormats; - } - - /** - * @param string[]|null $allowedFormats - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setAllowedFormats(array $allowedFormats = null) - { - $this->allowedFormats = $allowedFormats; - return $this; - } - - /** - * @return boolean - */ - public function getIsProgrammatic() - { - return $this->isProgrammatic; - } - - /** - * @param boolean $isProgrammatic - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setIsProgrammatic($isProgrammatic) - { - $this->isProgrammatic = $isProgrammatic; - return $this; - } - - /** - * @return string - */ - public function getAdditionalTerms() - { - return $this->additionalTerms; - } - - /** - * @param string $additionalTerms - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setAdditionalTerms($additionalTerms) - { - $this->additionalTerms = $additionalTerms; - return $this; - } - - /** - * @return string - */ - public function getProgrammaticCreativeSource() - { - return $this->programmaticCreativeSource; - } - - /** - * @param string $programmaticCreativeSource - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setProgrammaticCreativeSource($programmaticCreativeSource) - { - $this->programmaticCreativeSource = $programmaticCreativeSource; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\GrpSettings - */ - public function getGrpSettings() - { - return $this->grpSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\GrpSettings $grpSettings - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setGrpSettings($grpSettings) - { - $this->grpSettings = $grpSettings; - return $this; - } - - /** - * @return int - */ - public function getEstimatedMinimumImpressions() - { - return $this->estimatedMinimumImpressions; - } - - /** - * @param int $estimatedMinimumImpressions - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setEstimatedMinimumImpressions($estimatedMinimumImpressions) - { - $this->estimatedMinimumImpressions = (!is_null($estimatedMinimumImpressions) && PHP_INT_SIZE === 4) - ? floatval($estimatedMinimumImpressions) : $estimatedMinimumImpressions; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyMeasurementSettings - */ - public function getThirdPartyMeasurementSettings() - { - return $this->thirdPartyMeasurementSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ThirdPartyMeasurementSettings $thirdPartyMeasurementSettings - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setThirdPartyMeasurementSettings($thirdPartyMeasurementSettings) - { - $this->thirdPartyMeasurementSettings = $thirdPartyMeasurementSettings; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItemMakegoodInfo - */ - public function getMakegoodInfo() - { - return $this->makegoodInfo; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItemMakegoodInfo $makegoodInfo - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setMakegoodInfo($makegoodInfo) - { - $this->makegoodInfo = $makegoodInfo; - return $this; - } - - /** - * @return boolean - */ - public function getHasMakegood() - { - return $this->hasMakegood; - } - - /** - * @param boolean $hasMakegood - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setHasMakegood($hasMakegood) - { - $this->hasMakegood = $hasMakegood; - return $this; - } - - /** - * @return boolean - */ - public function getCanCreateMakegood() - { - return $this->canCreateMakegood; - } - - /** - * @param boolean $canCreateMakegood - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setCanCreateMakegood($canCreateMakegood) - { - $this->canCreateMakegood = $canCreateMakegood; - return $this; - } - - /** - * @return string - */ - public function getPauseRole() - { - return $this->pauseRole; - } - - /** - * @param string $pauseRole - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setPauseRole($pauseRole) - { - $this->pauseRole = $pauseRole; - return $this; - } - - /** - * @return string - */ - public function getPauseReason() - { - return $this->pauseReason; - } - - /** - * @param string $pauseReason - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function setPauseReason($pauseReason) - { - $this->pauseReason = $pauseReason; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalLineItemService.php b/src/Google/AdsApi/AdManager/v202308/ProposalLineItemService.php deleted file mode 100644 index b275e56ab..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ProposalLineItemService.php +++ /dev/null @@ -1,296 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'ArchiveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveProposalLineItems', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BillingError' => 'Google\\AdsApi\\AdManager\\v202308\\BillingError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePlaceholder', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DealError' => 'Google\\AdsApi\\AdManager\\v202308\\DealError', - 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryData', - 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202308\\DeliveryIndicator', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202308\\ExchangeRateError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCap', - 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202308\\FrequencyCapError', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'Goal' => 'Google\\AdsApi\\AdManager\\v202308\\Goal', - 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettings', - 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202308\\GrpSettingsError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemError', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PauseProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\PauseProposalLineItems', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'PreferredDealError' => 'Google\\AdsApi\\AdManager\\v202308\\PreferredDealError', - 'ProposalActionError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalActionError', - 'ProposalError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalError', - 'ProposalLineItemAction' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemAction', - 'ProposalLineItemActionError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemActionError', - 'ProposalLineItem' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItem', - 'ProposalLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemError', - 'ProposalLineItemMakegoodError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemMakegoodError', - 'ProposalLineItemMakegoodInfo' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemMakegoodInfo', - 'ProposalLineItemPage' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemPage', - 'ProposalLineItemProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemProgrammaticError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'ReleaseProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ReleaseProposalLineItems', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'ReserveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ReserveProposalLineItems', - 'ResumeProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeProposalLineItems', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202308\\ThirdPartyMeasurementSettings', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UnarchiveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveProposalLineItems', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'createMakegoodsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createMakegoodsResponse', - 'createProposalLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createProposalLineItemsResponse', - 'getProposalLineItemsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getProposalLineItemsByStatementResponse', - 'performProposalLineItemActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performProposalLineItemActionResponse', - 'updateProposalLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateProposalLineItemsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ProposalLineItemService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates makegood proposal line items given the specifications provided. - * - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItemMakegoodInfo[] $makegoodInfos - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createMakegoods(array $makegoodInfos) - { - return $this->__soapCall('createMakegoods', array(array('makegoodInfos' => $makegoodInfos)))->getRval(); - } - - /** - * Creates new {@link ProposalLineItem} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem[] $proposalLineItems - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createProposalLineItems(array $proposalLineItems) - { - return $this->__soapCall('createProposalLineItems', array(array('proposalLineItems' => $proposalLineItems)))->getRval(); - } - - /** - * Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link ProposalLineItem#id}
{@code name}{@link ProposalLineItem#name}
{@code proposalId}{@link ProposalLineItem#proposalId}
{@code startDateTime}{@link ProposalLineItem#startDateTime}
{@code endDateTime}{@link ProposalLineItem#endDateTime}
{@code isArchived}{@link ProposalLineItem#isArchived}
{@code lastModifiedDateTime}{@link ProposalLineItem#lastModifiedDateTime}
{@code isProgrammatic}{@link ProposalLineItem#isProgrammatic}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItemPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getProposalLineItemsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getProposalLineItemsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link ProposalLineItem} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItemAction $proposalLineItemAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performProposalLineItemAction(\Google\AdsApi\AdManager\v202308\ProposalLineItemAction $proposalLineItemAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performProposalLineItemAction', array(array('proposalLineItemAction' => $proposalLineItemAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link ProposalLineItem} objects. - * - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem[] $proposalLineItems - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateProposalLineItems(array $proposalLineItems) - { - return $this->__soapCall('updateProposalLineItems', array(array('proposalLineItems' => $proposalLineItems)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalMarketplaceInfo.php b/src/Google/AdsApi/AdManager/v202308/ProposalMarketplaceInfo.php deleted file mode 100644 index 3d858fff6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ProposalMarketplaceInfo.php +++ /dev/null @@ -1,169 +0,0 @@ -hasLocalVersionEdits = $hasLocalVersionEdits; - $this->negotiationStatus = $negotiationStatus; - $this->marketplaceComment = $marketplaceComment; - $this->isNewVersionFromBuyer = $isNewVersionFromBuyer; - $this->buyerAccountId = $buyerAccountId; - $this->partnerClientId = $partnerClientId; - } - - /** - * @return boolean - */ - public function getHasLocalVersionEdits() - { - return $this->hasLocalVersionEdits; - } - - /** - * @param boolean $hasLocalVersionEdits - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setHasLocalVersionEdits($hasLocalVersionEdits) - { - $this->hasLocalVersionEdits = $hasLocalVersionEdits; - return $this; - } - - /** - * @return string - */ - public function getNegotiationStatus() - { - return $this->negotiationStatus; - } - - /** - * @param string $negotiationStatus - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setNegotiationStatus($negotiationStatus) - { - $this->negotiationStatus = $negotiationStatus; - return $this; - } - - /** - * @return string - */ - public function getMarketplaceComment() - { - return $this->marketplaceComment; - } - - /** - * @param string $marketplaceComment - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setMarketplaceComment($marketplaceComment) - { - $this->marketplaceComment = $marketplaceComment; - return $this; - } - - /** - * @return boolean - */ - public function getIsNewVersionFromBuyer() - { - return $this->isNewVersionFromBuyer; - } - - /** - * @param boolean $isNewVersionFromBuyer - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setIsNewVersionFromBuyer($isNewVersionFromBuyer) - { - $this->isNewVersionFromBuyer = $isNewVersionFromBuyer; - return $this; - } - - /** - * @return int - */ - public function getBuyerAccountId() - { - return $this->buyerAccountId; - } - - /** - * @param int $buyerAccountId - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setBuyerAccountId($buyerAccountId) - { - $this->buyerAccountId = (!is_null($buyerAccountId) && PHP_INT_SIZE === 4) - ? floatval($buyerAccountId) : $buyerAccountId; - return $this; - } - - /** - * @return string - */ - public function getPartnerClientId() - { - return $this->partnerClientId; - } - - /** - * @param string $partnerClientId - * @return \Google\AdsApi\AdManager\v202308\ProposalMarketplaceInfo - */ - public function setPartnerClientId($partnerClientId) - { - $this->partnerClientId = $partnerClientId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalService.php b/src/Google/AdsApi/AdManager/v202308/ProposalService.php deleted file mode 100644 index bba53e052..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ProposalService.php +++ /dev/null @@ -1,331 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202308\\AppliedLabel', - 'ArchiveProposals' => 'Google\\AdsApi\\AdManager\\v202308\\ArchiveProposals', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\BaseCustomFieldValue', - 'BillingError' => 'Google\\AdsApi\\AdManager\\v202308\\BillingError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerRfp' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerRfp', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202308\\CreativePlaceholder', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValue', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DealError' => 'Google\\AdsApi\\AdManager\\v202308\\DealError', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'DiscardLocalVersionEdits' => 'Google\\AdsApi\\AdManager\\v202308\\DiscardLocalVersionEdits', - 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202308\\DropDownCustomFieldValue', - 'EditProposalsForNegotiation' => 'Google\\AdsApi\\AdManager\\v202308\\EditProposalsForNegotiation', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202308\\ExchangeRateError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202308\\ForecastError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MarketplaceComment' => 'Google\\AdsApi\\AdManager\\v202308\\MarketplaceComment', - 'MarketplaceCommentPage' => 'Google\\AdsApi\\AdManager\\v202308\\MarketplaceCommentPage', - 'ProposalMarketplaceInfo' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalMarketplaceInfo', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PauseProposals' => 'Google\\AdsApi\\AdManager\\v202308\\PauseProposals', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202308\\PrecisionError', - 'ProposalAction' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalAction', - 'ProposalActionError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalActionError', - 'ProposalCompanyAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalCompanyAssociation', - 'Proposal' => 'Google\\AdsApi\\AdManager\\v202308\\Proposal', - 'ProposalError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalError', - 'ProposalLineItemError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemError', - 'ProposalLineItemProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalLineItemProgrammaticError', - 'ProposalPage' => 'Google\\AdsApi\\AdManager\\v202308\\ProposalPage', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RequestBuyerAcceptance' => 'Google\\AdsApi\\AdManager\\v202308\\RequestBuyerAcceptance', - 'RequestBuyerReview' => 'Google\\AdsApi\\AdManager\\v202308\\RequestBuyerReview', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ReserveProposals' => 'Google\\AdsApi\\AdManager\\v202308\\ReserveProposals', - 'ResumeProposals' => 'Google\\AdsApi\\AdManager\\v202308\\ResumeProposals', - 'SalespersonSplit' => 'Google\\AdsApi\\AdManager\\v202308\\SalespersonSplit', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TerminateNegotiations' => 'Google\\AdsApi\\AdManager\\v202308\\TerminateNegotiations', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UnarchiveProposals' => 'Google\\AdsApi\\AdManager\\v202308\\UnarchiveProposals', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateOrderWithSellerData' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateOrderWithSellerData', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'createProposalsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createProposalsResponse', - 'getMarketplaceCommentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getMarketplaceCommentsByStatementResponse', - 'getProposalsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getProposalsByStatementResponse', - 'performProposalActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performProposalActionResponse', - 'updateProposalsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateProposalsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ProposalService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Proposal} objects. - * - *

For each proposal, the following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\Proposal[] $proposals - * @return \Google\AdsApi\AdManager\v202308\Proposal[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createProposals(array $proposals) - { - return $this->__soapCall('createProposals', array(array('proposals' => $proposals)))->getRval(); - } - - /** - * Gets a {@link MarketplaceCommentPage} of {@link MarketplaceComment} objects that satisfy the - * given {@link Statement#query}. This method only returns comments already sent to Marketplace, - * local draft {@link ProposalMarketplaceInfo#marketplaceComment} are not included. The following - * fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code proposalId}{@link MarketplaceComment#proposalId}
- * - * The query must specify a {@code proposalId}, and only supports a subset of PQL syntax:
- * [WHERE {AND ...}]
- * [ORDER BY [ASC | DESC]]
- * [LIMIT {[,] } | { OFFSET }]
- * - *


- *      := =
- * := IN
- * Only supports {@code ORDER BY} {@link MarketplaceComment#creationTime}. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\MarketplaceCommentPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getMarketplaceCommentsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getMarketplaceCommentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL PropertyObject Property
{@code id}{@link Proposal#id}
{@code dfpOrderId}{@link Proposal#dfpOrderId}
{@code name}{@link Proposal#name}
{@code status}{@link Proposal#status}
{@code isArchived}{@link Proposal#isArchived}
- * {@code approvalStatus} - *
Only applicable for proposals using sales management
- *
{@link Proposal#approvalStatus}
{@code lastModifiedDateTime}{@link Proposal#lastModifiedDateTime}
{@code isProgrammatic}{@link Proposal#isProgrammatic}
- * {@code negotiationStatus} - *
Only applicable for programmatic proposals
- *
{@link ProposalMarketplaceInfo#negotiationStatus}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\ProposalPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getProposalsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getProposalsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Proposal} objects that match the given {@link Statement#query}. - * - *

The following fields are also required when submitting proposals for approval: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\ProposalAction $proposalAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performProposalAction(\Google\AdsApi\AdManager\v202308\ProposalAction $proposalAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performProposalAction', array(array('proposalAction' => $proposalAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Proposal} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Proposal[] $proposals - * @return \Google\AdsApi\AdManager\v202308\Proposal[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateProposals(array $proposals) - { - return $this->__soapCall('updateProposals', array(array('proposals' => $proposals)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ProspectiveLineItem.php b/src/Google/AdsApi/AdManager/v202308/ProspectiveLineItem.php deleted file mode 100644 index 6d124760b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ProspectiveLineItem.php +++ /dev/null @@ -1,94 +0,0 @@ -lineItem = $lineItem; - $this->proposalLineItem = $proposalLineItem; - $this->advertiserId = $advertiserId; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItem - */ - public function getLineItem() - { - return $this->lineItem; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItem $lineItem - * @return \Google\AdsApi\AdManager\v202308\ProspectiveLineItem - */ - public function setLineItem($lineItem) - { - $this->lineItem = $lineItem; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem - */ - public function getProposalLineItem() - { - return $this->proposalLineItem; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem $proposalLineItem - * @return \Google\AdsApi\AdManager\v202308\ProspectiveLineItem - */ - public function setProposalLineItem($proposalLineItem) - { - $this->proposalLineItem = $proposalLineItem; - return $this; - } - - /** - * @return int - */ - public function getAdvertiserId() - { - return $this->advertiserId; - } - - /** - * @param int $advertiserId - * @return \Google\AdsApi\AdManager\v202308\ProspectiveLineItem - */ - public function setAdvertiserId($advertiserId) - { - $this->advertiserId = (!is_null($advertiserId) && PHP_INT_SIZE === 4) - ? floatval($advertiserId) : $advertiserId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageService.php b/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageService.php deleted file mode 100644 index 395fa4dfa..000000000 --- a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageService.php +++ /dev/null @@ -1,167 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitCodeError', - 'AdUnitHierarchyError' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitHierarchyError', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'ChangeHistoryValue' => 'Google\\AdsApi\\AdManager\\v202308\\ChangeHistoryValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'ColumnType' => 'Google\\AdsApi\\AdManager\\v202308\\ColumnType', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeError', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DealError' => 'Google\\AdsApi\\AdManager\\v202308\\DealError', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202308\\ExchangeRateError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'FileError' => 'Google\\AdsApi\\AdManager\\v202308\\FileError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemFlightDateError', - 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202308\\LineItemOperationError', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderActionError', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RangeError' => 'Google\\AdsApi\\AdManager\\v202308\\RangeError', - 'RegExError' => 'Google\\AdsApi\\AdManager\\v202308\\RegExError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredSizeError', - 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202308\\ReservationDetailsError', - 'ResultSet' => 'Google\\AdsApi\\AdManager\\v202308\\ResultSet', - 'Row' => 'Google\\AdsApi\\AdManager\\v202308\\Row', - 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TargetingValue' => 'Google\\AdsApi\\AdManager\\v202308\\TargetingValue', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'selectResponse' => 'Google\\AdsApi\\AdManager\\v202308\\selectResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/PublisherQueryLanguageService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Retrieves rows of data that satisfy the given {@link Statement#query} from the system. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $selectStatement - * @return \Google\AdsApi\AdManager\v202308\ResultSet - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function select(\Google\AdsApi\AdManager\v202308\Statement $selectStatement) - { - return $this->__soapCall('select', array(array('selectStatement' => $selectStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/QuotaErrorReason.php b/src/Google/AdsApi/AdManager/v202308/QuotaErrorReason.php deleted file mode 100644 index 22769c0b5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/QuotaErrorReason.php +++ /dev/null @@ -1,16 +0,0 @@ -id = $id; - $this->reportQuery = $reportQuery; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\ReportJob - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ReportQuery - */ - public function getReportQuery() - { - return $this->reportQuery; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ReportQuery $reportQuery - * @return \Google\AdsApi\AdManager\v202308\ReportJob - */ - public function setReportQuery($reportQuery) - { - $this->reportQuery = $reportQuery; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ReportService.php b/src/Google/AdsApi/AdManager/v202308/ReportService.php deleted file mode 100644 index c9ca328e6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ReportService.php +++ /dev/null @@ -1,177 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202308\\CurrencyCodeError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'ReportDownloadOptions' => 'Google\\AdsApi\\AdManager\\v202308\\ReportDownloadOptions', - 'ReportError' => 'Google\\AdsApi\\AdManager\\v202308\\ReportError', - 'ReportJob' => 'Google\\AdsApi\\AdManager\\v202308\\ReportJob', - 'ReportQuery' => 'Google\\AdsApi\\AdManager\\v202308\\ReportQuery', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'SavedQuery' => 'Google\\AdsApi\\AdManager\\v202308\\SavedQuery', - 'SavedQueryPage' => 'Google\\AdsApi\\AdManager\\v202308\\SavedQueryPage', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getReportDownloadURLResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getReportDownloadURLResponse', - 'getReportDownloadUrlWithOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getReportDownloadUrlWithOptionsResponse', - 'getReportJobStatusResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getReportJobStatusResponse', - 'getSavedQueriesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSavedQueriesByStatementResponse', - 'runReportJobResponse' => 'Google\\AdsApi\\AdManager\\v202308\\runReportJobResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/ReportService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Returns the URL at which the report file can be downloaded. - * - *

The report will be generated as a gzip archive, containing the report file itself. - * - * @param int $reportJobId - * @param \Google\AdsApi\AdManager\v202308\ExportFormat $exportFormat Constant: string - Valid values: TSV, TSV_EXCEL, CSV_DUMP, XML, XLSX - * @return string - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getReportDownloadURL($reportJobId, $exportFormat) - { - return $this->__soapCall('getReportDownloadURL', array(array('reportJobId' => $reportJobId, 'exportFormat' => $exportFormat)))->getRval(); - } - - /** - * Returns the URL at which the report file can be downloaded, and allows for customization of the - * downloaded report. - * - *

By default, the report will be generated as a gzip archive, containing the report file - * itself. This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to - * false. - * - * @param int $reportJobId - * @param \Google\AdsApi\AdManager\v202308\ReportDownloadOptions $reportDownloadOptions - * @return string - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getReportDownloadUrlWithOptions($reportJobId, \Google\AdsApi\AdManager\v202308\ReportDownloadOptions $reportDownloadOptions) - { - return $this->__soapCall('getReportDownloadUrlWithOptions', array(array('reportJobId' => $reportJobId, 'reportDownloadOptions' => $reportDownloadOptions)))->getRval(); - } - - /** - * Returns the {@link ReportJobStatus} of the report job with the specified ID. - * - * @param int $reportJobId - * @return string - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getReportJobStatus($reportJobId) - { - return $this->__soapCall('getReportJobStatus', array(array('reportJobId' => $reportJobId)))->getRval(); - } - - /** - * Retrieves a page of the saved queries either created by or shared with the current user. Each - * {@link SavedQuery} in the page, if it is compatible with the current API version, will contain - * a {@link ReportQuery} object which can be optionally modified and used to create a {@link - * ReportJob}. This can then be passed to {@link ReportService#runReportJob}. The following fields - * are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link SavedQuery#id}
{@code name}{@link SavedQuery#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\SavedQueryPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSavedQueriesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getSavedQueriesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Initiates the execution of a {@link ReportQuery} on the server. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\ReportJob $reportJob - * @return \Google\AdsApi\AdManager\v202308\ReportJob - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function runReportJob(\Google\AdsApi\AdManager\v202308\ReportJob $reportJob) - { - return $this->__soapCall('runReportJob', array(array('reportJob' => $reportJob)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/RequestBuyerAcceptance.php b/src/Google/AdsApi/AdManager/v202308/RequestBuyerAcceptance.php deleted file mode 100644 index 352535353..000000000 --- a/src/Google/AdsApi/AdManager/v202308/RequestBuyerAcceptance.php +++ /dev/null @@ -1,43 +0,0 @@ -allowOverbook = $allowOverbook; - } - - /** - * @return boolean - */ - public function getAllowOverbook() - { - return $this->allowOverbook; - } - - /** - * @param boolean $allowOverbook - * @return \Google\AdsApi\AdManager\v202308\RequestBuyerAcceptance - */ - public function setAllowOverbook($allowOverbook) - { - $this->allowOverbook = $allowOverbook; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/RequestBuyerReview.php b/src/Google/AdsApi/AdManager/v202308/RequestBuyerReview.php deleted file mode 100644 index 43b9e5b52..000000000 --- a/src/Google/AdsApi/AdManager/v202308/RequestBuyerReview.php +++ /dev/null @@ -1,18 +0,0 @@ -columnTypes = $columnTypes; - $this->rows = $rows; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ColumnType[] - */ - public function getColumnTypes() - { - return $this->columnTypes; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ColumnType[]|null $columnTypes - * @return \Google\AdsApi\AdManager\v202308\ResultSet - */ - public function setColumnTypes(array $columnTypes = null) - { - $this->columnTypes = $columnTypes; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Row[] - */ - public function getRows() - { - return $this->rows; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Row[]|null $rows - * @return \Google\AdsApi\AdManager\v202308\ResultSet - */ - public function setRows(array $rows = null) - { - $this->rows = $rows; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ResumeProposalLineItems.php b/src/Google/AdsApi/AdManager/v202308/ResumeProposalLineItems.php deleted file mode 100644 index fe6bf53bb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ResumeProposalLineItems.php +++ /dev/null @@ -1,18 +0,0 @@ -lockedOrientation = $lockedOrientation; - $this->isInterstitial = $isInterstitial; - } - - /** - * @return string - */ - public function getLockedOrientation() - { - return $this->lockedOrientation; - } - - /** - * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\RichMediaStudioCreative - */ - public function setLockedOrientation($lockedOrientation) - { - $this->lockedOrientation = $lockedOrientation; - return $this; - } - - /** - * @return boolean - */ - public function getIsInterstitial() - { - return $this->isInterstitial; - } - - /** - * @param boolean $isInterstitial - * @return \Google\AdsApi\AdManager\v202308\RichMediaStudioCreative - */ - public function setIsInterstitial($isInterstitial) - { - $this->isInterstitial = $isInterstitial; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Row.php b/src/Google/AdsApi/AdManager/v202308/Row.php deleted file mode 100644 index a7d5c7ed5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Row.php +++ /dev/null @@ -1,43 +0,0 @@ -values = $values; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Value[] - */ - public function getValues() - { - return $this->values; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Value[]|null $values - * @return \Google\AdsApi\AdManager\v202308\Row - */ - public function setValues(array $values = null) - { - $this->values = $values; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationErrorReason.php b/src/Google/AdsApi/AdManager/v202308/SegmentPopulationErrorReason.php deleted file mode 100644 index 70016a06c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationErrorReason.php +++ /dev/null @@ -1,16 +0,0 @@ -batchUploadId = $batchUploadId; - $this->segmentId = $segmentId; - $this->isDeletion = $isDeletion; - $this->identifierType = $identifierType; - $this->identifiers = $identifiers; - } - - /** - * @return int - */ - public function getBatchUploadId() - { - return $this->batchUploadId; - } - - /** - * @param int $batchUploadId - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest - */ - public function setBatchUploadId($batchUploadId) - { - $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) - ? floatval($batchUploadId) : $batchUploadId; - return $this; - } - - /** - * @return int - */ - public function getSegmentId() - { - return $this->segmentId; - } - - /** - * @param int $segmentId - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest - */ - public function setSegmentId($segmentId) - { - $this->segmentId = (!is_null($segmentId) && PHP_INT_SIZE === 4) - ? floatval($segmentId) : $segmentId; - return $this; - } - - /** - * @return boolean - */ - public function getIsDeletion() - { - return $this->isDeletion; - } - - /** - * @param boolean $isDeletion - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest - */ - public function setIsDeletion($isDeletion) - { - $this->isDeletion = $isDeletion; - return $this; - } - - /** - * @return string - */ - public function getIdentifierType() - { - return $this->identifierType; - } - - /** - * @param string $identifierType - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest - */ - public function setIdentifierType($identifierType) - { - $this->identifierType = $identifierType; - return $this; - } - - /** - * @return string[] - */ - public function getIdentifiers() - { - return $this->identifiers; - } - - /** - * @param string[]|null $identifiers - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest - */ - public function setIdentifiers(array $identifiers = null) - { - $this->identifiers = $identifiers; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResponse.php deleted file mode 100644 index e2bd14995..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResponse.php +++ /dev/null @@ -1,44 +0,0 @@ -batchUploadId = $batchUploadId; - } - - /** - * @return int - */ - public function getBatchUploadId() - { - return $this->batchUploadId; - } - - /** - * @param int $batchUploadId - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResponse - */ - public function setBatchUploadId($batchUploadId) - { - $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) - ? floatval($batchUploadId) : $batchUploadId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResults.php deleted file mode 100644 index cf8226be3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationResults.php +++ /dev/null @@ -1,120 +0,0 @@ -batchUploadId = $batchUploadId; - $this->status = $status; - $this->numSuccessfulIdsProcessed = $numSuccessfulIdsProcessed; - $this->errors = $errors; - } - - /** - * @return int - */ - public function getBatchUploadId() - { - return $this->batchUploadId; - } - - /** - * @param int $batchUploadId - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults - */ - public function setBatchUploadId($batchUploadId) - { - $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) - ? floatval($batchUploadId) : $batchUploadId; - return $this; - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * @param string $status - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults - */ - public function setStatus($status) - { - $this->status = $status; - return $this; - } - - /** - * @return int - */ - public function getNumSuccessfulIdsProcessed() - { - return $this->numSuccessfulIdsProcessed; - } - - /** - * @param int $numSuccessfulIdsProcessed - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults - */ - public function setNumSuccessfulIdsProcessed($numSuccessfulIdsProcessed) - { - $this->numSuccessfulIdsProcessed = (!is_null($numSuccessfulIdsProcessed) && PHP_INT_SIZE === 4) - ? floatval($numSuccessfulIdsProcessed) : $numSuccessfulIdsProcessed; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\IdError[] - */ - public function getErrors() - { - return $this->errors; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\IdError[]|null $errors - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults - */ - public function setErrors(array $errors = null) - { - $this->errors = $errors; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationService.php b/src/Google/AdsApi/AdManager/v202308/SegmentPopulationService.php deleted file mode 100644 index df84a153b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationService.php +++ /dev/null @@ -1,112 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'IdError' => 'Google\\AdsApi\\AdManager\\v202308\\IdError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'ProcessAction' => 'Google\\AdsApi\\AdManager\\v202308\\ProcessAction', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'SegmentPopulationAction' => 'Google\\AdsApi\\AdManager\\v202308\\SegmentPopulationAction', - 'SegmentPopulationError' => 'Google\\AdsApi\\AdManager\\v202308\\SegmentPopulationError', - 'SegmentPopulationRequest' => 'Google\\AdsApi\\AdManager\\v202308\\SegmentPopulationRequest', - 'SegmentPopulationResponse' => 'Google\\AdsApi\\AdManager\\v202308\\SegmentPopulationResponse', - 'SegmentPopulationResults' => 'Google\\AdsApi\\AdManager\\v202308\\SegmentPopulationResults', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'getSegmentPopulationResultsByIdsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSegmentPopulationResultsByIdsResponse', - 'performSegmentPopulationActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performSegmentPopulationActionResponse', - 'updateSegmentMembershipsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateSegmentMembershipsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/SegmentPopulationService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Returns a list of {@link SegmentPopulationResults} for the given {@code batchUploadIds}. - * - * @param long[] $batchUploadIds - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSegmentPopulationResultsByIds(array $batchUploadIds) - { - return $this->__soapCall('getSegmentPopulationResultsByIds', array(array('batchUploadIds' => $batchUploadIds)))->getRval(); - } - - /** - * Performs an action on the uploads denoted by {@code batchUploadIds}. - * - * @param \Google\AdsApi\AdManager\v202308\SegmentPopulationAction $action - * @param long[] $batchUploadIds - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performSegmentPopulationAction(\Google\AdsApi\AdManager\v202308\SegmentPopulationAction $action, array $batchUploadIds) - { - return $this->__soapCall('performSegmentPopulationAction', array(array('action' => $action, 'batchUploadIds' => $batchUploadIds)))->getRval(); - } - - /** - * Updates identifiers in an audience segment. - * - *

The returned {@link SegmentPopulationRequest#batchUploadId} can be used in subsequent - * requests to group them together as part of the same batch. The identifiers associated with a - * batch will not be processed until {@link #performSegmentPopulationAction} is called with a - * ProcessAction. The batch will expire if ProcessAction is not called within the TTL of 5 days. - * - * @param \Google\AdsApi\AdManager\v202308\SegmentPopulationRequest $updateRequest - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResponse - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateSegmentMemberships(\Google\AdsApi\AdManager\v202308\SegmentPopulationRequest $updateRequest) - { - return $this->__soapCall('updateSegmentMemberships', array(array('updateRequest' => $updateRequest)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202308/SetTopBoxCreative.php deleted file mode 100644 index d32b0d475..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SetTopBoxCreative.php +++ /dev/null @@ -1,167 +0,0 @@ -externalAssetId = $externalAssetId; - $this->providerId = $providerId; - $this->availabilityRegionIds = $availabilityRegionIds; - $this->licenseWindowStartDateTime = $licenseWindowStartDateTime; - $this->licenseWindowEndDateTime = $licenseWindowEndDateTime; - } - - /** - * @return string - */ - public function getExternalAssetId() - { - return $this->externalAssetId; - } - - /** - * @param string $externalAssetId - * @return \Google\AdsApi\AdManager\v202308\SetTopBoxCreative - */ - public function setExternalAssetId($externalAssetId) - { - $this->externalAssetId = $externalAssetId; - return $this; - } - - /** - * @return string - */ - public function getProviderId() - { - return $this->providerId; - } - - /** - * @param string $providerId - * @return \Google\AdsApi\AdManager\v202308\SetTopBoxCreative - */ - public function setProviderId($providerId) - { - $this->providerId = $providerId; - return $this; - } - - /** - * @return string[] - */ - public function getAvailabilityRegionIds() - { - return $this->availabilityRegionIds; - } - - /** - * @param string[]|null $availabilityRegionIds - * @return \Google\AdsApi\AdManager\v202308\SetTopBoxCreative - */ - public function setAvailabilityRegionIds(array $availabilityRegionIds = null) - { - $this->availabilityRegionIds = $availabilityRegionIds; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLicenseWindowStartDateTime() - { - return $this->licenseWindowStartDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $licenseWindowStartDateTime - * @return \Google\AdsApi\AdManager\v202308\SetTopBoxCreative - */ - public function setLicenseWindowStartDateTime($licenseWindowStartDateTime) - { - $this->licenseWindowStartDateTime = $licenseWindowStartDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getLicenseWindowEndDateTime() - { - return $this->licenseWindowEndDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $licenseWindowEndDateTime - * @return \Google\AdsApi\AdManager\v202308\SetTopBoxCreative - */ - public function setLicenseWindowEndDateTime($licenseWindowEndDateTime) - { - $this->licenseWindowEndDateTime = $licenseWindowEndDateTime; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SetValue.php b/src/Google/AdsApi/AdManager/v202308/SetValue.php deleted file mode 100644 index 552e3bfea..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SetValue.php +++ /dev/null @@ -1,43 +0,0 @@ -values = $values; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Value[] - */ - public function getValues() - { - return $this->values; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Value[]|null $values - * @return \Google\AdsApi\AdManager\v202308\SetValue - */ - public function setValues(array $values = null) - { - $this->values = $values; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Site.php b/src/Google/AdsApi/AdManager/v202308/Site.php deleted file mode 100644 index ce7ec9afb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Site.php +++ /dev/null @@ -1,169 +0,0 @@ -id = $id; - $this->url = $url; - $this->childNetworkCode = $childNetworkCode; - $this->approvalStatus = $approvalStatus; - $this->active = $active; - $this->disapprovalReasons = $disapprovalReasons; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getUrl() - { - return $this->url; - } - - /** - * @param string $url - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setUrl($url) - { - $this->url = $url; - return $this; - } - - /** - * @return string - */ - public function getChildNetworkCode() - { - return $this->childNetworkCode; - } - - /** - * @param string $childNetworkCode - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setChildNetworkCode($childNetworkCode) - { - $this->childNetworkCode = $childNetworkCode; - return $this; - } - - /** - * @return string - */ - public function getApprovalStatus() - { - return $this->approvalStatus; - } - - /** - * @param string $approvalStatus - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setApprovalStatus($approvalStatus) - { - $this->approvalStatus = $approvalStatus; - return $this; - } - - /** - * @return boolean - */ - public function getActive() - { - return $this->active; - } - - /** - * @param boolean $active - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setActive($active) - { - $this->active = $active; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DisapprovalReason[] - */ - public function getDisapprovalReasons() - { - return $this->disapprovalReasons; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DisapprovalReason[]|null $disapprovalReasons - * @return \Google\AdsApi\AdManager\v202308\Site - */ - public function setDisapprovalReasons(array $disapprovalReasons = null) - { - $this->disapprovalReasons = $disapprovalReasons; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SiteService.php b/src/Google/AdsApi/AdManager/v202308/SiteService.php deleted file mode 100644 index 626903d34..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SiteService.php +++ /dev/null @@ -1,175 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateSite' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateSite', - 'DisapprovalReason' => 'Google\\AdsApi\\AdManager\\v202308\\DisapprovalReason', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SiteAction' => 'Google\\AdsApi\\AdManager\\v202308\\SiteAction', - 'Site' => 'Google\\AdsApi\\AdManager\\v202308\\Site', - 'SiteError' => 'Google\\AdsApi\\AdManager\\v202308\\SiteError', - 'SitePage' => 'Google\\AdsApi\\AdManager\\v202308\\SitePage', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SubmitSiteForApproval' => 'Google\\AdsApi\\AdManager\\v202308\\SubmitSiteForApproval', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UrlError' => 'Google\\AdsApi\\AdManager\\v202308\\UrlError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createSitesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createSitesResponse', - 'getSitesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSitesByStatementResponse', - 'performSiteActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performSiteActionResponse', - 'updateSitesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateSitesResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/SiteService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Site} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Site[] $sites - * @return \Google\AdsApi\AdManager\v202308\Site[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createSites(array $sites) - { - return $this->__soapCall('createSites', array(array('sites' => $sites)))->getRval(); - } - - /** - * Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. - * The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Site#id}
{@code url}{@link Site#url}
{@code childNetworkCode}{@link Site#childNetworkCode}
{@code approvalStatus}{@link Site#approvalStatus}
{@code active}{@link Site#active}
{@code lastModifiedApprovalStatusDateTime}
- * - * Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a - * top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code - * approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE - * lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}). - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\SitePage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSitesByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getSitesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Site} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\SiteAction $siteAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performSiteAction(\Google\AdsApi\AdManager\v202308\SiteAction $siteAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performSiteAction', array(array('siteAction' => $siteAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Site} objects. - * - *

The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) - * move a site from O&O to represented, or 3) move a site from represented to O&O. - * - * @param \Google\AdsApi\AdManager\v202308\Site[] $sites - * @return \Google\AdsApi\AdManager\v202308\Site[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateSites(array $sites) - { - return $this->__soapCall('updateSites', array(array('sites' => $sites)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SourceContentConfiguration.php b/src/Google/AdsApi/AdManager/v202308/SourceContentConfiguration.php deleted file mode 100644 index 0f40b0f60..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SourceContentConfiguration.php +++ /dev/null @@ -1,68 +0,0 @@ -ingestSettings = $ingestSettings; - $this->defaultDeliverySettings = $defaultDeliverySettings; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MediaLocationSettings - */ - public function getIngestSettings() - { - return $this->ingestSettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MediaLocationSettings $ingestSettings - * @return \Google\AdsApi\AdManager\v202308\SourceContentConfiguration - */ - public function setIngestSettings($ingestSettings) - { - $this->ingestSettings = $ingestSettings; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MediaLocationSettings - */ - public function getDefaultDeliverySettings() - { - return $this->defaultDeliverySettings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MediaLocationSettings $defaultDeliverySettings - * @return \Google\AdsApi\AdManager\v202308\SourceContentConfiguration - */ - public function setDefaultDeliverySettings($defaultDeliverySettings) - { - $this->defaultDeliverySettings = $defaultDeliverySettings; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Statement.php b/src/Google/AdsApi/AdManager/v202308/Statement.php deleted file mode 100644 index a15cb6ab9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Statement.php +++ /dev/null @@ -1,68 +0,0 @@ -query = $query; - $this->values = $values; - } - - /** - * @return string - */ - public function getQuery() - { - return $this->query; - } - - /** - * @param string $query - * @return \Google\AdsApi\AdManager\v202308\Statement - */ - public function setQuery($query) - { - $this->query = $query; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\String_ValueMapEntry[] - */ - public function getValues() - { - return $this->values; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\String_ValueMapEntry[]|null $values - * @return \Google\AdsApi\AdManager\v202308\Statement - */ - public function setValues(array $values = null) - { - $this->values = $values; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/StreamActivityMonitorService.php b/src/Google/AdsApi/AdManager/v202308/StreamActivityMonitorService.php deleted file mode 100644 index c09e04d80..000000000 --- a/src/Google/AdsApi/AdManager/v202308/StreamActivityMonitorService.php +++ /dev/null @@ -1,145 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdBreak' => 'Google\\AdsApi\\AdManager\\v202308\\AdBreak', - 'AdDecisionCreative' => 'Google\\AdsApi\\AdManager\\v202308\\AdDecisionCreative', - 'AdResponse' => 'Google\\AdsApi\\AdManager\\v202308\\AdResponse', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CreativeTranscode' => 'Google\\AdsApi\\AdManager\\v202308\\CreativeTranscode', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'LinearStreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202308\\LinearStreamCreateRequest', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'SamError' => 'Google\\AdsApi\\AdManager\\v202308\\SamError', - 'SamSession' => 'Google\\AdsApi\\AdManager\\v202308\\SamSession', - 'SamSessionError' => 'Google\\AdsApi\\AdManager\\v202308\\SamSessionError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202308\\StreamCreateRequest', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TrackingEvent' => 'Google\\AdsApi\\AdManager\\v202308\\TrackingEvent', - 'TrackingEvent.Ping' => 'Google\\AdsApi\\AdManager\\v202308\\TrackingEventPing', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VodStreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202308\\VodStreamCreateRequest', - 'getSamSessionsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSamSessionsByStatementResponse', - 'registerSessionsForMonitoringResponse' => 'Google\\AdsApi\\AdManager\\v202308\\registerSessionsForMonitoringResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/StreamActivityMonitorService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Returns the logging information for a DAI session. A DAI session can be identified by it's - * session id or debug key. The session ID must be registered via the {@code - * registerSessionsForMonitoring} method before it can be accessed. There may be some delay before - * the session is available. - * - *

The number of sessions requested is limited to 25. The following fields are supported for - * filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Entity propertyPQL filter
- * Session id - * - * 'sessionId' - *
- * Debug key - * - * 'debugKey" - *
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\SamSession[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSamSessionsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getSamSessionsByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Registers the specified list of {@code sessionIds} for monitoring. Once the session IDs have - * been registered, all logged information about the sessions will be persisted and can be viewed - * via the Ad Manager UI. - * - *

A session ID is a unique identifier of a single user watching a live stream event. - * - * @param string[] $sessionIds - * @return string[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function registerSessionsForMonitoring(array $sessionIds) - { - return $this->__soapCall('registerSessionsForMonitoring', array(array('sessionIds' => $sessionIds)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/String_ValueMapEntry.php b/src/Google/AdsApi/AdManager/v202308/String_ValueMapEntry.php deleted file mode 100644 index 6ac9d9816..000000000 --- a/src/Google/AdsApi/AdManager/v202308/String_ValueMapEntry.php +++ /dev/null @@ -1,68 +0,0 @@ -key = $key; - $this->value = $value; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @param string $key - * @return \Google\AdsApi\AdManager\v202308\String_ValueMapEntry - */ - public function setKey($key) - { - $this->key = $key; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Value - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Value $value - * @return \Google\AdsApi\AdManager\v202308\String_ValueMapEntry - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApprovalWithoutReservationChanges.php b/src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApprovalWithoutReservationChanges.php deleted file mode 100644 index b35a1eb69..000000000 --- a/src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApprovalWithoutReservationChanges.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitParent' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitParent', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'ApproveSuggestedAdUnits' => 'Google\\AdsApi\\AdManager\\v202308\\ApproveSuggestedAdUnits', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'AdUnitSize' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitSize', - 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUnitSizesError', - 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202308\\LabelEntityAssociationError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'SuggestedAdUnitAction' => 'Google\\AdsApi\\AdManager\\v202308\\SuggestedAdUnitAction', - 'SuggestedAdUnit' => 'Google\\AdsApi\\AdManager\\v202308\\SuggestedAdUnit', - 'SuggestedAdUnitPage' => 'Google\\AdsApi\\AdManager\\v202308\\SuggestedAdUnitPage', - 'SuggestedAdUnitUpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\SuggestedAdUnitUpdateResult', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'getSuggestedAdUnitsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getSuggestedAdUnitsByStatementResponse', - 'performSuggestedAdUnitActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performSuggestedAdUnitActionResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/SuggestedAdUnitService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link SuggestedAdUnitPage} of {@link SuggestedAdUnit} objects that satisfy the filter - * query. There is a system-enforced limit of 1000 on the number of suggested ad units that are - * suggested at any one time. - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link SuggestedAdUnit#id}
{@code numRequests}{@link SuggestedAdUnit#numRequests}
- * - *

Note: After API version 201311, the {@code id} field will only be - * numerical. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\SuggestedAdUnitPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getSuggestedAdUnitsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getSuggestedAdUnitsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link SuggestedAdUnit} objects that match the given {@link - * Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link SuggestedAdUnit#id}
{@code numRequests}{@link SuggestedAdUnit#numRequests}
- * - * @param \Google\AdsApi\AdManager\v202308\SuggestedAdUnitAction $suggestedAdUnitAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\SuggestedAdUnitUpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performSuggestedAdUnitAction(\Google\AdsApi\AdManager\v202308\SuggestedAdUnitAction $suggestedAdUnitAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performSuggestedAdUnitAction', array(array('suggestedAdUnitAction' => $suggestedAdUnitAction, 'filterStatement' => $filterStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TargetedSize.php b/src/Google/AdsApi/AdManager/v202308/TargetedSize.php deleted file mode 100644 index 98434f68f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TargetedSize.php +++ /dev/null @@ -1,43 +0,0 @@ -size = $size; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Size - */ - public function getSize() - { - return $this->size; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Size $size - * @return \Google\AdsApi\AdManager\v202308\TargetedSize - */ - public function setSize($size) - { - $this->size = $size; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/Targeting.php b/src/Google/AdsApi/AdManager/v202308/Targeting.php deleted file mode 100644 index 9ea6283dd..000000000 --- a/src/Google/AdsApi/AdManager/v202308/Targeting.php +++ /dev/null @@ -1,368 +0,0 @@ -geoTargeting = $geoTargeting; - $this->inventoryTargeting = $inventoryTargeting; - $this->dayPartTargeting = $dayPartTargeting; - $this->dateTimeRangeTargeting = $dateTimeRangeTargeting; - $this->technologyTargeting = $technologyTargeting; - $this->customTargeting = $customTargeting; - $this->userDomainTargeting = $userDomainTargeting; - $this->contentTargeting = $contentTargeting; - $this->videoPositionTargeting = $videoPositionTargeting; - $this->mobileApplicationTargeting = $mobileApplicationTargeting; - $this->buyerUserListTargeting = $buyerUserListTargeting; - $this->inventoryUrlTargeting = $inventoryUrlTargeting; - $this->requestPlatformTargeting = $requestPlatformTargeting; - $this->inventorySizeTargeting = $inventorySizeTargeting; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\GeoTargeting - */ - public function getGeoTargeting() - { - return $this->geoTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\GeoTargeting $geoTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setGeoTargeting($geoTargeting) - { - $this->geoTargeting = $geoTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventoryTargeting - */ - public function getInventoryTargeting() - { - return $this->inventoryTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventoryTargeting $inventoryTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setInventoryTargeting($inventoryTargeting) - { - $this->inventoryTargeting = $inventoryTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DayPartTargeting - */ - public function getDayPartTargeting() - { - return $this->dayPartTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DayPartTargeting $dayPartTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setDayPartTargeting($dayPartTargeting) - { - $this->dayPartTargeting = $dayPartTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTimeRangeTargeting - */ - public function getDateTimeRangeTargeting() - { - return $this->dateTimeRangeTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTimeRangeTargeting $dateTimeRangeTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setDateTimeRangeTargeting($dateTimeRangeTargeting) - { - $this->dateTimeRangeTargeting = $dateTimeRangeTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function getTechnologyTargeting() - { - return $this->technologyTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TechnologyTargeting $technologyTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setTechnologyTargeting($technologyTargeting) - { - $this->technologyTargeting = $technologyTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomCriteriaSet - */ - public function getCustomTargeting() - { - return $this->customTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomCriteriaSet $customTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setCustomTargeting($customTargeting) - { - $this->customTargeting = $customTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UserDomainTargeting - */ - public function getUserDomainTargeting() - { - return $this->userDomainTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UserDomainTargeting $userDomainTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setUserDomainTargeting($userDomainTargeting) - { - $this->userDomainTargeting = $userDomainTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContentTargeting - */ - public function getContentTargeting() - { - return $this->contentTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContentTargeting $contentTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setContentTargeting($contentTargeting) - { - $this->contentTargeting = $contentTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTargeting - */ - public function getVideoPositionTargeting() - { - return $this->videoPositionTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoPositionTargeting $videoPositionTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setVideoPositionTargeting($videoPositionTargeting) - { - $this->videoPositionTargeting = $videoPositionTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileApplicationTargeting - */ - public function getMobileApplicationTargeting() - { - return $this->mobileApplicationTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileApplicationTargeting $mobileApplicationTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setMobileApplicationTargeting($mobileApplicationTargeting) - { - $this->mobileApplicationTargeting = $mobileApplicationTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BuyerUserListTargeting - */ - public function getBuyerUserListTargeting() - { - return $this->buyerUserListTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BuyerUserListTargeting $buyerUserListTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setBuyerUserListTargeting($buyerUserListTargeting) - { - $this->buyerUserListTargeting = $buyerUserListTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventoryUrlTargeting - */ - public function getInventoryUrlTargeting() - { - return $this->inventoryUrlTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventoryUrlTargeting $inventoryUrlTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setInventoryUrlTargeting($inventoryUrlTargeting) - { - $this->inventoryUrlTargeting = $inventoryUrlTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\RequestPlatformTargeting - */ - public function getRequestPlatformTargeting() - { - return $this->requestPlatformTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\RequestPlatformTargeting $requestPlatformTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setRequestPlatformTargeting($requestPlatformTargeting) - { - $this->requestPlatformTargeting = $requestPlatformTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\InventorySizeTargeting - */ - public function getInventorySizeTargeting() - { - return $this->inventorySizeTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\InventorySizeTargeting $inventorySizeTargeting - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function setInventorySizeTargeting($inventorySizeTargeting) - { - $this->inventorySizeTargeting = $inventorySizeTargeting; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TargetingPreset.php b/src/Google/AdsApi/AdManager/v202308/TargetingPreset.php deleted file mode 100644 index fc72bbe57..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TargetingPreset.php +++ /dev/null @@ -1,94 +0,0 @@ -id = $id; - $this->name = $name; - $this->targeting = $targeting; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\TargetingPreset - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\TargetingPreset - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\TargetingPreset - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TargetingPresetService.php b/src/Google/AdsApi/AdManager/v202308/TargetingPresetService.php deleted file mode 100644 index b677c49dd..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TargetingPresetService.php +++ /dev/null @@ -1,169 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'TargetingPreset' => 'Google\\AdsApi\\AdManager\\v202308\\TargetingPreset', - 'TargetingPresetPage' => 'Google\\AdsApi\\AdManager\\v202308\\TargetingPresetPage', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'getTargetingPresetsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getTargetingPresetsByStatementResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/TargetingPresetService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Gets a {@link TargetingPresetPage} of {@link TargetingPreset} objects that satisfy the given - * {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link TargetingPreset#id}
{@code name}{@link TargetingPreset#name}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\TargetingPresetPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getTargetingPresetsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getTargetingPresetsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TargetingValue.php b/src/Google/AdsApi/AdManager/v202308/TargetingValue.php deleted file mode 100644 index f26012f8d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TargetingValue.php +++ /dev/null @@ -1,43 +0,0 @@ -value = $value; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getValue() - { - return $this->value; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $value - * @return \Google\AdsApi\AdManager\v202308\TargetingValue - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TeamService.php b/src/Google/AdsApi/AdManager/v202308/TeamService.php deleted file mode 100644 index ca7b91bf8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TeamService.php +++ /dev/null @@ -1,162 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateTeams' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateTeams', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateTeams' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateTeams', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OrderError' => 'Google\\AdsApi\\AdManager\\v202308\\OrderError', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamAction' => 'Google\\AdsApi\\AdManager\\v202308\\TeamAction', - 'Team' => 'Google\\AdsApi\\AdManager\\v202308\\Team', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TeamPage' => 'Google\\AdsApi\\AdManager\\v202308\\TeamPage', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createTeamsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createTeamsResponse', - 'getTeamsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getTeamsByStatementResponse', - 'performTeamActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performTeamActionResponse', - 'updateTeamsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateTeamsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/TeamService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link Team} objects. - * - *

The following fields are required: - * - *

- * - * @param \Google\AdsApi\AdManager\v202308\Team[] $teams - * @return \Google\AdsApi\AdManager\v202308\Team[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createTeams(array $teams) - { - return $this->__soapCall('createTeams', array(array('teams' => $teams)))->getRval(); - } - - /** - * Gets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. - * The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code id}{@link Team#id}
{@code name}{@link Team#name}
{@code description}{@link Team#description}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\TeamPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getTeamsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getTeamsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link Team} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\TeamAction $teamAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performTeamAction(\Google\AdsApi\AdManager\v202308\TeamAction $teamAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performTeamAction', array(array('teamAction' => $teamAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link Team} objects. - * - * @param \Google\AdsApi\AdManager\v202308\Team[] $teams - * @return \Google\AdsApi\AdManager\v202308\Team[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateTeams(array $teams) - { - return $this->__soapCall('updateTeams', array(array('teams' => $teams)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TechnologyTargeting.php b/src/Google/AdsApi/AdManager/v202308/TechnologyTargeting.php deleted file mode 100644 index 3f6202e19..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TechnologyTargeting.php +++ /dev/null @@ -1,293 +0,0 @@ -bandwidthGroupTargeting = $bandwidthGroupTargeting; - $this->browserTargeting = $browserTargeting; - $this->browserLanguageTargeting = $browserLanguageTargeting; - $this->deviceCapabilityTargeting = $deviceCapabilityTargeting; - $this->deviceCategoryTargeting = $deviceCategoryTargeting; - $this->deviceManufacturerTargeting = $deviceManufacturerTargeting; - $this->mobileCarrierTargeting = $mobileCarrierTargeting; - $this->mobileDeviceTargeting = $mobileDeviceTargeting; - $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting; - $this->operatingSystemTargeting = $operatingSystemTargeting; - $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BandwidthGroupTargeting - */ - public function getBandwidthGroupTargeting() - { - return $this->bandwidthGroupTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BandwidthGroupTargeting $bandwidthGroupTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setBandwidthGroupTargeting($bandwidthGroupTargeting) - { - $this->bandwidthGroupTargeting = $bandwidthGroupTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BrowserTargeting - */ - public function getBrowserTargeting() - { - return $this->browserTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BrowserTargeting $browserTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setBrowserTargeting($browserTargeting) - { - $this->browserTargeting = $browserTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BrowserLanguageTargeting - */ - public function getBrowserLanguageTargeting() - { - return $this->browserLanguageTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BrowserLanguageTargeting $browserLanguageTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setBrowserLanguageTargeting($browserLanguageTargeting) - { - $this->browserLanguageTargeting = $browserLanguageTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeviceCapabilityTargeting - */ - public function getDeviceCapabilityTargeting() - { - return $this->deviceCapabilityTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeviceCapabilityTargeting $deviceCapabilityTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setDeviceCapabilityTargeting($deviceCapabilityTargeting) - { - $this->deviceCapabilityTargeting = $deviceCapabilityTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeviceCategoryTargeting - */ - public function getDeviceCategoryTargeting() - { - return $this->deviceCategoryTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeviceCategoryTargeting $deviceCategoryTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setDeviceCategoryTargeting($deviceCategoryTargeting) - { - $this->deviceCategoryTargeting = $deviceCategoryTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeviceManufacturerTargeting - */ - public function getDeviceManufacturerTargeting() - { - return $this->deviceManufacturerTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeviceManufacturerTargeting $deviceManufacturerTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setDeviceManufacturerTargeting($deviceManufacturerTargeting) - { - $this->deviceManufacturerTargeting = $deviceManufacturerTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileCarrierTargeting - */ - public function getMobileCarrierTargeting() - { - return $this->mobileCarrierTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileCarrierTargeting $mobileCarrierTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setMobileCarrierTargeting($mobileCarrierTargeting) - { - $this->mobileCarrierTargeting = $mobileCarrierTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceTargeting - */ - public function getMobileDeviceTargeting() - { - return $this->mobileDeviceTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileDeviceTargeting $mobileDeviceTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setMobileDeviceTargeting($mobileDeviceTargeting) - { - $this->mobileDeviceTargeting = $mobileDeviceTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileDeviceSubmodelTargeting - */ - public function getMobileDeviceSubmodelTargeting() - { - return $this->mobileDeviceSubmodelTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileDeviceSubmodelTargeting $mobileDeviceSubmodelTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setMobileDeviceSubmodelTargeting($mobileDeviceSubmodelTargeting) - { - $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemTargeting - */ - public function getOperatingSystemTargeting() - { - return $this->operatingSystemTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\OperatingSystemTargeting $operatingSystemTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setOperatingSystemTargeting($operatingSystemTargeting) - { - $this->operatingSystemTargeting = $operatingSystemTargeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\OperatingSystemVersionTargeting - */ - public function getOperatingSystemVersionTargeting() - { - return $this->operatingSystemVersionTargeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\OperatingSystemVersionTargeting $operatingSystemVersionTargeting - * @return \Google\AdsApi\AdManager\v202308\TechnologyTargeting - */ - public function setOperatingSystemVersionTargeting($operatingSystemVersionTargeting) - { - $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/ThirdPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202308/ThirdPartyAudienceSegment.php deleted file mode 100644 index 40d6540c3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/ThirdPartyAudienceSegment.php +++ /dev/null @@ -1,156 +0,0 @@ -approvalStatus = $approvalStatus; - $this->cost = $cost; - $this->licenseType = $licenseType; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - } - - /** - * @return string - */ - public function getApprovalStatus() - { - return $this->approvalStatus; - } - - /** - * @param string $approvalStatus - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyAudienceSegment - */ - public function setApprovalStatus($approvalStatus) - { - $this->approvalStatus = $approvalStatus; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Money - */ - public function getCost() - { - return $this->cost; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Money $cost - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyAudienceSegment - */ - public function setCost($cost) - { - $this->cost = $cost; - return $this; - } - - /** - * @return string - */ - public function getLicenseType() - { - return $this->licenseType; - } - - /** - * @param string $licenseType - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyAudienceSegment - */ - public function setLicenseType($licenseType) - { - $this->licenseType = $licenseType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getStartDateTime() - { - return $this->startDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyAudienceSegment - */ - public function setStartDateTime($startDateTime) - { - $this->startDateTime = $startDateTime; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getEndDateTime() - { - return $this->endDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyAudienceSegment - */ - public function setEndDateTime($endDateTime) - { - $this->endDateTime = $endDateTime; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TimeSeries.php b/src/Google/AdsApi/AdManager/v202308/TimeSeries.php deleted file mode 100644 index 4e62bda74..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TimeSeries.php +++ /dev/null @@ -1,68 +0,0 @@ -timeSeriesDateRange = $timeSeriesDateRange; - $this->values = $values; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateRange - */ - public function getTimeSeriesDateRange() - { - return $this->timeSeriesDateRange; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateRange $timeSeriesDateRange - * @return \Google\AdsApi\AdManager\v202308\TimeSeries - */ - public function setTimeSeriesDateRange($timeSeriesDateRange) - { - $this->timeSeriesDateRange = $timeSeriesDateRange; - return $this; - } - - /** - * @return int[] - */ - public function getValues() - { - return $this->values; - } - - /** - * @param int[]|null $values - * @return \Google\AdsApi\AdManager\v202308\TimeSeries - */ - public function setValues(array $values = null) - { - $this->values = $values; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TrackingEvent.php b/src/Google/AdsApi/AdManager/v202308/TrackingEvent.php deleted file mode 100644 index f21713bda..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TrackingEvent.php +++ /dev/null @@ -1,43 +0,0 @@ -pings = $pings; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrackingEventPing[] - */ - public function getPings() - { - return $this->pings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrackingEventPing[]|null $pings - * @return \Google\AdsApi\AdManager\v202308\TrackingEvent - */ - public function setPings(array $pings = null) - { - $this->pings = $pings; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TrafficDataRequest.php b/src/Google/AdsApi/AdManager/v202308/TrafficDataRequest.php deleted file mode 100644 index 705b97c1f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TrafficDataRequest.php +++ /dev/null @@ -1,68 +0,0 @@ -targeting = $targeting; - $this->requestedDateRange = $requestedDateRange; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\TrafficDataRequest - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateRange - */ - public function getRequestedDateRange() - { - return $this->requestedDateRange; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateRange $requestedDateRange - * @return \Google\AdsApi\AdManager\v202308\TrafficDataRequest - */ - public function setRequestedDateRange($requestedDateRange) - { - $this->requestedDateRange = $requestedDateRange; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TrafficDataResponse.php b/src/Google/AdsApi/AdManager/v202308/TrafficDataResponse.php deleted file mode 100644 index 4178159e0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TrafficDataResponse.php +++ /dev/null @@ -1,118 +0,0 @@ -historicalTimeSeries = $historicalTimeSeries; - $this->forecastedTimeSeries = $forecastedTimeSeries; - $this->forecastedAssignedTimeSeries = $forecastedAssignedTimeSeries; - $this->overallDateRange = $overallDateRange; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TimeSeries - */ - public function getHistoricalTimeSeries() - { - return $this->historicalTimeSeries; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TimeSeries $historicalTimeSeries - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - */ - public function setHistoricalTimeSeries($historicalTimeSeries) - { - $this->historicalTimeSeries = $historicalTimeSeries; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TimeSeries - */ - public function getForecastedTimeSeries() - { - return $this->forecastedTimeSeries; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TimeSeries $forecastedTimeSeries - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - */ - public function setForecastedTimeSeries($forecastedTimeSeries) - { - $this->forecastedTimeSeries = $forecastedTimeSeries; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TimeSeries - */ - public function getForecastedAssignedTimeSeries() - { - return $this->forecastedAssignedTimeSeries; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TimeSeries $forecastedAssignedTimeSeries - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - */ - public function setForecastedAssignedTimeSeries($forecastedAssignedTimeSeries) - { - $this->forecastedAssignedTimeSeries = $forecastedAssignedTimeSeries; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateRange - */ - public function getOverallDateRange() - { - return $this->overallDateRange; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateRange $overallDateRange - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - */ - public function setOverallDateRange($overallDateRange) - { - $this->overallDateRange = $overallDateRange; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TrafficForecastSegment.php b/src/Google/AdsApi/AdManager/v202308/TrafficForecastSegment.php deleted file mode 100644 index 565514b2a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TrafficForecastSegment.php +++ /dev/null @@ -1,144 +0,0 @@ -id = $id; - $this->name = $name; - $this->targeting = $targeting; - $this->activeForecastAdjustmentCount = $activeForecastAdjustmentCount; - $this->creationDateTime = $creationDateTime; - } - - /** - * @return int - */ - public function getId() - { - return $this->id; - } - - /** - * @param int $id - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment - */ - public function setId($id) - { - $this->id = (!is_null($id) && PHP_INT_SIZE === 4) - ? floatval($id) : $id; - return $this; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @param string $name - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment - */ - public function setName($name) - { - $this->name = $name; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Targeting - */ - public function getTargeting() - { - return $this->targeting; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Targeting $targeting - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment - */ - public function setTargeting($targeting) - { - $this->targeting = $targeting; - return $this; - } - - /** - * @return int - */ - public function getActiveForecastAdjustmentCount() - { - return $this->activeForecastAdjustmentCount; - } - - /** - * @param int $activeForecastAdjustmentCount - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment - */ - public function setActiveForecastAdjustmentCount($activeForecastAdjustmentCount) - { - $this->activeForecastAdjustmentCount = $activeForecastAdjustmentCount; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DateTime - */ - public function getCreationDateTime() - { - return $this->creationDateTime; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $creationDateTime - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment - */ - public function setCreationDateTime($creationDateTime) - { - $this->creationDateTime = $creationDateTime; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/TypeError.php b/src/Google/AdsApi/AdManager/v202308/TypeError.php deleted file mode 100644 index d7c06935a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/TypeError.php +++ /dev/null @@ -1,23 +0,0 @@ -unsupportedCreativeType = $unsupportedCreativeType; - } - - /** - * @return string - */ - public function getUnsupportedCreativeType() - { - return $this->unsupportedCreativeType; - } - - /** - * @param string $unsupportedCreativeType - * @return \Google\AdsApi\AdManager\v202308\UnsupportedCreative - */ - public function setUnsupportedCreativeType($unsupportedCreativeType) - { - $this->unsupportedCreativeType = $unsupportedCreativeType; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/UpdateOrderWithSellerData.php b/src/Google/AdsApi/AdManager/v202308/UpdateOrderWithSellerData.php deleted file mode 100644 index 0a0fe8ef7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/UpdateOrderWithSellerData.php +++ /dev/null @@ -1,18 +0,0 @@ -isActive = $isActive; - $this->isEmailNotificationAllowed = $isEmailNotificationAllowed; - $this->externalId = $externalId; - $this->isServiceAccount = $isServiceAccount; - $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId; - } - - /** - * @return boolean - */ - public function getIsActive() - { - return $this->isActive; - } - - /** - * @param boolean $isActive - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function setIsActive($isActive) - { - $this->isActive = $isActive; - return $this; - } - - /** - * @return boolean - */ - public function getIsEmailNotificationAllowed() - { - return $this->isEmailNotificationAllowed; - } - - /** - * @param boolean $isEmailNotificationAllowed - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function setIsEmailNotificationAllowed($isEmailNotificationAllowed) - { - $this->isEmailNotificationAllowed = $isEmailNotificationAllowed; - return $this; - } - - /** - * @return string - */ - public function getExternalId() - { - return $this->externalId; - } - - /** - * @param string $externalId - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function setExternalId($externalId) - { - $this->externalId = $externalId; - return $this; - } - - /** - * @return boolean - */ - public function getIsServiceAccount() - { - return $this->isServiceAccount; - } - - /** - * @param boolean $isServiceAccount - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function setIsServiceAccount($isServiceAccount) - { - $this->isServiceAccount = $isServiceAccount; - return $this; - } - - /** - * @return string - */ - public function getOrdersUiLocalTimeZoneId() - { - return $this->ordersUiLocalTimeZoneId; - } - - /** - * @param string $ordersUiLocalTimeZoneId - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function setOrdersUiLocalTimeZoneId($ordersUiLocalTimeZoneId) - { - $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/UserService.php b/src/Google/AdsApi/AdManager/v202308/UserService.php deleted file mode 100644 index f33f3cbe6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/UserService.php +++ /dev/null @@ -1,197 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ActivateUsers' => 'Google\\AdsApi\\AdManager\\v202308\\ActivateUsers', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomFieldValueError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeactivateUsers' => 'Google\\AdsApi\\AdManager\\v202308\\DeactivateUsers', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidEmailError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'Role' => 'Google\\AdsApi\\AdManager\\v202308\\Role', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202308\\TimeZoneError', - 'TokenError' => 'Google\\AdsApi\\AdManager\\v202308\\TokenError', - 'TypeError' => 'Google\\AdsApi\\AdManager\\v202308\\TypeError', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserAction' => 'Google\\AdsApi\\AdManager\\v202308\\UserAction', - 'User' => 'Google\\AdsApi\\AdManager\\v202308\\User', - 'UserPage' => 'Google\\AdsApi\\AdManager\\v202308\\UserPage', - 'UserRecord' => 'Google\\AdsApi\\AdManager\\v202308\\UserRecord', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createUsersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createUsersResponse', - 'getAllRolesResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getAllRolesResponse', - 'getCurrentUserResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getCurrentUserResponse', - 'getUsersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getUsersByStatementResponse', - 'performUserActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performUserActionResponse', - 'updateUsersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateUsersResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/UserService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link User} objects. - * - * @param \Google\AdsApi\AdManager\v202308\User[] $users - * @return \Google\AdsApi\AdManager\v202308\User[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createUsers(array $users) - { - return $this->__soapCall('createUsers', array(array('users' => $users)))->getRval(); - } - - /** - * Returns the {@link Role} objects that are defined for the users of the network. - * - * @return \Google\AdsApi\AdManager\v202308\Role[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getAllRoles() - { - return $this->__soapCall('getAllRoles', array(array()))->getRval(); - } - - /** - * Returns the current {@link User}. - * - * @return \Google\AdsApi\AdManager\v202308\User - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getCurrentUser() - { - return $this->__soapCall('getCurrentUser', array(array()))->getRval(); - } - - /** - * Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. - * The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code email}{@link User#email}
{@code id}{@link User#id}
{@code name}{@link User#name}
{@code roleId}{@link User#roleId} - *
{@code rolename}{@link User#roleName} - *
{@code status}{@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} - * otherwise
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UserPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getUsersByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getUsersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link User} objects that match the given {@link Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\UserAction $userAction - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performUserAction(\Google\AdsApi\AdManager\v202308\UserAction $userAction, \Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('performUserAction', array(array('userAction' => $userAction, 'filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Updates the specified {@link User} objects. - * - * @param \Google\AdsApi\AdManager\v202308\User[] $users - * @return \Google\AdsApi\AdManager\v202308\User[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateUsers(array $users) - { - return $this->__soapCall('updateUsers', array(array('users' => $users)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/UserTeamAssociationService.php b/src/Google/AdsApi/AdManager/v202308/UserTeamAssociationService.php deleted file mode 100644 index e32791784..000000000 --- a/src/Google/AdsApi/AdManager/v202308/UserTeamAssociationService.php +++ /dev/null @@ -1,149 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DeleteUserTeamAssociations' => 'Google\\AdsApi\\AdManager\\v202308\\DeleteUserTeamAssociations', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NullError' => 'Google\\AdsApi\\AdManager\\v202308\\NullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TeamError' => 'Google\\AdsApi\\AdManager\\v202308\\TeamError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202308\\UpdateResult', - 'UserRecordTeamAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\UserRecordTeamAssociation', - 'UserTeamAssociationAction' => 'Google\\AdsApi\\AdManager\\v202308\\UserTeamAssociationAction', - 'UserTeamAssociation' => 'Google\\AdsApi\\AdManager\\v202308\\UserTeamAssociation', - 'UserTeamAssociationPage' => 'Google\\AdsApi\\AdManager\\v202308\\UserTeamAssociationPage', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'createUserTeamAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createUserTeamAssociationsResponse', - 'getUserTeamAssociationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getUserTeamAssociationsByStatementResponse', - 'performUserTeamAssociationActionResponse' => 'Google\\AdsApi\\AdManager\\v202308\\performUserTeamAssociationActionResponse', - 'updateUserTeamAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateUserTeamAssociationsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/UserTeamAssociationService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates new {@link UserTeamAssociation} objects. - * - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] $userTeamAssociations - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createUserTeamAssociations(array $userTeamAssociations) - { - return $this->__soapCall('createUserTeamAssociations', array(array('userTeamAssociations' => $userTeamAssociations)))->getRval(); - } - - /** - * Gets a {@link UserTeamAssociationPage} of {@link UserTeamAssociation} objects that satisfy the - * given {@link Statement#query}. The following fields are supported for filtering: - * - * - * - * - * - * - * - * - * - * - * - * - * - *
PQL Property Object Property
{@code userId}{@link UserTeamAssociation#userId}
{@code teamId}{@link UserTeamAssociation#teamId}
- * - * @param \Google\AdsApi\AdManager\v202308\Statement $filterStatement - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociationPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getUserTeamAssociationsByStatement(\Google\AdsApi\AdManager\v202308\Statement $filterStatement) - { - return $this->__soapCall('getUserTeamAssociationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); - } - - /** - * Performs actions on {@link UserTeamAssociation} objects that match the given {@link - * Statement#query}. - * - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociationAction $userTeamAssociationAction - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function performUserTeamAssociationAction(\Google\AdsApi\AdManager\v202308\UserTeamAssociationAction $userTeamAssociationAction, \Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('performUserTeamAssociationAction', array(array('userTeamAssociationAction' => $userTeamAssociationAction, 'statement' => $statement)))->getRval(); - } - - /** - * Updates the specified {@link UserTeamAssociation} objects. - * - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] $userTeamAssociations - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateUserTeamAssociations(array $userTeamAssociations) - { - return $this->__soapCall('updateUserTeamAssociations', array(array('userTeamAssociations' => $userTeamAssociations)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoCreative.php b/src/Google/AdsApi/AdManager/v202308/VideoCreative.php deleted file mode 100644 index d9a9e4712..000000000 --- a/src/Google/AdsApi/AdManager/v202308/VideoCreative.php +++ /dev/null @@ -1,67 +0,0 @@ -videoSourceUrl = $videoSourceUrl; - } - - /** - * @return string - */ - public function getVideoSourceUrl() - { - return $this->videoSourceUrl; - } - - /** - * @param string $videoSourceUrl - * @return \Google\AdsApi\AdManager\v202308\VideoCreative - */ - public function setVideoSourceUrl($videoSourceUrl) - { - $this->videoSourceUrl = $videoSourceUrl; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoPositionTarget.php b/src/Google/AdsApi/AdManager/v202308/VideoPositionTarget.php deleted file mode 100644 index 1cce46b3f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/VideoPositionTarget.php +++ /dev/null @@ -1,119 +0,0 @@ -videoPosition = $videoPosition; - $this->videoBumperType = $videoBumperType; - $this->videoPositionWithinPod = $videoPositionWithinPod; - $this->adSpotId = $adSpotId; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoPosition - */ - public function getVideoPosition() - { - return $this->videoPosition; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoPosition $videoPosition - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTarget - */ - public function setVideoPosition($videoPosition) - { - $this->videoPosition = $videoPosition; - return $this; - } - - /** - * @return string - */ - public function getVideoBumperType() - { - return $this->videoBumperType; - } - - /** - * @param string $videoBumperType - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTarget - */ - public function setVideoBumperType($videoBumperType) - { - $this->videoBumperType = $videoBumperType; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoPositionWithinPod - */ - public function getVideoPositionWithinPod() - { - return $this->videoPositionWithinPod; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoPositionWithinPod $videoPositionWithinPod - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTarget - */ - public function setVideoPositionWithinPod($videoPositionWithinPod) - { - $this->videoPositionWithinPod = $videoPositionWithinPod; - return $this; - } - - /** - * @return int - */ - public function getAdSpotId() - { - return $this->adSpotId; - } - - /** - * @param int $adSpotId - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTarget - */ - public function setAdSpotId($adSpotId) - { - $this->adSpotId = (!is_null($adSpotId) && PHP_INT_SIZE === 4) - ? floatval($adSpotId) : $adSpotId; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202308/VideoPositionTargeting.php deleted file mode 100644 index 5fae626a6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/VideoPositionTargeting.php +++ /dev/null @@ -1,43 +0,0 @@ -targetedPositions = $targetedPositions; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTarget[] - */ - public function getTargetedPositions() - { - return $this->targetedPositions; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoPositionTarget[]|null $targetedPositions - * @return \Google\AdsApi\AdManager\v202308\VideoPositionTargeting - */ - public function setTargetedPositions(array $targetedPositions = null) - { - $this->targetedPositions = $targetedPositions; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoRedirectAsset.php b/src/Google/AdsApi/AdManager/v202308/VideoRedirectAsset.php deleted file mode 100644 index cf0937284..000000000 --- a/src/Google/AdsApi/AdManager/v202308/VideoRedirectAsset.php +++ /dev/null @@ -1,45 +0,0 @@ -metadata = $metadata; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoMetadata - */ - public function getMetadata() - { - return $this->metadata; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoMetadata $metadata - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectAsset - */ - public function setMetadata($metadata) - { - $this->metadata = $metadata; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202308/VideoRedirectCreative.php deleted file mode 100644 index 9606aa64d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/VideoRedirectCreative.php +++ /dev/null @@ -1,92 +0,0 @@ -videoAssets = $videoAssets; - $this->mezzanineFile = $mezzanineFile; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectAsset[] - */ - public function getVideoAssets() - { - return $this->videoAssets; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoRedirectAsset[]|null $videoAssets - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectCreative - */ - public function setVideoAssets(array $videoAssets = null) - { - $this->videoAssets = $videoAssets; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectAsset - */ - public function getMezzanineFile() - { - return $this->mezzanineFile; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\VideoRedirectAsset $mezzanineFile - * @return \Google\AdsApi\AdManager\v202308\VideoRedirectCreative - */ - public function setMezzanineFile($mezzanineFile) - { - $this->mezzanineFile = $mezzanineFile; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/YieldGroupService.php b/src/Google/AdsApi/AdManager/v202308/YieldGroupService.php deleted file mode 100644 index 0ae1b6630..000000000 --- a/src/Google/AdsApi/AdManager/v202308/YieldGroupService.php +++ /dev/null @@ -1,207 +0,0 @@ - 'Google\\AdsApi\\AdManager\\v202308\\AbstractDisplaySettings', - 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202308\\ObjectValue', - 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\AdUnitTargeting', - 'ApiError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiError', - 'ApiException' => 'Google\\AdsApi\\AdManager\\v202308\\ApiException', - 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargeting', - 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202308\\ApiVersionError', - 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202308\\ApplicationException', - 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202308\\AuthenticationError', - 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroup', - 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BandwidthGroupTargeting', - 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202308\\BooleanValue', - 'Browser' => 'Google\\AdsApi\\AdManager\\v202308\\Browser', - 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguage', - 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserLanguageTargeting', - 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BrowserTargeting', - 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\BuyerUserListTargeting', - 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202308\\CollectionSizeError', - 'CommonError' => 'Google\\AdsApi\\AdManager\\v202308\\CommonError', - 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\ContentTargeting', - 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteria', - 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaSet', - 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\CmsMetadataCriteria', - 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\CustomTargetingError', - 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaLeaf', - 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202308\\CustomCriteriaNode', - 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202308\\AudienceSegmentCriteria', - 'Date' => 'Google\\AdsApi\\AdManager\\v202308\\Date', - 'DateTime' => 'Google\\AdsApi\\AdManager\\v202308\\DateTime', - 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRange', - 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargeting', - 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeRangeTargetingError', - 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateTimeValue', - 'DateValue' => 'Google\\AdsApi\\AdManager\\v202308\\DateValue', - 'DayPart' => 'Google\\AdsApi\\AdManager\\v202308\\DayPart', - 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargeting', - 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\DayPartTargetingError', - 'OpenBiddingSetting' => 'Google\\AdsApi\\AdManager\\v202308\\OpenBiddingSetting', - 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapability', - 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCapabilityTargeting', - 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategory', - 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceCategoryTargeting', - 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturer', - 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\DeviceManufacturerTargeting', - 'DistinctError' => 'Google\\AdsApi\\AdManager\\v202308\\DistinctError', - 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityChildrenLimitReachedError', - 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202308\\EntityLimitReachedError', - 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202308\\FeatureError', - 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202308\\FieldPathElement', - 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GenericTargetingError', - 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargeting', - 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\GeoTargetingError', - 'IdError' => 'Google\\AdsApi\\AdManager\\v202308\\IdError', - 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202308\\InternalApiError', - 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202308\\InvalidUrlError', - 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventorySizeTargeting', - 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargeting', - 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryTargetingError', - 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrl', - 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\InventoryUrlTargeting', - 'Location' => 'Google\\AdsApi\\AdManager\\v202308\\Location', - 'SdkMediationSettings' => 'Google\\AdsApi\\AdManager\\v202308\\SdkMediationSettings', - 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargeting', - 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\MobileApplicationTargetingError', - 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrier', - 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileCarrierTargeting', - 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDevice', - 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodel', - 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceSubmodelTargeting', - 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\MobileDeviceTargeting', - 'Money' => 'Google\\AdsApi\\AdManager\\v202308\\Money', - 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202308\\NotNullError', - 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202308\\NumberValue', - 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystem', - 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemTargeting', - 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersion', - 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\OperatingSystemVersionTargeting', - 'ParseError' => 'Google\\AdsApi\\AdManager\\v202308\\ParseError', - 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202308\\PermissionError', - 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageContextError', - 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202308\\PublisherQueryLanguageSyntaxError', - 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202308\\QuotaError', - 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargeting', - 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\RequestPlatformTargetingError', - 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredCollectionError', - 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredError', - 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202308\\RequiredNumberError', - 'ServerError' => 'Google\\AdsApi\\AdManager\\v202308\\ServerError', - 'SetValue' => 'Google\\AdsApi\\AdManager\\v202308\\SetValue', - 'Size' => 'Google\\AdsApi\\AdManager\\v202308\\Size', - 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapRequestHeader', - 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202308\\SoapResponseHeader', - 'Statement' => 'Google\\AdsApi\\AdManager\\v202308\\Statement', - 'StatementError' => 'Google\\AdsApi\\AdManager\\v202308\\StatementError', - 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202308\\StringFormatError', - 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202308\\StringLengthError', - 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\String_ValueMapEntry', - 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202308\\TargetedSize', - 'Targeting' => 'Google\\AdsApi\\AdManager\\v202308\\Targeting', - 'Technology' => 'Google\\AdsApi\\AdManager\\v202308\\Technology', - 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\TechnologyTargetingError', - 'TextValue' => 'Google\\AdsApi\\AdManager\\v202308\\TextValue', - 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202308\\TimeOfDay', - 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202308\\UniqueError', - 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargeting', - 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\UserDomainTargetingError', - 'Value' => 'Google\\AdsApi\\AdManager\\v202308\\Value', - 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPosition', - 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargeting', - 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTargetingError', - 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionWithinPod', - 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202308\\VideoPositionTarget', - 'YieldAdSource' => 'Google\\AdsApi\\AdManager\\v202308\\YieldAdSource', - 'YieldError' => 'Google\\AdsApi\\AdManager\\v202308\\YieldError', - 'YieldGroup' => 'Google\\AdsApi\\AdManager\\v202308\\YieldGroup', - 'YieldGroupPage' => 'Google\\AdsApi\\AdManager\\v202308\\YieldGroupPage', - 'YieldParameter' => 'Google\\AdsApi\\AdManager\\v202308\\YieldParameter', - 'YieldParameter_StringMapEntry' => 'Google\\AdsApi\\AdManager\\v202308\\YieldParameter_StringMapEntry', - 'YieldPartner' => 'Google\\AdsApi\\AdManager\\v202308\\YieldPartner', - 'YieldPartnerSettings' => 'Google\\AdsApi\\AdManager\\v202308\\YieldPartnerSettings', - 'createYieldGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\createYieldGroupsResponse', - 'getYieldGroupsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getYieldGroupsByStatementResponse', - 'getYieldPartnersResponse' => 'Google\\AdsApi\\AdManager\\v202308\\getYieldPartnersResponse', - 'updateYieldGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202308\\updateYieldGroupsResponse', - ); - - /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use - */ - public function __construct(array $options = array(), - $wsdl = 'https://ads.google.com/apis/ads/publisher/v202308/YieldGroupService?wsdl') - { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } - } - $options = array_merge(array ( - 'features' => 1, - ), $options); - parent::__construct($wsdl, $options); - } - - /** - * Creates yield groups in bulk. - * - * @param \Google\AdsApi\AdManager\v202308\YieldGroup[] $yieldGroups - * @return \Google\AdsApi\AdManager\v202308\YieldGroup[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function createYieldGroups(array $yieldGroups) - { - return $this->__soapCall('createYieldGroups', array(array('yieldGroups' => $yieldGroups)))->getRval(); - } - - /** - * Gets a page of yield groups, with child tags, filtered by the given statement. - * - * @param \Google\AdsApi\AdManager\v202308\Statement $statement - * @return \Google\AdsApi\AdManager\v202308\YieldGroupPage - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getYieldGroupsByStatement(\Google\AdsApi\AdManager\v202308\Statement $statement) - { - return $this->__soapCall('getYieldGroupsByStatement', array(array('statement' => $statement)))->getRval(); - } - - /** - * Returns the available partners for yield groups, each one of them is backed by a company. - * - * @return \Google\AdsApi\AdManager\v202308\YieldPartner[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function getYieldPartners() - { - return $this->__soapCall('getYieldPartners', array(array()))->getRval(); - } - - /** - * Updates a list of yield groups. - * - * @param \Google\AdsApi\AdManager\v202308\YieldGroup[] $yieldGroups - * @return \Google\AdsApi\AdManager\v202308\YieldGroup[] - * @throws \Google\AdsApi\AdManager\v202308\ApiException - */ - public function updateYieldGroups(array $yieldGroups) - { - return $this->__soapCall('updateYieldGroups', array(array('yieldGroups' => $yieldGroups)))->getRval(); - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/YieldIntegrationType.php b/src/Google/AdsApi/AdManager/v202308/YieldIntegrationType.php deleted file mode 100644 index 9dd420b22..000000000 --- a/src/Google/AdsApi/AdManager/v202308/YieldIntegrationType.php +++ /dev/null @@ -1,18 +0,0 @@ -key = $key; - $this->value = $value; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldParameter - */ - public function getKey() - { - return $this->key; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldParameter $key - * @return \Google\AdsApi\AdManager\v202308\YieldParameter_StringMapEntry - */ - public function setKey($key) - { - $this->key = $key; - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * @param string $value - * @return \Google\AdsApi\AdManager\v202308\YieldParameter_StringMapEntry - */ - public function setValue($value) - { - $this->value = $value; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/YieldPartner.php b/src/Google/AdsApi/AdManager/v202308/YieldPartner.php deleted file mode 100644 index 80e66ca28..000000000 --- a/src/Google/AdsApi/AdManager/v202308/YieldPartner.php +++ /dev/null @@ -1,69 +0,0 @@ -companyId = $companyId; - $this->settings = $settings; - } - - /** - * @return int - */ - public function getCompanyId() - { - return $this->companyId; - } - - /** - * @param int $companyId - * @return \Google\AdsApi\AdManager\v202308\YieldPartner - */ - public function setCompanyId($companyId) - { - $this->companyId = (!is_null($companyId) && PHP_INT_SIZE === 4) - ? floatval($companyId) : $companyId; - return $this; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldPartnerSettings[] - */ - public function getSettings() - { - return $this->settings; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldPartnerSettings[]|null $settings - * @return \Google\AdsApi\AdManager\v202308\YieldPartner - */ - public function setSettings(array $settings = null) - { - $this->settings = $settings; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/calculateDailyAdOpportunityCountsResponse.php b/src/Google/AdsApi/AdManager/v202308/calculateDailyAdOpportunityCountsResponse.php deleted file mode 100644 index 0628995f2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/calculateDailyAdOpportunityCountsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment $rval - * @return \Google\AdsApi\AdManager\v202308\calculateDailyAdOpportunityCountsResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createActivitiesResponse.php b/src/Google/AdsApi/AdManager/v202308/createActivitiesResponse.php deleted file mode 100644 index 9d026ff9c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createActivitiesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Activity[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Activity[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createActivitiesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createActivityGroupsResponse.php b/src/Google/AdsApi/AdManager/v202308/createActivityGroupsResponse.php deleted file mode 100644 index f5e7bd76c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createActivityGroupsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ActivityGroup[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createActivityGroupsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202308/createAdRulesResponse.php deleted file mode 100644 index 4780faf8a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createAdRulesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdRule[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdRule[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createAdRulesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202308/createAdSpotsResponse.php deleted file mode 100644 index 561882e1c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createAdSpotsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdSpot[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdSpot[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createAdSpotsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202308/createAdUnitsResponse.php deleted file mode 100644 index fbe8a65c7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createAdUnitsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnit[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnit[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createAdUnitsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/createAudienceSegmentsResponse.php deleted file mode 100644 index 1df17b3de..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createAudienceSegmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createAudienceSegmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202308/createBreakTemplatesResponse.php deleted file mode 100644 index 3b99d02ba..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createBreakTemplatesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BreakTemplate[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BreakTemplate[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createBreakTemplatesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202308/createCdnConfigurationsResponse.php deleted file mode 100644 index 00af036e1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCdnConfigurationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CdnConfiguration[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CdnConfiguration[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCdnConfigurationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202308/createCompaniesResponse.php deleted file mode 100644 index 00fca59eb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCompaniesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Company[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Company[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCompaniesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202308/createContactsResponse.php deleted file mode 100644 index 6acc230e0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createContactsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Contact[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Contact[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createContactsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202308/createContentBundlesResponse.php deleted file mode 100644 index 523e8230a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createContentBundlesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContentBundle[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContentBundle[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createContentBundlesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCreativeSetResponse.php b/src/Google/AdsApi/AdManager/v202308/createCreativeSetResponse.php deleted file mode 100644 index 6f6d3fd15..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCreativeSetResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeSet - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeSet $rval - * @return \Google\AdsApi\AdManager\v202308\createCreativeSetResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202308/createCreativeWrappersResponse.php deleted file mode 100644 index b86665d4d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCreativeWrappersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapper[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapper[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCreativeWrappersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202308/createCreativesResponse.php deleted file mode 100644 index 714331120..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCreativesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Creative[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Creative[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCreativesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202308/createCustomFieldOptionsResponse.php deleted file mode 100644 index 63c053c4b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCustomFieldOptionsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCustomFieldOptionsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202308/createCustomFieldsResponse.php deleted file mode 100644 index 9bc74b3c0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCustomFieldsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomField[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomField[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCustomFieldsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202308/createCustomTargetingKeysResponse.php deleted file mode 100644 index 674a84304..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCustomTargetingKeysResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKey[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCustomTargetingKeysResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202308/createCustomTargetingValuesResponse.php deleted file mode 100644 index a8ea95207..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createCustomTargetingValuesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValue[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createCustomTargetingValuesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202308/createDaiAuthenticationKeysResponse.php deleted file mode 100644 index 319c821d0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createDaiAuthenticationKeysResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createDaiAuthenticationKeysResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202308/createDaiEncodingProfilesResponse.php deleted file mode 100644 index 62e1935e6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createDaiEncodingProfilesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createDaiEncodingProfilesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/createForecastAdjustmentsResponse.php deleted file mode 100644 index 814aacc6e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createForecastAdjustmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createForecastAdjustmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202308/createLabelsResponse.php deleted file mode 100644 index 6e2dff18a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createLabelsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Label[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Label[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createLabelsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202308/createLineItemCreativeAssociationsResponse.php deleted file mode 100644 index ba6f2b2b7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createLineItemCreativeAssociationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createLineItemCreativeAssociationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202308/createLineItemsResponse.php deleted file mode 100644 index a6f23f0ae..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createLineItemsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItem[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItem[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createLineItemsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202308/createLiveStreamEventsResponse.php deleted file mode 100644 index 7dcc5aba5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createLiveStreamEventsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEvent[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createLiveStreamEventsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202308/createMakegoodsResponse.php deleted file mode 100644 index d55f62774..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createMakegoodsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createMakegoodsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202308/createMobileApplicationsResponse.php deleted file mode 100644 index 021b33727..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createMobileApplicationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileApplication[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileApplication[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createMobileApplicationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202308/createNativeStylesResponse.php deleted file mode 100644 index 55809893e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createNativeStylesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\NativeStyle[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\NativeStyle[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createNativeStylesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202308/createOrdersResponse.php deleted file mode 100644 index 245d3000c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createOrdersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Order[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Order[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createOrdersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202308/createPlacementsResponse.php deleted file mode 100644 index 29f238e79..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createPlacementsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Placement[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Placement[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createPlacementsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202308/createProposalLineItemsResponse.php deleted file mode 100644 index d7a6f02b6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createProposalLineItemsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createProposalLineItemsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202308/createProposalsResponse.php deleted file mode 100644 index 353dcea6b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createProposalsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Proposal[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Proposal[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createProposalsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202308/createSitesResponse.php deleted file mode 100644 index fa6727ef7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createSitesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Site[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Site[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createSitesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202308/createSlatesResponse.php deleted file mode 100644 index 689f25db7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createSlatesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Slate[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Slate[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createSlatesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202308/createTeamsResponse.php deleted file mode 100644 index b340e0c26..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createTeamsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Team[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Team[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createTeamsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/createTrafficForecastSegmentsResponse.php deleted file mode 100644 index 6498aec96..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createTrafficForecastSegmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createTrafficForecastSegmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202308/createUserTeamAssociationsResponse.php deleted file mode 100644 index 1a31bdc49..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createUserTeamAssociationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociation[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createUserTeamAssociationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202308/createUsersResponse.php deleted file mode 100644 index 3c90a4d3e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createUsersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\User[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\User[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createUsersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202308/createYieldGroupsResponse.php deleted file mode 100644 index b2259ce35..000000000 --- a/src/Google/AdsApi/AdManager/v202308/createYieldGroupsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldGroup[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldGroup[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\createYieldGroupsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getActivitiesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getActivitiesByStatementResponse.php deleted file mode 100644 index 11d0eb232..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getActivitiesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ActivityPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ActivityPage $rval - * @return \Google\AdsApi\AdManager\v202308\getActivitiesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getActivityGroupsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getActivityGroupsByStatementResponse.php deleted file mode 100644 index 946f91889..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getActivityGroupsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ActivityGroupPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ActivityGroupPage $rval - * @return \Google\AdsApi\AdManager\v202308\getActivityGroupsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAdRulesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getAdRulesByStatementResponse.php deleted file mode 100644 index ebef9138f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAdRulesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdRulePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdRulePage $rval - * @return \Google\AdsApi\AdManager\v202308\getAdRulesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAdSpotsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getAdSpotsByStatementResponse.php deleted file mode 100644 index 0d8c9b530..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAdSpotsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdSpotPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdSpotPage $rval - * @return \Google\AdsApi\AdManager\v202308\getAdSpotsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getAdUnitSizesByStatementResponse.php deleted file mode 100644 index 5e60ce93a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAdUnitSizesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnitSize[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnitSize[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getAdUnitSizesByStatementResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAdUnitsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getAdUnitsByStatementResponse.php deleted file mode 100644 index 1c6fb9fc9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAdUnitsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnitPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnitPage $rval - * @return \Google\AdsApi\AdManager\v202308\getAdUnitsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202308/getAllNetworksResponse.php deleted file mode 100644 index 57735e0bb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAllNetworksResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Network[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Network[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getAllNetworksResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202308/getAllRolesResponse.php deleted file mode 100644 index ba553fdbb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAllRolesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Role[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Role[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getAllRolesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAudienceSegmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getAudienceSegmentsByStatementResponse.php deleted file mode 100644 index faeb4b97f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAudienceSegmentsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AudienceSegmentPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AudienceSegmentPage $rval - * @return \Google\AdsApi\AdManager\v202308\getAudienceSegmentsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastByIdResponse.php b/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastByIdResponse.php deleted file mode 100644 index 128ab8a7d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastByIdResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AvailabilityForecast - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AvailabilityForecast $rval - * @return \Google\AdsApi\AdManager\v202308\getAvailabilityForecastByIdResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastResponse.php b/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastResponse.php deleted file mode 100644 index 42f7ce80d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getAvailabilityForecastResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AvailabilityForecast - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AvailabilityForecast $rval - * @return \Google\AdsApi\AdManager\v202308\getAvailabilityForecastResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getBreakTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getBreakTemplatesByStatementResponse.php deleted file mode 100644 index 8840ef452..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getBreakTemplatesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BreakTemplatePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BreakTemplatePage $rval - * @return \Google\AdsApi\AdManager\v202308\getBreakTemplatesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCdnConfigurationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCdnConfigurationsByStatementResponse.php deleted file mode 100644 index 8a5281987..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCdnConfigurationsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CdnConfigurationPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CdnConfigurationPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCdnConfigurationsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCmsMetadataKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCmsMetadataKeysByStatementResponse.php deleted file mode 100644 index 7001ab3da..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCmsMetadataKeysByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CmsMetadataKeyPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CmsMetadataKeyPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCmsMetadataKeysByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCmsMetadataValuesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCmsMetadataValuesByStatementResponse.php deleted file mode 100644 index 2c34c1ee3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCmsMetadataValuesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CmsMetadataValuePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CmsMetadataValuePage $rval - * @return \Google\AdsApi\AdManager\v202308\getCmsMetadataValuesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCompaniesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCompaniesByStatementResponse.php deleted file mode 100644 index 245c6ba56..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCompaniesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CompanyPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CompanyPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCompaniesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getContactsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getContactsByStatementResponse.php deleted file mode 100644 index 83f7912e4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getContactsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContactPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContactPage $rval - * @return \Google\AdsApi\AdManager\v202308\getContactsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getContentBundlesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getContentBundlesByStatementResponse.php deleted file mode 100644 index 2d4ff2ad8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getContentBundlesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContentBundlePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContentBundlePage $rval - * @return \Google\AdsApi\AdManager\v202308\getContentBundlesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getContentByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getContentByStatementResponse.php deleted file mode 100644 index 9c4554fcc..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getContentByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContentPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContentPage $rval - * @return \Google\AdsApi\AdManager\v202308\getContentByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCreativeReviewsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCreativeReviewsByStatementResponse.php deleted file mode 100644 index 1dcdc0fdc..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCreativeReviewsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeReviewPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeReviewPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCreativeReviewsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCreativeSetsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCreativeSetsByStatementResponse.php deleted file mode 100644 index ec6130e84..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCreativeSetsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeSetPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeSetPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCreativeSetsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCreativeTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCreativeTemplatesByStatementResponse.php deleted file mode 100644 index 8b20473af..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCreativeTemplatesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeTemplatePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeTemplatePage $rval - * @return \Google\AdsApi\AdManager\v202308\getCreativeTemplatesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCreativeWrappersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCreativeWrappersByStatementResponse.php deleted file mode 100644 index 1e9280fd0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCreativeWrappersByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapperPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapperPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCreativeWrappersByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCreativesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCreativesByStatementResponse.php deleted file mode 100644 index 7ad0f3195..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCreativesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativePage $rval - * @return \Google\AdsApi\AdManager\v202308\getCreativesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCurrentNetworkResponse.php b/src/Google/AdsApi/AdManager/v202308/getCurrentNetworkResponse.php deleted file mode 100644 index 58d53f183..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCurrentNetworkResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Network - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Network $rval - * @return \Google\AdsApi\AdManager\v202308\getCurrentNetworkResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCurrentUserResponse.php b/src/Google/AdsApi/AdManager/v202308/getCurrentUserResponse.php deleted file mode 100644 index d6dbf0fe0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCurrentUserResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\User - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\User $rval - * @return \Google\AdsApi\AdManager\v202308\getCurrentUserResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCustomFieldOptionResponse.php b/src/Google/AdsApi/AdManager/v202308/getCustomFieldOptionResponse.php deleted file mode 100644 index c2d408547..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCustomFieldOptionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption $rval - * @return \Google\AdsApi\AdManager\v202308\getCustomFieldOptionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCustomFieldsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCustomFieldsByStatementResponse.php deleted file mode 100644 index f402f26ff..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCustomFieldsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomFieldPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomFieldPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCustomFieldsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCustomTargetingKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCustomTargetingKeysByStatementResponse.php deleted file mode 100644 index 6c8c9704c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCustomTargetingKeysByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKeyPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKeyPage $rval - * @return \Google\AdsApi\AdManager\v202308\getCustomTargetingKeysByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getCustomTargetingValuesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getCustomTargetingValuesByStatementResponse.php deleted file mode 100644 index 395603f05..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getCustomTargetingValuesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValuePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValuePage $rval - * @return \Google\AdsApi\AdManager\v202308\getCustomTargetingValuesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getDaiAuthenticationKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getDaiAuthenticationKeysByStatementResponse.php deleted file mode 100644 index 6bc51e8c4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getDaiAuthenticationKeysByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKeyPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKeyPage $rval - * @return \Google\AdsApi\AdManager\v202308\getDaiAuthenticationKeysByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getDaiEncodingProfilesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getDaiEncodingProfilesByStatementResponse.php deleted file mode 100644 index 4dd8ff0b2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getDaiEncodingProfilesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfilePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfilePage $rval - * @return \Google\AdsApi\AdManager\v202308\getDaiEncodingProfilesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getDefaultThirdPartyDataDeclarationResponse.php b/src/Google/AdsApi/AdManager/v202308/getDefaultThirdPartyDataDeclarationResponse.php deleted file mode 100644 index 175155ba3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getDefaultThirdPartyDataDeclarationResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyDataDeclaration - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ThirdPartyDataDeclaration $rval - * @return \Google\AdsApi\AdManager\v202308\getDefaultThirdPartyDataDeclarationResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastByIdsResponse.php b/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastByIdsResponse.php deleted file mode 100644 index 03070639a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastByIdsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeliveryForecast - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeliveryForecast $rval - * @return \Google\AdsApi\AdManager\v202308\getDeliveryForecastByIdsResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastResponse.php b/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastResponse.php deleted file mode 100644 index 274f72011..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getDeliveryForecastResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DeliveryForecast - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DeliveryForecast $rval - * @return \Google\AdsApi\AdManager\v202308\getDeliveryForecastResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getForecastAdjustmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getForecastAdjustmentsByStatementResponse.php deleted file mode 100644 index 1985bca08..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getForecastAdjustmentsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustmentPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustmentPage $rval - * @return \Google\AdsApi\AdManager\v202308\getForecastAdjustmentsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getLabelsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getLabelsByStatementResponse.php deleted file mode 100644 index 6bbc2a5b5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getLabelsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LabelPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LabelPage $rval - * @return \Google\AdsApi\AdManager\v202308\getLabelsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getLineItemCreativeAssociationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getLineItemCreativeAssociationsByStatementResponse.php deleted file mode 100644 index d67a46f5b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getLineItemCreativeAssociationsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociationPage $rval - * @return \Google\AdsApi\AdManager\v202308\getLineItemCreativeAssociationsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getLineItemTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getLineItemTemplatesByStatementResponse.php deleted file mode 100644 index c3e5f7293..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getLineItemTemplatesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemTemplatePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemTemplatePage $rval - * @return \Google\AdsApi\AdManager\v202308\getLineItemTemplatesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getLineItemsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getLineItemsByStatementResponse.php deleted file mode 100644 index da623e51b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getLineItemsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemPage $rval - * @return \Google\AdsApi\AdManager\v202308\getLineItemsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getLiveStreamEventsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getLiveStreamEventsByStatementResponse.php deleted file mode 100644 index 60460c27d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getLiveStreamEventsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEventPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEventPage $rval - * @return \Google\AdsApi\AdManager\v202308\getLiveStreamEventsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getMarketplaceCommentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getMarketplaceCommentsByStatementResponse.php deleted file mode 100644 index 67c99a8e2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getMarketplaceCommentsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MarketplaceCommentPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MarketplaceCommentPage $rval - * @return \Google\AdsApi\AdManager\v202308\getMarketplaceCommentsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getMobileApplicationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getMobileApplicationsByStatementResponse.php deleted file mode 100644 index 9d36230c8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getMobileApplicationsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileApplicationPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileApplicationPage $rval - * @return \Google\AdsApi\AdManager\v202308\getMobileApplicationsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getNativeStylesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getNativeStylesByStatementResponse.php deleted file mode 100644 index 8a184e43d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getNativeStylesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\NativeStylePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\NativeStylePage $rval - * @return \Google\AdsApi\AdManager\v202308\getNativeStylesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getOrdersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getOrdersByStatementResponse.php deleted file mode 100644 index 0aa6b25e2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getOrdersByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\OrderPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\OrderPage $rval - * @return \Google\AdsApi\AdManager\v202308\getOrdersByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getPlacementsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getPlacementsByStatementResponse.php deleted file mode 100644 index cd12ac97e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getPlacementsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\PlacementPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\PlacementPage $rval - * @return \Google\AdsApi\AdManager\v202308\getPlacementsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getPreviewUrlsForNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202308/getPreviewUrlsForNativeStylesResponse.php deleted file mode 100644 index 6acd14799..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getPreviewUrlsForNativeStylesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeNativeStylePreview[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeNativeStylePreview[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getPreviewUrlsForNativeStylesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getProposalLineItemsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getProposalLineItemsByStatementResponse.php deleted file mode 100644 index 5bfe048e8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getProposalLineItemsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItemPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItemPage $rval - * @return \Google\AdsApi\AdManager\v202308\getProposalLineItemsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getProposalsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getProposalsByStatementResponse.php deleted file mode 100644 index 9f16c9a5c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getProposalsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalPage $rval - * @return \Google\AdsApi\AdManager\v202308\getProposalsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSamSessionsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getSamSessionsByStatementResponse.php deleted file mode 100644 index fa480525d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSamSessionsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SamSession[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SamSession[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getSamSessionsByStatementResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSavedQueriesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getSavedQueriesByStatementResponse.php deleted file mode 100644 index 9ec21cc67..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSavedQueriesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SavedQueryPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SavedQueryPage $rval - * @return \Google\AdsApi\AdManager\v202308\getSavedQueriesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202308/getSegmentPopulationResultsByIdsResponse.php deleted file mode 100644 index 3ec708e0c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSegmentPopulationResultsByIdsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResults[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SegmentPopulationResults[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getSegmentPopulationResultsByIdsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSitesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getSitesByStatementResponse.php deleted file mode 100644 index 4c3467bd4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSitesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SitePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SitePage $rval - * @return \Google\AdsApi\AdManager\v202308\getSitesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSlatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getSlatesByStatementResponse.php deleted file mode 100644 index c24f2f657..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSlatesByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SlatePage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SlatePage $rval - * @return \Google\AdsApi\AdManager\v202308\getSlatesByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getSuggestedAdUnitsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getSuggestedAdUnitsByStatementResponse.php deleted file mode 100644 index 169d30520..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getSuggestedAdUnitsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SuggestedAdUnitPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SuggestedAdUnitPage $rval - * @return \Google\AdsApi\AdManager\v202308\getSuggestedAdUnitsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getTargetingPresetsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getTargetingPresetsByStatementResponse.php deleted file mode 100644 index 9223dc8a0..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getTargetingPresetsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TargetingPresetPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TargetingPresetPage $rval - * @return \Google\AdsApi\AdManager\v202308\getTargetingPresetsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getTeamsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getTeamsByStatementResponse.php deleted file mode 100644 index 033d6ebdf..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getTeamsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TeamPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TeamPage $rval - * @return \Google\AdsApi\AdManager\v202308\getTeamsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getTrafficDataResponse.php b/src/Google/AdsApi/AdManager/v202308/getTrafficDataResponse.php deleted file mode 100644 index ab44ffef5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getTrafficDataResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrafficDataResponse - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrafficDataResponse $rval - * @return \Google\AdsApi\AdManager\v202308\getTrafficDataResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getTrafficForecastSegmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getTrafficForecastSegmentsByStatementResponse.php deleted file mode 100644 index 55ad1c206..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getTrafficForecastSegmentsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegmentPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrafficForecastSegmentPage $rval - * @return \Google\AdsApi\AdManager\v202308\getTrafficForecastSegmentsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getUserTeamAssociationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getUserTeamAssociationsByStatementResponse.php deleted file mode 100644 index 29dba4e7d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getUserTeamAssociationsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociationPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociationPage $rval - * @return \Google\AdsApi\AdManager\v202308\getUserTeamAssociationsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getUsersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getUsersByStatementResponse.php deleted file mode 100644 index 2f2374ada..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getUsersByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UserPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UserPage $rval - * @return \Google\AdsApi\AdManager\v202308\getUsersByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getYieldGroupsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202308/getYieldGroupsByStatementResponse.php deleted file mode 100644 index 9b55e5d5a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getYieldGroupsByStatementResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldGroupPage - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldGroupPage $rval - * @return \Google\AdsApi\AdManager\v202308\getYieldGroupsByStatementResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202308/getYieldPartnersResponse.php deleted file mode 100644 index 46ddc70f9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/getYieldPartnersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldPartner[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldPartner[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\getYieldPartnersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/makeTestNetworkResponse.php b/src/Google/AdsApi/AdManager/v202308/makeTestNetworkResponse.php deleted file mode 100644 index 8f4229602..000000000 --- a/src/Google/AdsApi/AdManager/v202308/makeTestNetworkResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Network - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Network $rval - * @return \Google\AdsApi\AdManager\v202308\makeTestNetworkResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performAdRuleActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performAdRuleActionResponse.php deleted file mode 100644 index 170d3ad4b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performAdRuleActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performAdRuleActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performAdUnitActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performAdUnitActionResponse.php deleted file mode 100644 index 3aef31055..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performAdUnitActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performAdUnitActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performAudienceSegmentActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performAudienceSegmentActionResponse.php deleted file mode 100644 index 994847e75..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performAudienceSegmentActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performAudienceSegmentActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCdnConfigurationActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCdnConfigurationActionResponse.php deleted file mode 100644 index 71a4170a4..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCdnConfigurationActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCdnConfigurationActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCmsMetadataKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCmsMetadataKeyActionResponse.php deleted file mode 100644 index 5340e2d65..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCmsMetadataKeyActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCmsMetadataKeyActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCmsMetadataValueActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCmsMetadataValueActionResponse.php deleted file mode 100644 index e083a3418..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCmsMetadataValueActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCmsMetadataValueActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCompanyActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCompanyActionResponse.php deleted file mode 100644 index 85269e19f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCompanyActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCompanyActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performContentBundleActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performContentBundleActionResponse.php deleted file mode 100644 index 23a7dd3f1..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performContentBundleActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performContentBundleActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCreativeActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCreativeActionResponse.php deleted file mode 100644 index 0eda9c378..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCreativeActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCreativeActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCreativeWrapperActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCreativeWrapperActionResponse.php deleted file mode 100644 index 3076d69a8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCreativeWrapperActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCreativeWrapperActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCustomFieldActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCustomFieldActionResponse.php deleted file mode 100644 index 4e3e1cc0f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCustomFieldActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCustomFieldActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCustomTargetingKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCustomTargetingKeyActionResponse.php deleted file mode 100644 index 5dd19210b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCustomTargetingKeyActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCustomTargetingKeyActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performCustomTargetingValueActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performCustomTargetingValueActionResponse.php deleted file mode 100644 index f5f2f6f62..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performCustomTargetingValueActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performCustomTargetingValueActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performDaiAuthenticationKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performDaiAuthenticationKeyActionResponse.php deleted file mode 100644 index 85931bfac..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performDaiAuthenticationKeyActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performDaiAuthenticationKeyActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performDaiEncodingProfileActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performDaiEncodingProfileActionResponse.php deleted file mode 100644 index b6d0f08a3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performDaiEncodingProfileActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performDaiEncodingProfileActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performForecastAdjustmentActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performForecastAdjustmentActionResponse.php deleted file mode 100644 index a3392b42b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performForecastAdjustmentActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performForecastAdjustmentActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performLabelActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performLabelActionResponse.php deleted file mode 100644 index eb30ffead..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performLabelActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performLabelActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performLineItemActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performLineItemActionResponse.php deleted file mode 100644 index 57c12b25c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performLineItemActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performLineItemActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performLineItemCreativeAssociationActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performLineItemCreativeAssociationActionResponse.php deleted file mode 100644 index a744d33f3..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performLineItemCreativeAssociationActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performLineItemCreativeAssociationActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performLiveStreamEventActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performLiveStreamEventActionResponse.php deleted file mode 100644 index 1816f7847..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performLiveStreamEventActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performLiveStreamEventActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performMobileApplicationActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performMobileApplicationActionResponse.php deleted file mode 100644 index 6280694aa..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performMobileApplicationActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performMobileApplicationActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performNativeStyleActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performNativeStyleActionResponse.php deleted file mode 100644 index d9ad04bd2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performNativeStyleActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performNativeStyleActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performOrderActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performOrderActionResponse.php deleted file mode 100644 index fb6873b34..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performOrderActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performOrderActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performPlacementActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performPlacementActionResponse.php deleted file mode 100644 index c8c635e78..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performPlacementActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performPlacementActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performProposalActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performProposalActionResponse.php deleted file mode 100644 index b29c869fb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performProposalActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performProposalActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performProposalLineItemActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performProposalLineItemActionResponse.php deleted file mode 100644 index e4dc3de4a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performProposalLineItemActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performProposalLineItemActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performSegmentPopulationActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performSegmentPopulationActionResponse.php deleted file mode 100644 index 273364d9c..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performSegmentPopulationActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performSegmentPopulationActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performSiteActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performSiteActionResponse.php deleted file mode 100644 index 3298d73ea..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performSiteActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performSiteActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performSlateActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performSlateActionResponse.php deleted file mode 100644 index fa0e778eb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performSlateActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performSlateActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performSuggestedAdUnitActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performSuggestedAdUnitActionResponse.php deleted file mode 100644 index c17790b00..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performSuggestedAdUnitActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SuggestedAdUnitUpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SuggestedAdUnitUpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performSuggestedAdUnitActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performTeamActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performTeamActionResponse.php deleted file mode 100644 index fb3925c79..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performTeamActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performTeamActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performUserActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performUserActionResponse.php deleted file mode 100644 index ce29ce316..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performUserActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performUserActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/performUserTeamAssociationActionResponse.php b/src/Google/AdsApi/AdManager/v202308/performUserTeamAssociationActionResponse.php deleted file mode 100644 index aae4dbc3f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/performUserTeamAssociationActionResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\performUserTeamAssociationActionResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/pushCreativeToDevicesResponse.php b/src/Google/AdsApi/AdManager/v202308/pushCreativeToDevicesResponse.php deleted file mode 100644 index 92c95c499..000000000 --- a/src/Google/AdsApi/AdManager/v202308/pushCreativeToDevicesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UpdateResult - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UpdateResult $rval - * @return \Google\AdsApi\AdManager\v202308\pushCreativeToDevicesResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/runReportJobResponse.php b/src/Google/AdsApi/AdManager/v202308/runReportJobResponse.php deleted file mode 100644 index 5b811ca2a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/runReportJobResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ReportJob - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ReportJob $rval - * @return \Google\AdsApi\AdManager\v202308\runReportJobResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/selectResponse.php b/src/Google/AdsApi/AdManager/v202308/selectResponse.php deleted file mode 100644 index 601820088..000000000 --- a/src/Google/AdsApi/AdManager/v202308/selectResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ResultSet - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ResultSet $rval - * @return \Google\AdsApi\AdManager\v202308\selectResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateActivitiesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateActivitiesResponse.php deleted file mode 100644 index bd03c59c6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateActivitiesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Activity[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Activity[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateActivitiesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateActivityGroupsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateActivityGroupsResponse.php deleted file mode 100644 index b9c332911..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateActivityGroupsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ActivityGroup[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ActivityGroup[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateActivityGroupsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateAdRulesResponse.php deleted file mode 100644 index e63e9b889..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateAdRulesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdRule[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdRule[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateAdRulesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateAdSpotsResponse.php deleted file mode 100644 index e65100306..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateAdSpotsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdSpot[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdSpot[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateAdSpotsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateAdUnitsResponse.php deleted file mode 100644 index dc85e243b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateAdUnitsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\AdUnit[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\AdUnit[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateAdUnitsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateAudienceSegmentsResponse.php deleted file mode 100644 index f26833f04..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateAudienceSegmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\FirstPartyAudienceSegment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateAudienceSegmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateBreakTemplatesResponse.php deleted file mode 100644 index cfeea217a..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateBreakTemplatesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\BreakTemplate[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\BreakTemplate[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateBreakTemplatesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCdnConfigurationsResponse.php deleted file mode 100644 index d2ac20a18..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCdnConfigurationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CdnConfiguration[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CdnConfiguration[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCdnConfigurationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCompaniesResponse.php deleted file mode 100644 index cd1801b8b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCompaniesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Company[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Company[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCompaniesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateContactsResponse.php deleted file mode 100644 index 086557a05..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateContactsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Contact[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Contact[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateContactsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateContentBundlesResponse.php deleted file mode 100644 index 5c1422738..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateContentBundlesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ContentBundle[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ContentBundle[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateContentBundlesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCreativeSetResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCreativeSetResponse.php deleted file mode 100644 index 45aabf8a7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCreativeSetResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeSet - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeSet $rval - * @return \Google\AdsApi\AdManager\v202308\updateCreativeSetResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCreativeWrappersResponse.php deleted file mode 100644 index 9a2a16da9..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCreativeWrappersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CreativeWrapper[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CreativeWrapper[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCreativeWrappersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCreativesResponse.php deleted file mode 100644 index 4399d2bfd..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCreativesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Creative[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Creative[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCreativesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCustomFieldOptionsResponse.php deleted file mode 100644 index f0e04b58e..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCustomFieldOptionsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomFieldOption[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomFieldOption[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCustomFieldOptionsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCustomFieldsResponse.php deleted file mode 100644 index 8fe2429bb..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCustomFieldsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomField[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomField[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCustomFieldsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingKeysResponse.php deleted file mode 100644 index 596019bc5..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingKeysResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingKey[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingKey[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCustomTargetingKeysResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingValuesResponse.php deleted file mode 100644 index c50082fb8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateCustomTargetingValuesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\CustomTargetingValue[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\CustomTargetingValue[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateCustomTargetingValuesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202308/updateDaiAuthenticationKeysResponse.php deleted file mode 100644 index 763b65ba6..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateDaiAuthenticationKeysResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiAuthenticationKey[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateDaiAuthenticationKeysResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateDaiEncodingProfilesResponse.php deleted file mode 100644 index ab1acfdc2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateDaiEncodingProfilesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\DaiEncodingProfile[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateDaiEncodingProfilesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateForecastAdjustmentsResponse.php deleted file mode 100644 index 0a94112a8..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateForecastAdjustmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ForecastAdjustment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ForecastAdjustment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateForecastAdjustmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateLabelsResponse.php deleted file mode 100644 index e69468dcc..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateLabelsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Label[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Label[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateLabelsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateLineItemCreativeAssociationsResponse.php deleted file mode 100644 index dfc69933b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateLineItemCreativeAssociationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItemCreativeAssociation[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateLineItemCreativeAssociationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateLineItemsResponse.php deleted file mode 100644 index 2c9998ebc..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateLineItemsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LineItem[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LineItem[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateLineItemsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateLiveStreamEventsResponse.php deleted file mode 100644 index d4cd9047b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateLiveStreamEventsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\LiveStreamEvent[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateLiveStreamEventsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateMobileApplicationsResponse.php deleted file mode 100644 index 9ed5f7f78..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateMobileApplicationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\MobileApplication[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\MobileApplication[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateMobileApplicationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateNativeStylesResponse.php deleted file mode 100644 index c21e5a293..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateNativeStylesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\NativeStyle[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\NativeStyle[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateNativeStylesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateNetworkResponse.php b/src/Google/AdsApi/AdManager/v202308/updateNetworkResponse.php deleted file mode 100644 index 6c50423bf..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateNetworkResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Network - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Network $rval - * @return \Google\AdsApi\AdManager\v202308\updateNetworkResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202308/updateOrdersResponse.php deleted file mode 100644 index 5258d9656..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateOrdersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Order[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Order[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateOrdersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202308/updatePlacementsResponse.php deleted file mode 100644 index d25d4aa5f..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updatePlacementsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Placement[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Placement[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updatePlacementsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateProposalLineItemsResponse.php deleted file mode 100644 index 0b66c438b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateProposalLineItemsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\ProposalLineItem[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ProposalLineItem[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateProposalLineItemsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateProposalsResponse.php deleted file mode 100644 index 597771c7b..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateProposalsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Proposal[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Proposal[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateProposalsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateSegmentMembershipsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateSegmentMembershipsResponse.php deleted file mode 100644 index 56b0f3ea7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateSegmentMembershipsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\SegmentPopulationResponse - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\SegmentPopulationResponse $rval - * @return \Google\AdsApi\AdManager\v202308\updateSegmentMembershipsResponse - */ - public function setRval($rval) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateSitesResponse.php deleted file mode 100644 index be596e173..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateSitesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Site[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Site[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateSitesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202308/updateSlatesResponse.php deleted file mode 100644 index ca67b51ef..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateSlatesResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Slate[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Slate[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateSlatesResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateTeamsResponse.php deleted file mode 100644 index 411761a50..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateTeamsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\Team[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\Team[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateTeamsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateTrafficForecastSegmentsResponse.php deleted file mode 100644 index 5f95a4c1d..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateTrafficForecastSegmentsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\TrafficForecastSegment[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateTrafficForecastSegmentsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateUserTeamAssociationsResponse.php deleted file mode 100644 index 9d1f042d7..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateUserTeamAssociationsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\UserTeamAssociation[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\UserTeamAssociation[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateUserTeamAssociationsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202308/updateUsersResponse.php deleted file mode 100644 index 8ec5dacc2..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateUsersResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\User[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\User[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateUsersResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202308/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202308/updateYieldGroupsResponse.php deleted file mode 100644 index a0b413a41..000000000 --- a/src/Google/AdsApi/AdManager/v202308/updateYieldGroupsResponse.php +++ /dev/null @@ -1,43 +0,0 @@ -rval = $rval; - } - - /** - * @return \Google\AdsApi\AdManager\v202308\YieldGroup[] - */ - public function getRval() - { - return $this->rval; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\YieldGroup[]|null $rval - * @return \Google\AdsApi\AdManager\v202308\updateYieldGroupsResponse - */ - public function setRval(array $rval = null) - { - $this->rval = $rval; - return $this; - } - -} diff --git a/src/Google/AdsApi/AdManager/v202311/SiteService.php b/src/Google/AdsApi/AdManager/v202311/SiteService.php index 38e07fa83..ed3f133ae 100644 --- a/src/Google/AdsApi/AdManager/v202311/SiteService.php +++ b/src/Google/AdsApi/AdManager/v202311/SiteService.php @@ -14,6 +14,7 @@ class SiteService extends \Google\AdsApi\Common\AdsSoapClient */ private static $classmap = array ( 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202311\\ObjectValue', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202311\\AdSenseAccountError', 'ApiError' => 'Google\\AdsApi\\AdManager\\v202311\\ApiError', 'ApiException' => 'Google\\AdsApi\\AdManager\\v202311\\ApiException', 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202311\\ApiVersionError', diff --git a/src/Google/AdsApi/AdManager/v202402/SiteService.php b/src/Google/AdsApi/AdManager/v202402/SiteService.php index b8934f96b..6826714df 100644 --- a/src/Google/AdsApi/AdManager/v202402/SiteService.php +++ b/src/Google/AdsApi/AdManager/v202402/SiteService.php @@ -14,6 +14,7 @@ class SiteService extends \Google\AdsApi\Common\AdsSoapClient */ private static $classmap = array ( 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202402\\ObjectValue', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202402\\AdSenseAccountError', 'ApiError' => 'Google\\AdsApi\\AdManager\\v202402\\ApiError', 'ApiException' => 'Google\\AdsApi\\AdManager\\v202402\\ApiException', 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202402\\ApiVersionError', diff --git a/src/Google/AdsApi/AdManager/v202405/SiteService.php b/src/Google/AdsApi/AdManager/v202405/SiteService.php index 2d8fb9f5d..9acdb3411 100644 --- a/src/Google/AdsApi/AdManager/v202405/SiteService.php +++ b/src/Google/AdsApi/AdManager/v202405/SiteService.php @@ -14,6 +14,7 @@ class SiteService extends \Google\AdsApi\Common\AdsSoapClient */ private static $classmap = array ( 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202405\\ObjectValue', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202405\\AdSenseAccountError', 'ApiError' => 'Google\\AdsApi\\AdManager\\v202405\\ApiError', 'ApiException' => 'Google\\AdsApi\\AdManager\\v202405\\ApiException', 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202405\\ApiVersionError', diff --git a/src/Google/AdsApi/AdManager/v202308/AbstractDisplaySettings.php b/src/Google/AdsApi/AdManager/v202408/AbstractDisplaySettings.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/AbstractDisplaySettings.php rename to src/Google/AdsApi/AdManager/v202408/AbstractDisplaySettings.php index ea4085cde..1323dc069 100644 --- a/src/Google/AdsApi/AdManager/v202308/AbstractDisplaySettings.php +++ b/src/Google/AdsApi/AdManager/v202408/AbstractDisplaySettings.php @@ -1,6 +1,6 @@ isNativeEligible = $isNativeEligible; + $this->isInterstitial = $isInterstitial; + $this->isAllowsAllRequestedSizes = $isAllowsAllRequestedSizes; + } + + /** + * @return boolean + */ + public function getIsNativeEligible() + { + return $this->isNativeEligible; + } + + /** + * @param boolean $isNativeEligible + * @return \Google\AdsApi\AdManager\v202408\AdExchangeCreative + */ + public function setIsNativeEligible($isNativeEligible) + { + $this->isNativeEligible = $isNativeEligible; + return $this; + } + + /** + * @return boolean + */ + public function getIsInterstitial() + { + return $this->isInterstitial; + } + + /** + * @param boolean $isInterstitial + * @return \Google\AdsApi\AdManager\v202408\AdExchangeCreative + */ + public function setIsInterstitial($isInterstitial) + { + $this->isInterstitial = $isInterstitial; + return $this; + } + + /** + * @return boolean + */ + public function getIsAllowsAllRequestedSizes() + { + return $this->isAllowsAllRequestedSizes; + } + + /** + * @param boolean $isAllowsAllRequestedSizes + * @return \Google\AdsApi\AdManager\v202408\AdExchangeCreative + */ + public function setIsAllowsAllRequestedSizes($isAllowsAllRequestedSizes) + { + $this->isAllowsAllRequestedSizes = $isAllowsAllRequestedSizes; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AdExchangeEnvironment.php b/src/Google/AdsApi/AdManager/v202408/AdExchangeEnvironment.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/AdExchangeEnvironment.php rename to src/Google/AdsApi/AdManager/v202408/AdExchangeEnvironment.php index 464424605..3e9c636ae 100644 --- a/src/Google/AdsApi/AdManager/v202308/AdExchangeEnvironment.php +++ b/src/Google/AdsApi/AdManager/v202408/AdExchangeEnvironment.php @@ -1,6 +1,6 @@ requestUrl = $requestUrl; + $this->isVmapRequest = $isVmapRequest; + $this->responseBody = $responseBody; + $this->redirectResponses = $redirectResponses; + $this->samError = $samError; + $this->adErrors = $adErrors; + } + + /** + * @return string + */ + public function getRequestUrl() + { + return $this->requestUrl; + } + + /** + * @param string $requestUrl + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setRequestUrl($requestUrl) + { + $this->requestUrl = $requestUrl; + return $this; + } + + /** + * @return boolean + */ + public function getIsVmapRequest() + { + return $this->isVmapRequest; + } + + /** + * @param boolean $isVmapRequest + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setIsVmapRequest($isVmapRequest) + { + $this->isVmapRequest = $isVmapRequest; + return $this; + } + + /** + * @return string + */ + public function getResponseBody() + { + return $this->responseBody; + } + + /** + * @param string $responseBody + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setResponseBody($responseBody) + { + $this->responseBody = $responseBody; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdResponse[] + */ + public function getRedirectResponses() + { + return $this->redirectResponses; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdResponse[]|null $redirectResponses + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setRedirectResponses(array $redirectResponses = null) + { + $this->redirectResponses = $redirectResponses; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SamError + */ + public function getSamError() + { + return $this->samError; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SamError $samError + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setSamError($samError) + { + $this->samError = $samError; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SamError[] + */ + public function getAdErrors() + { + return $this->adErrors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SamError[]|null $adErrors + * @return \Google\AdsApi\AdManager\v202408\AdResponse + */ + public function setAdErrors(array $adErrors = null) + { + $this->adErrors = $adErrors; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/AdRule.php b/src/Google/AdsApi/AdManager/v202408/AdRule.php new file mode 100644 index 000000000..8fb92d4da --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/AdRule.php @@ -0,0 +1,394 @@ +id = $id; + $this->name = $name; + $this->priority = $priority; + $this->targeting = $targeting; + $this->startDateTime = $startDateTime; + $this->startDateTimeType = $startDateTimeType; + $this->endDateTime = $endDateTime; + $this->unlimitedEndDateTime = $unlimitedEndDateTime; + $this->status = $status; + $this->frequencyCapBehavior = $frequencyCapBehavior; + $this->maxImpressionsPerLineItemPerStream = $maxImpressionsPerLineItemPerStream; + $this->maxImpressionsPerLineItemPerPod = $maxImpressionsPerLineItemPerPod; + $this->preroll = $preroll; + $this->midroll = $midroll; + $this->postroll = $postroll; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return int + */ + public function getPriority() + { + return $this->priority; + } + + /** + * @param int $priority + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setPriority($priority) + { + $this->priority = $priority; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return string + */ + public function getStartDateTimeType() + { + return $this->startDateTimeType; + } + + /** + * @param string $startDateTimeType + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setStartDateTimeType($startDateTimeType) + { + $this->startDateTimeType = $startDateTimeType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + + /** + * @return boolean + */ + public function getUnlimitedEndDateTime() + { + return $this->unlimitedEndDateTime; + } + + /** + * @param boolean $unlimitedEndDateTime + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setUnlimitedEndDateTime($unlimitedEndDateTime) + { + $this->unlimitedEndDateTime = $unlimitedEndDateTime; + return $this; + } + + /** + * @return string + */ + public function getStatus() + { + return $this->status; + } + + /** + * @param string $status + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setStatus($status) + { + $this->status = $status; + return $this; + } + + /** + * @return string + */ + public function getFrequencyCapBehavior() + { + return $this->frequencyCapBehavior; + } + + /** + * @param string $frequencyCapBehavior + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setFrequencyCapBehavior($frequencyCapBehavior) + { + $this->frequencyCapBehavior = $frequencyCapBehavior; + return $this; + } + + /** + * @return int + */ + public function getMaxImpressionsPerLineItemPerStream() + { + return $this->maxImpressionsPerLineItemPerStream; + } + + /** + * @param int $maxImpressionsPerLineItemPerStream + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setMaxImpressionsPerLineItemPerStream($maxImpressionsPerLineItemPerStream) + { + $this->maxImpressionsPerLineItemPerStream = $maxImpressionsPerLineItemPerStream; + return $this; + } + + /** + * @return int + */ + public function getMaxImpressionsPerLineItemPerPod() + { + return $this->maxImpressionsPerLineItemPerPod; + } + + /** + * @param int $maxImpressionsPerLineItemPerPod + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setMaxImpressionsPerLineItemPerPod($maxImpressionsPerLineItemPerPod) + { + $this->maxImpressionsPerLineItemPerPod = $maxImpressionsPerLineItemPerPod; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot + */ + public function getPreroll() + { + return $this->preroll; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot $preroll + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setPreroll($preroll) + { + $this->preroll = $preroll; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot + */ + public function getMidroll() + { + return $this->midroll; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot $midroll + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setMidroll($midroll) + { + $this->midroll = $midroll; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot + */ + public function getPostroll() + { + return $this->postroll; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseAdRuleSlot $postroll + * @return \Google\AdsApi\AdManager\v202408\AdRule + */ + public function setPostroll($postroll) + { + $this->postroll = $postroll; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AdRuleAction.php b/src/Google/AdsApi/AdManager/v202408/AdRuleAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/AdRuleAction.php rename to src/Google/AdsApi/AdManager/v202408/AdRuleAction.php index dbbf19c63..b93516eef 100644 --- a/src/Google/AdsApi/AdManager/v202308/AdRuleAction.php +++ b/src/Google/AdsApi/AdManager/v202408/AdRuleAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateAdRules' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateAdRules', + 'AdRuleAction' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleAction', + 'AdRuleDateError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleDateError', + 'AdRule' => 'Google\\AdsApi\\AdManager\\v202408\\AdRule', + 'AdRuleError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleError', + 'AdRuleFrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleFrequencyCapError', + 'NoPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202408\\NoPoddingAdRuleSlot', + 'OptimizedPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202408\\OptimizedPoddingAdRuleSlot', + 'AdRulePage' => 'Google\\AdsApi\\AdManager\\v202408\\AdRulePage', + 'AdRulePriorityError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRulePriorityError', + 'BaseAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202408\\BaseAdRuleSlot', + 'AdRuleSlotError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleSlotError', + 'StandardPoddingAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202408\\StandardPoddingAdRuleSlot', + 'AdRuleTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\AdRuleTargetingError', + 'AdSpot' => 'Google\\AdsApi\\AdManager\\v202408\\AdSpot', + 'AdSpotPage' => 'Google\\AdsApi\\AdManager\\v202408\\AdSpotPage', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'BreakTemplate' => 'Google\\AdsApi\\AdManager\\v202408\\BreakTemplate', + 'BreakTemplate.BreakTemplateMember' => 'Google\\AdsApi\\AdManager\\v202408\\BreakTemplateBreakTemplateMember', + 'BreakTemplatePage' => 'Google\\AdsApi\\AdManager\\v202408\\BreakTemplatePage', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DeactivateAdRules' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateAdRules', + 'DeleteAdRules' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteAdRules', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PoddingError' => 'Google\\AdsApi\\AdManager\\v202408\\PoddingError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UnknownAdRuleSlot' => 'Google\\AdsApi\\AdManager\\v202408\\UnknownAdRuleSlot', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createAdRulesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createAdRulesResponse', + 'createAdSpotsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createAdSpotsResponse', + 'createBreakTemplatesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createBreakTemplatesResponse', + 'getAdRulesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAdRulesByStatementResponse', + 'getAdSpotsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAdSpotsByStatementResponse', + 'getBreakTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getBreakTemplatesByStatementResponse', + 'performAdRuleActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performAdRuleActionResponse', + 'updateAdRulesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateAdRulesResponse', + 'updateAdSpotsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateAdSpotsResponse', + 'updateBreakTemplatesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateBreakTemplatesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/AdRuleService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link AdRule} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdRule[] $adRules + * @return \Google\AdsApi\AdManager\v202408\AdRule[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createAdRules(array $adRules) + { + return $this->__soapCall('createAdRules', array(array('adRules' => $adRules)))->getRval(); + } + + /** + * Creates new {@link AdSpot} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdSpot[] $adSpots + * @return \Google\AdsApi\AdManager\v202408\AdSpot[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createAdSpots(array $adSpots) + { + return $this->__soapCall('createAdSpots', array(array('adSpots' => $adSpots)))->getRval(); + } + + /** + * Creates new {@link breakTemplate} objects. + * + * @param \Google\AdsApi\AdManager\v202408\BreakTemplate[] $breakTemplate + * @return \Google\AdsApi\AdManager\v202408\BreakTemplate[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createBreakTemplates(array $breakTemplate) + { + return $this->__soapCall('createBreakTemplates', array(array('breakTemplate' => $breakTemplate)))->getRval(); + } + + /** + * Gets an {@link AdRulePage} of {@link AdRule} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link AdRule#id} ({@link AdRule#adRuleId} beginning in v201702)
{@code name}{@link AdRule#name}
{@code priority}{@link AdRule#priority}
{@code status}{@link AdRule#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\AdRulePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAdRulesByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getAdRulesByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Gets a {@link AdSpotPage} of {@link AdSpot} objects that satisfy the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\AdSpotPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAdSpotsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getAdSpotsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link BreakTemplatePage} of {@link BreakTemplate} objects that satisfy the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\BreakTemplatePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getBreakTemplatesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getBreakTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link AdRule} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\AdRuleAction $adRuleAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performAdRuleAction(\Google\AdsApi\AdManager\v202408\AdRuleAction $adRuleAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performAdRuleAction', array(array('adRuleAction' => $adRuleAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link AdRule} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdRule[] $adRules + * @return \Google\AdsApi\AdManager\v202408\AdRule[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateAdRules(array $adRules) + { + return $this->__soapCall('updateAdRules', array(array('adRules' => $adRules)))->getRval(); + } + + /** + * Updates the specified {@link AdSpot} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdSpot[] $adSpots + * @return \Google\AdsApi\AdManager\v202408\AdSpot[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateAdSpots(array $adSpots) + { + return $this->__soapCall('updateAdSpots', array(array('adSpots' => $adSpots)))->getRval(); + } + + /** + * Updates the specified {@link breakTemplate} objects. + * + * @param \Google\AdsApi\AdManager\v202408\BreakTemplate[] $breakTemplate + * @return \Google\AdsApi\AdManager\v202408\BreakTemplate[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateBreakTemplates(array $breakTemplate) + { + return $this->__soapCall('updateBreakTemplates', array(array('breakTemplate' => $breakTemplate)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AdRuleSlotBehavior.php b/src/Google/AdsApi/AdManager/v202408/AdRuleSlotBehavior.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/AdRuleSlotBehavior.php rename to src/Google/AdsApi/AdManager/v202408/AdRuleSlotBehavior.php index 965414284..82c1dc466 100644 --- a/src/Google/AdsApi/AdManager/v202308/AdRuleSlotBehavior.php +++ b/src/Google/AdsApi/AdManager/v202408/AdRuleSlotBehavior.php @@ -1,6 +1,6 @@ size = $size; + $this->environmentType = $environmentType; + $this->companions = $companions; + $this->fullDisplayString = $fullDisplayString; + $this->isAudio = $isAudio; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Size + */ + public function getSize() + { + return $this->size; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Size $size + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize + */ + public function setSize($size) + { + $this->size = $size; + return $this; + } + + /** + * @return string + */ + public function getEnvironmentType() + { + return $this->environmentType; + } + + /** + * @param string $environmentType + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize + */ + public function setEnvironmentType($environmentType) + { + $this->environmentType = $environmentType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize[] + */ + public function getCompanions() + { + return $this->companions; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnitSize[]|null $companions + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize + */ + public function setCompanions(array $companions = null) + { + $this->companions = $companions; + return $this; + } + + /** + * @return string + */ + public function getFullDisplayString() + { + return $this->fullDisplayString; + } + + /** + * @param string $fullDisplayString + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize + */ + public function setFullDisplayString($fullDisplayString) + { + $this->fullDisplayString = $fullDisplayString; + return $this; + } + + /** + * @return boolean + */ + public function getIsAudio() + { + return $this->isAudio; + } + + /** + * @param boolean $isAudio + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize + */ + public function setIsAudio($isAudio) + { + $this->isAudio = $isAudio; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AdUnitTargetWindow.php b/src/Google/AdsApi/AdManager/v202408/AdUnitTargetWindow.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/AdUnitTargetWindow.php rename to src/Google/AdsApi/AdManager/v202408/AdUnitTargetWindow.php index 6caaeef20..aeffd520b 100644 --- a/src/Google/AdsApi/AdManager/v202308/AdUnitTargetWindow.php +++ b/src/Google/AdsApi/AdManager/v202408/AdUnitTargetWindow.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateForecastAdjustments' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateForecastAdjustments', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'DailyVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202408\\DailyVolumeSettings', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateError' => 'Google\\AdsApi\\AdManager\\v202408\\DateError', + 'DateRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateRange', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DeactivateForecastAdjustments' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateForecastAdjustments', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastAdjustmentAction' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastAdjustmentAction', + 'ForecastAdjustment' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastAdjustment', + 'ForecastAdjustmentError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastAdjustmentError', + 'ForecastAdjustmentPage' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastAdjustmentPage', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'HistoricalBasisVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202408\\HistoricalBasisVolumeSettings', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitError', + 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitSizesError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TotalVolumeSettings' => 'Google\\AdsApi\\AdManager\\v202408\\TotalVolumeSettings', + 'TrafficForecastSegment' => 'Google\\AdsApi\\AdManager\\v202408\\TrafficForecastSegment', + 'TrafficForecastSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\TrafficForecastSegmentError', + 'TrafficForecastSegmentPage' => 'Google\\AdsApi\\AdManager\\v202408\\TrafficForecastSegmentPage', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'calculateDailyAdOpportunityCountsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\calculateDailyAdOpportunityCountsResponse', + 'createForecastAdjustmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createForecastAdjustmentsResponse', + 'createTrafficForecastSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createTrafficForecastSegmentsResponse', + 'getForecastAdjustmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getForecastAdjustmentsByStatementResponse', + 'getTrafficForecastSegmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getTrafficForecastSegmentsByStatementResponse', + 'performForecastAdjustmentActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performForecastAdjustmentActionResponse', + 'updateForecastAdjustmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateForecastAdjustmentsResponse', + 'updateTrafficForecastSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateTrafficForecastSegmentsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/AdjustmentService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Takes a prospective forecast adjustment and calculates the daily ad opportunity counts + * corresponding to its provided volume settings. + * + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment $forecastAdjustment + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function calculateDailyAdOpportunityCounts(\Google\AdsApi\AdManager\v202408\ForecastAdjustment $forecastAdjustment) + { + return $this->__soapCall('calculateDailyAdOpportunityCounts', array(array('forecastAdjustment' => $forecastAdjustment)))->getRval(); + } + + /** + * Creates new {@link ForecastAdjustment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] $forecastAdjustments + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createForecastAdjustments(array $forecastAdjustments) + { + return $this->__soapCall('createForecastAdjustments', array(array('forecastAdjustments' => $forecastAdjustments)))->getRval(); + } + + /** + * Creates new {@link TrafficForecastSegment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] $trafficForecastSegments + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createTrafficForecastSegments(array $trafficForecastSegments) + { + return $this->__soapCall('createTrafficForecastSegments', array(array('trafficForecastSegments' => $trafficForecastSegments)))->getRval(); + } + + /** + * Gets a {@link ForecastAdjustmentPage} of {@link ForecastAdjustment} objects that satisfy the + * given {@link Statement#query}. + * + *

The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link ForecastAdjustment#id}
{@code trafficForecastSegmentId}{@link ForecastAdjustment#trafficForecastSegmentId}
{@code name}{@link ForecastAdjustment#name}
{@code startDate}{@link ForecastAdjustment#startDate}
{@code endDate}{@link ForecastAdjustment#endDate}
{@code status}{@link ForecastAdjustment#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustmentPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getForecastAdjustmentsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getForecastAdjustmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link TrafficForecastSegmentPage} of {@link TrafficForecastSegment} objects that + * satisfy the given {@link Statement#query}. + * + *

The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link TrafficForecastSegment#id}
{@code name}{@link TrafficForecastSegment#name}
{@code creationTime}{@link TrafficForecastSegment#creationTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegmentPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getTrafficForecastSegmentsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getTrafficForecastSegmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link ForecastAdjustment} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustmentAction $forecastAdjustmentAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performForecastAdjustmentAction(\Google\AdsApi\AdManager\v202408\ForecastAdjustmentAction $forecastAdjustmentAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performForecastAdjustmentAction', array(array('forecastAdjustmentAction' => $forecastAdjustmentAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link ForecastAdjustment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] $forecastAdjustments + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateForecastAdjustments(array $forecastAdjustments) + { + return $this->__soapCall('updateForecastAdjustments', array(array('forecastAdjustments' => $forecastAdjustments)))->getRval(); + } + + /** + * Updates the specified {@link TrafficForecastSegment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] $trafficForecastSegments + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateTrafficForecastSegments(array $trafficForecastSegments) + { + return $this->__soapCall('updateTrafficForecastSegments', array(array('trafficForecastSegments' => $trafficForecastSegments)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/AdsTxtService.php b/src/Google/AdsApi/AdManager/v202408/AdsTxtService.php new file mode 100644 index 000000000..0804e1f79 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/AdsTxtService.php @@ -0,0 +1,73 @@ + 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'getMcmSupplyChainDiagnosticsDownloadUrlResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getMcmSupplyChainDiagnosticsDownloadUrlResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/AdsTxtService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns the download URL String for the MCM Manage Inventory SupplyChain diagnostics report. + * The report is refreshed twice daily. + * + * @return string + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getMcmSupplyChainDiagnosticsDownloadUrl() + { + return $this->__soapCall('getMcmSupplyChainDiagnosticsDownloadUrl', array(array()))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AllowedFormats.php b/src/Google/AdsApi/AdManager/v202408/AllowedFormats.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/AllowedFormats.php rename to src/Google/AdsApi/AdManager/v202408/AllowedFormats.php index a77f05cab..5745d039a 100644 --- a/src/Google/AdsApi/AdManager/v202308/AllowedFormats.php +++ b/src/Google/AdsApi/AdManager/v202408/AllowedFormats.php @@ -1,6 +1,6 @@ errors = $errors; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ApiError[] + */ + public function getErrors() + { + return $this->errors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ApiError[]|null $errors + * @return \Google\AdsApi\AdManager\v202408\ApiException + */ + public function setErrors(array $errors = null) + { + $this->errors = $errors; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ApiVersionError.php b/src/Google/AdsApi/AdManager/v202408/ApiVersionError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/ApiVersionError.php rename to src/Google/AdsApi/AdManager/v202408/ApiVersionError.php index 8d98dc66a..3b7c61e8c 100644 --- a/src/Google/AdsApi/AdManager/v202308/ApiVersionError.php +++ b/src/Google/AdsApi/AdManager/v202408/ApiVersionError.php @@ -1,12 +1,12 @@ skipInventoryCheck = $skipInventoryCheck; + } + + /** + * @return boolean + */ + public function getSkipInventoryCheck() + { + return $this->skipInventoryCheck; + } + + /** + * @param boolean $skipInventoryCheck + * @return \Google\AdsApi\AdManager\v202408\ApproveOrders + */ + public function setSkipInventoryCheck($skipInventoryCheck) + { + $this->skipInventoryCheck = $skipInventoryCheck; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ApproveOrdersWithoutReservationChanges.php b/src/Google/AdsApi/AdManager/v202408/ApproveOrdersWithoutReservationChanges.php new file mode 100644 index 000000000..f1e0267d0 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ApproveOrdersWithoutReservationChanges.php @@ -0,0 +1,18 @@ +imageAssets = $imageAssets; + $this->altText = $altText; + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + $this->overrideSize = $overrideSize; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset[] + */ + public function getImageAssets() + { + return $this->imageAssets; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset[]|null $imageAssets + * @return \Google\AdsApi\AdManager\v202408\AspectRatioImageCreative + */ + public function setImageAssets(array $imageAssets = null) + { + $this->imageAssets = $imageAssets; + return $this; + } + + /** + * @return string + */ + public function getAltText() + { + return $this->altText; + } + + /** + * @param string $altText + * @return \Google\AdsApi\AdManager\v202408\AspectRatioImageCreative + */ + public function setAltText($altText) + { + $this->altText = $altText; + return $this; + } + + /** + * @return string[] + */ + public function getThirdPartyImpressionTrackingUrls() + { + return $this->thirdPartyImpressionTrackingUrls; + } + + /** + * @param string[]|null $thirdPartyImpressionTrackingUrls + * @return \Google\AdsApi\AdManager\v202408\AspectRatioImageCreative + */ + public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + { + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + return $this; + } + + /** + * @return boolean + */ + public function getOverrideSize() + { + return $this->overrideSize; + } + + /** + * @param boolean $overrideSize + * @return \Google\AdsApi\AdManager\v202408\AspectRatioImageCreative + */ + public function setOverrideSize($overrideSize) + { + $this->overrideSize = $overrideSize; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Asset.php b/src/Google/AdsApi/AdManager/v202408/Asset.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/Asset.php rename to src/Google/AdsApi/AdManager/v202408/Asset.php index 2573d08b0..58a94f095 100644 --- a/src/Google/AdsApi/AdManager/v202308/Asset.php +++ b/src/Google/AdsApi/AdManager/v202408/Asset.php @@ -1,6 +1,6 @@ asset = $asset; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset + */ + public function getAsset() + { + return $this->asset; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset $asset + * @return \Google\AdsApi\AdManager\v202408\AssetCreativeTemplateVariableValue + */ + public function setAsset($asset) + { + $this->asset = $asset; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AssetError.php b/src/Google/AdsApi/AdManager/v202408/AssetError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/AssetError.php rename to src/Google/AdsApi/AdManager/v202408/AssetError.php index de71178ad..0914dab93 100644 --- a/src/Google/AdsApi/AdManager/v202308/AssetError.php +++ b/src/Google/AdsApi/AdManager/v202408/AssetError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateAudienceSegments', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ApproveAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202408\\ApproveAudienceSegments', + 'AudienceSegmentDataProvider' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentDataProvider', + 'AudienceSegmentPage' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentPage', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'FirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\FirstPartyAudienceSegment', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateAudienceSegments', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'ThirdPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyAudienceSegment', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NonRuleBasedFirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\NonRuleBasedFirstPartyAudienceSegment', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PopulateAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202408\\PopulateAudienceSegments', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'FirstPartyAudienceSegmentRule' => 'Google\\AdsApi\\AdManager\\v202408\\FirstPartyAudienceSegmentRule', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RejectAudienceSegments' => 'Google\\AdsApi\\AdManager\\v202408\\RejectAudienceSegments', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RuleBasedFirstPartyAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\RuleBasedFirstPartyAudienceSegment', + 'RuleBasedFirstPartyAudienceSegmentSummary' => 'Google\\AdsApi\\AdManager\\v202408\\RuleBasedFirstPartyAudienceSegmentSummary', + 'AudienceSegmentAction' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentAction', + 'AudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegment', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SharedAudienceSegment' => 'Google\\AdsApi\\AdManager\\v202408\\SharedAudienceSegment', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createAudienceSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createAudienceSegmentsResponse', + 'getAudienceSegmentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAudienceSegmentsByStatementResponse', + 'performAudienceSegmentActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performAudienceSegmentActionResponse', + 'updateAudienceSegmentsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateAudienceSegmentsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/AudienceSegmentService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link FirstPartyAudienceSegment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] $segments + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createAudienceSegments(array $segments) + { + return $this->__soapCall('createAudienceSegments', array(array('segments' => $segments)))->getRval(); + } + + /** + * Gets an {@link AudienceSegmentPage} of {@link AudienceSegment} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code id}{@link AudienceSegment#id}
{@code name}{@link AudienceSegment#name}
{@code status}{@link AudienceSegment#status}
{@code type}{@link AudienceSegment#type}
{@code size}{@link AudienceSegment#size}
{@code dataProviderName}{@link AudienceSegmentDataProvider#name}
{@code segmentType}{@link AudienceSegment#type}
{@code approvalStatus}{@link ThirdPartyAudienceSegment#approvalStatus}
{@code cost}{@link ThirdPartyAudienceSegment#cost}
{@code startDateTime}{@link ThirdPartyAudienceSegment#startDateTime}
{@code endDateTime}{@link ThirdPartyAudienceSegment#endDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\AudienceSegmentPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAudienceSegmentsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getAudienceSegmentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs the given {@link AudienceSegmentAction} on the set of segments identified by the given + * statement. + * + * @param \Google\AdsApi\AdManager\v202408\AudienceSegmentAction $action + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performAudienceSegmentAction(\Google\AdsApi\AdManager\v202408\AudienceSegmentAction $action, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performAudienceSegmentAction', array(array('action' => $action, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the given {@link FirstPartyAudienceSegment} objects. + * + * @param \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] $segments + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateAudienceSegments(array $segments) + { + return $this->__soapCall('updateAudienceSegments', array(array('segments' => $segments)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AudienceSegmentStatus.php b/src/Google/AdsApi/AdManager/v202408/AudienceSegmentStatus.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/AudienceSegmentStatus.php rename to src/Google/AdsApi/AdManager/v202408/AudienceSegmentStatus.php index 9913c709c..70dbff50d 100644 --- a/src/Google/AdsApi/AdManager/v202308/AudienceSegmentStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/AudienceSegmentStatus.php @@ -1,6 +1,6 @@ audioSourceUrl = $audioSourceUrl; + } + + /** + * @return string + */ + public function getAudioSourceUrl() + { + return $this->audioSourceUrl; + } + + /** + * @param string $audioSourceUrl + * @return \Google\AdsApi\AdManager\v202408\AudioCreative + */ + public function setAudioSourceUrl($audioSourceUrl) + { + $this->audioSourceUrl = $audioSourceUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202408/AudioRedirectCreative.php new file mode 100644 index 000000000..4088f9acc --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/AudioRedirectCreative.php @@ -0,0 +1,93 @@ +audioAssets = $audioAssets; + $this->mezzanineFile = $mezzanineFile; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectAsset[] + */ + public function getAudioAssets() + { + return $this->audioAssets; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoRedirectAsset[]|null $audioAssets + * @return \Google\AdsApi\AdManager\v202408\AudioRedirectCreative + */ + public function setAudioAssets(array $audioAssets = null) + { + $this->audioAssets = $audioAssets; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectAsset + */ + public function getMezzanineFile() + { + return $this->mezzanineFile; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoRedirectAsset $mezzanineFile + * @return \Google\AdsApi\AdManager\v202408\AudioRedirectCreative + */ + public function setMezzanineFile($mezzanineFile) + { + $this->mezzanineFile = $mezzanineFile; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/AudioSettings.php b/src/Google/AdsApi/AdManager/v202408/AudioSettings.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/AudioSettings.php rename to src/Google/AdsApi/AdManager/v202408/AudioSettings.php index 58ba031cb..624a484c0 100644 --- a/src/Google/AdsApi/AdManager/v202308/AudioSettings.php +++ b/src/Google/AdsApi/AdManager/v202408/AudioSettings.php @@ -1,6 +1,6 @@ isTargeted = $isTargeted; + $this->bandwidthGroups = $bandwidthGroups; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\BandwidthGroupTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getBandwidthGroups() + { + return $this->bandwidthGroups; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $bandwidthGroups + * @return \Google\AdsApi\AdManager\v202408\BandwidthGroupTargeting + */ + public function setBandwidthGroups(array $bandwidthGroups = null) + { + $this->bandwidthGroups = $bandwidthGroups; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/BaseAdRuleSlot.php b/src/Google/AdsApi/AdManager/v202408/BaseAdRuleSlot.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/BaseAdRuleSlot.php rename to src/Google/AdsApi/AdManager/v202408/BaseAdRuleSlot.php index de1f3a569..2b612b8a6 100644 --- a/src/Google/AdsApi/AdManager/v202308/BaseAdRuleSlot.php +++ b/src/Google/AdsApi/AdManager/v202408/BaseAdRuleSlot.php @@ -1,6 +1,6 @@ duration = $duration; $this->allowDurationOverride = $allowDurationOverride; $this->trackingUrls = $trackingUrls; @@ -115,7 +116,7 @@ public function getDuration() /** * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setDuration($duration) { @@ -133,7 +134,7 @@ public function getAllowDurationOverride() /** * @param boolean $allowDurationOverride - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setAllowDurationOverride($allowDurationOverride) { @@ -142,7 +143,7 @@ public function setAllowDurationOverride($allowDurationOverride) } /** - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[] + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[] */ public function getTrackingUrls() { @@ -150,8 +151,8 @@ public function getTrackingUrls() } /** - * @param \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @param \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setTrackingUrls(array $trackingUrls = null) { @@ -169,7 +170,7 @@ public function getCompanionCreativeIds() /** * @param int[]|null $companionCreativeIds - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setCompanionCreativeIds(array $companionCreativeIds = null) { @@ -187,7 +188,7 @@ public function getCustomParameters() /** * @param string $customParameters - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setCustomParameters($customParameters) { @@ -205,7 +206,7 @@ public function getAdId() /** * @param string $adId - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setAdId($adId) { @@ -223,7 +224,7 @@ public function getAdIdType() /** * @param string $adIdType - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setAdIdType($adIdType) { @@ -241,7 +242,7 @@ public function getSkippableAdType() /** * @param string $skippableAdType - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setSkippableAdType($skippableAdType) { @@ -259,7 +260,7 @@ public function getVastPreviewUrl() /** * @param string $vastPreviewUrl - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setVastPreviewUrl($vastPreviewUrl) { @@ -277,7 +278,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setSslScanResult($sslScanResult) { @@ -295,7 +296,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\BaseAudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseAudioCreative */ public function setSslManualOverride($sslManualOverride) { diff --git a/src/Google/AdsApi/AdManager/v202308/BaseContact.php b/src/Google/AdsApi/AdManager/v202408/BaseContact.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/BaseContact.php rename to src/Google/AdsApi/AdManager/v202408/BaseContact.php index 19a9815c8..81991afb6 100644 --- a/src/Google/AdsApi/AdManager/v202308/BaseContact.php +++ b/src/Google/AdsApi/AdManager/v202408/BaseContact.php @@ -1,6 +1,6 @@ overrideSize = $overrideSize; + $this->primaryImageAsset = $primaryImageAsset; + } + + /** + * @return boolean + */ + public function getOverrideSize() + { + return $this->overrideSize; + } + + /** + * @param boolean $overrideSize + * @return \Google\AdsApi\AdManager\v202408\BaseImageCreative + */ + public function setOverrideSize($overrideSize) + { + $this->overrideSize = $overrideSize; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset + */ + public function getPrimaryImageAsset() + { + return $this->primaryImageAsset; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset $primaryImageAsset + * @return \Google\AdsApi\AdManager\v202408\BaseImageCreative + */ + public function setPrimaryImageAsset($primaryImageAsset) + { + $this->primaryImageAsset = $primaryImageAsset; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202408/BaseImageRedirectCreative.php new file mode 100644 index 000000000..8f184f83f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/BaseImageRedirectCreative.php @@ -0,0 +1,57 @@ +imageUrl = $imageUrl; + } + + /** + * @return string + */ + public function getImageUrl() + { + return $this->imageUrl; + } + + /** + * @param string $imageUrl + * @return \Google\AdsApi\AdManager\v202408\BaseImageRedirectCreative + */ + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/BaseRichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202408/BaseRichMediaStudioCreative.php similarity index 81% rename from src/Google/AdsApi/AdManager/v202308/BaseRichMediaStudioCreative.php rename to src/Google/AdsApi/AdManager/v202408/BaseRichMediaStudioCreative.php index 0d9953caa..e681874b6 100644 --- a/src/Google/AdsApi/AdManager/v202308/BaseRichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202408/BaseRichMediaStudioCreative.php @@ -1,12 +1,12 @@ studioCreativeId = $studioCreativeId; $this->creativeFormat = $creativeFormat; $this->artworkType = $artworkType; @@ -155,7 +156,7 @@ public function getStudioCreativeId() /** * @param int $studioCreativeId - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setStudioCreativeId($studioCreativeId) { @@ -174,7 +175,7 @@ public function getCreativeFormat() /** * @param string $creativeFormat - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setCreativeFormat($creativeFormat) { @@ -192,7 +193,7 @@ public function getArtworkType() /** * @param string $artworkType - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setArtworkType($artworkType) { @@ -210,7 +211,7 @@ public function getTotalFileSize() /** * @param int $totalFileSize - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setTotalFileSize($totalFileSize) { @@ -229,7 +230,7 @@ public function getAdTagKeys() /** * @param string[]|null $adTagKeys - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setAdTagKeys(array $adTagKeys = null) { @@ -247,7 +248,7 @@ public function getCustomKeyValues() /** * @param string[]|null $customKeyValues - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setCustomKeyValues(array $customKeyValues = null) { @@ -265,7 +266,7 @@ public function getSurveyUrl() /** * @param string $surveyUrl - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setSurveyUrl($surveyUrl) { @@ -283,7 +284,7 @@ public function getAllImpressionsUrl() /** * @param string $allImpressionsUrl - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setAllImpressionsUrl($allImpressionsUrl) { @@ -301,7 +302,7 @@ public function getRichMediaImpressionsUrl() /** * @param string $richMediaImpressionsUrl - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setRichMediaImpressionsUrl($richMediaImpressionsUrl) { @@ -319,7 +320,7 @@ public function getBackupImageImpressionsUrl() /** * @param string $backupImageImpressionsUrl - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setBackupImageImpressionsUrl($backupImageImpressionsUrl) { @@ -337,7 +338,7 @@ public function getOverrideCss() /** * @param string $overrideCss - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setOverrideCss($overrideCss) { @@ -355,7 +356,7 @@ public function getRequiredFlashPluginVersion() /** * @param string $requiredFlashPluginVersion - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setRequiredFlashPluginVersion($requiredFlashPluginVersion) { @@ -373,7 +374,7 @@ public function getDuration() /** * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setDuration($duration) { @@ -391,7 +392,7 @@ public function getBillingAttribute() /** * @param string $billingAttribute - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setBillingAttribute($billingAttribute) { @@ -400,7 +401,7 @@ public function setBillingAttribute($billingAttribute) } /** - * @return \Google\AdsApi\AdManager\v202308\RichMediaStudioChildAssetProperty[] + * @return \Google\AdsApi\AdManager\v202408\RichMediaStudioChildAssetProperty[] */ public function getRichMediaStudioChildAssetProperties() { @@ -408,8 +409,8 @@ public function getRichMediaStudioChildAssetProperties() } /** - * @param \Google\AdsApi\AdManager\v202308\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @param \Google\AdsApi\AdManager\v202408\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setRichMediaStudioChildAssetProperties(array $richMediaStudioChildAssetProperties = null) { @@ -427,7 +428,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setSslScanResult($sslScanResult) { @@ -445,7 +446,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\BaseRichMediaStudioCreative + * @return \Google\AdsApi\AdManager\v202408\BaseRichMediaStudioCreative */ public function setSslManualOverride($sslManualOverride) { diff --git a/src/Google/AdsApi/AdManager/v202308/BaseVideoCreative.php b/src/Google/AdsApi/AdManager/v202408/BaseVideoCreative.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/BaseVideoCreative.php rename to src/Google/AdsApi/AdManager/v202408/BaseVideoCreative.php index 0ea7cd8b9..a31177598 100644 --- a/src/Google/AdsApi/AdManager/v202308/BaseVideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202408/BaseVideoCreative.php @@ -1,12 +1,12 @@ duration = $duration; $this->allowDurationOverride = $allowDurationOverride; $this->trackingUrls = $trackingUrls; @@ -115,7 +116,7 @@ public function getDuration() /** * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setDuration($duration) { @@ -133,7 +134,7 @@ public function getAllowDurationOverride() /** * @param boolean $allowDurationOverride - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setAllowDurationOverride($allowDurationOverride) { @@ -142,7 +143,7 @@ public function setAllowDurationOverride($allowDurationOverride) } /** - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[] + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[] */ public function getTrackingUrls() { @@ -150,8 +151,8 @@ public function getTrackingUrls() } /** - * @param \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @param \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setTrackingUrls(array $trackingUrls = null) { @@ -169,7 +170,7 @@ public function getCompanionCreativeIds() /** * @param int[]|null $companionCreativeIds - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setCompanionCreativeIds(array $companionCreativeIds = null) { @@ -187,7 +188,7 @@ public function getCustomParameters() /** * @param string $customParameters - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setCustomParameters($customParameters) { @@ -205,7 +206,7 @@ public function getAdId() /** * @param string $adId - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setAdId($adId) { @@ -223,7 +224,7 @@ public function getAdIdType() /** * @param string $adIdType - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setAdIdType($adIdType) { @@ -241,7 +242,7 @@ public function getSkippableAdType() /** * @param string $skippableAdType - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setSkippableAdType($skippableAdType) { @@ -259,7 +260,7 @@ public function getVastPreviewUrl() /** * @param string $vastPreviewUrl - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setVastPreviewUrl($vastPreviewUrl) { @@ -277,7 +278,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setSslScanResult($sslScanResult) { @@ -295,7 +296,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\BaseVideoCreative + * @return \Google\AdsApi\AdManager\v202408\BaseVideoCreative */ public function setSslManualOverride($sslManualOverride) { diff --git a/src/Google/AdsApi/AdManager/v202308/BillingError.php b/src/Google/AdsApi/AdManager/v202408/BillingError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/BillingError.php rename to src/Google/AdsApi/AdManager/v202408/BillingError.php index 126337c54..b99b32ced 100644 --- a/src/Google/AdsApi/AdManager/v202308/BillingError.php +++ b/src/Google/AdsApi/AdManager/v202408/BillingError.php @@ -1,12 +1,12 @@ isTargeted = $isTargeted; + $this->browserLanguages = $browserLanguages; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\BrowserLanguageTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getBrowserLanguages() + { + return $this->browserLanguages; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $browserLanguages + * @return \Google\AdsApi\AdManager\v202408\BrowserLanguageTargeting + */ + public function setBrowserLanguages(array $browserLanguages = null) + { + $this->browserLanguages = $browserLanguages; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202408/BrowserTargeting.php new file mode 100644 index 000000000..878cca371 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/BrowserTargeting.php @@ -0,0 +1,68 @@ +isTargeted = $isTargeted; + $this->browsers = $browsers; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\BrowserTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getBrowsers() + { + return $this->browsers; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $browsers + * @return \Google\AdsApi\AdManager\v202408\BrowserTargeting + */ + public function setBrowsers(array $browsers = null) + { + $this->browsers = $browsers; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202408/BuyerRfp.php new file mode 100644 index 000000000..9169c210f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/BuyerRfp.php @@ -0,0 +1,319 @@ +costPerUnit = $costPerUnit; + $this->units = $units; + $this->budget = $budget; + $this->currencyCode = $currencyCode; + $this->startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + $this->description = $description; + $this->creativePlaceholders = $creativePlaceholders; + $this->targeting = $targeting; + $this->additionalTerms = $additionalTerms; + $this->adExchangeEnvironment = $adExchangeEnvironment; + $this->rfpType = $rfpType; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getCostPerUnit() + { + return $this->costPerUnit; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $costPerUnit + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setCostPerUnit($costPerUnit) + { + $this->costPerUnit = $costPerUnit; + return $this; + } + + /** + * @return int + */ + public function getUnits() + { + return $this->units; + } + + /** + * @param int $units + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setUnits($units) + { + $this->units = (!is_null($units) && PHP_INT_SIZE === 4) + ? floatval($units) : $units; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getBudget() + { + return $this->budget; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $budget + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setBudget($budget) + { + $this->budget = $budget; + return $this; + } + + /** + * @return string + */ + public function getCurrencyCode() + { + return $this->currencyCode; + } + + /** + * @param string $currencyCode + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * @param string $description + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setDescription($description) + { + $this->description = $description; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder[] + */ + public function getCreativePlaceholders() + { + return $this->creativePlaceholders; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativePlaceholder[]|null $creativePlaceholders + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setCreativePlaceholders(array $creativePlaceholders = null) + { + $this->creativePlaceholders = $creativePlaceholders; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return string + */ + public function getAdditionalTerms() + { + return $this->additionalTerms; + } + + /** + * @param string $additionalTerms + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setAdditionalTerms($additionalTerms) + { + $this->additionalTerms = $additionalTerms; + return $this; + } + + /** + * @return string + */ + public function getAdExchangeEnvironment() + { + return $this->adExchangeEnvironment; + } + + /** + * @param string $adExchangeEnvironment + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setAdExchangeEnvironment($adExchangeEnvironment) + { + $this->adExchangeEnvironment = $adExchangeEnvironment; + return $this; + } + + /** + * @return string + */ + public function getRfpType() + { + return $this->rfpType; + } + + /** + * @param string $rfpType + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function setRfpType($rfpType) + { + $this->rfpType = $rfpType; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/BuyerUserListTargeting.php b/src/Google/AdsApi/AdManager/v202408/BuyerUserListTargeting.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/BuyerUserListTargeting.php rename to src/Google/AdsApi/AdManager/v202408/BuyerUserListTargeting.php index f508fb8e2..c04a0c7cd 100644 --- a/src/Google/AdsApi/AdManager/v202308/BuyerUserListTargeting.php +++ b/src/Google/AdsApi/AdManager/v202408/BuyerUserListTargeting.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCdnConfigurations' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCdnConfigurations', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ArchiveCdnConfigurations' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveCdnConfigurations', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CdnConfigurationAction' => 'Google\\AdsApi\\AdManager\\v202408\\CdnConfigurationAction', + 'CdnConfiguration' => 'Google\\AdsApi\\AdManager\\v202408\\CdnConfiguration', + 'CdnConfigurationError' => 'Google\\AdsApi\\AdManager\\v202408\\CdnConfigurationError', + 'CdnConfigurationPage' => 'Google\\AdsApi\\AdManager\\v202408\\CdnConfigurationPage', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'MediaLocationSettings' => 'Google\\AdsApi\\AdManager\\v202408\\MediaLocationSettings', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'SecurityPolicySettings' => 'Google\\AdsApi\\AdManager\\v202408\\SecurityPolicySettings', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'SourceContentConfiguration' => 'Google\\AdsApi\\AdManager\\v202408\\SourceContentConfiguration', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createCdnConfigurationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCdnConfigurationsResponse', + 'getCdnConfigurationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCdnConfigurationsByStatementResponse', + 'performCdnConfigurationActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCdnConfigurationActionResponse', + 'updateCdnConfigurationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCdnConfigurationsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CdnConfigurationService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link CdnConfiguration} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CdnConfiguration[] $cdnConfigurations + * @return \Google\AdsApi\AdManager\v202408\CdnConfiguration[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCdnConfigurations(array $cdnConfigurations) + { + return $this->__soapCall('createCdnConfigurations', array(array('cdnConfigurations' => $cdnConfigurations)))->getRval(); + } + + /** + * Gets a {@link CdnConfigurationPage} of {@link CdnConfiguration} objects that satisfy the given + * {@link Statement#query}. Currently only CDN Configurations of type {@link + * CdnConfigurationType#LIVE_STREAM_SOURCE_CONTENT} will be returned. The following fields are + * supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CdnConfiguration#id}
{@code name}{@link CdnConfiguration#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\CdnConfigurationPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCdnConfigurationsByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getCdnConfigurationsByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Performs actions on {@link CdnConfiguration} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CdnConfigurationAction $cdnConfigurationAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCdnConfigurationAction(\Google\AdsApi\AdManager\v202408\CdnConfigurationAction $cdnConfigurationAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCdnConfigurationAction', array(array('cdnConfigurationAction' => $cdnConfigurationAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link CdnConfiguration} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CdnConfiguration[] $cdnConfigurations + * @return \Google\AdsApi\AdManager\v202408\CdnConfiguration[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCdnConfigurations(array $cdnConfigurations) + { + return $this->__soapCall('updateCdnConfigurations', array(array('cdnConfigurations' => $cdnConfigurations)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CdnConfigurationStatus.php b/src/Google/AdsApi/AdManager/v202408/CdnConfigurationStatus.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/CdnConfigurationStatus.php rename to src/Google/AdsApi/AdManager/v202408/CdnConfigurationStatus.php index 9a642c981..b86dd1d56 100644 --- a/src/Google/AdsApi/AdManager/v202308/CdnConfigurationStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/CdnConfigurationStatus.php @@ -1,6 +1,6 @@ clickTrackingUrl = $clickTrackingUrl; + } + + /** + * @return string + */ + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + + /** + * @param string $clickTrackingUrl + * @return \Google\AdsApi\AdManager\v202408\ClickTrackingCreative + */ + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ClickTrackingLineItemError.php b/src/Google/AdsApi/AdManager/v202408/ClickTrackingLineItemError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/ClickTrackingLineItemError.php rename to src/Google/AdsApi/AdManager/v202408/ClickTrackingLineItemError.php index 58b9a7624..fef33e485 100644 --- a/src/Google/AdsApi/AdManager/v202308/ClickTrackingLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202408/ClickTrackingLineItemError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCmsMetadataKeys' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCmsMetadataKeys', + 'ActivateCmsMetadataValues' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCmsMetadataValues', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CmsMetadataKeyAction' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataKeyAction', + 'CmsMetadataKey' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataKey', + 'CmsMetadataKeyPage' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataKeyPage', + 'CmsMetadataValueAction' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataValueAction', + 'CmsMetadataValue' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataValue', + 'CmsMetadataValuePage' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataValuePage', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateCmsMetadataKeys' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateCmsMetadataKeys', + 'DeactivateCmsMetadataValues' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateCmsMetadataValues', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'MetadataMergeSpecError' => 'Google\\AdsApi\\AdManager\\v202408\\MetadataMergeSpecError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'getCmsMetadataKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCmsMetadataKeysByStatementResponse', + 'getCmsMetadataValuesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCmsMetadataValuesByStatementResponse', + 'performCmsMetadataKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCmsMetadataKeyActionResponse', + 'performCmsMetadataValueActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCmsMetadataValueActionResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CmsMetadataService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns a page of {@link CmsMetadataKey}s matching the specified {@link Statement}. The + * following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CmsMetadataKey#cmsMetadataKeyId}
{@code cmsKey}{@link CmsMetadataKey#keyName}
{@code status}{@link CmsMetadataKey#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\CmsMetadataKeyPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCmsMetadataKeysByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getCmsMetadataKeysByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Returns a page of {@link CmsMetadataValue}s matching the specified {@link Statement}. The + * following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CmsMetadataValue#cmsMetadataValueId}
{@code cmsValue}{@link CmsMetadataValue#valueName}
{@code cmsKey}{@link CmsMetadataValue#key#name}
{@code cmsKeyId}{@link CmsMetadataValue#key#id}
{@code status}{@link CmsMetadataValue#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\CmsMetadataValuePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCmsMetadataValuesByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getCmsMetadataValuesByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Performs actions on {@link CmsMetadataKey} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CmsMetadataKeyAction $keyAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCmsMetadataKeyAction(\Google\AdsApi\AdManager\v202408\CmsMetadataKeyAction $keyAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCmsMetadataKeyAction', array(array('keyAction' => $keyAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link CmsMetadataValue} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CmsMetadataValueAction $valueAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCmsMetadataValueAction(\Google\AdsApi\AdManager\v202408\CmsMetadataValueAction $valueAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCmsMetadataValueAction', array(array('valueAction' => $valueAction, 'filterStatement' => $filterStatement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CmsMetadataValue.php b/src/Google/AdsApi/AdManager/v202408/CmsMetadataValue.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/CmsMetadataValue.php rename to src/Google/AdsApi/AdManager/v202408/CmsMetadataValue.php index c8c63d77c..f58706bbf 100644 --- a/src/Google/AdsApi/AdManager/v202308/CmsMetadataValue.php +++ b/src/Google/AdsApi/AdManager/v202408/CmsMetadataValue.php @@ -1,6 +1,6 @@ id = $id; + $this->name = $name; + $this->type = $type; + $this->address = $address; + $this->email = $email; + $this->faxPhone = $faxPhone; + $this->primaryPhone = $primaryPhone; + $this->externalId = $externalId; + $this->comment = $comment; + $this->creditStatus = $creditStatus; + $this->appliedLabels = $appliedLabels; + $this->primaryContactId = $primaryContactId; + $this->appliedTeamIds = $appliedTeamIds; + $this->thirdPartyCompanyId = $thirdPartyCompanyId; + $this->lastModifiedDateTime = $lastModifiedDateTime; + $this->childPublisher = $childPublisher; + $this->viewabilityProvider = $viewabilityProvider; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return string + */ + public function getType() + { + return $this->type; + } + + /** + * @param string $type + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setType($type) + { + $this->type = $type; + return $this; + } + + /** + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * @param string $address + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setAddress($address) + { + $this->address = $address; + return $this; + } + + /** + * @return string + */ + public function getEmail() + { + return $this->email; + } + + /** + * @param string $email + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setEmail($email) + { + $this->email = $email; + return $this; + } + + /** + * @return string + */ + public function getFaxPhone() + { + return $this->faxPhone; + } + + /** + * @param string $faxPhone + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setFaxPhone($faxPhone) + { + $this->faxPhone = $faxPhone; + return $this; + } + + /** + * @return string + */ + public function getPrimaryPhone() + { + return $this->primaryPhone; + } + + /** + * @param string $primaryPhone + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setPrimaryPhone($primaryPhone) + { + $this->primaryPhone = $primaryPhone; + return $this; + } + + /** + * @return string + */ + public function getExternalId() + { + return $this->externalId; + } + + /** + * @param string $externalId + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setExternalId($externalId) + { + $this->externalId = $externalId; + return $this; + } + + /** + * @return string + */ + public function getComment() + { + return $this->comment; + } + + /** + * @param string $comment + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setComment($comment) + { + $this->comment = $comment; + return $this; + } + + /** + * @return string + */ + public function getCreditStatus() + { + return $this->creditStatus; + } + + /** + * @param string $creditStatus + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setCreditStatus($creditStatus) + { + $this->creditStatus = $creditStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getAppliedLabels() + { + return $this->appliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $appliedLabels + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setAppliedLabels(array $appliedLabels = null) + { + $this->appliedLabels = $appliedLabels; + return $this; + } + + /** + * @return int + */ + public function getPrimaryContactId() + { + return $this->primaryContactId; + } + + /** + * @param int $primaryContactId + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setPrimaryContactId($primaryContactId) + { + $this->primaryContactId = (!is_null($primaryContactId) && PHP_INT_SIZE === 4) + ? floatval($primaryContactId) : $primaryContactId; + return $this; + } + + /** + * @return int[] + */ + public function getAppliedTeamIds() + { + return $this->appliedTeamIds; + } + + /** + * @param int[]|null $appliedTeamIds + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setAppliedTeamIds(array $appliedTeamIds = null) + { + $this->appliedTeamIds = $appliedTeamIds; + return $this; + } + + /** + * @return int + */ + public function getThirdPartyCompanyId() + { + return $this->thirdPartyCompanyId; + } + + /** + * @param int $thirdPartyCompanyId + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setThirdPartyCompanyId($thirdPartyCompanyId) + { + $this->thirdPartyCompanyId = $thirdPartyCompanyId; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastModifiedDateTime() + { + return $this->lastModifiedDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setLastModifiedDateTime($lastModifiedDateTime) + { + $this->lastModifiedDateTime = $lastModifiedDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ChildPublisher + */ + public function getChildPublisher() + { + return $this->childPublisher; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ChildPublisher $childPublisher + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setChildPublisher($childPublisher) + { + $this->childPublisher = $childPublisher; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ViewabilityProvider + */ + public function getViewabilityProvider() + { + return $this->viewabilityProvider; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ViewabilityProvider $viewabilityProvider + * @return \Google\AdsApi\AdManager\v202408\Company + */ + public function setViewabilityProvider($viewabilityProvider) + { + $this->viewabilityProvider = $viewabilityProvider; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CompanyAction.php b/src/Google/AdsApi/AdManager/v202408/CompanyAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/CompanyAction.php rename to src/Google/AdsApi/AdManager/v202408/CompanyAction.php index 34832d8d4..ef204f8b1 100644 --- a/src/Google/AdsApi/AdManager/v202308/CompanyAction.php +++ b/src/Google/AdsApi/AdManager/v202408/CompanyAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ChildPublisher' => 'Google\\AdsApi\\AdManager\\v202408\\ChildPublisher', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyAction' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyAction', + 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyCreditStatusError', + 'Company' => 'Google\\AdsApi\\AdManager\\v202408\\Company', + 'CompanyError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyError', + 'CompanyPage' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyPage', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'ReInviteAction' => 'Google\\AdsApi\\AdManager\\v202408\\ReInviteAction', + 'EndAgreementAction' => 'Google\\AdsApi\\AdManager\\v202408\\EndAgreementAction', + 'ExchangeSignupApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ExchangeSignupApiError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventoryClientApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryClientApiError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'McmError' => 'Google\\AdsApi\\AdManager\\v202408\\McmError', + 'NetworkError' => 'Google\\AdsApi\\AdManager\\v202408\\NetworkError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ResendInvitationAction' => 'Google\\AdsApi\\AdManager\\v202408\\ResendInvitationAction', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SiteError' => 'Google\\AdsApi\\AdManager\\v202408\\SiteError', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'ViewabilityProvider' => 'Google\\AdsApi\\AdManager\\v202408\\ViewabilityProvider', + 'createCompaniesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCompaniesResponse', + 'getCompaniesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCompaniesByStatementResponse', + 'performCompanyActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCompanyActionResponse', + 'updateCompaniesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCompaniesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CompanyService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Company} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Company[] $companies + * @return \Google\AdsApi\AdManager\v202408\Company[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCompanies(array $companies) + { + return $this->__soapCall('createCompanies', array(array('companies' => $companies)))->getRval(); + } + + /** + * Gets a {@link CompanyPage} of {@link Company} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Company#id}
{@code name}{@link Company#name}
{@code type}{@link Company#type}
{@code lastModifiedDateTime}{@link Company#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CompanyPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCompaniesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCompaniesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Company} objects that match the given {@code Statement}. + * + * @param \Google\AdsApi\AdManager\v202408\CompanyAction $companyAction + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCompanyAction(\Google\AdsApi\AdManager\v202408\CompanyAction $companyAction, \Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('performCompanyAction', array(array('companyAction' => $companyAction, 'statement' => $statement)))->getRval(); + } + + /** + * Updates the specified {@link Company} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Company[] $companies + * @return \Google\AdsApi\AdManager\v202408\Company[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCompanies(array $companies) + { + return $this->__soapCall('updateCompanies', array(array('companies' => $companies)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CompanyType.php b/src/Google/AdsApi/AdManager/v202408/CompanyType.php similarity index 91% rename from src/Google/AdsApi/AdManager/v202308/CompanyType.php rename to src/Google/AdsApi/AdManager/v202408/CompanyType.php index ef069cba1..6cb928372 100644 --- a/src/Google/AdsApi/AdManager/v202308/CompanyType.php +++ b/src/Google/AdsApi/AdManager/v202408/CompanyType.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Contact' => 'Google\\AdsApi\\AdManager\\v202408\\Contact', + 'ContactError' => 'Google\\AdsApi\\AdManager\\v202408\\ContactError', + 'ContactPage' => 'Google\\AdsApi\\AdManager\\v202408\\ContactPage', + 'BaseContact' => 'Google\\AdsApi\\AdManager\\v202408\\BaseContact', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createContactsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createContactsResponse', + 'getContactsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getContactsByStatementResponse', + 'updateContactsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateContactsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ContactService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Contact} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Contact[] $contacts + * @return \Google\AdsApi\AdManager\v202408\Contact[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createContacts(array $contacts) + { + return $this->__soapCall('createContacts', array(array('contacts' => $contacts)))->getRval(); + } + + /** + * Gets a {@link ContactPage} of {@link Contact} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code name}{@link Contact#name}
{@code email}{@link Contact#email}
{@code id}{@link Contact#id}
{@code comment}{@link Contact#comment}
{@code companyId}{@link Contact#companyId}
{@code title}{@link Contact#title}
{@code cellPhone}{@link Contact#cellPhone}
{@code workPhone}{@link Contact#workPhone}
{@code faxPhone}{@link Contact#faxPhone}
{@code status}{@link Contact#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\ContactPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getContactsByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getContactsByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Updates the specified {@link Contact} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Contact[] $contacts + * @return \Google\AdsApi\AdManager\v202408\Contact[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateContacts(array $contacts) + { + return $this->__soapCall('updateContacts', array(array('contacts' => $contacts)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ContactStatus.php b/src/Google/AdsApi/AdManager/v202408/ContactStatus.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/ContactStatus.php rename to src/Google/AdsApi/AdManager/v202408/ContactStatus.php index 0fd1db03b..07570b075 100644 --- a/src/Google/AdsApi/AdManager/v202308/ContactStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/ContactStatus.php @@ -1,6 +1,6 @@ id = $id; + $this->name = $name; + $this->status = $status; + $this->statusDefinedBy = $statusDefinedBy; + $this->hlsIngestStatus = $hlsIngestStatus; + $this->hlsIngestErrors = $hlsIngestErrors; + $this->lastHlsIngestDateTime = $lastHlsIngestDateTime; + $this->dashIngestStatus = $dashIngestStatus; + $this->dashIngestErrors = $dashIngestErrors; + $this->lastDashIngestDateTime = $lastDashIngestDateTime; + $this->importDateTime = $importDateTime; + $this->lastModifiedDateTime = $lastModifiedDateTime; + $this->cmsSources = $cmsSources; + $this->contentBundleIds = $contentBundleIds; + $this->cmsMetadataValueIds = $cmsMetadataValueIds; + $this->duration = $duration; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return string + */ + public function getStatus() + { + return $this->status; + } + + /** + * @param string $status + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setStatus($status) + { + $this->status = $status; + return $this; + } + + /** + * @return string + */ + public function getStatusDefinedBy() + { + return $this->statusDefinedBy; + } + + /** + * @param string $statusDefinedBy + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setStatusDefinedBy($statusDefinedBy) + { + $this->statusDefinedBy = $statusDefinedBy; + return $this; + } + + /** + * @return string + */ + public function getHlsIngestStatus() + { + return $this->hlsIngestStatus; + } + + /** + * @param string $hlsIngestStatus + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setHlsIngestStatus($hlsIngestStatus) + { + $this->hlsIngestStatus = $hlsIngestStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiIngestError[] + */ + public function getHlsIngestErrors() + { + return $this->hlsIngestErrors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiIngestError[]|null $hlsIngestErrors + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setHlsIngestErrors(array $hlsIngestErrors = null) + { + $this->hlsIngestErrors = $hlsIngestErrors; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastHlsIngestDateTime() + { + return $this->lastHlsIngestDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastHlsIngestDateTime + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setLastHlsIngestDateTime($lastHlsIngestDateTime) + { + $this->lastHlsIngestDateTime = $lastHlsIngestDateTime; + return $this; + } + + /** + * @return string + */ + public function getDashIngestStatus() + { + return $this->dashIngestStatus; + } + + /** + * @param string $dashIngestStatus + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setDashIngestStatus($dashIngestStatus) + { + $this->dashIngestStatus = $dashIngestStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiIngestError[] + */ + public function getDashIngestErrors() + { + return $this->dashIngestErrors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiIngestError[]|null $dashIngestErrors + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setDashIngestErrors(array $dashIngestErrors = null) + { + $this->dashIngestErrors = $dashIngestErrors; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastDashIngestDateTime() + { + return $this->lastDashIngestDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastDashIngestDateTime + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setLastDashIngestDateTime($lastDashIngestDateTime) + { + $this->lastDashIngestDateTime = $lastDashIngestDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getImportDateTime() + { + return $this->importDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $importDateTime + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setImportDateTime($importDateTime) + { + $this->importDateTime = $importDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastModifiedDateTime() + { + return $this->lastModifiedDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setLastModifiedDateTime($lastModifiedDateTime) + { + $this->lastModifiedDateTime = $lastModifiedDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CmsContent[] + */ + public function getCmsSources() + { + return $this->cmsSources; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CmsContent[]|null $cmsSources + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setCmsSources(array $cmsSources = null) + { + $this->cmsSources = $cmsSources; + return $this; + } + + /** + * @return int[] + */ + public function getContentBundleIds() + { + return $this->contentBundleIds; + } + + /** + * @param int[]|null $contentBundleIds + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setContentBundleIds(array $contentBundleIds = null) + { + $this->contentBundleIds = $contentBundleIds; + return $this; + } + + /** + * @return int[] + */ + public function getCmsMetadataValueIds() + { + return $this->cmsMetadataValueIds; + } + + /** + * @param int[]|null $cmsMetadataValueIds + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + { + $this->cmsMetadataValueIds = $cmsMetadataValueIds; + return $this; + } + + /** + * @return int + */ + public function getDuration() + { + return $this->duration; + } + + /** + * @param int $duration + * @return \Google\AdsApi\AdManager\v202408\Content + */ + public function setDuration($duration) + { + $this->duration = (!is_null($duration) && PHP_INT_SIZE === 4) + ? floatval($duration) : $duration; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentBundle.php b/src/Google/AdsApi/AdManager/v202408/ContentBundle.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/ContentBundle.php rename to src/Google/AdsApi/AdManager/v202408/ContentBundle.php index 3543c64b2..38945f199 100644 --- a/src/Google/AdsApi/AdManager/v202308/ContentBundle.php +++ b/src/Google/AdsApi/AdManager/v202408/ContentBundle.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateContentBundles' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateContentBundles', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentBundleAction' => 'Google\\AdsApi\\AdManager\\v202408\\ContentBundleAction', + 'ContentBundle' => 'Google\\AdsApi\\AdManager\\v202408\\ContentBundle', + 'ContentBundlePage' => 'Google\\AdsApi\\AdManager\\v202408\\ContentBundlePage', + 'ContentFilterError' => 'Google\\AdsApi\\AdManager\\v202408\\ContentFilterError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateContentBundles' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateContentBundles', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PlacementError' => 'Google\\AdsApi\\AdManager\\v202408\\PlacementError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createContentBundlesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createContentBundlesResponse', + 'getContentBundlesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getContentBundlesByStatementResponse', + 'performContentBundleActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performContentBundleActionResponse', + 'updateContentBundlesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateContentBundlesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ContentBundleService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link ContentBundle} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ContentBundle[] $contentBundles + * @return \Google\AdsApi\AdManager\v202408\ContentBundle[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createContentBundles(array $contentBundles) + { + return $this->__soapCall('createContentBundles', array(array('contentBundles' => $contentBundles)))->getRval(); + } + + /** + * Gets a {@link ContentBundlePage} of {@link ContentBundle} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link ContentBundle#id}
{@code name}{@link ContentBundle#name}
{@code status}{@link ContentBundle#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\ContentBundlePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getContentBundlesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getContentBundlesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link ContentBundle} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\ContentBundleAction $contentBundleAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performContentBundleAction(\Google\AdsApi\AdManager\v202408\ContentBundleAction $contentBundleAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performContentBundleAction', array(array('contentBundleAction' => $contentBundleAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link ContentBundle} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ContentBundle[] $contentBundles + * @return \Google\AdsApi\AdManager\v202408\ContentBundle[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateContentBundles(array $contentBundles) + { + return $this->__soapCall('updateContentBundles', array(array('contentBundles' => $contentBundles)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentBundleStatus.php b/src/Google/AdsApi/AdManager/v202408/ContentBundleStatus.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/ContentBundleStatus.php rename to src/Google/AdsApi/AdManager/v202408/ContentBundleStatus.php index 8307709c9..601b5c768 100644 --- a/src/Google/AdsApi/AdManager/v202308/ContentBundleStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/ContentBundleStatus.php @@ -1,6 +1,6 @@ excludedContentLabelIds = $excludedContentLabelIds; + } + + /** + * @return int[] + */ + public function getExcludedContentLabelIds() + { + return $this->excludedContentLabelIds; + } + + /** + * @param int[]|null $excludedContentLabelIds + * @return \Google\AdsApi\AdManager\v202408\ContentLabelTargeting + */ + public function setExcludedContentLabelIds(array $excludedContentLabelIds = null) + { + $this->excludedContentLabelIds = $excludedContentLabelIds; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentPage.php b/src/Google/AdsApi/AdManager/v202408/ContentPage.php similarity index 75% rename from src/Google/AdsApi/AdManager/v202308/ContentPage.php rename to src/Google/AdsApi/AdManager/v202408/ContentPage.php index 1fbf9c0dc..0dac4b656 100644 --- a/src/Google/AdsApi/AdManager/v202308/ContentPage.php +++ b/src/Google/AdsApi/AdManager/v202408/ContentPage.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CmsContent' => 'Google\\AdsApi\\AdManager\\v202408\\CmsContent', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Content' => 'Google\\AdsApi\\AdManager\\v202408\\Content', + 'ContentPage' => 'Google\\AdsApi\\AdManager\\v202408\\ContentPage', + 'DaiIngestError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiIngestError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'getContentByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getContentByStatementResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ContentService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Gets a {@link ContentPage} of {@link Content} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Content#id}
{@code status}{@link Content#status}
{@code name}{@link Content#name}
{@code lastModifiedDateTime}{@link Content#lastModifiedDateTime}
{@code lastDaiIngestDateTime}{@link Content#lastDaiIngestDateTime}
{@code daiIngestStatus}{@link Content#daiIngestStatus}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\ContentPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getContentByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getContentByStatement', array(array('statement' => $statement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ContentStatus.php b/src/Google/AdsApi/AdManager/v202408/ContentStatus.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/ContentStatus.php rename to src/Google/AdsApi/AdManager/v202408/ContentStatus.php index dbb43569a..1d99f53ef 100644 --- a/src/Google/AdsApi/AdManager/v202308/ContentStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/ContentStatus.php @@ -1,6 +1,6 @@ key = $key; + $this->value = $value; + } + + /** + * @return string + */ + public function getKey() + { + return $this->key; + } + + /** + * @param string $key + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry + */ + public function setKey($key) + { + $this->key = $key; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrackingUrls + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrackingUrls $value + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CostType.php b/src/Google/AdsApi/AdManager/v202408/CostType.php similarity index 86% rename from src/Google/AdsApi/AdManager/v202308/CostType.php rename to src/Google/AdsApi/AdManager/v202408/CostType.php index e70da8425..b1a29e518 100644 --- a/src/Google/AdsApi/AdManager/v202308/CostType.php +++ b/src/Google/AdsApi/AdManager/v202408/CostType.php @@ -1,6 +1,6 @@ advertiserId = $advertiserId; + $this->id = $id; + $this->name = $name; + $this->size = $size; + $this->previewUrl = $previewUrl; + $this->policyLabels = $policyLabels; + $this->appliedLabels = $appliedLabels; + $this->lastModifiedDateTime = $lastModifiedDateTime; + $this->customFieldValues = $customFieldValues; + $this->thirdPartyDataDeclaration = $thirdPartyDataDeclaration; + $this->adBadgingEnabled = $adBadgingEnabled; + } + + /** + * @return int + */ + public function getAdvertiserId() + { + return $this->advertiserId; + } + + /** + * @param int $advertiserId + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = (!is_null($advertiserId) && PHP_INT_SIZE === 4) + ? floatval($advertiserId) : $advertiserId; + return $this; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Size + */ + public function getSize() + { + return $this->size; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Size $size + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setSize($size) + { + $this->size = $size; + return $this; + } + + /** + * @return string + */ + public function getPreviewUrl() + { + return $this->previewUrl; + } + + /** + * @param string $previewUrl + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setPreviewUrl($previewUrl) + { + $this->previewUrl = $previewUrl; + return $this; + } + + /** + * @return string[] + */ + public function getPolicyLabels() + { + return $this->policyLabels; + } + + /** + * @param string[]|null $policyLabels + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setPolicyLabels(array $policyLabels = null) + { + $this->policyLabels = $policyLabels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getAppliedLabels() + { + return $this->appliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $appliedLabels + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setAppliedLabels(array $appliedLabels = null) + { + $this->appliedLabels = $appliedLabels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastModifiedDateTime() + { + return $this->lastModifiedDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setLastModifiedDateTime($lastModifiedDateTime) + { + $this->lastModifiedDateTime = $lastModifiedDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[] + */ + public function getCustomFieldValues() + { + return $this->customFieldValues; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[]|null $customFieldValues + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setCustomFieldValues(array $customFieldValues = null) + { + $this->customFieldValues = $customFieldValues; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyDataDeclaration + */ + public function getThirdPartyDataDeclaration() + { + return $this->thirdPartyDataDeclaration; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ThirdPartyDataDeclaration $thirdPartyDataDeclaration + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setThirdPartyDataDeclaration($thirdPartyDataDeclaration) + { + $this->thirdPartyDataDeclaration = $thirdPartyDataDeclaration; + return $this; + } + + /** + * @return boolean + */ + public function getAdBadgingEnabled() + { + return $this->adBadgingEnabled; + } + + /** + * @param boolean $adBadgingEnabled + * @return \Google\AdsApi\AdManager\v202408\Creative + */ + public function setAdBadgingEnabled($adBadgingEnabled) + { + $this->adBadgingEnabled = $adBadgingEnabled; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeAction.php b/src/Google/AdsApi/AdManager/v202408/CreativeAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/CreativeAction.php rename to src/Google/AdsApi/AdManager/v202408/CreativeAction.php index a6e25a8b5..05408f265 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeAction.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeAction.php @@ -1,6 +1,6 @@ size = $size; + $this->creativeTemplateId = $creativeTemplateId; + $this->companions = $companions; + $this->appliedLabels = $appliedLabels; + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + $this->expectedCreativeCount = $expectedCreativeCount; + $this->creativeSizeType = $creativeSizeType; + $this->targetingName = $targetingName; + $this->isAmpOnly = $isAmpOnly; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Size + */ + public function getSize() + { + return $this->size; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Size $size + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setSize($size) + { + $this->size = $size; + return $this; + } + + /** + * @return int + */ + public function getCreativeTemplateId() + { + return $this->creativeTemplateId; + } + + /** + * @param int $creativeTemplateId + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setCreativeTemplateId($creativeTemplateId) + { + $this->creativeTemplateId = (!is_null($creativeTemplateId) && PHP_INT_SIZE === 4) + ? floatval($creativeTemplateId) : $creativeTemplateId; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder[] + */ + public function getCompanions() + { + return $this->companions; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativePlaceholder[]|null $companions + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setCompanions(array $companions = null) + { + $this->companions = $companions; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getAppliedLabels() + { + return $this->appliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $appliedLabels + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setAppliedLabels(array $appliedLabels = null) + { + $this->appliedLabels = $appliedLabels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getEffectiveAppliedLabels() + { + return $this->effectiveAppliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $effectiveAppliedLabels + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + { + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + return $this; + } + + /** + * @return int + */ + public function getExpectedCreativeCount() + { + return $this->expectedCreativeCount; + } + + /** + * @param int $expectedCreativeCount + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setExpectedCreativeCount($expectedCreativeCount) + { + $this->expectedCreativeCount = $expectedCreativeCount; + return $this; + } + + /** + * @return string + */ + public function getCreativeSizeType() + { + return $this->creativeSizeType; + } + + /** + * @param string $creativeSizeType + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setCreativeSizeType($creativeSizeType) + { + $this->creativeSizeType = $creativeSizeType; + return $this; + } + + /** + * @return string + */ + public function getTargetingName() + { + return $this->targetingName; + } + + /** + * @param string $targetingName + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setTargetingName($targetingName) + { + $this->targetingName = $targetingName; + return $this; + } + + /** + * @return boolean + */ + public function getIsAmpOnly() + { + return $this->isAmpOnly; + } + + /** + * @param boolean $isAmpOnly + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function setIsAmpOnly($isAmpOnly) + { + $this->isAmpOnly = $isAmpOnly; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativePolicyViolation.php b/src/Google/AdsApi/AdManager/v202408/CreativePolicyViolation.php similarity index 96% rename from src/Google/AdsApi/AdManager/v202308/CreativePolicyViolation.php rename to src/Google/AdsApi/AdManager/v202408/CreativePolicyViolation.php index f2e73e49a..2639abf83 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativePolicyViolation.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativePolicyViolation.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\BaseDynamicAllocationCreative', + 'BaseCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCreativeTemplateVariableValue', + 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCreatives' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCreatives', + 'AdExchangeCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AdExchangeCreative', + 'AdSenseCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AdSenseCreative', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'AspectRatioImageCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AspectRatioImageCreative', + 'AssetCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202408\\AssetCreativeTemplateVariableValue', + 'Asset' => 'Google\\AdsApi\\AdManager\\v202408\\Asset', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudioCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AudioCreative', + 'AudioRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AudioRedirectCreative', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BaseAudioCreative' => 'Google\\AdsApi\\AdManager\\v202408\\BaseAudioCreative', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BaseImageCreative' => 'Google\\AdsApi\\AdManager\\v202408\\BaseImageCreative', + 'BaseImageRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\BaseImageRedirectCreative', + 'BaseRichMediaStudioCreative' => 'Google\\AdsApi\\AdManager\\v202408\\BaseRichMediaStudioCreative', + 'BaseVideoCreative' => 'Google\\AdsApi\\AdManager\\v202408\\BaseVideoCreative', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'ClickTag' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTag', + 'ClickTrackingCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTrackingCreative', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ConversionEvent_TrackingUrlsMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\ConversionEvent_TrackingUrlsMapEntry', + 'CreativeAction' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeAction', + 'CreativeAsset' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeAsset', + 'CustomCreativeAsset' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCreativeAsset', + 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeAssetMacroError', + 'Creative' => 'Google\\AdsApi\\AdManager\\v202408\\Creative', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CreativePage' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePage', + 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeSetError', + 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateError', + 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateOperationError', + 'CustomCreative' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCreative', + 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCreativeError', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateCreatives' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateCreatives', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'FileError' => 'Google\\AdsApi\\AdManager\\v202408\\FileError', + 'HasDestinationUrlCreative' => 'Google\\AdsApi\\AdManager\\v202408\\HasDestinationUrlCreative', + 'HasHtmlSnippetDynamicAllocationCreative' => 'Google\\AdsApi\\AdManager\\v202408\\HasHtmlSnippetDynamicAllocationCreative', + 'Html5Creative' => 'Google\\AdsApi\\AdManager\\v202408\\Html5Creative', + 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202408\\HtmlBundleProcessorError', + 'ImageCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ImageCreative', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'ImageOverlayCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ImageOverlayCreative', + 'ImageRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ImageRedirectCreative', + 'ImageRedirectOverlayCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ImageRedirectOverlayCreative', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InternalRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\InternalRedirectCreative', + 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidPhoneNumberError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LegacyDfpCreative' => 'Google\\AdsApi\\AdManager\\v202408\\LegacyDfpCreative', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LongCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202408\\LongCreativeTemplateVariableValue', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'ProgrammaticCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticCreative', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RedirectAsset' => 'Google\\AdsApi\\AdManager\\v202408\\RedirectAsset', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'RichMediaStudioChildAssetProperty' => 'Google\\AdsApi\\AdManager\\v202408\\RichMediaStudioChildAssetProperty', + 'RichMediaStudioCreative' => 'Google\\AdsApi\\AdManager\\v202408\\RichMediaStudioCreative', + 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\RichMediaStudioCreativeError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxCreative' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxCreative', + 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxCreativeError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202408\\StringCreativeTemplateVariableValue', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202408\\SwiffyConversionError', + 'TemplateCreative' => 'Google\\AdsApi\\AdManager\\v202408\\TemplateCreative', + 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\TemplateInstantiatedCreativeError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'ThirdPartyCreative' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyCreative', + 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyDataDeclaration', + 'TrackingUrls' => 'Google\\AdsApi\\AdManager\\v202408\\TrackingUrls', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UnsupportedCreative' => 'Google\\AdsApi\\AdManager\\v202408\\UnsupportedCreative', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UrlCreativeTemplateVariableValue' => 'Google\\AdsApi\\AdManager\\v202408\\UrlCreativeTemplateVariableValue', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VastRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\VastRedirectCreative', + 'VideoCreative' => 'Google\\AdsApi\\AdManager\\v202408\\VideoCreative', + 'VideoMetadata' => 'Google\\AdsApi\\AdManager\\v202408\\VideoMetadata', + 'VideoRedirectAsset' => 'Google\\AdsApi\\AdManager\\v202408\\VideoRedirectAsset', + 'VideoRedirectCreative' => 'Google\\AdsApi\\AdManager\\v202408\\VideoRedirectCreative', + 'createCreativesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCreativesResponse', + 'getCreativesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCreativesByStatementResponse', + 'performCreativeActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCreativeActionResponse', + 'updateCreativesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCreativesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CreativeService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Creative} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Creative[] $creatives + * @return \Google\AdsApi\AdManager\v202408\Creative[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCreatives(array $creatives) + { + return $this->__soapCall('createCreatives', array(array('creatives' => $creatives)))->getRval(); + } + + /** + * Gets a {@link CreativePage} of {@link Creative} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Creative#id}
{@code name}{@link Creative#name}
{@code advertiserId}{@link Creative#advertiserId}
{@code width}{@link Creative#size}
{@code height}{@link Creative#size}
{@code lastModifiedDateTime}{@link Creative#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CreativePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCreativesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCreativesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs action on {@link Creative} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CreativeAction $creativeAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCreativeAction(\Google\AdsApi\AdManager\v202408\CreativeAction $creativeAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCreativeAction', array(array('creativeAction' => $creativeAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Creative} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Creative[] $creatives + * @return \Google\AdsApi\AdManager\v202408\Creative[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCreatives(array $creatives) + { + return $this->__soapCall('updateCreatives', array(array('creatives' => $creatives)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeSet.php b/src/Google/AdsApi/AdManager/v202408/CreativeSet.php similarity index 81% rename from src/Google/AdsApi/AdManager/v202308/CreativeSet.php rename to src/Google/AdsApi/AdManager/v202408/CreativeSet.php index bbdb3a4fc..19a6f836c 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeSet.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeSet.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeAssetMacroError', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CreativeSet' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeSet', + 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeSetError', + 'CreativeSetPage' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeSetPage', + 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateError', + 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateOperationError', + 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCreativeError', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'FileError' => 'Google\\AdsApi\\AdManager\\v202408\\FileError', + 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202408\\HtmlBundleProcessorError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidPhoneNumberError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\RichMediaStudioCreativeError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxCreativeError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202408\\SwiffyConversionError', + 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\TemplateInstantiatedCreativeError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createCreativeSetResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCreativeSetResponse', + 'getCreativeSetsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCreativeSetsByStatementResponse', + 'updateCreativeSetResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCreativeSetResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CreativeSetService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates a new {@link CreativeSet}. + * + * @param \Google\AdsApi\AdManager\v202408\CreativeSet $creativeSet + * @return \Google\AdsApi\AdManager\v202408\CreativeSet + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCreativeSet(\Google\AdsApi\AdManager\v202408\CreativeSet $creativeSet) + { + return $this->__soapCall('createCreativeSet', array(array('creativeSet' => $creativeSet)))->getRval(); + } + + /** + * Gets a {@link CreativeSetPage} of {@link CreativeSet} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CreativeSet#id}
{@code name}{@link CreativeSet#name}
{@code masterCreativeId}{@link CreativeSet#masterCreativeId}
{@code lastModifiedDateTime}{@link CreativeSet#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\CreativeSetPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCreativeSetsByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getCreativeSetsByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Updates the specified {@link CreativeSet}. + * + * @param \Google\AdsApi\AdManager\v202408\CreativeSet $creativeSet + * @return \Google\AdsApi\AdManager\v202408\CreativeSet + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCreativeSet(\Google\AdsApi\AdManager\v202408\CreativeSet $creativeSet) + { + return $this->__soapCall('updateCreativeSet', array(array('creativeSet' => $creativeSet)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeSizeType.php b/src/Google/AdsApi/AdManager/v202408/CreativeSizeType.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/CreativeSizeType.php rename to src/Google/AdsApi/AdManager/v202408/CreativeSizeType.php index e22f1ae83..56d6ff93a 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeSizeType.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeSizeType.php @@ -1,6 +1,6 @@ name = $name; + $this->targeting = $targeting; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\CreativeTargeting + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\CreativeTargeting + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeTemplate.php b/src/Google/AdsApi/AdManager/v202408/CreativeTemplate.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/CreativeTemplate.php rename to src/Google/AdsApi/AdManager/v202408/CreativeTemplate.php index 3fa21dede..e7eee6c44 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeTemplate.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeTemplate.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'AssetCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\AssetCreativeTemplateVariable', + 'CreativeTemplate' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplate', + 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateError', + 'ListStringCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\ListStringCreativeTemplateVariable', + 'ListStringCreativeTemplateVariable.VariableChoice' => 'Google\\AdsApi\\AdManager\\v202408\\ListStringCreativeTemplateVariableVariableChoice', + 'LongCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\LongCreativeTemplateVariable', + 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateOperationError', + 'CreativeTemplatePage' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplatePage', + 'StringCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\StringCreativeTemplateVariable', + 'UrlCreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\UrlCreativeTemplateVariable', + 'CreativeTemplateVariable' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateVariable', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'getCreativeTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCreativeTemplatesByStatementResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CreativeTemplateService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Gets a {@link CreativeTemplatePage} of {@link CreativeTemplate} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CreativeTemplate#id}
{@code name}{@link CreativeTemplate#name}
{@code type}{@link CreativeTemplate#type}
{@code status}{@link CreativeTemplate#status}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CreativeTemplatePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCreativeTemplatesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCreativeTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeTemplateStatus.php b/src/Google/AdsApi/AdManager/v202408/CreativeTemplateStatus.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/CreativeTemplateStatus.php rename to src/Google/AdsApi/AdManager/v202408/CreativeTemplateStatus.php index ec449f073..40299a5da 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeTemplateStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeTemplateStatus.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCreativeWrappers' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCreativeWrappers', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ConversionEvent_TrackingUrlsMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\ConversionEvent_TrackingUrlsMapEntry', + 'CreativeWrapperAction' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapperAction', + 'CreativeWrapper' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapper', + 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapperError', + 'CreativeWrapperPage' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapperPage', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateCreativeWrappers' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateCreativeWrappers', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'LabelError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyDataDeclaration', + 'TrackingUrls' => 'Google\\AdsApi\\AdManager\\v202408\\TrackingUrls', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createCreativeWrappersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCreativeWrappersResponse', + 'getCreativeWrappersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCreativeWrappersByStatementResponse', + 'performCreativeWrapperActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCreativeWrapperActionResponse', + 'updateCreativeWrappersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCreativeWrappersResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CreativeWrapperService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates a new {@code CreativeWrapper} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapper[] $creativeWrappers + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapper[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCreativeWrappers(array $creativeWrappers) + { + return $this->__soapCall('createCreativeWrappers', array(array('creativeWrappers' => $creativeWrappers)))->getRval(); + } + + /** + * Gets a {@link CreativeWrapperPage} of {@link CreativeWrapper} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CreativeWrapper#id}
{@code labelId}{@link CreativeWrapper#labelId}
{@code status}{@link CreativeWrapper#status}
{@code ordering}{@link CreativeWrapper#ordering}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapperPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCreativeWrappersByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCreativeWrappersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link CreativeWrapper} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapperAction $creativeWrapperAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCreativeWrapperAction(\Google\AdsApi\AdManager\v202408\CreativeWrapperAction $creativeWrapperAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCreativeWrapperAction', array(array('creativeWrapperAction' => $creativeWrapperAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@code CreativeWrapper} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapper[] $creativeWrappers + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapper[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCreativeWrappers(array $creativeWrappers) + { + return $this->__soapCall('updateCreativeWrappers', array(array('creativeWrappers' => $creativeWrappers)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CreativeWrapperStatus.php b/src/Google/AdsApi/AdManager/v202408/CreativeWrapperStatus.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/CreativeWrapperStatus.php rename to src/Google/AdsApi/AdManager/v202408/CreativeWrapperStatus.php index c28bb2204..218cc9c34 100644 --- a/src/Google/AdsApi/AdManager/v202308/CreativeWrapperStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/CreativeWrapperStatus.php @@ -1,6 +1,6 @@ htmlSnippet = $htmlSnippet; $this->customCreativeAssets = $customCreativeAssets; $this->isInterstitial = $isInterstitial; @@ -94,7 +95,7 @@ public function getHtmlSnippet() /** * @param string $htmlSnippet - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setHtmlSnippet($htmlSnippet) { @@ -103,7 +104,7 @@ public function setHtmlSnippet($htmlSnippet) } /** - * @return \Google\AdsApi\AdManager\v202308\CustomCreativeAsset[] + * @return \Google\AdsApi\AdManager\v202408\CustomCreativeAsset[] */ public function getCustomCreativeAssets() { @@ -111,8 +112,8 @@ public function getCustomCreativeAssets() } /** - * @param \Google\AdsApi\AdManager\v202308\CustomCreativeAsset[]|null $customCreativeAssets - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @param \Google\AdsApi\AdManager\v202408\CustomCreativeAsset[]|null $customCreativeAssets + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setCustomCreativeAssets(array $customCreativeAssets = null) { @@ -130,7 +131,7 @@ public function getIsInterstitial() /** * @param boolean $isInterstitial - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setIsInterstitial($isInterstitial) { @@ -148,7 +149,7 @@ public function getLockedOrientation() /** * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setLockedOrientation($lockedOrientation) { @@ -166,7 +167,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setSslScanResult($sslScanResult) { @@ -184,7 +185,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setSslManualOverride($sslManualOverride) { @@ -202,7 +203,7 @@ public function getIsSafeFrameCompatible() /** * @param boolean $isSafeFrameCompatible - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setIsSafeFrameCompatible($isSafeFrameCompatible) { @@ -220,7 +221,7 @@ public function getThirdPartyImpressionTrackingUrls() /** * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\CustomCreative + * @return \Google\AdsApi\AdManager\v202408\CustomCreative */ public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) { diff --git a/src/Google/AdsApi/AdManager/v202408/CustomCreativeAsset.php b/src/Google/AdsApi/AdManager/v202408/CustomCreativeAsset.php new file mode 100644 index 000000000..3a2c4894c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/CustomCreativeAsset.php @@ -0,0 +1,68 @@ +macroName = $macroName; + $this->asset = $asset; + } + + /** + * @return string + */ + public function getMacroName() + { + return $this->macroName; + } + + /** + * @param string $macroName + * @return \Google\AdsApi\AdManager\v202408\CustomCreativeAsset + */ + public function setMacroName($macroName) + { + $this->macroName = $macroName; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset + */ + public function getAsset() + { + return $this->asset; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset $asset + * @return \Google\AdsApi\AdManager\v202408\CustomCreativeAsset + */ + public function setAsset($asset) + { + $this->asset = $asset; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomCreativeError.php b/src/Google/AdsApi/AdManager/v202408/CustomCreativeError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/CustomCreativeError.php rename to src/Google/AdsApi/AdManager/v202408/CustomCreativeError.php index 00c2270bf..34dba7eba 100644 --- a/src/Google/AdsApi/AdManager/v202308/CustomCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202408/CustomCreativeError.php @@ -1,12 +1,12 @@ logicalOperator = $logicalOperator; + $this->children = $children; + } + + /** + * @return string + */ + public function getLogicalOperator() + { + return $this->logicalOperator; + } + + /** + * @param string $logicalOperator + * @return \Google\AdsApi\AdManager\v202408\CustomCriteriaSet + */ + public function setLogicalOperator($logicalOperator) + { + $this->logicalOperator = $logicalOperator; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomCriteriaNode[] + */ + public function getChildren() + { + return $this->children; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomCriteriaNode[]|null $children + * @return \Google\AdsApi\AdManager\v202408\CustomCriteriaSet + */ + public function setChildren(array $children = null) + { + $this->children = $children; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomCriteriaSetLogicalOperator.php b/src/Google/AdsApi/AdManager/v202408/CustomCriteriaSetLogicalOperator.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/CustomCriteriaSetLogicalOperator.php rename to src/Google/AdsApi/AdManager/v202408/CustomCriteriaSetLogicalOperator.php index a7caddd1e..09c0669ab 100644 --- a/src/Google/AdsApi/AdManager/v202308/CustomCriteriaSetLogicalOperator.php +++ b/src/Google/AdsApi/AdManager/v202408/CustomCriteriaSetLogicalOperator.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCustomFields' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCustomFields', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CustomFieldAction' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldAction', + 'CustomField' => 'Google\\AdsApi\\AdManager\\v202408\\CustomField', + 'CustomFieldError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldError', + 'CustomFieldOption' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldOption', + 'CustomFieldPage' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldPage', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateCustomFields' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateCustomFields', + 'DropDownCustomField' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomField', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createCustomFieldOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCustomFieldOptionsResponse', + 'createCustomFieldsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCustomFieldsResponse', + 'getCustomFieldOptionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCustomFieldOptionResponse', + 'getCustomFieldsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCustomFieldsByStatementResponse', + 'performCustomFieldActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCustomFieldActionResponse', + 'updateCustomFieldOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCustomFieldOptionsResponse', + 'updateCustomFieldsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCustomFieldsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CustomFieldService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link CustomFieldOption} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption[] $customFieldOptions + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCustomFieldOptions(array $customFieldOptions) + { + return $this->__soapCall('createCustomFieldOptions', array(array('customFieldOptions' => $customFieldOptions)))->getRval(); + } + + /** + * Creates new {@link CustomField} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\CustomField[] $customFields + * @return \Google\AdsApi\AdManager\v202408\CustomField[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCustomFields(array $customFields) + { + return $this->__soapCall('createCustomFields', array(array('customFields' => $customFields)))->getRval(); + } + + /** + * Returns the {@link CustomFieldOption} uniquely identified by the given ID. + * + * @param int $customFieldOptionId + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCustomFieldOption($customFieldOptionId) + { + return $this->__soapCall('getCustomFieldOption', array(array('customFieldOptionId' => $customFieldOptionId)))->getRval(); + } + + /** + * Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CustomField#id}
{@code entityType}{@link CustomField#entityType}
{@code name}{@link CustomField#name}
{@code isActive}{@link CustomField#isActive}
{@code visibility}{@link CustomField#visibility}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CustomFieldPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCustomFieldsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCustomFieldsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link CustomField} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CustomFieldAction $customFieldAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCustomFieldAction(\Google\AdsApi\AdManager\v202408\CustomFieldAction $customFieldAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCustomFieldAction', array(array('customFieldAction' => $customFieldAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link CustomFieldOption} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption[] $customFieldOptions + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCustomFieldOptions(array $customFieldOptions) + { + return $this->__soapCall('updateCustomFieldOptions', array(array('customFieldOptions' => $customFieldOptions)))->getRval(); + } + + /** + * Updates the specified {@link CustomField} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CustomField[] $customFields + * @return \Google\AdsApi\AdManager\v202408\CustomField[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCustomFields(array $customFields) + { + return $this->__soapCall('updateCustomFields', array(array('customFields' => $customFields)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/CustomFieldValue.php b/src/Google/AdsApi/AdManager/v202408/CustomFieldValue.php new file mode 100644 index 000000000..ffc894304 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/CustomFieldValue.php @@ -0,0 +1,45 @@ +value = $value; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Value + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Value $value + * @return \Google\AdsApi\AdManager\v202408\CustomFieldValue + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomFieldValueError.php b/src/Google/AdsApi/AdManager/v202408/CustomFieldValueError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/CustomFieldValueError.php rename to src/Google/AdsApi/AdManager/v202408/CustomFieldValueError.php index 210017313..cbd838532 100644 --- a/src/Google/AdsApi/AdManager/v202308/CustomFieldValueError.php +++ b/src/Google/AdsApi/AdManager/v202408/CustomFieldValueError.php @@ -1,12 +1,12 @@ customPacingGoalUnit = $customPacingGoalUnit; + $this->customPacingGoals = $customPacingGoals; + } + + /** + * @return string + */ + public function getCustomPacingGoalUnit() + { + return $this->customPacingGoalUnit; + } + + /** + * @param string $customPacingGoalUnit + * @return \Google\AdsApi\AdManager\v202408\CustomPacingCurve + */ + public function setCustomPacingGoalUnit($customPacingGoalUnit) + { + $this->customPacingGoalUnit = $customPacingGoalUnit; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomPacingGoal[] + */ + public function getCustomPacingGoals() + { + return $this->customPacingGoals; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomPacingGoal[]|null $customPacingGoals + * @return \Google\AdsApi\AdManager\v202408\CustomPacingCurve + */ + public function setCustomPacingGoals(array $customPacingGoals = null) + { + $this->customPacingGoals = $customPacingGoals; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomPacingGoal.php b/src/Google/AdsApi/AdManager/v202408/CustomPacingGoal.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/CustomPacingGoal.php rename to src/Google/AdsApi/AdManager/v202408/CustomPacingGoal.php index a5c8c0df4..a3f919097 100644 --- a/src/Google/AdsApi/AdManager/v202308/CustomPacingGoal.php +++ b/src/Google/AdsApi/AdManager/v202408/CustomPacingGoal.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateCustomTargetingKeys' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCustomTargetingKeys', + 'ActivateCustomTargetingValues' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateCustomTargetingValues', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomTargetingKeyAction' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingKeyAction', + 'CustomTargetingKey' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingKey', + 'CustomTargetingKeyPage' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingKeyPage', + 'CustomTargetingValueAction' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingValueAction', + 'CustomTargetingValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingValue', + 'CustomTargetingValuePage' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingValuePage', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeleteCustomTargetingKeys' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteCustomTargetingKeys', + 'DeleteCustomTargetingValues' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteCustomTargetingValues', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createCustomTargetingKeysResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCustomTargetingKeysResponse', + 'createCustomTargetingValuesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createCustomTargetingValuesResponse', + 'getCustomTargetingKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCustomTargetingKeysByStatementResponse', + 'getCustomTargetingValuesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCustomTargetingValuesByStatementResponse', + 'performCustomTargetingKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCustomTargetingKeyActionResponse', + 'performCustomTargetingValueActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performCustomTargetingValueActionResponse', + 'updateCustomTargetingKeysResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCustomTargetingKeysResponse', + 'updateCustomTargetingValuesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateCustomTargetingValuesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/CustomTargetingService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link CustomTargetingKey} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] $keys + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCustomTargetingKeys(array $keys) + { + return $this->__soapCall('createCustomTargetingKeys', array(array('keys' => $keys)))->getRval(); + } + + /** + * Creates new {@link CustomTargetingValue} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] $values + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createCustomTargetingValues(array $values) + { + return $this->__soapCall('createCustomTargetingValues', array(array('values' => $values)))->getRval(); + } + + /** + * Gets a {@link CustomTargetingKeyPage} of {@link CustomTargetingKey} objects that satisfy the + * given {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link CustomTargetingKey#id}
{@code name}{@link CustomTargetingKey#name}
{@code displayName}{@link CustomTargetingKey#displayName}
{@code type}{@link CustomTargetingKey#type}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKeyPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCustomTargetingKeysByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCustomTargetingKeysByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link CustomTargetingValuePage} of {@link CustomTargetingValue} objects that satisfy + * the given {@link Statement#query}. + * + *

The {@code WHERE} clause in the {@link Statement#query} must always contain {@link + * CustomTargetingValue#customTargetingKeyId} as one of its columns in a way that it is AND'ed + * with the rest of the query. So, if you want to retrieve values for a known set of key ids, + * valid {@link Statement#query} would look like: + * + *

    + *
  1. "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated + * with keys having ids 17, 18, 19. + *
  2. "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated + * with keys having id 17 and value name is 'red'. + *
+ * + *

The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code id}{@link CustomTargetingValue#id}
{@code customTargetingKeyId}{@link CustomTargetingValue#customTargetingKeyId}
{@code name}{@link CustomTargetingValue#name}
{@code displayName}{@link CustomTargetingValue#displayName}
{@code matchType}{@link CustomTargetingValue#matchType}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValuePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCustomTargetingValuesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getCustomTargetingValuesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link CustomTargetingKey} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKeyAction $customTargetingKeyAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCustomTargetingKeyAction(\Google\AdsApi\AdManager\v202408\CustomTargetingKeyAction $customTargetingKeyAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCustomTargetingKeyAction', array(array('customTargetingKeyAction' => $customTargetingKeyAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link CustomTargetingValue} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValueAction $customTargetingValueAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performCustomTargetingValueAction(\Google\AdsApi\AdManager\v202408\CustomTargetingValueAction $customTargetingValueAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performCustomTargetingValueAction', array(array('customTargetingValueAction' => $customTargetingValueAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link CustomTargetingKey} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] $keys + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCustomTargetingKeys(array $keys) + { + return $this->__soapCall('updateCustomTargetingKeys', array(array('keys' => $keys)))->getRval(); + } + + /** + * Updates the specified {@link CustomTargetingValue} objects. + * + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] $values + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateCustomTargetingValues(array $values) + { + return $this->__soapCall('updateCustomTargetingValues', array(array('values' => $values)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/CustomTargetingValue.php b/src/Google/AdsApi/AdManager/v202408/CustomTargetingValue.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/CustomTargetingValue.php rename to src/Google/AdsApi/AdManager/v202408/CustomTargetingValue.php index 9b8205782..edeae3232 100644 --- a/src/Google/AdsApi/AdManager/v202308/CustomTargetingValue.php +++ b/src/Google/AdsApi/AdManager/v202408/CustomTargetingValue.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateDaiAuthenticationKeys' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateDaiAuthenticationKeys', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'DaiAuthenticationKeyAction' => 'Google\\AdsApi\\AdManager\\v202408\\DaiAuthenticationKeyAction', + 'DaiAuthenticationKeyActionError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiAuthenticationKeyActionError', + 'DaiAuthenticationKey' => 'Google\\AdsApi\\AdManager\\v202408\\DaiAuthenticationKey', + 'DaiAuthenticationKeyPage' => 'Google\\AdsApi\\AdManager\\v202408\\DaiAuthenticationKeyPage', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateDaiAuthenticationKeys' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateDaiAuthenticationKeys', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createDaiAuthenticationKeysResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createDaiAuthenticationKeysResponse', + 'getDaiAuthenticationKeysByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getDaiAuthenticationKeysByStatementResponse', + 'performDaiAuthenticationKeyActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performDaiAuthenticationKeyActionResponse', + 'updateDaiAuthenticationKeysResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateDaiAuthenticationKeysResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/DaiAuthenticationKeyService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link DaiAuthenticationKey} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] $daiAuthenticationKeys + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createDaiAuthenticationKeys(array $daiAuthenticationKeys) + { + return $this->__soapCall('createDaiAuthenticationKeys', array(array('daiAuthenticationKeys' => $daiAuthenticationKeys)))->getRval(); + } + + /** + * Gets a {@link DaiAuthenticationKeyPage} of {@link DaiAuthenticationKey} objects that satisfy + * the given {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link DaiAuthenticationKey#id}
{@code status}{@link DaiAuthenticationKey#status}
{@code name}{@link DaiAuthenticationKey#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKeyPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getDaiAuthenticationKeysByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getDaiAuthenticationKeysByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link DaiAuthenticationKey} objects that match the given {@link + * Statement#query}. + * + *

DAI authentication keys cannot be deactivated if there are active {@link LiveStreamEvent}s + * or Content Sources that are using them. + * + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKeyAction $daiAuthenticationKeyAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performDaiAuthenticationKeyAction(\Google\AdsApi\AdManager\v202408\DaiAuthenticationKeyAction $daiAuthenticationKeyAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performDaiAuthenticationKeyAction', array(array('daiAuthenticationKeyAction' => $daiAuthenticationKeyAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link DaiAuthenticationKey} objects. + * + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] $daiAuthenticationKeys + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateDaiAuthenticationKeys(array $daiAuthenticationKeys) + { + return $this->__soapCall('updateDaiAuthenticationKeys', array(array('daiAuthenticationKeys' => $daiAuthenticationKeys)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyStatus.php b/src/Google/AdsApi/AdManager/v202408/DaiAuthenticationKeyStatus.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyStatus.php rename to src/Google/AdsApi/AdManager/v202408/DaiAuthenticationKeyStatus.php index 29b10003a..9b267106d 100644 --- a/src/Google/AdsApi/AdManager/v202308/DaiAuthenticationKeyStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/DaiAuthenticationKeyStatus.php @@ -1,6 +1,6 @@ id = $id; + $this->name = $name; + $this->status = $status; + $this->variantType = $variantType; + $this->containerType = $containerType; + $this->videoSettings = $videoSettings; + $this->audioSettings = $audioSettings; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return string + */ + public function getStatus() + { + return $this->status; + } + + /** + * @param string $status + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setStatus($status) + { + $this->status = $status; + return $this; + } + + /** + * @return string + */ + public function getVariantType() + { + return $this->variantType; + } + + /** + * @param string $variantType + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setVariantType($variantType) + { + $this->variantType = $variantType; + return $this; + } + + /** + * @return string + */ + public function getContainerType() + { + return $this->containerType; + } + + /** + * @param string $containerType + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setContainerType($containerType) + { + $this->containerType = $containerType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoSettings + */ + public function getVideoSettings() + { + return $this->videoSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoSettings $videoSettings + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setVideoSettings($videoSettings) + { + $this->videoSettings = $videoSettings; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AudioSettings + */ + public function getAudioSettings() + { + return $this->audioSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AudioSettings $audioSettings + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile + */ + public function setAudioSettings($audioSettings) + { + $this->audioSettings = $audioSettings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileAction.php b/src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileAction.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileAction.php rename to src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileAction.php index 17bdbec31..dccf217b5 100644 --- a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileAction.php +++ b/src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateDaiEncodingProfiles' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateDaiEncodingProfiles', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ArchiveDaiEncodingProfiles' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveDaiEncodingProfiles', + 'AudioSettings' => 'Google\\AdsApi\\AdManager\\v202408\\AudioSettings', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'DaiEncodingProfileAction' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileAction', + 'DaiEncodingProfileAdMatchingError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileAdMatchingError', + 'DaiEncodingProfileContainerSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileContainerSettingsError', + 'DaiEncodingProfile' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfile', + 'DaiEncodingProfileNameError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileNameError', + 'DaiEncodingProfilePage' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfilePage', + 'DaiEncodingProfileUpdateError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileUpdateError', + 'DaiEncodingProfileVariantSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\DaiEncodingProfileVariantSettingsError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VideoSettings' => 'Google\\AdsApi\\AdManager\\v202408\\VideoSettings', + 'createDaiEncodingProfilesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createDaiEncodingProfilesResponse', + 'getDaiEncodingProfilesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getDaiEncodingProfilesByStatementResponse', + 'performDaiEncodingProfileActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performDaiEncodingProfileActionResponse', + 'updateDaiEncodingProfilesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateDaiEncodingProfilesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/DaiEncodingProfileService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link DaiEncodingProfile} objects. + * + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] $daiEncodingProfiles + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createDaiEncodingProfiles(array $daiEncodingProfiles) + { + return $this->__soapCall('createDaiEncodingProfiles', array(array('daiEncodingProfiles' => $daiEncodingProfiles)))->getRval(); + } + + /** + * Gets a {@link DaiEncodingProfilePage} of {@link DaiEncodingProfile} objects that satisfy the + * given {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link DaiEncodingProfile#id}
{@code status}{@link DaiEncodingProfile#status}
{@code name}{@link DaiEncodingProfile#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfilePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getDaiEncodingProfilesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getDaiEncodingProfilesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link DaiEncodingProfile} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfileAction $daiEncodingProfileAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performDaiEncodingProfileAction(\Google\AdsApi\AdManager\v202408\DaiEncodingProfileAction $daiEncodingProfileAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performDaiEncodingProfileAction', array(array('daiEncodingProfileAction' => $daiEncodingProfileAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link DaiEncodingProfile} objects. + * + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] $daiEncodingProfiles + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateDaiEncodingProfiles(array $daiEncodingProfiles) + { + return $this->__soapCall('updateDaiEncodingProfiles', array(array('daiEncodingProfiles' => $daiEncodingProfiles)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileStatus.php b/src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileStatus.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileStatus.php rename to src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileStatus.php index ca5fda300..7db4a292f 100644 --- a/src/Google/AdsApi/AdManager/v202308/DaiEncodingProfileStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/DaiEncodingProfileStatus.php @@ -1,6 +1,6 @@ startDate = $startDate; + $this->endDate = $endDate; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Date + */ + public function getStartDate() + { + return $this->startDate; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Date $startDate + * @return \Google\AdsApi\AdManager\v202408\DateRange + */ + public function setStartDate($startDate) + { + $this->startDate = $startDate; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Date + */ + public function getEndDate() + { + return $this->endDate; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Date $endDate + * @return \Google\AdsApi\AdManager\v202408\DateRange + */ + public function setEndDate($endDate) + { + $this->endDate = $endDate; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DateRangeType.php b/src/Google/AdsApi/AdManager/v202408/DateRangeType.php similarity index 94% rename from src/Google/AdsApi/AdManager/v202308/DateRangeType.php rename to src/Google/AdsApi/AdManager/v202408/DateRangeType.php index 1efe0ce49..26a87c801 100644 --- a/src/Google/AdsApi/AdManager/v202308/DateRangeType.php +++ b/src/Google/AdsApi/AdManager/v202408/DateRangeType.php @@ -1,6 +1,6 @@ startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\DateTimeRange + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\DateTimeRange + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargeting.php new file mode 100644 index 000000000..1ae11f922 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargeting.php @@ -0,0 +1,43 @@ +targetedDateTimeRanges = $targetedDateTimeRanges; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTimeRange[] + */ + public function getTargetedDateTimeRanges() + { + return $this->targetedDateTimeRanges; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTimeRange[]|null $targetedDateTimeRanges + * @return \Google\AdsApi\AdManager\v202408\DateTimeRangeTargeting + */ + public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) + { + $this->targetedDateTimeRanges = $targetedDateTimeRanges; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargetingError.php b/src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargetingError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargetingError.php index ba280430f..a2bd6abbf 100644 --- a/src/Google/AdsApi/AdManager/v202308/DateTimeRangeTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/DateTimeRangeTargetingError.php @@ -1,12 +1,12 @@ value = $value; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $value + * @return \Google\AdsApi\AdManager\v202408\DateTimeValue + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/DateValue.php b/src/Google/AdsApi/AdManager/v202408/DateValue.php new file mode 100644 index 000000000..da815b423 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/DateValue.php @@ -0,0 +1,43 @@ +value = $value; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Date + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Date $value + * @return \Google\AdsApi\AdManager\v202408\DateValue + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DayOfWeek.php b/src/Google/AdsApi/AdManager/v202408/DayOfWeek.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/DayOfWeek.php rename to src/Google/AdsApi/AdManager/v202408/DayOfWeek.php index a2f89cd3c..58f2aad2c 100644 --- a/src/Google/AdsApi/AdManager/v202308/DayOfWeek.php +++ b/src/Google/AdsApi/AdManager/v202408/DayOfWeek.php @@ -1,6 +1,6 @@ dayOfWeek = $dayOfWeek; + $this->startTime = $startTime; + $this->endTime = $endTime; + } + + /** + * @return string + */ + public function getDayOfWeek() + { + return $this->dayOfWeek; + } + + /** + * @param string $dayOfWeek + * @return \Google\AdsApi\AdManager\v202408\DayPart + */ + public function setDayOfWeek($dayOfWeek) + { + $this->dayOfWeek = $dayOfWeek; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TimeOfDay + */ + public function getStartTime() + { + return $this->startTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TimeOfDay $startTime + * @return \Google\AdsApi\AdManager\v202408\DayPart + */ + public function setStartTime($startTime) + { + $this->startTime = $startTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TimeOfDay + */ + public function getEndTime() + { + return $this->endTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TimeOfDay $endTime + * @return \Google\AdsApi\AdManager\v202408\DayPart + */ + public function setEndTime($endTime) + { + $this->endTime = $endTime; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202408/DayPartTargeting.php new file mode 100644 index 000000000..3504beb70 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/DayPartTargeting.php @@ -0,0 +1,68 @@ +dayParts = $dayParts; + $this->timeZone = $timeZone; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DayPart[] + */ + public function getDayParts() + { + return $this->dayParts; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DayPart[]|null $dayParts + * @return \Google\AdsApi\AdManager\v202408\DayPartTargeting + */ + public function setDayParts(array $dayParts = null) + { + $this->dayParts = $dayParts; + return $this; + } + + /** + * @return string + */ + public function getTimeZone() + { + return $this->timeZone; + } + + /** + * @param string $timeZone + * @return \Google\AdsApi\AdManager\v202408\DayPartTargeting + */ + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DayPartTargetingError.php b/src/Google/AdsApi/AdManager/v202408/DayPartTargetingError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/DayPartTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/DayPartTargetingError.php index c64c2c10d..23f2777ca 100644 --- a/src/Google/AdsApi/AdManager/v202308/DayPartTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/DayPartTargetingError.php @@ -1,12 +1,12 @@ lineItemDeliveryForecasts = $lineItemDeliveryForecasts; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemDeliveryForecast[] + */ + public function getLineItemDeliveryForecasts() + { + return $this->lineItemDeliveryForecasts; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts + * @return \Google\AdsApi\AdManager\v202408\DeliveryForecast + */ + public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) + { + $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DeliveryForecastOptions.php b/src/Google/AdsApi/AdManager/v202408/DeliveryForecastOptions.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/DeliveryForecastOptions.php rename to src/Google/AdsApi/AdManager/v202408/DeliveryForecastOptions.php index 0a22afc43..396add4dc 100644 --- a/src/Google/AdsApi/AdManager/v202308/DeliveryForecastOptions.php +++ b/src/Google/AdsApi/AdManager/v202408/DeliveryForecastOptions.php @@ -1,6 +1,6 @@ targetedDeviceCapabilities = $targetedDeviceCapabilities; + $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getTargetedDeviceCapabilities() + { + return $this->targetedDeviceCapabilities; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $targetedDeviceCapabilities + * @return \Google\AdsApi\AdManager\v202408\DeviceCapabilityTargeting + */ + public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) + { + $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getExcludedDeviceCapabilities() + { + return $this->excludedDeviceCapabilities; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $excludedDeviceCapabilities + * @return \Google\AdsApi\AdManager\v202408\DeviceCapabilityTargeting + */ + public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) + { + $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/DeviceCategory.php b/src/Google/AdsApi/AdManager/v202408/DeviceCategory.php new file mode 100644 index 000000000..eb310653b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/DeviceCategory.php @@ -0,0 +1,21 @@ +targetedDeviceCategories = $targetedDeviceCategories; + $this->excludedDeviceCategories = $excludedDeviceCategories; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getTargetedDeviceCategories() + { + return $this->targetedDeviceCategories; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $targetedDeviceCategories + * @return \Google\AdsApi\AdManager\v202408\DeviceCategoryTargeting + */ + public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) + { + $this->targetedDeviceCategories = $targetedDeviceCategories; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getExcludedDeviceCategories() + { + return $this->excludedDeviceCategories; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $excludedDeviceCategories + * @return \Google\AdsApi\AdManager\v202408\DeviceCategoryTargeting + */ + public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) + { + $this->excludedDeviceCategories = $excludedDeviceCategories; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/DeviceManufacturer.php b/src/Google/AdsApi/AdManager/v202408/DeviceManufacturer.php new file mode 100644 index 000000000..7c50c9408 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/DeviceManufacturer.php @@ -0,0 +1,21 @@ +isTargeted = $isTargeted; + $this->deviceManufacturers = $deviceManufacturers; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\DeviceManufacturerTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getDeviceManufacturers() + { + return $this->deviceManufacturers; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $deviceManufacturers + * @return \Google\AdsApi\AdManager\v202408\DeviceManufacturerTargeting + */ + public function setDeviceManufacturers(array $deviceManufacturers = null) + { + $this->deviceManufacturers = $deviceManufacturers; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Dimension.php b/src/Google/AdsApi/AdManager/v202408/Dimension.php similarity index 96% rename from src/Google/AdsApi/AdManager/v202308/Dimension.php rename to src/Google/AdsApi/AdManager/v202408/Dimension.php index 58aec70e3..e611bd18a 100644 --- a/src/Google/AdsApi/AdManager/v202308/Dimension.php +++ b/src/Google/AdsApi/AdManager/v202408/Dimension.php @@ -1,6 +1,6 @@ options = $options; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption[] + */ + public function getOptions() + { + return $this->options; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption[]|null $options + * @return \Google\AdsApi\AdManager\v202408\DropDownCustomField + */ + public function setOptions(array $options = null) + { + $this->options = $options; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/DropDownCustomFieldValue.php b/src/Google/AdsApi/AdManager/v202408/DropDownCustomFieldValue.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/DropDownCustomFieldValue.php rename to src/Google/AdsApi/AdManager/v202408/DropDownCustomFieldValue.php index fb2a3b88b..487adb336 100644 --- a/src/Google/AdsApi/AdManager/v202308/DropDownCustomFieldValue.php +++ b/src/Google/AdsApi/AdManager/v202408/DropDownCustomFieldValue.php @@ -1,12 +1,12 @@ inventoryRule = $inventoryRule; + $this->customCriteriaRule = $customCriteriaRule; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventoryTargeting + */ + public function getInventoryRule() + { + return $this->inventoryRule; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventoryTargeting $inventoryRule + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegmentRule + */ + public function setInventoryRule($inventoryRule) + { + $this->inventoryRule = $inventoryRule; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomCriteriaSet + */ + public function getCustomCriteriaRule() + { + return $this->customCriteriaRule; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomCriteriaSet $customCriteriaRule + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegmentRule + */ + public function setCustomCriteriaRule($customCriteriaRule) + { + $this->customCriteriaRule = $customCriteriaRule; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastAdjustment.php b/src/Google/AdsApi/AdManager/v202408/ForecastAdjustment.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/ForecastAdjustment.php rename to src/Google/AdsApi/AdManager/v202408/ForecastAdjustment.php index 2c6544d0f..d5f871628 100644 --- a/src/Google/AdsApi/AdManager/v202308/ForecastAdjustment.php +++ b/src/Google/AdsApi/AdManager/v202408/ForecastAdjustment.php @@ -1,6 +1,6 @@ startTime = $startTime; + $this->endTime = $endTime; + $this->breakdownEntries = $breakdownEntries; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartTime() + { + return $this->startTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startTime + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdown + */ + public function setStartTime($startTime) + { + $this->startTime = $startTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndTime() + { + return $this->endTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endTime + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdown + */ + public function setEndTime($endTime) + { + $this->endTime = $endTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownEntry[] + */ + public function getBreakdownEntries() + { + return $this->breakdownEntries; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastBreakdownEntry[]|null $breakdownEntries + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdown + */ + public function setBreakdownEntries(array $breakdownEntries = null) + { + $this->breakdownEntries = $breakdownEntries; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownEntry.php b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownEntry.php new file mode 100644 index 000000000..699fca5ab --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownEntry.php @@ -0,0 +1,68 @@ +name = $name; + $this->forecast = $forecast; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownEntry + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BreakdownForecast + */ + public function getForecast() + { + return $this->forecast; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BreakdownForecast $forecast + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownEntry + */ + public function setForecast($forecast) + { + $this->forecast = $forecast; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownOptions.php new file mode 100644 index 000000000..230dc26bf --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownOptions.php @@ -0,0 +1,68 @@ +timeWindows = $timeWindows; + $this->targets = $targets; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime[] + */ + public function getTimeWindows() + { + return $this->timeWindows; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime[]|null $timeWindows + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownOptions + */ + public function setTimeWindows(array $timeWindows = null) + { + $this->timeWindows = $timeWindows; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownTarget[] + */ + public function getTargets() + { + return $this->targets; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastBreakdownTarget[]|null $targets + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownOptions + */ + public function setTargets(array $targets = null) + { + $this->targets = $targets; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownTarget.php b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownTarget.php new file mode 100644 index 000000000..d1a99011c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ForecastBreakdownTarget.php @@ -0,0 +1,93 @@ +name = $name; + $this->targeting = $targeting; + $this->creative = $creative; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownTarget + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownTarget + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder + */ + public function getCreative() + { + return $this->creative; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativePlaceholder $creative + * @return \Google\AdsApi\AdManager\v202408\ForecastBreakdownTarget + */ + public function setCreative($creative) + { + $this->creative = $creative; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ForecastError.php b/src/Google/AdsApi/AdManager/v202408/ForecastError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/ForecastError.php rename to src/Google/AdsApi/AdManager/v202408/ForecastError.php index dde066331..282a56d3b 100644 --- a/src/Google/AdsApi/AdManager/v202308/ForecastError.php +++ b/src/Google/AdsApi/AdManager/v202408/ForecastError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitCodeError', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'AlternativeUnitTypeForecast' => 'Google\\AdsApi\\AdManager\\v202408\\AlternativeUnitTypeForecast', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceExtensionError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'AvailabilityForecast' => 'Google\\AdsApi\\AdManager\\v202408\\AvailabilityForecast', + 'AvailabilityForecastOptions' => 'Google\\AdsApi\\AdManager\\v202408\\AvailabilityForecastOptions', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTrackingLineItemError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyCreditStatusError', + 'ContendingLineItem' => 'Google\\AdsApi\\AdManager\\v202408\\ContendingLineItem', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePlaceholder', + 'CreativeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTargeting', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CustomPacingCurve' => 'Google\\AdsApi\\AdManager\\v202408\\CustomPacingCurve', + 'CustomPacingGoal' => 'Google\\AdsApi\\AdManager\\v202408\\CustomPacingGoal', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateError' => 'Google\\AdsApi\\AdManager\\v202408\\DateError', + 'DateRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateRange', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryData', + 'BreakdownForecast' => 'Google\\AdsApi\\AdManager\\v202408\\BreakdownForecast', + 'DeliveryForecastOptions' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryForecastOptions', + 'DeliveryForecast' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryForecast', + 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryIndicator', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastBreakdown' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastBreakdown', + 'ForecastBreakdownEntry' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastBreakdownEntry', + 'ForecastBreakdownOptions' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastBreakdownOptions', + 'ForecastBreakdownTarget' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastBreakdownTarget', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCap', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'Goal' => 'Google\\AdsApi\\AdManager\\v202408\\Goal', + 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettings', + 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettingsError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociationError', + 'LineItemActivityAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociation', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LineItemDealInfoDto' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemDealInfoDto', + 'LineItemDeliveryForecast' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemDeliveryForecast', + 'LineItem' => 'Google\\AdsApi\\AdManager\\v202408\\LineItem', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'LineItemSummary' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemSummary', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderActionError', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'ProposalLineItem' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItem', + 'ProposalLineItemMakegoodInfo' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemMakegoodInfo', + 'ProspectiveLineItem' => 'Google\\AdsApi\\AdManager\\v202408\\ProspectiveLineItem', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxLineItemError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'Stats' => 'Google\\AdsApi\\AdManager\\v202408\\Stats', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'TargetingCriteriaBreakdown' => 'Google\\AdsApi\\AdManager\\v202408\\TargetingCriteriaBreakdown', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyMeasurementSettings', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TimeSeries' => 'Google\\AdsApi\\AdManager\\v202408\\TimeSeries', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TrafficDataRequest' => 'Google\\AdsApi\\AdManager\\v202408\\TrafficDataRequest', + 'TrafficDataResponse' => 'Google\\AdsApi\\AdManager\\v202408\\TrafficDataResponse', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'getAvailabilityForecastResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAvailabilityForecastResponse', + 'getAvailabilityForecastByIdResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAvailabilityForecastByIdResponse', + 'getDeliveryForecastResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getDeliveryForecastResponse', + 'getDeliveryForecastByIdsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getDeliveryForecastByIdsResponse', + 'getTrafficDataResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getTrafficDataResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ForecastService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Gets the availability forecast for a {@link ProspectiveLineItem}. An availability forecast + * reports the maximum number of available units that the line item can book, and the total number + * of units matching the line item's targeting. + * + * @param \Google\AdsApi\AdManager\v202408\ProspectiveLineItem $lineItem + * @param \Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions $forecastOptions + * @return \Google\AdsApi\AdManager\v202408\AvailabilityForecast + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAvailabilityForecast(\Google\AdsApi\AdManager\v202408\ProspectiveLineItem $lineItem, \Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions $forecastOptions) + { + return $this->__soapCall('getAvailabilityForecast', array(array('lineItem' => $lineItem, 'forecastOptions' => $forecastOptions)))->getRval(); + } + + /** + * Gets an {@link AvailabilityForecast} for an existing {@link LineItem} object. An availability + * forecast reports the maximum number of available units that the line item can be booked with, + * and also the total number of units matching the line item's targeting. + * + *

Only line items having type {@link LineItemType#SPONSORSHIP} or {@link + * LineItemType#STANDARD} are valid. Other types will result in {@link + * ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED}. + * + * @param int $lineItemId + * @param \Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions $forecastOptions + * @return \Google\AdsApi\AdManager\v202408\AvailabilityForecast + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAvailabilityForecastById($lineItemId, \Google\AdsApi\AdManager\v202408\AvailabilityForecastOptions $forecastOptions) + { + return $this->__soapCall('getAvailabilityForecastById', array(array('lineItemId' => $lineItemId, 'forecastOptions' => $forecastOptions)))->getRval(); + } + + /** + * Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single + * delivery simulation with line items potentially contending with each other. A delivery forecast + * reports the number of units that will be delivered to each line item given the line item goals + * and contentions from other line items. + * + * @param \Google\AdsApi\AdManager\v202408\ProspectiveLineItem[] $lineItems + * @param \Google\AdsApi\AdManager\v202408\DeliveryForecastOptions $forecastOptions + * @return \Google\AdsApi\AdManager\v202408\DeliveryForecast + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getDeliveryForecast(array $lineItems, \Google\AdsApi\AdManager\v202408\DeliveryForecastOptions $forecastOptions) + { + return $this->__soapCall('getDeliveryForecast', array(array('lineItems' => $lineItems, 'forecastOptions' => $forecastOptions)))->getRval(); + } + + /** + * Gets the delivery forecast for a list of existing {@link LineItem} objects in a single delivery + * simulation. A delivery forecast reports the number of units that will be delivered to each line + * item given the line item goals and contentions from other line items. + * + * @param long[] $lineItemIds + * @param \Google\AdsApi\AdManager\v202408\DeliveryForecastOptions $forecastOptions + * @return \Google\AdsApi\AdManager\v202408\DeliveryForecast + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getDeliveryForecastByIds(array $lineItemIds, \Google\AdsApi\AdManager\v202408\DeliveryForecastOptions $forecastOptions) + { + return $this->__soapCall('getDeliveryForecastByIds', array(array('lineItemIds' => $lineItemIds, 'forecastOptions' => $forecastOptions)))->getRval(); + } + + /** + * Returns forecasted and historical traffic data for the segment of traffic specified by the + * provided request. + * + *

Calling this endpoint programmatically is only available for Ad Manager 360 networks. + * + * @param \Google\AdsApi\AdManager\v202408\TrafficDataRequest $trafficDataRequest + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getTrafficData(\Google\AdsApi\AdManager\v202408\TrafficDataRequest $trafficDataRequest) + { + return $this->__soapCall('getTrafficData', array(array('trafficDataRequest' => $trafficDataRequest)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/FrequencyCap.php b/src/Google/AdsApi/AdManager/v202408/FrequencyCap.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/FrequencyCap.php rename to src/Google/AdsApi/AdManager/v202408/FrequencyCap.php index d17ac8896..a8aca8b66 100644 --- a/src/Google/AdsApi/AdManager/v202308/FrequencyCap.php +++ b/src/Google/AdsApi/AdManager/v202408/FrequencyCap.php @@ -1,6 +1,6 @@ targetedLocations = $targetedLocations; + $this->excludedLocations = $excludedLocations; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Location[] + */ + public function getTargetedLocations() + { + return $this->targetedLocations; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Location[]|null $targetedLocations + * @return \Google\AdsApi\AdManager\v202408\GeoTargeting + */ + public function setTargetedLocations(array $targetedLocations = null) + { + $this->targetedLocations = $targetedLocations; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Location[] + */ + public function getExcludedLocations() + { + return $this->excludedLocations; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Location[]|null $excludedLocations + * @return \Google\AdsApi\AdManager\v202408\GeoTargeting + */ + public function setExcludedLocations(array $excludedLocations = null) + { + $this->excludedLocations = $excludedLocations; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/GeoTargetingError.php b/src/Google/AdsApi/AdManager/v202408/GeoTargetingError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/GeoTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/GeoTargetingError.php index 92546a355..ff482397b 100644 --- a/src/Google/AdsApi/AdManager/v202308/GeoTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/GeoTargetingError.php @@ -1,12 +1,12 @@ minTargetAge = $minTargetAge; $this->maxTargetAge = $maxTargetAge; $this->targetGender = $targetGender; $this->provider = $provider; - $this->targetImpressionGoal = $targetImpressionGoal; $this->inTargetRatioEstimateMilliPercent = $inTargetRatioEstimateMilliPercent; $this->nielsenCtvPacingType = $nielsenCtvPacingType; $this->pacingDeviceCategorizationType = $pacingDeviceCategorizationType; @@ -88,7 +81,7 @@ public function getMinTargetAge() /** * @param int $minTargetAge - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setMinTargetAge($minTargetAge) { @@ -107,7 +100,7 @@ public function getMaxTargetAge() /** * @param int $maxTargetAge - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setMaxTargetAge($maxTargetAge) { @@ -126,7 +119,7 @@ public function getTargetGender() /** * @param string $targetGender - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setTargetGender($targetGender) { @@ -144,7 +137,7 @@ public function getProvider() /** * @param string $provider - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setProvider($provider) { @@ -152,25 +145,6 @@ public function setProvider($provider) return $this; } - /** - * @return int - */ - public function getTargetImpressionGoal() - { - return $this->targetImpressionGoal; - } - - /** - * @param int $targetImpressionGoal - * @return \Google\AdsApi\AdManager\v202308\GrpSettings - */ - public function setTargetImpressionGoal($targetImpressionGoal) - { - $this->targetImpressionGoal = (!is_null($targetImpressionGoal) && PHP_INT_SIZE === 4) - ? floatval($targetImpressionGoal) : $targetImpressionGoal; - return $this; - } - /** * @return int */ @@ -181,7 +155,7 @@ public function getInTargetRatioEstimateMilliPercent() /** * @param int $inTargetRatioEstimateMilliPercent - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setInTargetRatioEstimateMilliPercent($inTargetRatioEstimateMilliPercent) { @@ -200,7 +174,7 @@ public function getNielsenCtvPacingType() /** * @param string $nielsenCtvPacingType - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setNielsenCtvPacingType($nielsenCtvPacingType) { @@ -218,7 +192,7 @@ public function getPacingDeviceCategorizationType() /** * @param string $pacingDeviceCategorizationType - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setPacingDeviceCategorizationType($pacingDeviceCategorizationType) { @@ -236,7 +210,7 @@ public function getApplyTrueCoview() /** * @param boolean $applyTrueCoview - * @return \Google\AdsApi\AdManager\v202308\GrpSettings + * @return \Google\AdsApi\AdManager\v202408\GrpSettings */ public function setApplyTrueCoview($applyTrueCoview) { diff --git a/src/Google/AdsApi/AdManager/v202308/GrpSettingsError.php b/src/Google/AdsApi/AdManager/v202408/GrpSettingsError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/GrpSettingsError.php rename to src/Google/AdsApi/AdManager/v202408/GrpSettingsError.php index 9c8bf6eb2..0c83d08f2 100644 --- a/src/Google/AdsApi/AdManager/v202308/GrpSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202408/GrpSettingsError.php @@ -1,12 +1,12 @@ destinationUrl = $destinationUrl; + $this->destinationUrlType = $destinationUrlType; + } + + /** + * @return string + */ + public function getDestinationUrl() + { + return $this->destinationUrl; + } + + /** + * @param string $destinationUrl + * @return \Google\AdsApi\AdManager\v202408\HasDestinationUrlCreative + */ + public function setDestinationUrl($destinationUrl) + { + $this->destinationUrl = $destinationUrl; + return $this; + } + + /** + * @return string + */ + public function getDestinationUrlType() + { + return $this->destinationUrlType; + } + + /** + * @param string $destinationUrlType + * @return \Google\AdsApi\AdManager\v202408\HasDestinationUrlCreative + */ + public function setDestinationUrlType($destinationUrlType) + { + $this->destinationUrlType = $destinationUrlType; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202408/HasHtmlSnippetDynamicAllocationCreative.php new file mode 100644 index 000000000..fa54eb1ed --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/HasHtmlSnippetDynamicAllocationCreative.php @@ -0,0 +1,55 @@ +codeSnippet = $codeSnippet; + } + + /** + * @return string + */ + public function getCodeSnippet() + { + return $this->codeSnippet; + } + + /** + * @param string $codeSnippet + * @return \Google\AdsApi\AdManager\v202408\HasHtmlSnippetDynamicAllocationCreative + */ + public function setCodeSnippet($codeSnippet) + { + $this->codeSnippet = $codeSnippet; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/HistoricalBasisVolumeSettings.php b/src/Google/AdsApi/AdManager/v202408/HistoricalBasisVolumeSettings.php similarity index 76% rename from src/Google/AdsApi/AdManager/v202308/HistoricalBasisVolumeSettings.php rename to src/Google/AdsApi/AdManager/v202408/HistoricalBasisVolumeSettings.php index a683321e3..314b58e0f 100644 --- a/src/Google/AdsApi/AdManager/v202308/HistoricalBasisVolumeSettings.php +++ b/src/Google/AdsApi/AdManager/v202408/HistoricalBasisVolumeSettings.php @@ -1,6 +1,6 @@ playlistType = $playlistType; + $this->masterPlaylistSettings = $masterPlaylistSettings; + } + + /** + * @return string + */ + public function getPlaylistType() + { + return $this->playlistType; + } + + /** + * @param string $playlistType + * @return \Google\AdsApi\AdManager\v202408\HlsSettings + */ + public function setPlaylistType($playlistType) + { + $this->playlistType = $playlistType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MasterPlaylistSettings + */ + public function getMasterPlaylistSettings() + { + return $this->masterPlaylistSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MasterPlaylistSettings $masterPlaylistSettings + * @return \Google\AdsApi\AdManager\v202408\HlsSettings + */ + public function setMasterPlaylistSettings($masterPlaylistSettings) + { + $this->masterPlaylistSettings = $masterPlaylistSettings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Html5Creative.php b/src/Google/AdsApi/AdManager/v202408/Html5Creative.php similarity index 76% rename from src/Google/AdsApi/AdManager/v202308/Html5Creative.php rename to src/Google/AdsApi/AdManager/v202408/Html5Creative.php index 0849b64f0..876b192af 100644 --- a/src/Google/AdsApi/AdManager/v202308/Html5Creative.php +++ b/src/Google/AdsApi/AdManager/v202408/Html5Creative.php @@ -1,12 +1,12 @@ overrideSize = $overrideSize; $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; $this->thirdPartyClickTrackingUrl = $thirdPartyClickTrackingUrl; @@ -92,7 +93,7 @@ public function getOverrideSize() /** * @param boolean $overrideSize - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setOverrideSize($overrideSize) { @@ -110,7 +111,7 @@ public function getThirdPartyImpressionTrackingUrls() /** * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) { @@ -128,7 +129,7 @@ public function getThirdPartyClickTrackingUrl() /** * @param string $thirdPartyClickTrackingUrl - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setThirdPartyClickTrackingUrl($thirdPartyClickTrackingUrl) { @@ -146,7 +147,7 @@ public function getLockedOrientation() /** * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setLockedOrientation($lockedOrientation) { @@ -164,7 +165,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setSslScanResult($sslScanResult) { @@ -182,7 +183,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setSslManualOverride($sslManualOverride) { @@ -200,7 +201,7 @@ public function getIsSafeFrameCompatible() /** * @param boolean $isSafeFrameCompatible - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setIsSafeFrameCompatible($isSafeFrameCompatible) { @@ -209,7 +210,7 @@ public function setIsSafeFrameCompatible($isSafeFrameCompatible) } /** - * @return \Google\AdsApi\AdManager\v202308\CreativeAsset + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset */ public function getHtml5Asset() { @@ -217,8 +218,8 @@ public function getHtml5Asset() } /** - * @param \Google\AdsApi\AdManager\v202308\CreativeAsset $html5Asset - * @return \Google\AdsApi\AdManager\v202308\Html5Creative + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset $html5Asset + * @return \Google\AdsApi\AdManager\v202408\Html5Creative */ public function setHtml5Asset($html5Asset) { diff --git a/src/Google/AdsApi/AdManager/v202308/HtmlBundleProcessorError.php b/src/Google/AdsApi/AdManager/v202408/HtmlBundleProcessorError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/HtmlBundleProcessorError.php rename to src/Google/AdsApi/AdManager/v202408/HtmlBundleProcessorError.php index 232ddb8b7..d151423a1 100644 --- a/src/Google/AdsApi/AdManager/v202308/HtmlBundleProcessorError.php +++ b/src/Google/AdsApi/AdManager/v202408/HtmlBundleProcessorError.php @@ -1,12 +1,12 @@ altText = $altText; + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + $this->secondaryImageAssets = $secondaryImageAssets; + } + + /** + * @return string + */ + public function getAltText() + { + return $this->altText; + } + + /** + * @param string $altText + * @return \Google\AdsApi\AdManager\v202408\ImageCreative + */ + public function setAltText($altText) + { + $this->altText = $altText; + return $this; + } + + /** + * @return string[] + */ + public function getThirdPartyImpressionTrackingUrls() + { + return $this->thirdPartyImpressionTrackingUrls; + } + + /** + * @param string[]|null $thirdPartyImpressionTrackingUrls + * @return \Google\AdsApi\AdManager\v202408\ImageCreative + */ + public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + { + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeAsset[] + */ + public function getSecondaryImageAssets() + { + return $this->secondaryImageAssets; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeAsset[]|null $secondaryImageAssets + * @return \Google\AdsApi\AdManager\v202408\ImageCreative + */ + public function setSecondaryImageAssets(array $secondaryImageAssets = null) + { + $this->secondaryImageAssets = $secondaryImageAssets; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ImageDensity.php b/src/Google/AdsApi/AdManager/v202408/ImageDensity.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/ImageDensity.php rename to src/Google/AdsApi/AdManager/v202408/ImageDensity.php index 4050c3fa6..113634c25 100644 --- a/src/Google/AdsApi/AdManager/v202308/ImageDensity.php +++ b/src/Google/AdsApi/AdManager/v202408/ImageDensity.php @@ -1,6 +1,6 @@ companionCreativeIds = $companionCreativeIds; + $this->trackingUrls = $trackingUrls; + $this->lockedOrientation = $lockedOrientation; + $this->customParameters = $customParameters; + $this->duration = $duration; + $this->vastPreviewUrl = $vastPreviewUrl; + } + + /** + * @return int[] + */ + public function getCompanionCreativeIds() + { + return $this->companionCreativeIds; + } + + /** + * @param int[]|null $companionCreativeIds + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setCompanionCreativeIds(array $companionCreativeIds = null) + { + $this->companionCreativeIds = $companionCreativeIds; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[] + */ + public function getTrackingUrls() + { + return $this->trackingUrls; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setTrackingUrls(array $trackingUrls = null) + { + $this->trackingUrls = $trackingUrls; + return $this; + } + + /** + * @return string + */ + public function getLockedOrientation() + { + return $this->lockedOrientation; + } + + /** + * @param string $lockedOrientation + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setLockedOrientation($lockedOrientation) + { + $this->lockedOrientation = $lockedOrientation; + return $this; + } + + /** + * @return string + */ + public function getCustomParameters() + { + return $this->customParameters; + } + + /** + * @param string $customParameters + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setCustomParameters($customParameters) + { + $this->customParameters = $customParameters; + return $this; + } + + /** + * @return int + */ + public function getDuration() + { + return $this->duration; + } + + /** + * @param int $duration + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setDuration($duration) + { + $this->duration = $duration; + return $this; + } + + /** + * @return string + */ + public function getVastPreviewUrl() + { + return $this->vastPreviewUrl; + } + + /** + * @param string $vastPreviewUrl + * @return \Google\AdsApi\AdManager\v202408\ImageOverlayCreative + */ + public function setVastPreviewUrl($vastPreviewUrl) + { + $this->vastPreviewUrl = $vastPreviewUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202408/ImageRedirectCreative.php new file mode 100644 index 000000000..77ad09d6b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ImageRedirectCreative.php @@ -0,0 +1,83 @@ +altText = $altText; + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + } + + /** + * @return string + */ + public function getAltText() + { + return $this->altText; + } + + /** + * @param string $altText + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectCreative + */ + public function setAltText($altText) + { + $this->altText = $altText; + return $this; + } + + /** + * @return string[] + */ + public function getThirdPartyImpressionTrackingUrls() + { + return $this->thirdPartyImpressionTrackingUrls; + } + + /** + * @param string[]|null $thirdPartyImpressionTrackingUrls + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectCreative + */ + public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + { + $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202408/ImageRedirectOverlayCreative.php new file mode 100644 index 000000000..af8296794 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ImageRedirectOverlayCreative.php @@ -0,0 +1,183 @@ +assetSize = $assetSize; + $this->duration = $duration; + $this->companionCreativeIds = $companionCreativeIds; + $this->trackingUrls = $trackingUrls; + $this->customParameters = $customParameters; + $this->vastPreviewUrl = $vastPreviewUrl; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Size + */ + public function getAssetSize() + { + return $this->assetSize; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Size $assetSize + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setAssetSize($assetSize) + { + $this->assetSize = $assetSize; + return $this; + } + + /** + * @return int + */ + public function getDuration() + { + return $this->duration; + } + + /** + * @param int $duration + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setDuration($duration) + { + $this->duration = $duration; + return $this; + } + + /** + * @return int[] + */ + public function getCompanionCreativeIds() + { + return $this->companionCreativeIds; + } + + /** + * @param int[]|null $companionCreativeIds + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setCompanionCreativeIds(array $companionCreativeIds = null) + { + $this->companionCreativeIds = $companionCreativeIds; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[] + */ + public function getTrackingUrls() + { + return $this->trackingUrls; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setTrackingUrls(array $trackingUrls = null) + { + $this->trackingUrls = $trackingUrls; + return $this; + } + + /** + * @return string + */ + public function getCustomParameters() + { + return $this->customParameters; + } + + /** + * @param string $customParameters + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setCustomParameters($customParameters) + { + $this->customParameters = $customParameters; + return $this; + } + + /** + * @return string + */ + public function getVastPreviewUrl() + { + return $this->vastPreviewUrl; + } + + /** + * @param string $vastPreviewUrl + * @return \Google\AdsApi\AdManager\v202408\ImageRedirectOverlayCreative + */ + public function setVastPreviewUrl($vastPreviewUrl) + { + $this->vastPreviewUrl = $vastPreviewUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/InternalApiError.php b/src/Google/AdsApi/AdManager/v202408/InternalApiError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/InternalApiError.php rename to src/Google/AdsApi/AdManager/v202408/InternalApiError.php index 508b6b0e7..217c9c5fe 100644 --- a/src/Google/AdsApi/AdManager/v202308/InternalApiError.php +++ b/src/Google/AdsApi/AdManager/v202408/InternalApiError.php @@ -1,12 +1,12 @@ lockedOrientation = $lockedOrientation; $this->assetSize = $assetSize; $this->internalRedirectUrl = $internalRedirectUrl; @@ -92,7 +93,7 @@ public function getLockedOrientation() /** * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setLockedOrientation($lockedOrientation) { @@ -101,7 +102,7 @@ public function setLockedOrientation($lockedOrientation) } /** - * @return \Google\AdsApi\AdManager\v202308\Size + * @return \Google\AdsApi\AdManager\v202408\Size */ public function getAssetSize() { @@ -109,8 +110,8 @@ public function getAssetSize() } /** - * @param \Google\AdsApi\AdManager\v202308\Size $assetSize - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @param \Google\AdsApi\AdManager\v202408\Size $assetSize + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setAssetSize($assetSize) { @@ -128,7 +129,7 @@ public function getInternalRedirectUrl() /** * @param string $internalRedirectUrl - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setInternalRedirectUrl($internalRedirectUrl) { @@ -146,7 +147,7 @@ public function getOverrideSize() /** * @param boolean $overrideSize - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setOverrideSize($overrideSize) { @@ -164,7 +165,7 @@ public function getIsInterstitial() /** * @param boolean $isInterstitial - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setIsInterstitial($isInterstitial) { @@ -182,7 +183,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setSslScanResult($sslScanResult) { @@ -200,7 +201,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setSslManualOverride($sslManualOverride) { @@ -218,7 +219,7 @@ public function getThirdPartyImpressionTrackingUrls() /** * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\InternalRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\InternalRedirectCreative */ public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) { diff --git a/src/Google/AdsApi/AdManager/v202308/InvalidColorError.php b/src/Google/AdsApi/AdManager/v202408/InvalidColorError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/InvalidColorError.php rename to src/Google/AdsApi/AdManager/v202408/InvalidColorError.php index 5948da0e4..4363458b3 100644 --- a/src/Google/AdsApi/AdManager/v202308/InvalidColorError.php +++ b/src/Google/AdsApi/AdManager/v202408/InvalidColorError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateAdUnits' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateAdUnits', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202408\\AdSenseAccountError', + 'AdSenseSettings' => 'Google\\AdsApi\\AdManager\\v202408\\AdSenseSettings', + 'AdUnitAction' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitAction', + 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitCodeError', + 'AdUnit' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnit', + 'AdUnitHierarchyError' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitHierarchyError', + 'AdUnitPage' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitPage', + 'AdUnitParent' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitParent', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'ArchiveAdUnits' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveAdUnits', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyError', + 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapperError', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateAdUnits' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateAdUnits', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCap', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidColorError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidColorError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitError', + 'InventoryUnitRefreshRateError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitRefreshRateError', + 'AdUnitSize' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitSize', + 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitSizesError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LabelFrequencyCap' => 'Google\\AdsApi\\AdManager\\v202408\\LabelFrequencyCap', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createAdUnitsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createAdUnitsResponse', + 'getAdUnitSizesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAdUnitSizesByStatementResponse', + 'getAdUnitsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAdUnitsByStatementResponse', + 'performAdUnitActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performAdUnitActionResponse', + 'updateAdUnitsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateAdUnitsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/InventoryService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link AdUnit} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdUnit[] $adUnits + * @return \Google\AdsApi\AdManager\v202408\AdUnit[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createAdUnits(array $adUnits) + { + return $this->__soapCall('createAdUnits', array(array('adUnits' => $adUnits)))->getRval(); + } + + /** + * Returns a set of all relevant {@link AdUnitSize} objects. + * + *

The given {@link Statement} is currently ignored but may be honored in future versions. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAdUnitSizesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getAdUnitSizesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link AdUnitPage} of {@link AdUnit} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code adUnitCode}{@link AdUnit#adUnitCode}
{@code id}{@link AdUnit#id}
{@code name}{@link AdUnit#name}
{@code parentId}{@link AdUnit#parentId}
{@code status}{@link AdUnit#status}
{@code lastModifiedDateTime}{@link AdUnit#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\AdUnitPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAdUnitsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getAdUnitsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link AdUnit} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\AdUnitAction $adUnitAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performAdUnitAction(\Google\AdsApi\AdManager\v202408\AdUnitAction $adUnitAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performAdUnitAction', array(array('adUnitAction' => $adUnitAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link AdUnit} objects. + * + * @param \Google\AdsApi\AdManager\v202408\AdUnit[] $adUnits + * @return \Google\AdsApi\AdManager\v202408\AdUnit[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateAdUnits(array $adUnits) + { + return $this->__soapCall('updateAdUnits', array(array('adUnits' => $adUnits)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202408/InventorySizeTargeting.php new file mode 100644 index 000000000..7c54d414c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/InventorySizeTargeting.php @@ -0,0 +1,68 @@ +isTargeted = $isTargeted; + $this->targetedSizes = $targetedSizes; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\InventorySizeTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TargetedSize[] + */ + public function getTargetedSizes() + { + return $this->targetedSizes; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TargetedSize[]|null $targetedSizes + * @return \Google\AdsApi\AdManager\v202408\InventorySizeTargeting + */ + public function setTargetedSizes(array $targetedSizes = null) + { + $this->targetedSizes = $targetedSizes; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/InventoryStatus.php b/src/Google/AdsApi/AdManager/v202408/InventoryStatus.php similarity index 81% rename from src/Google/AdsApi/AdManager/v202308/InventoryStatus.php rename to src/Google/AdsApi/AdManager/v202408/InventoryStatus.php index f424d369c..26f5a5990 100644 --- a/src/Google/AdsApi/AdManager/v202308/InventoryStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/InventoryStatus.php @@ -1,6 +1,6 @@ targetedAdUnits = $targetedAdUnits; + $this->excludedAdUnits = $excludedAdUnits; + $this->targetedPlacementIds = $targetedPlacementIds; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnitTargeting[] + */ + public function getTargetedAdUnits() + { + return $this->targetedAdUnits; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnitTargeting[]|null $targetedAdUnits + * @return \Google\AdsApi\AdManager\v202408\InventoryTargeting + */ + public function setTargetedAdUnits(array $targetedAdUnits = null) + { + $this->targetedAdUnits = $targetedAdUnits; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnitTargeting[] + */ + public function getExcludedAdUnits() + { + return $this->excludedAdUnits; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnitTargeting[]|null $excludedAdUnits + * @return \Google\AdsApi\AdManager\v202408\InventoryTargeting + */ + public function setExcludedAdUnits(array $excludedAdUnits = null) + { + $this->excludedAdUnits = $excludedAdUnits; + return $this; + } + + /** + * @return int[] + */ + public function getTargetedPlacementIds() + { + return $this->targetedPlacementIds; + } + + /** + * @param int[]|null $targetedPlacementIds + * @return \Google\AdsApi\AdManager\v202408\InventoryTargeting + */ + public function setTargetedPlacementIds(array $targetedPlacementIds = null) + { + $this->targetedPlacementIds = $targetedPlacementIds; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/InventoryTargetingError.php b/src/Google/AdsApi/AdManager/v202408/InventoryTargetingError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/InventoryTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/InventoryTargetingError.php index 77b4a4810..f9703d73c 100644 --- a/src/Google/AdsApi/AdManager/v202308/InventoryTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/InventoryTargetingError.php @@ -1,12 +1,12 @@ targetedUrls = $targetedUrls; + $this->excludedUrls = $excludedUrls; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventoryUrl[] + */ + public function getTargetedUrls() + { + return $this->targetedUrls; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventoryUrl[]|null $targetedUrls + * @return \Google\AdsApi\AdManager\v202408\InventoryUrlTargeting + */ + public function setTargetedUrls(array $targetedUrls = null) + { + $this->targetedUrls = $targetedUrls; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventoryUrl[] + */ + public function getExcludedUrls() + { + return $this->excludedUrls; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventoryUrl[]|null $excludedUrls + * @return \Google\AdsApi\AdManager\v202408\InventoryUrlTargeting + */ + public function setExcludedUrls(array $excludedUrls = null) + { + $this->excludedUrls = $excludedUrls; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Label.php b/src/Google/AdsApi/AdManager/v202408/Label.php similarity index 81% rename from src/Google/AdsApi/AdManager/v202308/Label.php rename to src/Google/AdsApi/AdManager/v202408/Label.php index 0af09f13d..57541d1ad 100644 --- a/src/Google/AdsApi/AdManager/v202308/Label.php +++ b/src/Google/AdsApi/AdManager/v202408/Label.php @@ -1,6 +1,6 @@ frequencyCap = $frequencyCap; + $this->labelId = $labelId; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\FrequencyCap + */ + public function getFrequencyCap() + { + return $this->frequencyCap; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\FrequencyCap $frequencyCap + * @return \Google\AdsApi\AdManager\v202408\LabelFrequencyCap + */ + public function setFrequencyCap($frequencyCap) + { + $this->frequencyCap = $frequencyCap; + return $this; + } + + /** + * @return int + */ + public function getLabelId() + { + return $this->labelId; + } + + /** + * @param int $labelId + * @return \Google\AdsApi\AdManager\v202408\LabelFrequencyCap + */ + public function setLabelId($labelId) + { + $this->labelId = (!is_null($labelId) && PHP_INT_SIZE === 4) + ? floatval($labelId) : $labelId; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LabelPage.php b/src/Google/AdsApi/AdManager/v202408/LabelPage.php similarity index 76% rename from src/Google/AdsApi/AdManager/v202308/LabelPage.php rename to src/Google/AdsApi/AdManager/v202408/LabelPage.php index d7ecb2a91..46d73c2d5 100644 --- a/src/Google/AdsApi/AdManager/v202308/LabelPage.php +++ b/src/Google/AdsApi/AdManager/v202408/LabelPage.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateLabels' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateLabels', + 'AdCategoryDto' => 'Google\\AdsApi\\AdManager\\v202408\\AdCategoryDto', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CreativeWrapperError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeWrapperError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateLabels' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateLabels', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'LabelAction' => 'Google\\AdsApi\\AdManager\\v202408\\LabelAction', + 'Label' => 'Google\\AdsApi\\AdManager\\v202408\\Label', + 'LabelError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelError', + 'LabelPage' => 'Google\\AdsApi\\AdManager\\v202408\\LabelPage', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createLabelsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createLabelsResponse', + 'getLabelsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getLabelsByStatementResponse', + 'performLabelActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performLabelActionResponse', + 'updateLabelsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateLabelsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/LabelService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Label} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Label[] $labels + * @return \Google\AdsApi\AdManager\v202408\Label[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createLabels(array $labels) + { + return $this->__soapCall('createLabels', array(array('labels' => $labels)))->getRval(); + } + + /** + * Gets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Label#id}
{@code type}{@link Label#type}
{@code name}{@link Label#name}
{@code description}{@link Label#description}
{@code isActive}{@link Label#isActive}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\LabelPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getLabelsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getLabelsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Label} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\LabelAction $labelAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performLabelAction(\Google\AdsApi\AdManager\v202408\LabelAction $labelAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performLabelAction', array(array('labelAction' => $labelAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Label} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Label[] $labels + * @return \Google\AdsApi\AdManager\v202408\Label[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateLabels(array $labels) + { + return $this->__soapCall('updateLabels', array(array('labels' => $labels)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LabelType.php b/src/Google/AdsApi/AdManager/v202408/LabelType.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/LabelType.php rename to src/Google/AdsApi/AdManager/v202408/LabelType.php index 46612a1b3..7e859a517 100644 --- a/src/Google/AdsApi/AdManager/v202308/LabelType.php +++ b/src/Google/AdsApi/AdManager/v202408/LabelType.php @@ -1,6 +1,6 @@ targeting = $targeting; + $this->creativeTargetings = $creativeTargetings; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\LineItem + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeTargeting[] + */ + public function getCreativeTargetings() + { + return $this->creativeTargetings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeTargeting[]|null $creativeTargetings + * @return \Google\AdsApi\AdManager\v202408\LineItem + */ + public function setCreativeTargetings(array $creativeTargetings = null) + { + $this->creativeTargetings = $creativeTargetings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemAction.php b/src/Google/AdsApi/AdManager/v202408/LineItemAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/LineItemAction.php rename to src/Google/AdsApi/AdManager/v202408/LineItemAction.php index 710b779aa..1943d07b4 100644 --- a/src/Google/AdsApi/AdManager/v202308/LineItemAction.php +++ b/src/Google/AdsApi/AdManager/v202408/LineItemAction.php @@ -1,6 +1,6 @@ activityId = $activityId; + $this->clickThroughConversionCost = $clickThroughConversionCost; + $this->viewThroughConversionCost = $viewThroughConversionCost; + } + + /** + * @return int + */ + public function getActivityId() + { + return $this->activityId; + } + + /** + * @param int $activityId + * @return \Google\AdsApi\AdManager\v202408\LineItemActivityAssociation + */ + public function setActivityId($activityId) + { + $this->activityId = $activityId; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getClickThroughConversionCost() + { + return $this->clickThroughConversionCost; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $clickThroughConversionCost + * @return \Google\AdsApi\AdManager\v202408\LineItemActivityAssociation + */ + public function setClickThroughConversionCost($clickThroughConversionCost) + { + $this->clickThroughConversionCost = $clickThroughConversionCost; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getViewThroughConversionCost() + { + return $this->viewThroughConversionCost; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $viewThroughConversionCost + * @return \Google\AdsApi\AdManager\v202408\LineItemActivityAssociation + */ + public function setViewThroughConversionCost($viewThroughConversionCost) + { + $this->viewThroughConversionCost = $viewThroughConversionCost; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociationError.php b/src/Google/AdsApi/AdManager/v202408/LineItemActivityAssociationError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociationError.php rename to src/Google/AdsApi/AdManager/v202408/LineItemActivityAssociationError.php index fbc72fd17..aea6f9702 100644 --- a/src/Google/AdsApi/AdManager/v202308/LineItemActivityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202408/LineItemActivityAssociationError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateLineItemCreativeAssociations', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202408\\AdSenseAccountError', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceExtensionError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CreativeAssetMacroError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeAssetMacroError', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CreativeNativeStylePreview' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeNativeStylePreview', + 'CreativePreviewError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePreviewError', + 'CreativePushOptions' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePushOptions', + 'CreativeSetError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeSetError', + 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateError', + 'CreativeTemplateOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateOperationError', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CustomCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCreativeError', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateLineItemCreativeAssociations', + 'DeleteLineItemCreativeAssociations' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteLineItemCreativeAssociations', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'FileError' => 'Google\\AdsApi\\AdManager\\v202408\\FileError', + 'HtmlBundleProcessorError' => 'Google\\AdsApi\\AdManager\\v202408\\HtmlBundleProcessorError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidPhoneNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidPhoneNumberError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemCreativeAssociationAction' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationAction', + 'LineItemCreativeAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociation', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LineItemCreativeAssociationOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationOperationError', + 'LineItemCreativeAssociationPage' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationPage', + 'LineItemCreativeAssociationStats' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationStats', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'Long_StatsMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\Long_StatsMapEntry', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'RichMediaStudioCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\RichMediaStudioCreativeError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxCreativeError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'Stats' => 'Google\\AdsApi\\AdManager\\v202408\\Stats', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SwiffyConversionError' => 'Google\\AdsApi\\AdManager\\v202408\\SwiffyConversionError', + 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\TemplateInstantiatedCreativeError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createLineItemCreativeAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createLineItemCreativeAssociationsResponse', + 'getLineItemCreativeAssociationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getLineItemCreativeAssociationsByStatementResponse', + 'getPreviewUrlResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getPreviewUrlResponse', + 'getPreviewUrlsForNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getPreviewUrlsForNativeStylesResponse', + 'performLineItemCreativeAssociationActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performLineItemCreativeAssociationActionResponse', + 'pushCreativeToDevicesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\pushCreativeToDevicesResponse', + 'updateLineItemCreativeAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateLineItemCreativeAssociationsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/LineItemCreativeAssociationService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link LineItemCreativeAssociation} objects + * + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] $lineItemCreativeAssociations + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createLineItemCreativeAssociations(array $lineItemCreativeAssociations) + { + return $this->__soapCall('createLineItemCreativeAssociations', array(array('lineItemCreativeAssociations' => $lineItemCreativeAssociations)))->getRval(); + } + + /** + * Gets a {@link LineItemCreativeAssociationPage} of {@link LineItemCreativeAssociation} objects + * that satisfy the given {@link Statement#query}. The following fields are supported for + * filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code creativeId}{@link LineItemCreativeAssociation#creativeId}
{@code manualCreativeRotationWeight}{@link LineItemCreativeAssociation#manualCreativeRotationWeight}
{@code destinationUrl}{@link LineItemCreativeAssociation#destinationUrl}
{@code lineItemId}{@link LineItemCreativeAssociation#lineItemId}
{@code status}{@link LineItemCreativeAssociation#status}
{@code lastModifiedDateTime}{@link LineItemCreativeAssociation#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getLineItemCreativeAssociationsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getLineItemCreativeAssociationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Returns an insite preview URL that references the specified site URL with the specified + * creative from the association served to it. For Creative Set previewing you may specify the + * master creative Id. + * + * @param int $lineItemId + * @param int $creativeId + * @param string $siteUrl + * @return string + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getPreviewUrl($lineItemId, $creativeId, $siteUrl) + { + return $this->__soapCall('getPreviewUrl', array(array('lineItemId' => $lineItemId, 'creativeId' => $creativeId, 'siteUrl' => $siteUrl)))->getRval(); + } + + /** + * Returns a list of URLs that reference the specified site URL with the specified creative from + * the association served to it. For Creative Set previewing you may specify the master creative + * Id. Each URL corresponds to one available native style for previewing the specified creative. + * + * @param int $lineItemId + * @param int $creativeId + * @param string $siteUrl + * @return \Google\AdsApi\AdManager\v202408\CreativeNativeStylePreview[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getPreviewUrlsForNativeStyles($lineItemId, $creativeId, $siteUrl) + { + return $this->__soapCall('getPreviewUrlsForNativeStyles', array(array('lineItemId' => $lineItemId, 'creativeId' => $creativeId, 'siteUrl' => $siteUrl)))->getRval(); + } + + /** + * Performs actions on {@link LineItemCreativeAssociation} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationAction $lineItemCreativeAssociationAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performLineItemCreativeAssociationAction(\Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationAction $lineItemCreativeAssociationAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performLineItemCreativeAssociationAction', array(array('lineItemCreativeAssociationAction' => $lineItemCreativeAssociationAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Pushes a creative to devices that that satisfy the given {@link Statement#query}. * + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @param \Google\AdsApi\AdManager\v202408\CreativePushOptions $options + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function pushCreativeToDevices(\Google\AdsApi\AdManager\v202408\Statement $filterStatement, \Google\AdsApi\AdManager\v202408\CreativePushOptions $options) + { + return $this->__soapCall('pushCreativeToDevices', array(array('filterStatement' => $filterStatement, 'options' => $options)))->getRval(); + } + + /** + * Updates the specified {@link LineItemCreativeAssociation} objects + * + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] $lineItemCreativeAssociations + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateLineItemCreativeAssociations(array $lineItemCreativeAssociations) + { + return $this->__soapCall('updateLineItemCreativeAssociations', array(array('lineItemCreativeAssociations' => $lineItemCreativeAssociations)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStats.php b/src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStats.php new file mode 100644 index 000000000..b2bc0d3d7 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStats.php @@ -0,0 +1,93 @@ +stats = $stats; + $this->creativeSetStats = $creativeSetStats; + $this->costInOrderCurrency = $costInOrderCurrency; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Stats + */ + public function getStats() + { + return $this->stats; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Stats $stats + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationStats + */ + public function setStats($stats) + { + $this->stats = $stats; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Long_StatsMapEntry[] + */ + public function getCreativeSetStats() + { + return $this->creativeSetStats; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Long_StatsMapEntry[]|null $creativeSetStats + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationStats + */ + public function setCreativeSetStats(array $creativeSetStats = null) + { + $this->creativeSetStats = $creativeSetStats; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getCostInOrderCurrency() + { + return $this->costInOrderCurrency; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $costInOrderCurrency + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationStats + */ + public function setCostInOrderCurrency($costInOrderCurrency) + { + $this->costInOrderCurrency = $costInOrderCurrency; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStatus.php b/src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStatus.php similarity index 85% rename from src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStatus.php rename to src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStatus.php index c4291e0fc..7bebefa76 100644 --- a/src/Google/AdsApi/AdManager/v202308/LineItemCreativeAssociationStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/LineItemCreativeAssociationStatus.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateLineItems', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'ArchiveLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveLineItems', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceExtensionError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTrackingLineItemError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyCreditStatusError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePlaceholder', + 'CreativeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTargeting', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CustomPacingCurve' => 'Google\\AdsApi\\AdManager\\v202408\\CustomPacingCurve', + 'CustomPacingGoal' => 'Google\\AdsApi\\AdManager\\v202408\\CustomPacingGoal', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DeleteLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteLineItems', + 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryData', + 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryIndicator', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCap', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'Goal' => 'Google\\AdsApi\\AdManager\\v202408\\Goal', + 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettings', + 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettingsError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemAction' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemAction', + 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociationError', + 'LineItemActivityAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociation', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LineItemDealInfoDto' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemDealInfoDto', + 'LineItem' => 'Google\\AdsApi\\AdManager\\v202408\\LineItem', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'LineItemPage' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemPage', + 'LineItemSummary' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemSummary', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderActionError', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PauseLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\PauseLineItems', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'ReleaseLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ReleaseLineItems', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'ReserveAndOverbookLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ReserveAndOverbookLineItems', + 'ReserveLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ReserveLineItems', + 'ResumeAndOverbookLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeAndOverbookLineItems', + 'ResumeLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeLineItems', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxLineItemError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'Stats' => 'Google\\AdsApi\\AdManager\\v202408\\Stats', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyMeasurementSettings', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UnarchiveLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveLineItems', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createLineItemsResponse', + 'getLineItemsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getLineItemsByStatementResponse', + 'performLineItemActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performLineItemActionResponse', + 'updateLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateLineItemsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/LineItemService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link LineItem} objects. + * + * @param \Google\AdsApi\AdManager\v202408\LineItem[] $lineItems + * @return \Google\AdsApi\AdManager\v202408\LineItem[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createLineItems(array $lineItems) + { + return $this->__soapCall('createLineItems', array(array('lineItems' => $lineItems)))->getRval(); + } + + /** + * Gets a {@link LineItemPage} of {@link LineItem} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL propertyEntity property
+ * {@code CostType} + * + * {@link LineItem#costType} + *
+ * {@code CreationDateTime} + * + * {@link LineItem#creationDateTime} + *
+ * {@code DeliveryRateType} + * + * {@link LineItem#deliveryRateType} + *
+ * {@code EndDateTime} + * + * {@link LineItem#endDateTime} + *
+ * {@code ExternalId} + * + * {@link LineItem#externalId} + *
+ * {@code Id} + * + * {@link LineItem#id} + *
+ * {@code IsMissingCreatives} + * + * {@link LineItem#isMissingCreatives} + *
+ * {@code IsSetTopBoxEnabled} + * + * {@link LineItem#isSetTopBoxEnabled} + *
+ * {@code LastModifiedDateTime} + * + * {@link LineItem#lastModifiedDateTime} + *
+ * {@code LineItemType} + * + * {@link LineItem#lineItemType} + *
+ * {@code Name} + * + * {@link LineItem#name} + *
+ * {@code OrderId} + * + * {@link LineItem#orderId} + *
+ * {@code StartDateTime} + * + * {@link LineItem#startDateTime} + *
+ * {@code Status} + * + * {@link LineItem#status} + *
+ * {@code UnitsBought} + * + * {@link LineItem#unitsBought} + *
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\LineItemPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getLineItemsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getLineItemsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link LineItem} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\LineItemAction $lineItemAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performLineItemAction(\Google\AdsApi\AdManager\v202408\LineItemAction $lineItemAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performLineItemAction', array(array('lineItemAction' => $lineItemAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link LineItem} objects. + * + * @param \Google\AdsApi\AdManager\v202408\LineItem[] $lineItems + * @return \Google\AdsApi\AdManager\v202408\LineItem[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateLineItems(array $lineItems) + { + return $this->__soapCall('updateLineItems', array(array('lineItems' => $lineItems)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemSummary.php b/src/Google/AdsApi/AdManager/v202408/LineItemSummary.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/LineItemSummary.php rename to src/Google/AdsApi/AdManager/v202408/LineItemSummary.php index 47d46f1ef..2050ac9c5 100644 --- a/src/Google/AdsApi/AdManager/v202308/LineItemSummary.php +++ b/src/Google/AdsApi/AdManager/v202408/LineItemSummary.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceExtensionError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTrackingLineItemError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyCreditStatusError', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettingsError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociationError', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'LineItemTemplate' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemTemplate', + 'LineItemTemplatePage' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemTemplatePage', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderActionError', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxLineItemError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'getLineItemTemplatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getLineItemTemplatesByStatementResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/LineItemTemplateService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Gets a {@link LineItemTemplatePage} of {@link LineItemTemplate} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link LineItemTemplate#id}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\LineItemTemplatePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getLineItemTemplatesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getLineItemTemplatesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LineItemType.php b/src/Google/AdsApi/AdManager/v202408/LineItemType.php similarity index 93% rename from src/Google/AdsApi/AdManager/v202308/LineItemType.php rename to src/Google/AdsApi/AdManager/v202408/LineItemType.php index c5726e8a7..de9a9d051 100644 --- a/src/Google/AdsApi/AdManager/v202308/LineItemType.php +++ b/src/Google/AdsApi/AdManager/v202408/LineItemType.php @@ -1,6 +1,6 @@ dashBridge = $dashBridge; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DashBridge + */ + public function getDashBridge() + { + return $this->dashBridge; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DashBridge $dashBridge + * @return \Google\AdsApi\AdManager\v202408\LiveStreamConditioning + */ + public function setDashBridge($dashBridge) + { + $this->dashBridge = $dashBridge; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LiveStreamEvent.php b/src/Google/AdsApi/AdManager/v202408/LiveStreamEvent.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/LiveStreamEvent.php rename to src/Google/AdsApi/AdManager/v202408/LiveStreamEvent.php index b9cb3e553..03b343cb2 100644 --- a/src/Google/AdsApi/AdManager/v202308/LiveStreamEvent.php +++ b/src/Google/AdsApi/AdManager/v202408/LiveStreamEvent.php @@ -1,6 +1,6 @@ id = $id; $this->name = $name; @@ -286,6 +292,7 @@ public function __construct($id = null, $name = null, $status = null, $creationD $this->adHolidayDuration = $adHolidayDuration; $this->enableMaxFillerDuration = $enableMaxFillerDuration; $this->maxFillerDuration = $maxFillerDuration; + $this->podServingSegmentDuration = $podServingSegmentDuration; $this->enableDurationlessAdBreaks = $enableDurationlessAdBreaks; $this->defaultAdBreakDuration = $defaultAdBreakDuration; $this->streamCreateDaiAuthenticationKeyIds = $streamCreateDaiAuthenticationKeyIds; @@ -319,7 +326,7 @@ public function getId() /** * @param int $id - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setId($id) { @@ -338,7 +345,7 @@ public function getName() /** * @param string $name - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setName($name) { @@ -356,7 +363,7 @@ public function getStatus() /** * @param string $status - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setStatus($status) { @@ -365,7 +372,7 @@ public function setStatus($status) } /** - * @return \Google\AdsApi\AdManager\v202308\DateTime + * @return \Google\AdsApi\AdManager\v202408\DateTime */ public function getCreationDateTime() { @@ -373,8 +380,8 @@ public function getCreationDateTime() } /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $creationDateTime - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\DateTime $creationDateTime + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setCreationDateTime($creationDateTime) { @@ -383,7 +390,7 @@ public function setCreationDateTime($creationDateTime) } /** - * @return \Google\AdsApi\AdManager\v202308\DateTime + * @return \Google\AdsApi\AdManager\v202408\DateTime */ public function getLastModifiedDateTime() { @@ -391,8 +398,8 @@ public function getLastModifiedDateTime() } /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $lastModifiedDateTime - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setLastModifiedDateTime($lastModifiedDateTime) { @@ -401,7 +408,7 @@ public function setLastModifiedDateTime($lastModifiedDateTime) } /** - * @return \Google\AdsApi\AdManager\v202308\DateTime + * @return \Google\AdsApi\AdManager\v202408\DateTime */ public function getStartDateTime() { @@ -409,8 +416,8 @@ public function getStartDateTime() } /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $startDateTime - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setStartDateTime($startDateTime) { @@ -428,7 +435,7 @@ public function getStartDateTimeType() /** * @param string $startDateTimeType - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setStartDateTimeType($startDateTimeType) { @@ -437,7 +444,7 @@ public function setStartDateTimeType($startDateTimeType) } /** - * @return \Google\AdsApi\AdManager\v202308\DateTime + * @return \Google\AdsApi\AdManager\v202408\DateTime */ public function getEndDateTime() { @@ -445,8 +452,8 @@ public function getEndDateTime() } /** - * @param \Google\AdsApi\AdManager\v202308\DateTime $endDateTime - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEndDateTime($endDateTime) { @@ -464,7 +471,7 @@ public function getUnlimitedEndDateTime() /** * @param boolean $unlimitedEndDateTime - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setUnlimitedEndDateTime($unlimitedEndDateTime) { @@ -482,7 +489,7 @@ public function getTotalEstimatedConcurrentUsers() /** * @param int $totalEstimatedConcurrentUsers - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setTotalEstimatedConcurrentUsers($totalEstimatedConcurrentUsers) { @@ -501,7 +508,7 @@ public function getContentUrls() /** * @param string[]|null $contentUrls - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setContentUrls(array $contentUrls = null) { @@ -519,7 +526,7 @@ public function getAdTags() /** * @param string[]|null $adTags - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdTags(array $adTags = null) { @@ -537,7 +544,7 @@ public function getAssetKey() /** * @param string $assetKey - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAssetKey($assetKey) { @@ -555,7 +562,7 @@ public function getSlateCreativeId() /** * @param int $slateCreativeId - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setSlateCreativeId($slateCreativeId) { @@ -574,7 +581,7 @@ public function getDvrWindowSeconds() /** * @param int $dvrWindowSeconds - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setDvrWindowSeconds($dvrWindowSeconds) { @@ -592,7 +599,7 @@ public function getEnableDaiAuthenticationKeys() /** * @param boolean $enableDaiAuthenticationKeys - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableDaiAuthenticationKeys($enableDaiAuthenticationKeys) { @@ -610,7 +617,7 @@ public function getAdBreakFillType() /** * @param string $adBreakFillType - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdBreakFillType($adBreakFillType) { @@ -628,7 +635,7 @@ public function getUnderfillAdBreakFillType() /** * @param string $underfillAdBreakFillType - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setUnderfillAdBreakFillType($underfillAdBreakFillType) { @@ -646,7 +653,7 @@ public function getAdHolidayDuration() /** * @param int $adHolidayDuration - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdHolidayDuration($adHolidayDuration) { @@ -665,7 +672,7 @@ public function getEnableMaxFillerDuration() /** * @param boolean $enableMaxFillerDuration - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableMaxFillerDuration($enableMaxFillerDuration) { @@ -683,7 +690,7 @@ public function getMaxFillerDuration() /** * @param int $maxFillerDuration - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setMaxFillerDuration($maxFillerDuration) { @@ -692,6 +699,25 @@ public function setMaxFillerDuration($maxFillerDuration) return $this; } + /** + * @return int + */ + public function getPodServingSegmentDuration() + { + return $this->podServingSegmentDuration; + } + + /** + * @param int $podServingSegmentDuration + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent + */ + public function setPodServingSegmentDuration($podServingSegmentDuration) + { + $this->podServingSegmentDuration = (!is_null($podServingSegmentDuration) && PHP_INT_SIZE === 4) + ? floatval($podServingSegmentDuration) : $podServingSegmentDuration; + return $this; + } + /** * @return boolean */ @@ -702,7 +728,7 @@ public function getEnableDurationlessAdBreaks() /** * @param boolean $enableDurationlessAdBreaks - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableDurationlessAdBreaks($enableDurationlessAdBreaks) { @@ -720,7 +746,7 @@ public function getDefaultAdBreakDuration() /** * @param int $defaultAdBreakDuration - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setDefaultAdBreakDuration($defaultAdBreakDuration) { @@ -739,7 +765,7 @@ public function getStreamCreateDaiAuthenticationKeyIds() /** * @param int[]|null $streamCreateDaiAuthenticationKeyIds - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setStreamCreateDaiAuthenticationKeyIds(array $streamCreateDaiAuthenticationKeyIds = null) { @@ -757,7 +783,7 @@ public function getSourceContentConfigurationIds() /** * @param int[]|null $sourceContentConfigurationIds - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setSourceContentConfigurationIds(array $sourceContentConfigurationIds = null) { @@ -766,7 +792,7 @@ public function setSourceContentConfigurationIds(array $sourceContentConfigurati } /** - * @return \Google\AdsApi\AdManager\v202308\PrerollSettings + * @return \Google\AdsApi\AdManager\v202408\PrerollSettings */ public function getPrerollSettings() { @@ -774,8 +800,8 @@ public function getPrerollSettings() } /** - * @param \Google\AdsApi\AdManager\v202308\PrerollSettings $prerollSettings - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\PrerollSettings $prerollSettings + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setPrerollSettings($prerollSettings) { @@ -784,7 +810,7 @@ public function setPrerollSettings($prerollSettings) } /** - * @return \Google\AdsApi\AdManager\v202308\HlsSettings + * @return \Google\AdsApi\AdManager\v202408\HlsSettings */ public function getHlsSettings() { @@ -792,8 +818,8 @@ public function getHlsSettings() } /** - * @param \Google\AdsApi\AdManager\v202308\HlsSettings $hlsSettings - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\HlsSettings $hlsSettings + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setHlsSettings($hlsSettings) { @@ -811,7 +837,7 @@ public function getEnableAllowlistedIps() /** * @param boolean $enableAllowlistedIps - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableAllowlistedIps($enableAllowlistedIps) { @@ -829,7 +855,7 @@ public function getDynamicAdInsertionType() /** * @param string $dynamicAdInsertionType - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setDynamicAdInsertionType($dynamicAdInsertionType) { @@ -847,7 +873,7 @@ public function getEnableRelativePlaylistDelivery() /** * @param boolean $enableRelativePlaylistDelivery - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableRelativePlaylistDelivery($enableRelativePlaylistDelivery) { @@ -865,7 +891,7 @@ public function getStreamingFormat() /** * @param string $streamingFormat - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setStreamingFormat($streamingFormat) { @@ -883,7 +909,7 @@ public function getPrefetchEnabled() /** * @param boolean $prefetchEnabled - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setPrefetchEnabled($prefetchEnabled) { @@ -892,7 +918,7 @@ public function setPrefetchEnabled($prefetchEnabled) } /** - * @return \Google\AdsApi\AdManager\v202308\PrefetchSettings + * @return \Google\AdsApi\AdManager\v202408\PrefetchSettings */ public function getPrefetchSettings() { @@ -900,8 +926,8 @@ public function getPrefetchSettings() } /** - * @param \Google\AdsApi\AdManager\v202308\PrefetchSettings $prefetchSettings - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\PrefetchSettings $prefetchSettings + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setPrefetchSettings($prefetchSettings) { @@ -919,7 +945,7 @@ public function getEnableForceCloseAdBreaks() /** * @param boolean $enableForceCloseAdBreaks - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableForceCloseAdBreaks($enableForceCloseAdBreaks) { @@ -937,7 +963,7 @@ public function getEnableShortSegmentDropping() /** * @param boolean $enableShortSegmentDropping - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setEnableShortSegmentDropping($enableShortSegmentDropping) { @@ -955,7 +981,7 @@ public function getCustomAssetKey() /** * @param string $customAssetKey - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setCustomAssetKey($customAssetKey) { @@ -973,7 +999,7 @@ public function getDaiEncodingProfileIds() /** * @param int[]|null $daiEncodingProfileIds - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setDaiEncodingProfileIds(array $daiEncodingProfileIds = null) { @@ -991,7 +1017,7 @@ public function getSegmentUrlAuthenticationKeyIds() /** * @param int[]|null $segmentUrlAuthenticationKeyIds - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setSegmentUrlAuthenticationKeyIds(array $segmentUrlAuthenticationKeyIds = null) { @@ -1009,7 +1035,7 @@ public function getAdBreakMarkups() /** * @param string[]|null $adBreakMarkups - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdBreakMarkups(array $adBreakMarkups = null) { @@ -1027,7 +1053,7 @@ public function getAdBreakMarkupTypesEnabled() /** * @param boolean $adBreakMarkupTypesEnabled - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdBreakMarkupTypesEnabled($adBreakMarkupTypesEnabled) { @@ -1045,7 +1071,7 @@ public function getAdServingFormat() /** * @param string $adServingFormat - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setAdServingFormat($adServingFormat) { @@ -1054,7 +1080,7 @@ public function setAdServingFormat($adServingFormat) } /** - * @return \Google\AdsApi\AdManager\v202308\LiveStreamConditioning + * @return \Google\AdsApi\AdManager\v202408\LiveStreamConditioning */ public function getLiveStreamConditioning() { @@ -1062,8 +1088,8 @@ public function getLiveStreamConditioning() } /** - * @param \Google\AdsApi\AdManager\v202308\LiveStreamConditioning $liveStreamConditioning - * @return \Google\AdsApi\AdManager\v202308\LiveStreamEvent + * @param \Google\AdsApi\AdManager\v202408\LiveStreamConditioning $liveStreamConditioning + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent */ public function setLiveStreamConditioning($liveStreamConditioning) { diff --git a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventAction.php b/src/Google/AdsApi/AdManager/v202408/LiveStreamEventAction.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/LiveStreamEventAction.php rename to src/Google/AdsApi/AdManager/v202408/LiveStreamEventAction.php index ecb114edd..9c0dfb130 100644 --- a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventAction.php +++ b/src/Google/AdsApi/AdManager/v202408/LiveStreamEventAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateLiveStreamEvents', + 'AdBreakMarkupError' => 'Google\\AdsApi\\AdManager\\v202408\\AdBreakMarkupError', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ArchiveLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveLiveStreamEvents', + 'ArchiveSlates' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveSlates', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'DashBridge' => 'Google\\AdsApi\\AdManager\\v202408\\DashBridge', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'HlsSettings' => 'Google\\AdsApi\\AdManager\\v202408\\HlsSettings', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'LiveStreamConditioning' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamConditioning', + 'LiveStreamEventAction' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventAction', + 'LiveStreamEventActionError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventActionError', + 'LiveStreamEventCdnSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventCdnSettingsError', + 'LiveStreamEventConditioningError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventConditioningError', + 'LiveStreamEventCustomAssetKeyError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventCustomAssetKeyError', + 'LiveStreamEventDateTimeError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventDateTimeError', + 'LiveStreamEvent' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEvent', + 'LiveStreamEventDvrWindowError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventDvrWindowError', + 'LiveStreamEventPage' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventPage', + 'LiveStreamEventPrerollSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventPrerollSettingsError', + 'LiveStreamEventSlateError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventSlateError', + 'MasterPlaylistSettings' => 'Google\\AdsApi\\AdManager\\v202408\\MasterPlaylistSettings', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PauseLiveStreamEventAds' => 'Google\\AdsApi\\AdManager\\v202408\\PauseLiveStreamEventAds', + 'PauseLiveStreamEvents' => 'Google\\AdsApi\\AdManager\\v202408\\PauseLiveStreamEvents', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrefetchSettings' => 'Google\\AdsApi\\AdManager\\v202408\\PrefetchSettings', + 'PrerollSettings' => 'Google\\AdsApi\\AdManager\\v202408\\PrerollSettings', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RefreshLiveStreamEventMasterPlaylists' => 'Google\\AdsApi\\AdManager\\v202408\\RefreshLiveStreamEventMasterPlaylists', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SlateAction' => 'Google\\AdsApi\\AdManager\\v202408\\SlateAction', + 'Slate' => 'Google\\AdsApi\\AdManager\\v202408\\Slate', + 'SlatePage' => 'Google\\AdsApi\\AdManager\\v202408\\SlatePage', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UnarchiveSlates' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveSlates', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VideoAdTagError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoAdTagError', + 'createLiveStreamEventsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createLiveStreamEventsResponse', + 'createSlatesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createSlatesResponse', + 'getLiveStreamEventsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getLiveStreamEventsByStatementResponse', + 'getSlatesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSlatesByStatementResponse', + 'performLiveStreamEventActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performLiveStreamEventActionResponse', + 'performSlateActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performSlateActionResponse', + 'updateLiveStreamEventsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateLiveStreamEventsResponse', + 'updateSlatesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateSlatesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/LiveStreamEventService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link LiveStreamEvent} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] $liveStreamEvents + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createLiveStreamEvents(array $liveStreamEvents) + { + return $this->__soapCall('createLiveStreamEvents', array(array('liveStreamEvents' => $liveStreamEvents)))->getRval(); + } + + /** + * Create new slates. + * + *

A slate creative is served as backup content in a live stream event when no other creatives + * are eligible to be served. + * + * @param \Google\AdsApi\AdManager\v202408\Slate[] $slates + * @return \Google\AdsApi\AdManager\v202408\Slate[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createSlates(array $slates) + { + return $this->__soapCall('createSlates', array(array('slates' => $slates)))->getRval(); + } + + /** + * Gets a {@link LiveStreamEventPage} of {@link LiveStreamEvent} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link LiveStreamEvent#id}
{@code slateCreativeId}{@link LiveStreamEvent#slateCreativeId}
{@code assetKey}{@link LiveStreamEvent#assetKey}
{@code streamCreateDaiAuthenticationKeyIds}{@link LiveStreamEvent#streamCreateDaiAuthenticationKeyIds}
{@code dynamicAdInsertionType}{@link LiveStreamEvent#dynamicAdInsertionType}
{@code streamingFormat}{@link LiveStreamEvent#streamingFormat}
{@code customAssetKey}{@link LiveStreamEvent#customAssetKey}
{@code daiEncodingProfileIds}{@link LiveStreamEvent#daiEncodingProfileIds}
{@code segmentUrlAuthenticationKeyIds}{@link LiveStreamEvent#segmentUrlAuthenticationKeyIds}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEventPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getLiveStreamEventsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getLiveStreamEventsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link SlatePage} of {@link Slate} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Slate#id}
{@code name}{@link Slate#name}
{@code lastModifiedDateTime}{@link Slate#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\SlatePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSlatesByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getSlatesByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Performs actions on {@link LiveStreamEvent} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEventAction $liveStreamEventAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performLiveStreamEventAction(\Google\AdsApi\AdManager\v202408\LiveStreamEventAction $liveStreamEventAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performLiveStreamEventAction', array(array('liveStreamEventAction' => $liveStreamEventAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on slates that match the given {@link Statement}. + * + * @param \Google\AdsApi\AdManager\v202408\SlateAction $slateAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performSlateAction(\Google\AdsApi\AdManager\v202408\SlateAction $slateAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performSlateAction', array(array('slateAction' => $slateAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link LiveStreamEvent} objects. + * + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] $liveStreamEvents + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateLiveStreamEvents(array $liveStreamEvents) + { + return $this->__soapCall('updateLiveStreamEvents', array(array('liveStreamEvents' => $liveStreamEvents)))->getRval(); + } + + /** + * Update existing slates. + * + *

Only the slateName is editable. + * + * @param \Google\AdsApi\AdManager\v202408\Slate[] $slates + * @return \Google\AdsApi\AdManager\v202408\Slate[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateSlates(array $slates) + { + return $this->__soapCall('updateSlates', array(array('slates' => $slates)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventSlateError.php b/src/Google/AdsApi/AdManager/v202408/LiveStreamEventSlateError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/LiveStreamEventSlateError.php rename to src/Google/AdsApi/AdManager/v202408/LiveStreamEventSlateError.php index 96a2cf72d..5b2db6077 100644 --- a/src/Google/AdsApi/AdManager/v202308/LiveStreamEventSlateError.php +++ b/src/Google/AdsApi/AdManager/v202408/LiveStreamEventSlateError.php @@ -1,12 +1,12 @@ key = $key; + $this->value = $value; + } + + /** + * @return int + */ + public function getKey() + { + return $this->key; + } + + /** + * @param int $key + * @return \Google\AdsApi\AdManager\v202408\Long_StatsMapEntry + */ + public function setKey($key) + { + $this->key = (!is_null($key) && PHP_INT_SIZE === 4) + ? floatval($key) : $key; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Stats + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Stats $value + * @return \Google\AdsApi\AdManager\v202408\Long_StatsMapEntry + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/MarketplaceComment.php b/src/Google/AdsApi/AdManager/v202408/MarketplaceComment.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/MarketplaceComment.php rename to src/Google/AdsApi/AdManager/v202408/MarketplaceComment.php index 19c0c4db6..55dea22c7 100644 --- a/src/Google/AdsApi/AdManager/v202308/MarketplaceComment.php +++ b/src/Google/AdsApi/AdManager/v202408/MarketplaceComment.php @@ -1,6 +1,6 @@ startIndex = $startIndex; + $this->results = $results; + } + + /** + * @return int + */ + public function getStartIndex() + { + return $this->startIndex; + } + + /** + * @param int $startIndex + * @return \Google\AdsApi\AdManager\v202408\MarketplaceCommentPage + */ + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MarketplaceComment[] + */ + public function getResults() + { + return $this->results; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MarketplaceComment[]|null $results + * @return \Google\AdsApi\AdManager\v202408\MarketplaceCommentPage + */ + public function setResults(array $results = null) + { + $this->results = $results; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/MasterPlaylistSettings.php b/src/Google/AdsApi/AdManager/v202408/MasterPlaylistSettings.php similarity index 85% rename from src/Google/AdsApi/AdManager/v202308/MasterPlaylistSettings.php rename to src/Google/AdsApi/AdManager/v202408/MasterPlaylistSettings.php index 61d70f8b7..5d60c1c25 100644 --- a/src/Google/AdsApi/AdManager/v202308/MasterPlaylistSettings.php +++ b/src/Google/AdsApi/AdManager/v202408/MasterPlaylistSettings.php @@ -1,6 +1,6 @@ name = $name; + $this->urlPrefix = $urlPrefix; + $this->securityPolicy = $securityPolicy; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\MediaLocationSettings + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return string + */ + public function getUrlPrefix() + { + return $this->urlPrefix; + } + + /** + * @param string $urlPrefix + * @return \Google\AdsApi\AdManager\v202408\MediaLocationSettings + */ + public function setUrlPrefix($urlPrefix) + { + $this->urlPrefix = $urlPrefix; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SecurityPolicySettings + */ + public function getSecurityPolicy() + { + return $this->securityPolicy; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SecurityPolicySettings $securityPolicy + * @return \Google\AdsApi\AdManager\v202408\MediaLocationSettings + */ + public function setSecurityPolicy($securityPolicy) + { + $this->securityPolicy = $securityPolicy; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/MetadataMergeSpecError.php b/src/Google/AdsApi/AdManager/v202408/MetadataMergeSpecError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/MetadataMergeSpecError.php rename to src/Google/AdsApi/AdManager/v202408/MetadataMergeSpecError.php index 5ef9bb54b..06da2e1d4 100644 --- a/src/Google/AdsApi/AdManager/v202308/MetadataMergeSpecError.php +++ b/src/Google/AdsApi/AdManager/v202408/MetadataMergeSpecError.php @@ -1,12 +1,12 @@ id = $id; $this->applicationId = $applicationId; @@ -97,6 +103,7 @@ public function __construct($id = null, $applicationId = null, $displayName = nu $this->platform = $platform; $this->isFree = $isFree; $this->downloadUrl = $downloadUrl; + $this->approvalStatus = $approvalStatus; } /** @@ -109,7 +116,7 @@ public function getId() /** * @param int $id - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setId($id) { @@ -128,7 +135,7 @@ public function getApplicationId() /** * @param int $applicationId - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setApplicationId($applicationId) { @@ -147,7 +154,7 @@ public function getDisplayName() /** * @param string $displayName - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setDisplayName($displayName) { @@ -165,7 +172,7 @@ public function getAppStoreId() /** * @param string $appStoreId - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setAppStoreId($appStoreId) { @@ -183,7 +190,7 @@ public function getAppStores() /** * @param string[]|null $appStores - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setAppStores(array $appStores = null) { @@ -201,7 +208,7 @@ public function getIsArchived() /** * @param boolean $isArchived - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setIsArchived($isArchived) { @@ -219,7 +226,7 @@ public function getAppStoreName() /** * @param string $appStoreName - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setAppStoreName($appStoreName) { @@ -237,7 +244,7 @@ public function getApplicationCode() /** * @param string $applicationCode - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setApplicationCode($applicationCode) { @@ -255,7 +262,7 @@ public function getDeveloperName() /** * @param string $developerName - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setDeveloperName($developerName) { @@ -273,7 +280,7 @@ public function getPlatform() /** * @param string $platform - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setPlatform($platform) { @@ -291,7 +298,7 @@ public function getIsFree() /** * @param boolean $isFree - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setIsFree($isFree) { @@ -309,7 +316,7 @@ public function getDownloadUrl() /** * @param string $downloadUrl - * @return \Google\AdsApi\AdManager\v202308\MobileApplication + * @return \Google\AdsApi\AdManager\v202408\MobileApplication */ public function setDownloadUrl($downloadUrl) { @@ -317,4 +324,22 @@ public function setDownloadUrl($downloadUrl) return $this; } + /** + * @return string + */ + public function getApprovalStatus() + { + return $this->approvalStatus; + } + + /** + * @param string $approvalStatus + * @return \Google\AdsApi\AdManager\v202408\MobileApplication + */ + public function setApprovalStatus($approvalStatus) + { + $this->approvalStatus = $approvalStatus; + return $this; + } + } diff --git a/src/Google/AdsApi/AdManager/v202308/MobileApplicationAction.php b/src/Google/AdsApi/AdManager/v202408/MobileApplicationAction.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/MobileApplicationAction.php rename to src/Google/AdsApi/AdManager/v202408/MobileApplicationAction.php index 0eba0d6e9..1176e9558 100644 --- a/src/Google/AdsApi/AdManager/v202308/MobileApplicationAction.php +++ b/src/Google/AdsApi/AdManager/v202408/MobileApplicationAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'UnarchiveMobileApplications' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveMobileApplications', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'ArchiveMobileApplications' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveMobileApplications', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'MobileApplicationAction' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationAction', + 'MobileApplicationActionError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationActionError', + 'MobileApplication' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplication', + 'MobileApplicationError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationError', + 'MobileApplicationPage' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationPage', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createMobileApplicationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createMobileApplicationsResponse', + 'getMobileApplicationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getMobileApplicationsByStatementResponse', + 'performMobileApplicationActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performMobileApplicationActionResponse', + 'updateMobileApplicationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateMobileApplicationsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/MobileApplicationService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates and claims {@link MobileApplication mobile applications} to be used for targeting in + * the network. + * + * @param \Google\AdsApi\AdManager\v202408\MobileApplication[] $mobileApplications + * @return \Google\AdsApi\AdManager\v202408\MobileApplication[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createMobileApplications(array $mobileApplications) + { + return $this->__soapCall('createMobileApplications', array(array('mobileApplications' => $mobileApplications)))->getRval(); + } + + /** + * Gets a {@link MobileApplicationPage mobileApplicationPage} of {@link MobileApplication mobile + * applications} that satisfy the given {@link Statement}. The following fields are supported for + * filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code id}{@link MobileApplication#id}
{@code displayName}{@link MobileApplication#displayName}
{@code appStore}{@link MobileApplication#appStore}
{@code appStoreId}{@link MobileApplication#appStoreId}
{@code isArchived}{@link MobileApplication#isArchived}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\MobileApplicationPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getMobileApplicationsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getMobileApplicationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs an action on {@link MobileApplication mobile applications}. + * + * @param \Google\AdsApi\AdManager\v202408\MobileApplicationAction $mobileApplicationAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performMobileApplicationAction(\Google\AdsApi\AdManager\v202408\MobileApplicationAction $mobileApplicationAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performMobileApplicationAction', array(array('mobileApplicationAction' => $mobileApplicationAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link MobileApplication mobile applications}. + * + * @param \Google\AdsApi\AdManager\v202408\MobileApplication[] $mobileApplications + * @return \Google\AdsApi\AdManager\v202408\MobileApplication[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateMobileApplications(array $mobileApplications) + { + return $this->__soapCall('updateMobileApplications', array(array('mobileApplications' => $mobileApplications)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileApplicationStore.php b/src/Google/AdsApi/AdManager/v202408/MobileApplicationStore.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/MobileApplicationStore.php rename to src/Google/AdsApi/AdManager/v202408/MobileApplicationStore.php index e29628550..9a3dd4dda 100644 --- a/src/Google/AdsApi/AdManager/v202308/MobileApplicationStore.php +++ b/src/Google/AdsApi/AdManager/v202408/MobileApplicationStore.php @@ -1,6 +1,6 @@ isTargeted = $isTargeted; + $this->mobileCarriers = $mobileCarriers; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\MobileCarrierTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getMobileCarriers() + { + return $this->mobileCarriers; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $mobileCarriers + * @return \Google\AdsApi\AdManager\v202408\MobileCarrierTargeting + */ + public function setMobileCarriers(array $mobileCarriers = null) + { + $this->mobileCarriers = $mobileCarriers; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/MobileDevice.php b/src/Google/AdsApi/AdManager/v202408/MobileDevice.php similarity index 85% rename from src/Google/AdsApi/AdManager/v202308/MobileDevice.php rename to src/Google/AdsApi/AdManager/v202408/MobileDevice.php index eb3d4d1e3..7421849e3 100644 --- a/src/Google/AdsApi/AdManager/v202308/MobileDevice.php +++ b/src/Google/AdsApi/AdManager/v202408/MobileDevice.php @@ -1,12 +1,12 @@ targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; + $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getTargetedMobileDeviceSubmodels() + { + return $this->targetedMobileDeviceSubmodels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $targetedMobileDeviceSubmodels + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceSubmodelTargeting + */ + public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) + { + $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getExcludedMobileDeviceSubmodels() + { + return $this->excludedMobileDeviceSubmodels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $excludedMobileDeviceSubmodels + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceSubmodelTargeting + */ + public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) + { + $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202408/MobileDeviceTargeting.php new file mode 100644 index 000000000..4c897dd92 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/MobileDeviceTargeting.php @@ -0,0 +1,68 @@ +targetedMobileDevices = $targetedMobileDevices; + $this->excludedMobileDevices = $excludedMobileDevices; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getTargetedMobileDevices() + { + return $this->targetedMobileDevices; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $targetedMobileDevices + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceTargeting + */ + public function setTargetedMobileDevices(array $targetedMobileDevices = null) + { + $this->targetedMobileDevices = $targetedMobileDevices; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getExcludedMobileDevices() + { + return $this->excludedMobileDevices; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $excludedMobileDevices + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceTargeting + */ + public function setExcludedMobileDevices(array $excludedMobileDevices = null) + { + $this->excludedMobileDevices = $excludedMobileDevices; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Money.php b/src/Google/AdsApi/AdManager/v202408/Money.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/Money.php rename to src/Google/AdsApi/AdManager/v202408/Money.php index 1121a7d02..79a14ecd5 100644 --- a/src/Google/AdsApi/AdManager/v202308/Money.php +++ b/src/Google/AdsApi/AdManager/v202408/Money.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateNativeStyles' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateNativeStyles', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ArchiveNativeStyles' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveNativeStyles', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativeTemplateError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTemplateError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DeactivateNativeStyles' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateNativeStyles', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'NativeStyleAction' => 'Google\\AdsApi\\AdManager\\v202408\\NativeStyleAction', + 'NativeStyle' => 'Google\\AdsApi\\AdManager\\v202408\\NativeStyle', + 'NativeStyleError' => 'Google\\AdsApi\\AdManager\\v202408\\NativeStyleError', + 'NativeStylePage' => 'Google\\AdsApi\\AdManager\\v202408\\NativeStylePage', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createNativeStylesResponse', + 'getNativeStylesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getNativeStylesByStatementResponse', + 'performNativeStyleActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performNativeStyleActionResponse', + 'updateNativeStylesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateNativeStylesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/NativeStyleService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link NativeStyle} objects. + * + * @param \Google\AdsApi\AdManager\v202408\NativeStyle[] $nativeStyles + * @return \Google\AdsApi\AdManager\v202408\NativeStyle[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createNativeStyles(array $nativeStyles) + { + return $this->__soapCall('createNativeStyles', array(array('nativeStyles' => $nativeStyles)))->getRval(); + } + + /** + * Gets a {@link NativeStylePage NativeStylePage} of {@link NativeStyle} objects that satisfy the + * given {@link Statement}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code id}{@link NativeStyle#id}
{@code name}{@link NativeStyle#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\NativeStylePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getNativeStylesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getNativeStylesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link NativeStyle native styles} that match the given {@link Statement}. + * + * @param \Google\AdsApi\AdManager\v202408\NativeStyleAction $nativeStyleAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performNativeStyleAction(\Google\AdsApi\AdManager\v202408\NativeStyleAction $nativeStyleAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performNativeStyleAction', array(array('nativeStyleAction' => $nativeStyleAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link NativeStyle} objects. + * + * @param \Google\AdsApi\AdManager\v202408\NativeStyle[] $nativeStyles + * @return \Google\AdsApi\AdManager\v202408\NativeStyle[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateNativeStyles(array $nativeStyles) + { + return $this->__soapCall('updateNativeStyles', array(array('nativeStyles' => $nativeStyles)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/NativeStyleStatus.php b/src/Google/AdsApi/AdManager/v202408/NativeStyleStatus.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/NativeStyleStatus.php rename to src/Google/AdsApi/AdManager/v202408/NativeStyleStatus.php index ba66e2720..f15ee36a7 100644 --- a/src/Google/AdsApi/AdManager/v202308/NativeStyleStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/NativeStyleStatus.php @@ -1,6 +1,6 @@ id = $id; $this->displayName = $displayName; @@ -82,7 +76,6 @@ public function __construct($id = null, $displayName = null, $networkCode = null $this->secondaryCurrencyCodes = $secondaryCurrencyCodes; $this->effectiveRootAdUnitId = $effectiveRootAdUnitId; $this->isTest = $isTest; - $this->childPublishers = $childPublishers; } /** @@ -95,7 +88,7 @@ public function getId() /** * @param int $id - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setId($id) { @@ -114,7 +107,7 @@ public function getDisplayName() /** * @param string $displayName - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setDisplayName($displayName) { @@ -132,7 +125,7 @@ public function getNetworkCode() /** * @param string $networkCode - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setNetworkCode($networkCode) { @@ -150,7 +143,7 @@ public function getPropertyCode() /** * @param string $propertyCode - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setPropertyCode($propertyCode) { @@ -168,7 +161,7 @@ public function getTimeZone() /** * @param string $timeZone - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setTimeZone($timeZone) { @@ -186,7 +179,7 @@ public function getCurrencyCode() /** * @param string $currencyCode - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setCurrencyCode($currencyCode) { @@ -204,7 +197,7 @@ public function getSecondaryCurrencyCodes() /** * @param string[]|null $secondaryCurrencyCodes - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setSecondaryCurrencyCodes(array $secondaryCurrencyCodes = null) { @@ -222,7 +215,7 @@ public function getEffectiveRootAdUnitId() /** * @param string $effectiveRootAdUnitId - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setEffectiveRootAdUnitId($effectiveRootAdUnitId) { @@ -240,7 +233,7 @@ public function getIsTest() /** * @param boolean $isTest - * @return \Google\AdsApi\AdManager\v202308\Network + * @return \Google\AdsApi\AdManager\v202408\Network */ public function setIsTest($isTest) { @@ -248,22 +241,4 @@ public function setIsTest($isTest) return $this; } - /** - * @return \Google\AdsApi\AdManager\v202308\ChildPublisher[] - */ - public function getChildPublishers() - { - return $this->childPublishers; - } - - /** - * @param \Google\AdsApi\AdManager\v202308\ChildPublisher[]|null $childPublishers - * @return \Google\AdsApi\AdManager\v202308\Network - */ - public function setChildPublishers(array $childPublishers = null) - { - $this->childPublishers = $childPublishers; - return $this; - } - } diff --git a/src/Google/AdsApi/AdManager/v202308/NetworkError.php b/src/Google/AdsApi/AdManager/v202408/NetworkError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/NetworkError.php rename to src/Google/AdsApi/AdManager/v202408/NetworkError.php index 02a47c5f9..3387ce473 100644 --- a/src/Google/AdsApi/AdManager/v202308/NetworkError.php +++ b/src/Google/AdsApi/AdManager/v202408/NetworkError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ExchangeSignupApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ExchangeSignupApiError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'InventoryClientApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryClientApiError', + 'LiveStreamEventSlateError' => 'Google\\AdsApi\\AdManager\\v202408\\LiveStreamEventSlateError', + 'McmError' => 'Google\\AdsApi\\AdManager\\v202408\\McmError', + 'Network' => 'Google\\AdsApi\\AdManager\\v202408\\Network', + 'NetworkError' => 'Google\\AdsApi\\AdManager\\v202408\\NetworkError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxCreativeError', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'ThirdPartyDataDeclaration' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyDataDeclaration', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UrlError' => 'Google\\AdsApi\\AdManager\\v202408\\UrlError', + 'getAllNetworksResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAllNetworksResponse', + 'getCurrentNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCurrentNetworkResponse', + 'getDefaultThirdPartyDataDeclarationResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getDefaultThirdPartyDataDeclarationResponse', + 'makeTestNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202408\\makeTestNetworkResponse', + 'updateNetworkResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateNetworkResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/NetworkService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns the list of {@link Network} objects to which the current login has access. + * + *

Intended to be used without a network code in the SOAP header when the login may have more + * than one network associated with it. + * + * @return \Google\AdsApi\AdManager\v202408\Network[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAllNetworks() + { + return $this->__soapCall('getAllNetworks', array(array()))->getRval(); + } + + /** + * Returns the current network for which requests are being made. + * + * @return \Google\AdsApi\AdManager\v202408\Network + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCurrentNetwork() + { + return $this->__soapCall('getCurrentNetwork', array(array()))->getRval(); + } + + /** + * Returns the default {@link ThirdPartyDataDeclaration} for this network. If this setting has + * never been updated on your network, then this API response will be empty. + * + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyDataDeclaration + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getDefaultThirdPartyDataDeclaration() + { + return $this->__soapCall('getDefaultThirdPartyDataDeclaration', array(array()))->getRval(); + } + + /** + * Creates a new blank network for testing purposes using the current login. + * + *

Each login(i.e. email address) can only have one test network. Data from any of your + * existing networks will not be transferred to the new test network. Once the test network is + * created, the test network can be used in the API by supplying the {@link Network#networkCode} + * in the SOAP header or by logging into the Ad Manager UI. + * + *

Test networks are limited in the following ways: + * + *

+ * + * @return \Google\AdsApi\AdManager\v202408\Network + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function makeTestNetwork() + { + return $this->__soapCall('makeTestNetwork', array(array()))->getRval(); + } + + /** + * Updates the specified network. Currently, only the network display name can be updated. + * + * @param \Google\AdsApi\AdManager\v202408\Network $network + * @return \Google\AdsApi\AdManager\v202408\Network + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateNetwork(\Google\AdsApi\AdManager\v202408\Network $network) + { + return $this->__soapCall('updateNetwork', array(array('network' => $network)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/NielsenCtvPacingType.php b/src/Google/AdsApi/AdManager/v202408/NielsenCtvPacingType.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/NielsenCtvPacingType.php rename to src/Google/AdsApi/AdManager/v202408/NielsenCtvPacingType.php index c52f95b8a..d7bc862ac 100644 --- a/src/Google/AdsApi/AdManager/v202308/NielsenCtvPacingType.php +++ b/src/Google/AdsApi/AdManager/v202408/NielsenCtvPacingType.php @@ -1,6 +1,6 @@ isTargeted = $isTargeted; + $this->operatingSystems = $operatingSystems; + } + + /** + * @return boolean + */ + public function getIsTargeted() + { + return $this->isTargeted; + } + + /** + * @param boolean $isTargeted + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemTargeting + */ + public function setIsTargeted($isTargeted) + { + $this->isTargeted = $isTargeted; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getOperatingSystems() + { + return $this->operatingSystems; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $operatingSystems + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemTargeting + */ + public function setOperatingSystems(array $operatingSystems = null) + { + $this->operatingSystems = $operatingSystems; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/OperatingSystemVersion.php b/src/Google/AdsApi/AdManager/v202408/OperatingSystemVersion.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/OperatingSystemVersion.php rename to src/Google/AdsApi/AdManager/v202408/OperatingSystemVersion.php index 6c1fe616d..ecdc1a14a 100644 --- a/src/Google/AdsApi/AdManager/v202308/OperatingSystemVersion.php +++ b/src/Google/AdsApi/AdManager/v202408/OperatingSystemVersion.php @@ -1,12 +1,12 @@ targetedOperatingSystemVersions = $targetedOperatingSystemVersions; + $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getTargetedOperatingSystemVersions() + { + return $this->targetedOperatingSystemVersions; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $targetedOperatingSystemVersions + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemVersionTargeting + */ + public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) + { + $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Technology[] + */ + public function getExcludedOperatingSystemVersions() + { + return $this->excludedOperatingSystemVersions; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Technology[]|null $excludedOperatingSystemVersions + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemVersionTargeting + */ + public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) + { + $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/OptimizedPoddingAdRuleSlot.php b/src/Google/AdsApi/AdManager/v202408/OptimizedPoddingAdRuleSlot.php similarity index 93% rename from src/Google/AdsApi/AdManager/v202308/OptimizedPoddingAdRuleSlot.php rename to src/Google/AdsApi/AdManager/v202408/OptimizedPoddingAdRuleSlot.php index f9b7ec786..78d1177f5 100644 --- a/src/Google/AdsApi/AdManager/v202308/OptimizedPoddingAdRuleSlot.php +++ b/src/Google/AdsApi/AdManager/v202408/OptimizedPoddingAdRuleSlot.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'ApproveAndOverbookOrders' => 'Google\\AdsApi\\AdManager\\v202408\\ApproveAndOverbookOrders', + 'ApproveOrders' => 'Google\\AdsApi\\AdManager\\v202408\\ApproveOrders', + 'ApproveOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202408\\ApproveOrdersWithoutReservationChanges', + 'ArchiveOrders' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveOrders', + 'AssetError' => 'Google\\AdsApi\\AdManager\\v202408\\AssetError', + 'AudienceExtensionError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceExtensionError', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'ClickTrackingLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ClickTrackingLineItemError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CompanyCreditStatusError' => 'Google\\AdsApi\\AdManager\\v202408\\CompanyCreditStatusError', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CrossSellError' => 'Google\\AdsApi\\AdManager\\v202408\\CrossSellError', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DeleteOrders' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteOrders', + 'DisapproveOrders' => 'Google\\AdsApi\\AdManager\\v202408\\DisapproveOrders', + 'DisapproveOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202408\\DisapproveOrdersWithoutReservationChanges', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettingsError', + 'ImageError' => 'Google\\AdsApi\\AdManager\\v202408\\ImageError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemActivityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemActivityAssociationError', + 'LineItemCreativeAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemCreativeAssociationError', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OrderAction' => 'Google\\AdsApi\\AdManager\\v202408\\OrderAction', + 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderActionError', + 'Order' => 'Google\\AdsApi\\AdManager\\v202408\\Order', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'OrderPage' => 'Google\\AdsApi\\AdManager\\v202408\\OrderPage', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PauseOrders' => 'Google\\AdsApi\\AdManager\\v202408\\PauseOrders', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'ResumeAndOverbookOrders' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeAndOverbookOrders', + 'ResumeOrders' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeOrders', + 'RetractOrders' => 'Google\\AdsApi\\AdManager\\v202408\\RetractOrders', + 'RetractOrdersWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202408\\RetractOrdersWithoutReservationChanges', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetTopBoxLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\SetTopBoxLineItemError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SubmitOrdersForApproval' => 'Google\\AdsApi\\AdManager\\v202408\\SubmitOrdersForApproval', + 'SubmitOrdersForApprovalAndOverbook' => 'Google\\AdsApi\\AdManager\\v202408\\SubmitOrdersForApprovalAndOverbook', + 'SubmitOrdersForApprovalWithoutReservationChanges' => 'Google\\AdsApi\\AdManager\\v202408\\SubmitOrdersForApprovalWithoutReservationChanges', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TemplateInstantiatedCreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\TemplateInstantiatedCreativeError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TranscodingError' => 'Google\\AdsApi\\AdManager\\v202408\\TranscodingError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UnarchiveOrders' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveOrders', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'createOrdersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createOrdersResponse', + 'getOrdersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getOrdersByStatementResponse', + 'performOrderActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performOrderActionResponse', + 'updateOrdersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateOrdersResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/OrderService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Order} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Order[] $orders + * @return \Google\AdsApi\AdManager\v202408\Order[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createOrders(array $orders) + { + return $this->__soapCall('createOrders', array(array('orders' => $orders)))->getRval(); + } + + /** + * Gets an {@link OrderPage} of {@link Order} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code advertiserId}{@link Order#advertiserId}
{@code endDateTime}{@link Order#endDateTime}
{@code id}{@link Order#id}
{@code name}{@link Order#name}
{@code salespersonId}{@link Order#salespersonId}
{@code startDateTime}{@link Order#startDateTime}
{@code status}{@link Order#status}
{@code traffickerId}{@link Order#traffickerId}
{@code lastModifiedDateTime}{@link Order#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\OrderPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getOrdersByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getOrdersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Order} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\OrderAction $orderAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performOrderAction(\Google\AdsApi\AdManager\v202408\OrderAction $orderAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performOrderAction', array(array('orderAction' => $orderAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Order} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Order[] $orders + * @return \Google\AdsApi\AdManager\v202408\Order[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateOrders(array $orders) + { + return $this->__soapCall('updateOrders', array(array('orders' => $orders)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/OrderStatus.php b/src/Google/AdsApi/AdManager/v202408/OrderStatus.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/OrderStatus.php rename to src/Google/AdsApi/AdManager/v202408/OrderStatus.php index 392ccb989..0d41626b2 100644 --- a/src/Google/AdsApi/AdManager/v202308/OrderStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/OrderStatus.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivatePlacements' => 'Google\\AdsApi\\AdManager\\v202408\\ActivatePlacements', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ArchivePlacements' => 'Google\\AdsApi\\AdManager\\v202408\\ArchivePlacements', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivatePlacements' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivatePlacements', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PlacementAction' => 'Google\\AdsApi\\AdManager\\v202408\\PlacementAction', + 'Placement' => 'Google\\AdsApi\\AdManager\\v202408\\Placement', + 'PlacementError' => 'Google\\AdsApi\\AdManager\\v202408\\PlacementError', + 'PlacementPage' => 'Google\\AdsApi\\AdManager\\v202408\\PlacementPage', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SiteTargetingInfo' => 'Google\\AdsApi\\AdManager\\v202408\\SiteTargetingInfo', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createPlacementsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createPlacementsResponse', + 'getPlacementsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getPlacementsByStatementResponse', + 'performPlacementActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performPlacementActionResponse', + 'updatePlacementsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updatePlacementsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/PlacementService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Placement} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Placement[] $placements + * @return \Google\AdsApi\AdManager\v202408\Placement[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createPlacements(array $placements) + { + return $this->__soapCall('createPlacements', array(array('placements' => $placements)))->getRval(); + } + + /** + * Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code description}{@link Placement#description}
{@code id}{@link Placement#id}
{@code name}{@link Placement#name}
{@code placementCode}{@link Placement#placementCode}
{@code status}{@link Placement#status}
{@code lastModifiedDateTime}{@link Placement#lastModifiedDateTime}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\PlacementPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getPlacementsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getPlacementsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Placement} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\PlacementAction $placementAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performPlacementAction(\Google\AdsApi\AdManager\v202408\PlacementAction $placementAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performPlacementAction', array(array('placementAction' => $placementAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Placement} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Placement[] $placements + * @return \Google\AdsApi\AdManager\v202408\Placement[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updatePlacements(array $placements) + { + return $this->__soapCall('updatePlacements', array(array('placements' => $placements)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/PlaylistType.php b/src/Google/AdsApi/AdManager/v202408/PlaylistType.php similarity index 80% rename from src/Google/AdsApi/AdManager/v202308/PlaylistType.php rename to src/Google/AdsApi/AdManager/v202408/PlaylistType.php index 8d5b58ed0..5e63653ea 100644 --- a/src/Google/AdsApi/AdManager/v202308/PlaylistType.php +++ b/src/Google/AdsApi/AdManager/v202408/PlaylistType.php @@ -1,6 +1,6 @@ id = $id; + $this->isProgrammatic = $isProgrammatic; + $this->dfpOrderId = $dfpOrderId; + $this->name = $name; + $this->startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + $this->status = $status; + $this->isArchived = $isArchived; + $this->advertiser = $advertiser; + $this->agencies = $agencies; + $this->internalNotes = $internalNotes; + $this->primarySalesperson = $primarySalesperson; + $this->salesPlannerIds = $salesPlannerIds; + $this->primaryTraffickerId = $primaryTraffickerId; + $this->sellerContactIds = $sellerContactIds; + $this->appliedTeamIds = $appliedTeamIds; + $this->customFieldValues = $customFieldValues; + $this->appliedLabels = $appliedLabels; + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + $this->currencyCode = $currencyCode; + $this->isSold = $isSold; + $this->lastModifiedDateTime = $lastModifiedDateTime; + $this->marketplaceInfo = $marketplaceInfo; + $this->buyerRfp = $buyerRfp; + $this->hasBuyerRfp = $hasBuyerRfp; + $this->deliveryPausingEnabled = $deliveryPausingEnabled; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return boolean + */ + public function getIsProgrammatic() + { + return $this->isProgrammatic; + } + + /** + * @param boolean $isProgrammatic + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setIsProgrammatic($isProgrammatic) + { + $this->isProgrammatic = $isProgrammatic; + return $this; + } + + /** + * @return int + */ + public function getDfpOrderId() + { + return $this->dfpOrderId; + } + + /** + * @param int $dfpOrderId + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setDfpOrderId($dfpOrderId) + { + $this->dfpOrderId = (!is_null($dfpOrderId) && PHP_INT_SIZE === 4) + ? floatval($dfpOrderId) : $dfpOrderId; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + + /** + * @return string + */ + public function getStatus() + { + return $this->status; + } + + /** + * @param string $status + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setStatus($status) + { + $this->status = $status; + return $this; + } + + /** + * @return boolean + */ + public function getIsArchived() + { + return $this->isArchived; + } + + /** + * @param boolean $isArchived + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setIsArchived($isArchived) + { + $this->isArchived = $isArchived; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalCompanyAssociation + */ + public function getAdvertiser() + { + return $this->advertiser; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalCompanyAssociation $advertiser + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setAdvertiser($advertiser) + { + $this->advertiser = $advertiser; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalCompanyAssociation[] + */ + public function getAgencies() + { + return $this->agencies; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalCompanyAssociation[]|null $agencies + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setAgencies(array $agencies = null) + { + $this->agencies = $agencies; + return $this; + } + + /** + * @return string + */ + public function getInternalNotes() + { + return $this->internalNotes; + } + + /** + * @param string $internalNotes + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setInternalNotes($internalNotes) + { + $this->internalNotes = $internalNotes; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SalespersonSplit + */ + public function getPrimarySalesperson() + { + return $this->primarySalesperson; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SalespersonSplit $primarySalesperson + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setPrimarySalesperson($primarySalesperson) + { + $this->primarySalesperson = $primarySalesperson; + return $this; + } + + /** + * @return int[] + */ + public function getSalesPlannerIds() + { + return $this->salesPlannerIds; + } + + /** + * @param int[]|null $salesPlannerIds + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setSalesPlannerIds(array $salesPlannerIds = null) + { + $this->salesPlannerIds = $salesPlannerIds; + return $this; + } + + /** + * @return int + */ + public function getPrimaryTraffickerId() + { + return $this->primaryTraffickerId; + } + + /** + * @param int $primaryTraffickerId + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setPrimaryTraffickerId($primaryTraffickerId) + { + $this->primaryTraffickerId = (!is_null($primaryTraffickerId) && PHP_INT_SIZE === 4) + ? floatval($primaryTraffickerId) : $primaryTraffickerId; + return $this; + } + + /** + * @return int[] + */ + public function getSellerContactIds() + { + return $this->sellerContactIds; + } + + /** + * @param int[]|null $sellerContactIds + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setSellerContactIds(array $sellerContactIds = null) + { + $this->sellerContactIds = $sellerContactIds; + return $this; + } + + /** + * @return int[] + */ + public function getAppliedTeamIds() + { + return $this->appliedTeamIds; + } + + /** + * @param int[]|null $appliedTeamIds + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setAppliedTeamIds(array $appliedTeamIds = null) + { + $this->appliedTeamIds = $appliedTeamIds; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[] + */ + public function getCustomFieldValues() + { + return $this->customFieldValues; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[]|null $customFieldValues + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setCustomFieldValues(array $customFieldValues = null) + { + $this->customFieldValues = $customFieldValues; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getAppliedLabels() + { + return $this->appliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $appliedLabels + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setAppliedLabels(array $appliedLabels = null) + { + $this->appliedLabels = $appliedLabels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getEffectiveAppliedLabels() + { + return $this->effectiveAppliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $effectiveAppliedLabels + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + { + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + return $this; + } + + /** + * @return string + */ + public function getCurrencyCode() + { + return $this->currencyCode; + } + + /** + * @param string $currencyCode + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + return $this; + } + + /** + * @return boolean + */ + public function getIsSold() + { + return $this->isSold; + } + + /** + * @param boolean $isSold + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setIsSold($isSold) + { + $this->isSold = $isSold; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastModifiedDateTime() + { + return $this->lastModifiedDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setLastModifiedDateTime($lastModifiedDateTime) + { + $this->lastModifiedDateTime = $lastModifiedDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function getMarketplaceInfo() + { + return $this->marketplaceInfo; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo $marketplaceInfo + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setMarketplaceInfo($marketplaceInfo) + { + $this->marketplaceInfo = $marketplaceInfo; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BuyerRfp + */ + public function getBuyerRfp() + { + return $this->buyerRfp; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BuyerRfp $buyerRfp + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setBuyerRfp($buyerRfp) + { + $this->buyerRfp = $buyerRfp; + return $this; + } + + /** + * @return boolean + */ + public function getHasBuyerRfp() + { + return $this->hasBuyerRfp; + } + + /** + * @param boolean $hasBuyerRfp + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setHasBuyerRfp($hasBuyerRfp) + { + $this->hasBuyerRfp = $hasBuyerRfp; + return $this; + } + + /** + * @return boolean + */ + public function getDeliveryPausingEnabled() + { + return $this->deliveryPausingEnabled; + } + + /** + * @param boolean $deliveryPausingEnabled + * @return \Google\AdsApi\AdManager\v202408\Proposal + */ + public function setDeliveryPausingEnabled($deliveryPausingEnabled) + { + $this->deliveryPausingEnabled = $deliveryPausingEnabled; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalAction.php b/src/Google/AdsApi/AdManager/v202408/ProposalAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/ProposalAction.php rename to src/Google/AdsApi/AdManager/v202408/ProposalAction.php index 791c6c9d7..25d78ef55 100644 --- a/src/Google/AdsApi/AdManager/v202308/ProposalAction.php +++ b/src/Google/AdsApi/AdManager/v202408/ProposalAction.php @@ -1,6 +1,6 @@ id = $id; + $this->proposalId = $proposalId; + $this->name = $name; + $this->startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + $this->internalNotes = $internalNotes; + $this->isArchived = $isArchived; + $this->goal = $goal; + $this->secondaryGoals = $secondaryGoals; + $this->contractedUnitsBought = $contractedUnitsBought; + $this->deliveryRateType = $deliveryRateType; + $this->roadblockingType = $roadblockingType; + $this->companionDeliveryOption = $companionDeliveryOption; + $this->videoMaxDuration = $videoMaxDuration; + $this->videoCreativeSkippableAdType = $videoCreativeSkippableAdType; + $this->frequencyCaps = $frequencyCaps; + $this->dfpLineItemId = $dfpLineItemId; + $this->lineItemType = $lineItemType; + $this->lineItemPriority = $lineItemPriority; + $this->rateType = $rateType; + $this->creativePlaceholders = $creativePlaceholders; + $this->targeting = $targeting; + $this->customFieldValues = $customFieldValues; + $this->appliedLabels = $appliedLabels; + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion; + $this->isSold = $isSold; + $this->netRate = $netRate; + $this->netCost = $netCost; + $this->deliveryIndicator = $deliveryIndicator; + $this->deliveryData = $deliveryData; + $this->computedStatus = $computedStatus; + $this->lastModifiedDateTime = $lastModifiedDateTime; + $this->reservationStatus = $reservationStatus; + $this->lastReservationDateTime = $lastReservationDateTime; + $this->environmentType = $environmentType; + $this->allowedFormats = $allowedFormats; + $this->additionalTerms = $additionalTerms; + $this->programmaticCreativeSource = $programmaticCreativeSource; + $this->grpSettings = $grpSettings; + $this->estimatedMinimumImpressions = $estimatedMinimumImpressions; + $this->thirdPartyMeasurementSettings = $thirdPartyMeasurementSettings; + $this->makegoodInfo = $makegoodInfo; + $this->hasMakegood = $hasMakegood; + $this->canCreateMakegood = $canCreateMakegood; + $this->pauseRole = $pauseRole; + $this->pauseReason = $pauseReason; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return int + */ + public function getProposalId() + { + return $this->proposalId; + } + + /** + * @param int $proposalId + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setProposalId($proposalId) + { + $this->proposalId = (!is_null($proposalId) && PHP_INT_SIZE === 4) + ? floatval($proposalId) : $proposalId; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + + /** + * @return string + */ + public function getInternalNotes() + { + return $this->internalNotes; + } + + /** + * @param string $internalNotes + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setInternalNotes($internalNotes) + { + $this->internalNotes = $internalNotes; + return $this; + } + + /** + * @return boolean + */ + public function getIsArchived() + { + return $this->isArchived; + } + + /** + * @param boolean $isArchived + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setIsArchived($isArchived) + { + $this->isArchived = $isArchived; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Goal + */ + public function getGoal() + { + return $this->goal; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Goal $goal + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setGoal($goal) + { + $this->goal = $goal; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Goal[] + */ + public function getSecondaryGoals() + { + return $this->secondaryGoals; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Goal[]|null $secondaryGoals + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setSecondaryGoals(array $secondaryGoals = null) + { + $this->secondaryGoals = $secondaryGoals; + return $this; + } + + /** + * @return int + */ + public function getContractedUnitsBought() + { + return $this->contractedUnitsBought; + } + + /** + * @param int $contractedUnitsBought + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setContractedUnitsBought($contractedUnitsBought) + { + $this->contractedUnitsBought = (!is_null($contractedUnitsBought) && PHP_INT_SIZE === 4) + ? floatval($contractedUnitsBought) : $contractedUnitsBought; + return $this; + } + + /** + * @return string + */ + public function getDeliveryRateType() + { + return $this->deliveryRateType; + } + + /** + * @param string $deliveryRateType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setDeliveryRateType($deliveryRateType) + { + $this->deliveryRateType = $deliveryRateType; + return $this; + } + + /** + * @return string + */ + public function getRoadblockingType() + { + return $this->roadblockingType; + } + + /** + * @param string $roadblockingType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setRoadblockingType($roadblockingType) + { + $this->roadblockingType = $roadblockingType; + return $this; + } + + /** + * @return string + */ + public function getCompanionDeliveryOption() + { + return $this->companionDeliveryOption; + } + + /** + * @param string $companionDeliveryOption + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setCompanionDeliveryOption($companionDeliveryOption) + { + $this->companionDeliveryOption = $companionDeliveryOption; + return $this; + } + + /** + * @return int + */ + public function getVideoMaxDuration() + { + return $this->videoMaxDuration; + } + + /** + * @param int $videoMaxDuration + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setVideoMaxDuration($videoMaxDuration) + { + $this->videoMaxDuration = (!is_null($videoMaxDuration) && PHP_INT_SIZE === 4) + ? floatval($videoMaxDuration) : $videoMaxDuration; + return $this; + } + + /** + * @return string + */ + public function getVideoCreativeSkippableAdType() + { + return $this->videoCreativeSkippableAdType; + } + + /** + * @param string $videoCreativeSkippableAdType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setVideoCreativeSkippableAdType($videoCreativeSkippableAdType) + { + $this->videoCreativeSkippableAdType = $videoCreativeSkippableAdType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\FrequencyCap[] + */ + public function getFrequencyCaps() + { + return $this->frequencyCaps; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\FrequencyCap[]|null $frequencyCaps + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setFrequencyCaps(array $frequencyCaps = null) + { + $this->frequencyCaps = $frequencyCaps; + return $this; + } + + /** + * @return int + */ + public function getDfpLineItemId() + { + return $this->dfpLineItemId; + } + + /** + * @param int $dfpLineItemId + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setDfpLineItemId($dfpLineItemId) + { + $this->dfpLineItemId = (!is_null($dfpLineItemId) && PHP_INT_SIZE === 4) + ? floatval($dfpLineItemId) : $dfpLineItemId; + return $this; + } + + /** + * @return string + */ + public function getLineItemType() + { + return $this->lineItemType; + } + + /** + * @param string $lineItemType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setLineItemType($lineItemType) + { + $this->lineItemType = $lineItemType; + return $this; + } + + /** + * @return int + */ + public function getLineItemPriority() + { + return $this->lineItemPriority; + } + + /** + * @param int $lineItemPriority + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setLineItemPriority($lineItemPriority) + { + $this->lineItemPriority = $lineItemPriority; + return $this; + } + + /** + * @return string + */ + public function getRateType() + { + return $this->rateType; + } + + /** + * @param string $rateType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setRateType($rateType) + { + $this->rateType = $rateType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativePlaceholder[] + */ + public function getCreativePlaceholders() + { + return $this->creativePlaceholders; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativePlaceholder[]|null $creativePlaceholders + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setCreativePlaceholders(array $creativePlaceholders = null) + { + $this->creativePlaceholders = $creativePlaceholders; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[] + */ + public function getCustomFieldValues() + { + return $this->customFieldValues; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BaseCustomFieldValue[]|null $customFieldValues + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setCustomFieldValues(array $customFieldValues = null) + { + $this->customFieldValues = $customFieldValues; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getAppliedLabels() + { + return $this->appliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $appliedLabels + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setAppliedLabels(array $appliedLabels = null) + { + $this->appliedLabels = $appliedLabels; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AppliedLabel[] + */ + public function getEffectiveAppliedLabels() + { + return $this->effectiveAppliedLabels; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AppliedLabel[]|null $effectiveAppliedLabels + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + { + $this->effectiveAppliedLabels = $effectiveAppliedLabels; + return $this; + } + + /** + * @return boolean + */ + public function getDisableSameAdvertiserCompetitiveExclusion() + { + return $this->disableSameAdvertiserCompetitiveExclusion; + } + + /** + * @param boolean $disableSameAdvertiserCompetitiveExclusion + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setDisableSameAdvertiserCompetitiveExclusion($disableSameAdvertiserCompetitiveExclusion) + { + $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion; + return $this; + } + + /** + * @return boolean + */ + public function getIsSold() + { + return $this->isSold; + } + + /** + * @param boolean $isSold + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setIsSold($isSold) + { + $this->isSold = $isSold; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getNetRate() + { + return $this->netRate; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $netRate + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setNetRate($netRate) + { + $this->netRate = $netRate; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getNetCost() + { + return $this->netCost; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $netCost + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setNetCost($netCost) + { + $this->netCost = $netCost; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeliveryIndicator + */ + public function getDeliveryIndicator() + { + return $this->deliveryIndicator; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeliveryIndicator $deliveryIndicator + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setDeliveryIndicator($deliveryIndicator) + { + $this->deliveryIndicator = $deliveryIndicator; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeliveryData + */ + public function getDeliveryData() + { + return $this->deliveryData; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeliveryData $deliveryData + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setDeliveryData($deliveryData) + { + $this->deliveryData = $deliveryData; + return $this; + } + + /** + * @return string + */ + public function getComputedStatus() + { + return $this->computedStatus; + } + + /** + * @param string $computedStatus + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setComputedStatus($computedStatus) + { + $this->computedStatus = $computedStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastModifiedDateTime() + { + return $this->lastModifiedDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastModifiedDateTime + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setLastModifiedDateTime($lastModifiedDateTime) + { + $this->lastModifiedDateTime = $lastModifiedDateTime; + return $this; + } + + /** + * @return string + */ + public function getReservationStatus() + { + return $this->reservationStatus; + } + + /** + * @param string $reservationStatus + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setReservationStatus($reservationStatus) + { + $this->reservationStatus = $reservationStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLastReservationDateTime() + { + return $this->lastReservationDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $lastReservationDateTime + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setLastReservationDateTime($lastReservationDateTime) + { + $this->lastReservationDateTime = $lastReservationDateTime; + return $this; + } + + /** + * @return string + */ + public function getEnvironmentType() + { + return $this->environmentType; + } + + /** + * @param string $environmentType + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setEnvironmentType($environmentType) + { + $this->environmentType = $environmentType; + return $this; + } + + /** + * @return string[] + */ + public function getAllowedFormats() + { + return $this->allowedFormats; + } + + /** + * @param string[]|null $allowedFormats + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setAllowedFormats(array $allowedFormats = null) + { + $this->allowedFormats = $allowedFormats; + return $this; + } + + /** + * @return string + */ + public function getAdditionalTerms() + { + return $this->additionalTerms; + } + + /** + * @param string $additionalTerms + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setAdditionalTerms($additionalTerms) + { + $this->additionalTerms = $additionalTerms; + return $this; + } + + /** + * @return string + */ + public function getProgrammaticCreativeSource() + { + return $this->programmaticCreativeSource; + } + + /** + * @param string $programmaticCreativeSource + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setProgrammaticCreativeSource($programmaticCreativeSource) + { + $this->programmaticCreativeSource = $programmaticCreativeSource; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\GrpSettings + */ + public function getGrpSettings() + { + return $this->grpSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\GrpSettings $grpSettings + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setGrpSettings($grpSettings) + { + $this->grpSettings = $grpSettings; + return $this; + } + + /** + * @return int + */ + public function getEstimatedMinimumImpressions() + { + return $this->estimatedMinimumImpressions; + } + + /** + * @param int $estimatedMinimumImpressions + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setEstimatedMinimumImpressions($estimatedMinimumImpressions) + { + $this->estimatedMinimumImpressions = (!is_null($estimatedMinimumImpressions) && PHP_INT_SIZE === 4) + ? floatval($estimatedMinimumImpressions) : $estimatedMinimumImpressions; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyMeasurementSettings + */ + public function getThirdPartyMeasurementSettings() + { + return $this->thirdPartyMeasurementSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ThirdPartyMeasurementSettings $thirdPartyMeasurementSettings + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setThirdPartyMeasurementSettings($thirdPartyMeasurementSettings) + { + $this->thirdPartyMeasurementSettings = $thirdPartyMeasurementSettings; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItemMakegoodInfo + */ + public function getMakegoodInfo() + { + return $this->makegoodInfo; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItemMakegoodInfo $makegoodInfo + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setMakegoodInfo($makegoodInfo) + { + $this->makegoodInfo = $makegoodInfo; + return $this; + } + + /** + * @return boolean + */ + public function getHasMakegood() + { + return $this->hasMakegood; + } + + /** + * @param boolean $hasMakegood + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setHasMakegood($hasMakegood) + { + $this->hasMakegood = $hasMakegood; + return $this; + } + + /** + * @return boolean + */ + public function getCanCreateMakegood() + { + return $this->canCreateMakegood; + } + + /** + * @param boolean $canCreateMakegood + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setCanCreateMakegood($canCreateMakegood) + { + $this->canCreateMakegood = $canCreateMakegood; + return $this; + } + + /** + * @return string + */ + public function getPauseRole() + { + return $this->pauseRole; + } + + /** + * @param string $pauseRole + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setPauseRole($pauseRole) + { + $this->pauseRole = $pauseRole; + return $this; + } + + /** + * @return string + */ + public function getPauseReason() + { + return $this->pauseReason; + } + + /** + * @param string $pauseReason + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function setPauseReason($pauseReason) + { + $this->pauseReason = $pauseReason; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalLineItemAction.php b/src/Google/AdsApi/AdManager/v202408/ProposalLineItemAction.php similarity index 79% rename from src/Google/AdsApi/AdManager/v202308/ProposalLineItemAction.php rename to src/Google/AdsApi/AdManager/v202408/ProposalLineItemAction.php index a7a936d13..c7b9eacc8 100644 --- a/src/Google/AdsApi/AdManager/v202308/ProposalLineItemAction.php +++ b/src/Google/AdsApi/AdManager/v202408/ProposalLineItemAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'ArchiveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveProposalLineItems', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BillingError' => 'Google\\AdsApi\\AdManager\\v202408\\BillingError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePlaceholder', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DealError' => 'Google\\AdsApi\\AdManager\\v202408\\DealError', + 'DeliveryData' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryData', + 'DeliveryIndicator' => 'Google\\AdsApi\\AdManager\\v202408\\DeliveryIndicator', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202408\\ExchangeRateError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'FrequencyCap' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCap', + 'FrequencyCapError' => 'Google\\AdsApi\\AdManager\\v202408\\FrequencyCapError', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'Goal' => 'Google\\AdsApi\\AdManager\\v202408\\Goal', + 'GrpSettings' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettings', + 'GrpSettingsError' => 'Google\\AdsApi\\AdManager\\v202408\\GrpSettingsError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemError', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PauseProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\PauseProposalLineItems', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'PreferredDealError' => 'Google\\AdsApi\\AdManager\\v202408\\PreferredDealError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'ProposalActionError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalActionError', + 'ProposalError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalError', + 'ProposalLineItemAction' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemAction', + 'ProposalLineItemActionError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemActionError', + 'ProposalLineItem' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItem', + 'ProposalLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemError', + 'ProposalLineItemMakegoodError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemMakegoodError', + 'ProposalLineItemMakegoodInfo' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemMakegoodInfo', + 'ProposalLineItemPage' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemPage', + 'ProposalLineItemProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemProgrammaticError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'ReleaseProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ReleaseProposalLineItems', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'ReserveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ReserveProposalLineItems', + 'ResumeProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeProposalLineItems', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'ThirdPartyMeasurementSettings' => 'Google\\AdsApi\\AdManager\\v202408\\ThirdPartyMeasurementSettings', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UnarchiveProposalLineItems' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveProposalLineItems', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createMakegoodsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createMakegoodsResponse', + 'createProposalLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createProposalLineItemsResponse', + 'getProposalLineItemsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getProposalLineItemsByStatementResponse', + 'performProposalLineItemActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performProposalLineItemActionResponse', + 'updateProposalLineItemsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateProposalLineItemsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ProposalLineItemService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates makegood proposal line items given the specifications provided. + * + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItemMakegoodInfo[] $makegoodInfos + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createMakegoods(array $makegoodInfos) + { + return $this->__soapCall('createMakegoods', array(array('makegoodInfos' => $makegoodInfos)))->getRval(); + } + + /** + * Creates new {@link ProposalLineItem} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem[] $proposalLineItems + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createProposalLineItems(array $proposalLineItems) + { + return $this->__soapCall('createProposalLineItems', array(array('proposalLineItems' => $proposalLineItems)))->getRval(); + } + + /** + * Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link ProposalLineItem#id}
{@code name}{@link ProposalLineItem#name}
{@code proposalId}{@link ProposalLineItem#proposalId}
{@code startDateTime}{@link ProposalLineItem#startDateTime}
{@code endDateTime}{@link ProposalLineItem#endDateTime}
{@code isArchived}{@link ProposalLineItem#isArchived}
{@code lastModifiedDateTime}{@link ProposalLineItem#lastModifiedDateTime}
{@code isProgrammatic}{@link ProposalLineItem#isProgrammatic}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItemPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getProposalLineItemsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getProposalLineItemsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link ProposalLineItem} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItemAction $proposalLineItemAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performProposalLineItemAction(\Google\AdsApi\AdManager\v202408\ProposalLineItemAction $proposalLineItemAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performProposalLineItemAction', array(array('proposalLineItemAction' => $proposalLineItemAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link ProposalLineItem} objects. + * + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem[] $proposalLineItems + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateProposalLineItems(array $proposalLineItems) + { + return $this->__soapCall('updateProposalLineItems', array(array('proposalLineItems' => $proposalLineItems)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/ProposalMarketplaceInfo.php b/src/Google/AdsApi/AdManager/v202408/ProposalMarketplaceInfo.php new file mode 100644 index 000000000..53ce27c04 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/ProposalMarketplaceInfo.php @@ -0,0 +1,194 @@ +marketplaceId = $marketplaceId; + $this->hasLocalVersionEdits = $hasLocalVersionEdits; + $this->negotiationStatus = $negotiationStatus; + $this->marketplaceComment = $marketplaceComment; + $this->isNewVersionFromBuyer = $isNewVersionFromBuyer; + $this->buyerAccountId = $buyerAccountId; + $this->partnerClientId = $partnerClientId; + } + + /** + * @return string + */ + public function getMarketplaceId() + { + return $this->marketplaceId; + } + + /** + * @param string $marketplaceId + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setMarketplaceId($marketplaceId) + { + $this->marketplaceId = $marketplaceId; + return $this; + } + + /** + * @return boolean + */ + public function getHasLocalVersionEdits() + { + return $this->hasLocalVersionEdits; + } + + /** + * @param boolean $hasLocalVersionEdits + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setHasLocalVersionEdits($hasLocalVersionEdits) + { + $this->hasLocalVersionEdits = $hasLocalVersionEdits; + return $this; + } + + /** + * @return string + */ + public function getNegotiationStatus() + { + return $this->negotiationStatus; + } + + /** + * @param string $negotiationStatus + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setNegotiationStatus($negotiationStatus) + { + $this->negotiationStatus = $negotiationStatus; + return $this; + } + + /** + * @return string + */ + public function getMarketplaceComment() + { + return $this->marketplaceComment; + } + + /** + * @param string $marketplaceComment + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setMarketplaceComment($marketplaceComment) + { + $this->marketplaceComment = $marketplaceComment; + return $this; + } + + /** + * @return boolean + */ + public function getIsNewVersionFromBuyer() + { + return $this->isNewVersionFromBuyer; + } + + /** + * @param boolean $isNewVersionFromBuyer + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setIsNewVersionFromBuyer($isNewVersionFromBuyer) + { + $this->isNewVersionFromBuyer = $isNewVersionFromBuyer; + return $this; + } + + /** + * @return int + */ + public function getBuyerAccountId() + { + return $this->buyerAccountId; + } + + /** + * @param int $buyerAccountId + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setBuyerAccountId($buyerAccountId) + { + $this->buyerAccountId = (!is_null($buyerAccountId) && PHP_INT_SIZE === 4) + ? floatval($buyerAccountId) : $buyerAccountId; + return $this; + } + + /** + * @return string + */ + public function getPartnerClientId() + { + return $this->partnerClientId; + } + + /** + * @param string $partnerClientId + * @return \Google\AdsApi\AdManager\v202408\ProposalMarketplaceInfo + */ + public function setPartnerClientId($partnerClientId) + { + $this->partnerClientId = $partnerClientId; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalPage.php b/src/Google/AdsApi/AdManager/v202408/ProposalPage.php similarity index 75% rename from src/Google/AdsApi/AdManager/v202308/ProposalPage.php rename to src/Google/AdsApi/AdManager/v202408/ProposalPage.php index 8e3f9f58c..9710c11aa 100644 --- a/src/Google/AdsApi/AdManager/v202308/ProposalPage.php +++ b/src/Google/AdsApi/AdManager/v202408/ProposalPage.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AppliedLabel' => 'Google\\AdsApi\\AdManager\\v202408\\AppliedLabel', + 'ArchiveProposals' => 'Google\\AdsApi\\AdManager\\v202408\\ArchiveProposals', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BaseCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\BaseCustomFieldValue', + 'BillingError' => 'Google\\AdsApi\\AdManager\\v202408\\BillingError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerRfp' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerRfp', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativePlaceholder' => 'Google\\AdsApi\\AdManager\\v202408\\CreativePlaceholder', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValue', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DealError' => 'Google\\AdsApi\\AdManager\\v202408\\DealError', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'DiscardLocalVersionEdits' => 'Google\\AdsApi\\AdManager\\v202408\\DiscardLocalVersionEdits', + 'DropDownCustomFieldValue' => 'Google\\AdsApi\\AdManager\\v202408\\DropDownCustomFieldValue', + 'EditProposalsForNegotiation' => 'Google\\AdsApi\\AdManager\\v202408\\EditProposalsForNegotiation', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202408\\ExchangeRateError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'ForecastError' => 'Google\\AdsApi\\AdManager\\v202408\\ForecastError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MarketplaceComment' => 'Google\\AdsApi\\AdManager\\v202408\\MarketplaceComment', + 'MarketplaceCommentPage' => 'Google\\AdsApi\\AdManager\\v202408\\MarketplaceCommentPage', + 'ProposalMarketplaceInfo' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalMarketplaceInfo', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PauseProposals' => 'Google\\AdsApi\\AdManager\\v202408\\PauseProposals', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PrecisionError' => 'Google\\AdsApi\\AdManager\\v202408\\PrecisionError', + 'ProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProgrammaticError', + 'ProposalAction' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalAction', + 'ProposalActionError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalActionError', + 'ProposalCompanyAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalCompanyAssociation', + 'Proposal' => 'Google\\AdsApi\\AdManager\\v202408\\Proposal', + 'ProposalError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalError', + 'ProposalLineItemError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemError', + 'ProposalLineItemMakegoodError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemMakegoodError', + 'ProposalLineItemProgrammaticError' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalLineItemProgrammaticError', + 'ProposalPage' => 'Google\\AdsApi\\AdManager\\v202408\\ProposalPage', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RequestBuyerAcceptance' => 'Google\\AdsApi\\AdManager\\v202408\\RequestBuyerAcceptance', + 'RequestBuyerReview' => 'Google\\AdsApi\\AdManager\\v202408\\RequestBuyerReview', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ReserveProposals' => 'Google\\AdsApi\\AdManager\\v202408\\ReserveProposals', + 'ResumeProposals' => 'Google\\AdsApi\\AdManager\\v202408\\ResumeProposals', + 'SalespersonSplit' => 'Google\\AdsApi\\AdManager\\v202408\\SalespersonSplit', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TerminateNegotiations' => 'Google\\AdsApi\\AdManager\\v202408\\TerminateNegotiations', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UnarchiveProposals' => 'Google\\AdsApi\\AdManager\\v202408\\UnarchiveProposals', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateOrderWithSellerData' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateOrderWithSellerData', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createProposalsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createProposalsResponse', + 'getMarketplaceCommentsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getMarketplaceCommentsByStatementResponse', + 'getProposalsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getProposalsByStatementResponse', + 'performProposalActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performProposalActionResponse', + 'updateProposalsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateProposalsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ProposalService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Proposal} objects. + * + *

For each proposal, the following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\Proposal[] $proposals + * @return \Google\AdsApi\AdManager\v202408\Proposal[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createProposals(array $proposals) + { + return $this->__soapCall('createProposals', array(array('proposals' => $proposals)))->getRval(); + } + + /** + * Gets a {@link MarketplaceCommentPage} of {@link MarketplaceComment} objects that satisfy the + * given {@link Statement#query}. This method only returns comments already sent to Marketplace, + * local draft {@link ProposalMarketplaceInfo#marketplaceComment} are not included. The following + * fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code proposalId}{@link MarketplaceComment#proposalId}
+ * + * The query must specify a {@code proposalId}, and only supports a subset of PQL syntax:
+ * [WHERE {AND ...}]
+ * [ORDER BY [ASC | DESC]]
+ * [LIMIT {[,] } | { OFFSET }]
+ * + *


+ *      := =
+ * := IN
+ * Only supports {@code ORDER BY} {@link MarketplaceComment#creationTime}. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\MarketplaceCommentPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getMarketplaceCommentsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getMarketplaceCommentsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL PropertyObject Property
{@code id}{@link Proposal#id}
{@code dfpOrderId}{@link Proposal#dfpOrderId}
{@code name}{@link Proposal#name}
{@code status}{@link Proposal#status}
{@code isArchived}{@link Proposal#isArchived}
+ * {@code approvalStatus} + *
Only applicable for proposals using sales management
+ *
{@link Proposal#approvalStatus}
{@code lastModifiedDateTime}{@link Proposal#lastModifiedDateTime}
{@code isProgrammatic}{@link Proposal#isProgrammatic}
+ * {@code negotiationStatus} + *
Only applicable for programmatic proposals
+ *
{@link ProposalMarketplaceInfo#negotiationStatus}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\ProposalPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getProposalsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getProposalsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Proposal} objects that match the given {@link Statement#query}. + * + *

The following fields are also required when submitting proposals for approval: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\ProposalAction $proposalAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performProposalAction(\Google\AdsApi\AdManager\v202408\ProposalAction $proposalAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performProposalAction', array(array('proposalAction' => $proposalAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Proposal} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Proposal[] $proposals + * @return \Google\AdsApi\AdManager\v202408\Proposal[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateProposals(array $proposals) + { + return $this->__soapCall('updateProposals', array(array('proposals' => $proposals)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ProposalStatus.php b/src/Google/AdsApi/AdManager/v202408/ProposalStatus.php similarity index 86% rename from src/Google/AdsApi/AdManager/v202308/ProposalStatus.php rename to src/Google/AdsApi/AdManager/v202408/ProposalStatus.php index a704f549f..5d2e2c7d8 100644 --- a/src/Google/AdsApi/AdManager/v202308/ProposalStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/ProposalStatus.php @@ -1,6 +1,6 @@ lineItem = $lineItem; + $this->proposalLineItem = $proposalLineItem; + $this->advertiserId = $advertiserId; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItem + */ + public function getLineItem() + { + return $this->lineItem; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItem $lineItem + * @return \Google\AdsApi\AdManager\v202408\ProspectiveLineItem + */ + public function setLineItem($lineItem) + { + $this->lineItem = $lineItem; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem + */ + public function getProposalLineItem() + { + return $this->proposalLineItem; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem $proposalLineItem + * @return \Google\AdsApi\AdManager\v202408\ProspectiveLineItem + */ + public function setProposalLineItem($proposalLineItem) + { + $this->proposalLineItem = $proposalLineItem; + return $this; + } + + /** + * @return int + */ + public function getAdvertiserId() + { + return $this->advertiserId; + } + + /** + * @param int $advertiserId + * @return \Google\AdsApi\AdManager\v202408\ProspectiveLineItem + */ + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = (!is_null($advertiserId) && PHP_INT_SIZE === 4) + ? floatval($advertiserId) : $advertiserId; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageContextError.php b/src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageContextError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageContextError.php rename to src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageContextError.php index 6693bcda5..cdc5f610d 100644 --- a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageContextError.php +++ b/src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageContextError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitCodeError', + 'AdUnitHierarchyError' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitHierarchyError', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'ChangeHistoryValue' => 'Google\\AdsApi\\AdManager\\v202408\\ChangeHistoryValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'ColumnType' => 'Google\\AdsApi\\AdManager\\v202408\\ColumnType', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CreativeError' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeError', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DealError' => 'Google\\AdsApi\\AdManager\\v202408\\DealError', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'ExchangeRateError' => 'Google\\AdsApi\\AdManager\\v202408\\ExchangeRateError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'FileError' => 'Google\\AdsApi\\AdManager\\v202408\\FileError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUnitError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'LineItemFlightDateError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemFlightDateError', + 'LineItemOperationError' => 'Google\\AdsApi\\AdManager\\v202408\\LineItemOperationError', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'OrderActionError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderActionError', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RangeError' => 'Google\\AdsApi\\AdManager\\v202408\\RangeError', + 'RegExError' => 'Google\\AdsApi\\AdManager\\v202408\\RegExError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'RequiredSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredSizeError', + 'ReservationDetailsError' => 'Google\\AdsApi\\AdManager\\v202408\\ReservationDetailsError', + 'ResultSet' => 'Google\\AdsApi\\AdManager\\v202408\\ResultSet', + 'Row' => 'Google\\AdsApi\\AdManager\\v202408\\Row', + 'AudienceSegmentError' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TargetingValue' => 'Google\\AdsApi\\AdManager\\v202408\\TargetingValue', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'selectResponse' => 'Google\\AdsApi\\AdManager\\v202408\\selectResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/PublisherQueryLanguageService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Retrieves rows of data that satisfy the given {@link Statement#query} from the system. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $selectStatement + * @return \Google\AdsApi\AdManager\v202408\ResultSet + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function select(\Google\AdsApi\AdManager\v202408\Statement $selectStatement) + { + return $this->__soapCall('select', array(array('selectStatement' => $selectStatement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageSyntaxError.php b/src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageSyntaxError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageSyntaxError.php rename to src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageSyntaxError.php index c1136383d..351229137 100644 --- a/src/Google/AdsApi/AdManager/v202308/PublisherQueryLanguageSyntaxError.php +++ b/src/Google/AdsApi/AdManager/v202408/PublisherQueryLanguageSyntaxError.php @@ -1,12 +1,12 @@ id = $id; + $this->reportQuery = $reportQuery; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\ReportJob + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ReportQuery + */ + public function getReportQuery() + { + return $this->reportQuery; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ReportQuery $reportQuery + * @return \Google\AdsApi\AdManager\v202408\ReportJob + */ + public function setReportQuery($reportQuery) + { + $this->reportQuery = $reportQuery; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ReportJobStatus.php b/src/Google/AdsApi/AdManager/v202408/ReportJobStatus.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/ReportJobStatus.php rename to src/Google/AdsApi/AdManager/v202408/ReportJobStatus.php index 2214d7afb..25b751150 100644 --- a/src/Google/AdsApi/AdManager/v202308/ReportJobStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/ReportJobStatus.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CurrencyCodeError' => 'Google\\AdsApi\\AdManager\\v202408\\CurrencyCodeError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'ReportDownloadOptions' => 'Google\\AdsApi\\AdManager\\v202408\\ReportDownloadOptions', + 'ReportError' => 'Google\\AdsApi\\AdManager\\v202408\\ReportError', + 'ReportJob' => 'Google\\AdsApi\\AdManager\\v202408\\ReportJob', + 'ReportQuery' => 'Google\\AdsApi\\AdManager\\v202408\\ReportQuery', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'SavedQuery' => 'Google\\AdsApi\\AdManager\\v202408\\SavedQuery', + 'SavedQueryPage' => 'Google\\AdsApi\\AdManager\\v202408\\SavedQueryPage', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'getReportDownloadURLResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getReportDownloadURLResponse', + 'getReportDownloadUrlWithOptionsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getReportDownloadUrlWithOptionsResponse', + 'getReportJobStatusResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getReportJobStatusResponse', + 'getSavedQueriesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSavedQueriesByStatementResponse', + 'runReportJobResponse' => 'Google\\AdsApi\\AdManager\\v202408\\runReportJobResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/ReportService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns the URL at which the report file can be downloaded. + * + *

The report will be generated as a gzip archive, containing the report file itself. + * + * @param int $reportJobId + * @param \Google\AdsApi\AdManager\v202408\ExportFormat $exportFormat Constant: string - Valid values: TSV, TSV_EXCEL, CSV_DUMP, XML, XLSX + * @return string + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getReportDownloadURL($reportJobId, $exportFormat) + { + return $this->__soapCall('getReportDownloadURL', array(array('reportJobId' => $reportJobId, 'exportFormat' => $exportFormat)))->getRval(); + } + + /** + * Returns the URL at which the report file can be downloaded, and allows for customization of the + * downloaded report. + * + *

By default, the report will be generated as a gzip archive, containing the report file + * itself. This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to + * false. + * + * @param int $reportJobId + * @param \Google\AdsApi\AdManager\v202408\ReportDownloadOptions $reportDownloadOptions + * @return string + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getReportDownloadUrlWithOptions($reportJobId, \Google\AdsApi\AdManager\v202408\ReportDownloadOptions $reportDownloadOptions) + { + return $this->__soapCall('getReportDownloadUrlWithOptions', array(array('reportJobId' => $reportJobId, 'reportDownloadOptions' => $reportDownloadOptions)))->getRval(); + } + + /** + * Returns the {@link ReportJobStatus} of the report job with the specified ID. + * + * @param int $reportJobId + * @return string + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getReportJobStatus($reportJobId) + { + return $this->__soapCall('getReportJobStatus', array(array('reportJobId' => $reportJobId)))->getRval(); + } + + /** + * Retrieves a page of the saved queries either created by or shared with the current user. Each + * {@link SavedQuery} in the page, if it is compatible with the current API version, will contain + * a {@link ReportQuery} object which can be optionally modified and used to create a {@link + * ReportJob}. This can then be passed to {@link ReportService#runReportJob}. The following fields + * are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link SavedQuery#id}
{@code name}{@link SavedQuery#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\SavedQueryPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSavedQueriesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getSavedQueriesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Initiates the execution of a {@link ReportQuery} on the server. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\ReportJob $reportJob + * @return \Google\AdsApi\AdManager\v202408\ReportJob + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function runReportJob(\Google\AdsApi\AdManager\v202408\ReportJob $reportJob) + { + return $this->__soapCall('runReportJob', array(array('reportJob' => $reportJob)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ReportableType.php b/src/Google/AdsApi/AdManager/v202408/ReportableType.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/ReportableType.php rename to src/Google/AdsApi/AdManager/v202408/ReportableType.php index 405cdc1d8..a225a3b8e 100644 --- a/src/Google/AdsApi/AdManager/v202308/ReportableType.php +++ b/src/Google/AdsApi/AdManager/v202408/ReportableType.php @@ -1,6 +1,6 @@ allowOverbook = $allowOverbook; + } + + /** + * @return boolean + */ + public function getAllowOverbook() + { + return $this->allowOverbook; + } + + /** + * @param boolean $allowOverbook + * @return \Google\AdsApi\AdManager\v202408\RequestBuyerAcceptance + */ + public function setAllowOverbook($allowOverbook) + { + $this->allowOverbook = $allowOverbook; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/RequestBuyerReview.php b/src/Google/AdsApi/AdManager/v202408/RequestBuyerReview.php new file mode 100644 index 000000000..50ac6acde --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/RequestBuyerReview.php @@ -0,0 +1,18 @@ +columnTypes = $columnTypes; + $this->rows = $rows; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ColumnType[] + */ + public function getColumnTypes() + { + return $this->columnTypes; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ColumnType[]|null $columnTypes + * @return \Google\AdsApi\AdManager\v202408\ResultSet + */ + public function setColumnTypes(array $columnTypes = null) + { + $this->columnTypes = $columnTypes; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Row[] + */ + public function getRows() + { + return $this->rows; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Row[]|null $rows + * @return \Google\AdsApi\AdManager\v202408\ResultSet + */ + public function setRows(array $rows = null) + { + $this->rows = $rows; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ResumeAndOverbookLineItems.php b/src/Google/AdsApi/AdManager/v202408/ResumeAndOverbookLineItems.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/ResumeAndOverbookLineItems.php rename to src/Google/AdsApi/AdManager/v202408/ResumeAndOverbookLineItems.php index 1f524e20c..cb56b5550 100644 --- a/src/Google/AdsApi/AdManager/v202308/ResumeAndOverbookLineItems.php +++ b/src/Google/AdsApi/AdManager/v202408/ResumeAndOverbookLineItems.php @@ -1,12 +1,12 @@ lockedOrientation = $lockedOrientation; + $this->isInterstitial = $isInterstitial; + } + + /** + * @return string + */ + public function getLockedOrientation() + { + return $this->lockedOrientation; + } + + /** + * @param string $lockedOrientation + * @return \Google\AdsApi\AdManager\v202408\RichMediaStudioCreative + */ + public function setLockedOrientation($lockedOrientation) + { + $this->lockedOrientation = $lockedOrientation; + return $this; + } + + /** + * @return boolean + */ + public function getIsInterstitial() + { + return $this->isInterstitial; + } + + /** + * @param boolean $isInterstitial + * @return \Google\AdsApi\AdManager\v202408\RichMediaStudioCreative + */ + public function setIsInterstitial($isInterstitial) + { + $this->isInterstitial = $isInterstitial; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/RichMediaStudioCreativeArtworkType.php b/src/Google/AdsApi/AdManager/v202408/RichMediaStudioCreativeArtworkType.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/RichMediaStudioCreativeArtworkType.php rename to src/Google/AdsApi/AdManager/v202408/RichMediaStudioCreativeArtworkType.php index f4bc0f27f..129a3a3c1 100644 --- a/src/Google/AdsApi/AdManager/v202308/RichMediaStudioCreativeArtworkType.php +++ b/src/Google/AdsApi/AdManager/v202408/RichMediaStudioCreativeArtworkType.php @@ -1,6 +1,6 @@ values = $values; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Value[] + */ + public function getValues() + { + return $this->values; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Value[]|null $values + * @return \Google\AdsApi\AdManager\v202408\Row + */ + public function setValues(array $values = null) + { + $this->values = $values; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/RuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202408/RuleBasedFirstPartyAudienceSegment.php similarity index 75% rename from src/Google/AdsApi/AdManager/v202308/RuleBasedFirstPartyAudienceSegment.php rename to src/Google/AdsApi/AdManager/v202408/RuleBasedFirstPartyAudienceSegment.php index af198912c..2924eb2de 100644 --- a/src/Google/AdsApi/AdManager/v202308/RuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202408/RuleBasedFirstPartyAudienceSegment.php @@ -1,16 +1,16 @@ batchUploadId = $batchUploadId; + $this->segmentId = $segmentId; + $this->isDeletion = $isDeletion; + $this->identifierType = $identifierType; + $this->ids = $ids; + $this->consentType = $consentType; + } + + /** + * @return int + */ + public function getBatchUploadId() + { + return $this->batchUploadId; + } + + /** + * @param int $batchUploadId + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setBatchUploadId($batchUploadId) + { + $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) + ? floatval($batchUploadId) : $batchUploadId; + return $this; + } + + /** + * @return int + */ + public function getSegmentId() + { + return $this->segmentId; + } + + /** + * @param int $segmentId + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setSegmentId($segmentId) + { + $this->segmentId = (!is_null($segmentId) && PHP_INT_SIZE === 4) + ? floatval($segmentId) : $segmentId; + return $this; + } + + /** + * @return boolean + */ + public function getIsDeletion() + { + return $this->isDeletion; + } + + /** + * @param boolean $isDeletion + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setIsDeletion($isDeletion) + { + $this->isDeletion = $isDeletion; + return $this; + } + + /** + * @return string + */ + public function getIdentifierType() + { + return $this->identifierType; + } + + /** + * @param string $identifierType + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setIdentifierType($identifierType) + { + $this->identifierType = $identifierType; + return $this; + } + + /** + * @return string[] + */ + public function getIds() + { + return $this->ids; + } + + /** + * @param string[]|null $ids + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setIds(array $ids = null) + { + $this->ids = $ids; + return $this; + } + + /** + * @return string + */ + public function getConsentType() + { + return $this->consentType; + } + + /** + * @param string $consentType + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest + */ + public function setConsentType($consentType) + { + $this->consentType = $consentType; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResponse.php new file mode 100644 index 000000000..d52a933b8 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResponse.php @@ -0,0 +1,69 @@ +batchUploadId = $batchUploadId; + $this->idErrors = $idErrors; + } + + /** + * @return int + */ + public function getBatchUploadId() + { + return $this->batchUploadId; + } + + /** + * @param int $batchUploadId + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResponse + */ + public function setBatchUploadId($batchUploadId) + { + $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) + ? floatval($batchUploadId) : $batchUploadId; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\IdError[] + */ + public function getIdErrors() + { + return $this->idErrors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\IdError[]|null $idErrors + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResponse + */ + public function setIdErrors(array $idErrors = null) + { + $this->idErrors = $idErrors; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResults.php new file mode 100644 index 000000000..0bbfb3656 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationResults.php @@ -0,0 +1,146 @@ +batchUploadId = $batchUploadId; + $this->segmentId = $segmentId; + $this->status = $status; + $this->numSuccessfulIdsProcessed = $numSuccessfulIdsProcessed; + $this->errors = $errors; + } + + /** + * @return int + */ + public function getBatchUploadId() + { + return $this->batchUploadId; + } + + /** + * @param int $batchUploadId + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults + */ + public function setBatchUploadId($batchUploadId) + { + $this->batchUploadId = (!is_null($batchUploadId) && PHP_INT_SIZE === 4) + ? floatval($batchUploadId) : $batchUploadId; + return $this; + } + + /** + * @return int + */ + public function getSegmentId() + { + return $this->segmentId; + } + + /** + * @param int $segmentId + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults + */ + public function setSegmentId($segmentId) + { + $this->segmentId = (!is_null($segmentId) && PHP_INT_SIZE === 4) + ? floatval($segmentId) : $segmentId; + return $this; + } + + /** + * @return string + */ + public function getStatus() + { + return $this->status; + } + + /** + * @param string $status + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults + */ + public function setStatus($status) + { + $this->status = $status; + return $this; + } + + /** + * @return int + */ + public function getNumSuccessfulIdsProcessed() + { + return $this->numSuccessfulIdsProcessed; + } + + /** + * @param int $numSuccessfulIdsProcessed + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults + */ + public function setNumSuccessfulIdsProcessed($numSuccessfulIdsProcessed) + { + $this->numSuccessfulIdsProcessed = (!is_null($numSuccessfulIdsProcessed) && PHP_INT_SIZE === 4) + ? floatval($numSuccessfulIdsProcessed) : $numSuccessfulIdsProcessed; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\IdError[] + */ + public function getErrors() + { + return $this->errors; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\IdError[]|null $errors + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults + */ + public function setErrors(array $errors = null) + { + $this->errors = $errors; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/SegmentPopulationService.php b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationService.php new file mode 100644 index 000000000..0cefce95b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationService.php @@ -0,0 +1,112 @@ + 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'IdError' => 'Google\\AdsApi\\AdManager\\v202408\\IdError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'ProcessAction' => 'Google\\AdsApi\\AdManager\\v202408\\ProcessAction', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'SegmentPopulationAction' => 'Google\\AdsApi\\AdManager\\v202408\\SegmentPopulationAction', + 'SegmentPopulationError' => 'Google\\AdsApi\\AdManager\\v202408\\SegmentPopulationError', + 'SegmentPopulationRequest' => 'Google\\AdsApi\\AdManager\\v202408\\SegmentPopulationRequest', + 'SegmentPopulationResponse' => 'Google\\AdsApi\\AdManager\\v202408\\SegmentPopulationResponse', + 'SegmentPopulationResults' => 'Google\\AdsApi\\AdManager\\v202408\\SegmentPopulationResults', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'getSegmentPopulationResultsByIdsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSegmentPopulationResultsByIdsResponse', + 'performSegmentPopulationActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performSegmentPopulationActionResponse', + 'updateSegmentMembershipsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateSegmentMembershipsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/SegmentPopulationService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns a list of {@link SegmentPopulationResults} for the given {@code batchUploadIds}. + * + * @param long[] $batchUploadIds + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSegmentPopulationResultsByIds(array $batchUploadIds) + { + return $this->__soapCall('getSegmentPopulationResultsByIds', array(array('batchUploadIds' => $batchUploadIds)))->getRval(); + } + + /** + * Performs an action on the uploads denoted by {@code batchUploadIds}. + * + * @param \Google\AdsApi\AdManager\v202408\SegmentPopulationAction $action + * @param long[] $batchUploadIds + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performSegmentPopulationAction(\Google\AdsApi\AdManager\v202408\SegmentPopulationAction $action, array $batchUploadIds) + { + return $this->__soapCall('performSegmentPopulationAction', array(array('action' => $action, 'batchUploadIds' => $batchUploadIds)))->getRval(); + } + + /** + * Updates identifiers in an audience segment. + * + *

The returned {@link SegmentPopulationRequest#batchUploadId} can be used in subsequent + * requests to group them together as part of the same batch. The identifiers associated with a + * batch will not be processed until {@link #performSegmentPopulationAction} is called with a + * ProcessAction. The batch will expire if ProcessAction is not called within the TTL of 5 days. + * + * @param \Google\AdsApi\AdManager\v202408\SegmentPopulationRequest $updateRequest + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResponse + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateSegmentMemberships(\Google\AdsApi\AdManager\v202408\SegmentPopulationRequest $updateRequest) + { + return $this->__soapCall('updateSegmentMemberships', array(array('updateRequest' => $updateRequest)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationStatus.php b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationStatus.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/SegmentPopulationStatus.php rename to src/Google/AdsApi/AdManager/v202408/SegmentPopulationStatus.php index c0d3adb63..f742d0ec0 100644 --- a/src/Google/AdsApi/AdManager/v202308/SegmentPopulationStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/SegmentPopulationStatus.php @@ -1,6 +1,6 @@ services = is_null($services) ? new AdManagerServices() : $services; } - /** - * Creates a new service client for `ActivityGroupService`. - * - * @param AdsSession $session a session containing configurations for the service client - * @return ActivityGroupService a new service client - */ - public function createActivityGroupService(AdsSession $session) - { - return $this->services->get($session, ActivityGroupService::class); - } - - /** - * Creates a new service client for `ActivityService`. - * - * @param AdsSession $session a session containing configurations for the service client - * @return ActivityService a new service client - */ - public function createActivityService(AdsSession $session) - { - return $this->services->get($session, ActivityService::class); - } - /** * Creates a new service client for `AdRuleService`. * @@ -65,6 +43,17 @@ public function createAdjustmentService(AdsSession $session) return $this->services->get($session, AdjustmentService::class); } + /** + * Creates a new service client for `AdsTxtService`. + * + * @param AdsSession $session a session containing configurations for the service client + * @return AdsTxtService a new service client + */ + public function createAdsTxtService(AdsSession $session) + { + return $this->services->get($session, AdsTxtService::class); + } + /** * Creates a new service client for `AudienceSegmentService`. * @@ -142,17 +131,6 @@ public function createContentService(AdsSession $session) return $this->services->get($session, ContentService::class); } - /** - * Creates a new service client for `CreativeReviewService`. - * - * @param AdsSession $session a session containing configurations for the service client - * @return CreativeReviewService a new service client - */ - public function createCreativeReviewService(AdsSession $session) - { - return $this->services->get($session, CreativeReviewService::class); - } - /** * Creates a new service client for `CreativeService`. * diff --git a/src/Google/AdsApi/AdManager/v202408/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202408/SetTopBoxCreative.php new file mode 100644 index 000000000..352b77e3a --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/SetTopBoxCreative.php @@ -0,0 +1,168 @@ +externalAssetId = $externalAssetId; + $this->providerId = $providerId; + $this->availabilityRegionIds = $availabilityRegionIds; + $this->licenseWindowStartDateTime = $licenseWindowStartDateTime; + $this->licenseWindowEndDateTime = $licenseWindowEndDateTime; + } + + /** + * @return string + */ + public function getExternalAssetId() + { + return $this->externalAssetId; + } + + /** + * @param string $externalAssetId + * @return \Google\AdsApi\AdManager\v202408\SetTopBoxCreative + */ + public function setExternalAssetId($externalAssetId) + { + $this->externalAssetId = $externalAssetId; + return $this; + } + + /** + * @return string + */ + public function getProviderId() + { + return $this->providerId; + } + + /** + * @param string $providerId + * @return \Google\AdsApi\AdManager\v202408\SetTopBoxCreative + */ + public function setProviderId($providerId) + { + $this->providerId = $providerId; + return $this; + } + + /** + * @return string[] + */ + public function getAvailabilityRegionIds() + { + return $this->availabilityRegionIds; + } + + /** + * @param string[]|null $availabilityRegionIds + * @return \Google\AdsApi\AdManager\v202408\SetTopBoxCreative + */ + public function setAvailabilityRegionIds(array $availabilityRegionIds = null) + { + $this->availabilityRegionIds = $availabilityRegionIds; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLicenseWindowStartDateTime() + { + return $this->licenseWindowStartDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $licenseWindowStartDateTime + * @return \Google\AdsApi\AdManager\v202408\SetTopBoxCreative + */ + public function setLicenseWindowStartDateTime($licenseWindowStartDateTime) + { + $this->licenseWindowStartDateTime = $licenseWindowStartDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getLicenseWindowEndDateTime() + { + return $this->licenseWindowEndDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $licenseWindowEndDateTime + * @return \Google\AdsApi\AdManager\v202408\SetTopBoxCreative + */ + public function setLicenseWindowEndDateTime($licenseWindowEndDateTime) + { + $this->licenseWindowEndDateTime = $licenseWindowEndDateTime; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SetTopBoxCreativeError.php b/src/Google/AdsApi/AdManager/v202408/SetTopBoxCreativeError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/SetTopBoxCreativeError.php rename to src/Google/AdsApi/AdManager/v202408/SetTopBoxCreativeError.php index c3a278aae..8fac2af56 100644 --- a/src/Google/AdsApi/AdManager/v202308/SetTopBoxCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202408/SetTopBoxCreativeError.php @@ -1,12 +1,12 @@ values = $values; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Value[] + */ + public function getValues() + { + return $this->values; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Value[]|null $values + * @return \Google\AdsApi\AdManager\v202408\SetValue + */ + public function setValues(array $values = null) + { + $this->values = $values; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SharedAudienceSegment.php b/src/Google/AdsApi/AdManager/v202408/SharedAudienceSegment.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/SharedAudienceSegment.php rename to src/Google/AdsApi/AdManager/v202408/SharedAudienceSegment.php index 4bcbff930..103f98d4e 100644 --- a/src/Google/AdsApi/AdManager/v202308/SharedAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202408/SharedAudienceSegment.php @@ -1,12 +1,12 @@ id = $id; + $this->url = $url; + $this->childNetworkCode = $childNetworkCode; + $this->approvalStatus = $approvalStatus; + $this->active = $active; + $this->approvalStatusUpdateTime = $approvalStatusUpdateTime; + $this->disapprovalReasons = $disapprovalReasons; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getUrl() + { + return $this->url; + } + + /** + * @param string $url + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setUrl($url) + { + $this->url = $url; + return $this; + } + + /** + * @return string + */ + public function getChildNetworkCode() + { + return $this->childNetworkCode; + } + + /** + * @param string $childNetworkCode + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setChildNetworkCode($childNetworkCode) + { + $this->childNetworkCode = $childNetworkCode; + return $this; + } + + /** + * @return string + */ + public function getApprovalStatus() + { + return $this->approvalStatus; + } + + /** + * @param string $approvalStatus + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setApprovalStatus($approvalStatus) + { + $this->approvalStatus = $approvalStatus; + return $this; + } + + /** + * @return boolean + */ + public function getActive() + { + return $this->active; + } + + /** + * @param boolean $active + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setActive($active) + { + $this->active = $active; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getApprovalStatusUpdateTime() + { + return $this->approvalStatusUpdateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $approvalStatusUpdateTime + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setApprovalStatusUpdateTime($approvalStatusUpdateTime) + { + $this->approvalStatusUpdateTime = $approvalStatusUpdateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DisapprovalReason[] + */ + public function getDisapprovalReasons() + { + return $this->disapprovalReasons; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DisapprovalReason[]|null $disapprovalReasons + * @return \Google\AdsApi\AdManager\v202408\Site + */ + public function setDisapprovalReasons(array $disapprovalReasons = null) + { + $this->disapprovalReasons = $disapprovalReasons; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SiteAction.php b/src/Google/AdsApi/AdManager/v202408/SiteAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/SiteAction.php rename to src/Google/AdsApi/AdManager/v202408/SiteAction.php index 5520cfa05..faa92d364 100644 --- a/src/Google/AdsApi/AdManager/v202308/SiteAction.php +++ b/src/Google/AdsApi/AdManager/v202408/SiteAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdSenseAccountError' => 'Google\\AdsApi\\AdManager\\v202408\\AdSenseAccountError', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateSite' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateSite', + 'DisapprovalReason' => 'Google\\AdsApi\\AdManager\\v202408\\DisapprovalReason', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SiteAction' => 'Google\\AdsApi\\AdManager\\v202408\\SiteAction', + 'Site' => 'Google\\AdsApi\\AdManager\\v202408\\Site', + 'SiteError' => 'Google\\AdsApi\\AdManager\\v202408\\SiteError', + 'SitePage' => 'Google\\AdsApi\\AdManager\\v202408\\SitePage', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SubmitSiteForApproval' => 'Google\\AdsApi\\AdManager\\v202408\\SubmitSiteForApproval', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UrlError' => 'Google\\AdsApi\\AdManager\\v202408\\UrlError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createSitesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createSitesResponse', + 'getSitesByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSitesByStatementResponse', + 'performSiteActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performSiteActionResponse', + 'updateSitesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateSitesResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/SiteService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Site} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Site[] $sites + * @return \Google\AdsApi\AdManager\v202408\Site[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createSites(array $sites) + { + return $this->__soapCall('createSites', array(array('sites' => $sites)))->getRval(); + } + + /** + * Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. + * The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Site#id}
{@code url}{@link Site#url}
{@code childNetworkCode}{@link Site#childNetworkCode}
{@code approvalStatus}{@link Site#approvalStatus}
{@code active}{@link Site#active}
{@code lastModifiedApprovalStatusDateTime}
+ * + * Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a + * top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code + * approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE + * lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}). + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\SitePage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSitesByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getSitesByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Site} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\SiteAction $siteAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performSiteAction(\Google\AdsApi\AdManager\v202408\SiteAction $siteAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performSiteAction', array(array('siteAction' => $siteAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Site} objects. + * + *

The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) + * move a site from O&O to represented, or 3) move a site from represented to O&O. + * + * @param \Google\AdsApi\AdManager\v202408\Site[] $sites + * @return \Google\AdsApi\AdManager\v202408\Site[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateSites(array $sites) + { + return $this->__soapCall('updateSites', array(array('sites' => $sites)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SiteTargetingInfo.php b/src/Google/AdsApi/AdManager/v202408/SiteTargetingInfo.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/SiteTargetingInfo.php rename to src/Google/AdsApi/AdManager/v202408/SiteTargetingInfo.php index 752518c2f..e82119753 100644 --- a/src/Google/AdsApi/AdManager/v202308/SiteTargetingInfo.php +++ b/src/Google/AdsApi/AdManager/v202408/SiteTargetingInfo.php @@ -1,6 +1,6 @@ ingestSettings = $ingestSettings; + $this->defaultDeliverySettings = $defaultDeliverySettings; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MediaLocationSettings + */ + public function getIngestSettings() + { + return $this->ingestSettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MediaLocationSettings $ingestSettings + * @return \Google\AdsApi\AdManager\v202408\SourceContentConfiguration + */ + public function setIngestSettings($ingestSettings) + { + $this->ingestSettings = $ingestSettings; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MediaLocationSettings + */ + public function getDefaultDeliverySettings() + { + return $this->defaultDeliverySettings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MediaLocationSettings $defaultDeliverySettings + * @return \Google\AdsApi\AdManager\v202408\SourceContentConfiguration + */ + public function setDefaultDeliverySettings($defaultDeliverySettings) + { + $this->defaultDeliverySettings = $defaultDeliverySettings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SslManualOverride.php b/src/Google/AdsApi/AdManager/v202408/SslManualOverride.php similarity index 86% rename from src/Google/AdsApi/AdManager/v202308/SslManualOverride.php rename to src/Google/AdsApi/AdManager/v202408/SslManualOverride.php index 005c74364..306ccab19 100644 --- a/src/Google/AdsApi/AdManager/v202308/SslManualOverride.php +++ b/src/Google/AdsApi/AdManager/v202408/SslManualOverride.php @@ -1,6 +1,6 @@ query = $query; + $this->values = $values; + } + + /** + * @return string + */ + public function getQuery() + { + return $this->query; + } + + /** + * @param string $query + * @return \Google\AdsApi\AdManager\v202408\Statement + */ + public function setQuery($query) + { + $this->query = $query; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\String_ValueMapEntry[] + */ + public function getValues() + { + return $this->values; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\String_ValueMapEntry[]|null $values + * @return \Google\AdsApi\AdManager\v202408\Statement + */ + public function setValues(array $values = null) + { + $this->values = $values; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/StatementError.php b/src/Google/AdsApi/AdManager/v202408/StatementError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/StatementError.php rename to src/Google/AdsApi/AdManager/v202408/StatementError.php index ecfdd9ab1..311a2e618 100644 --- a/src/Google/AdsApi/AdManager/v202308/StatementError.php +++ b/src/Google/AdsApi/AdManager/v202408/StatementError.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdBreak' => 'Google\\AdsApi\\AdManager\\v202408\\AdBreak', + 'AdDecisionCreative' => 'Google\\AdsApi\\AdManager\\v202408\\AdDecisionCreative', + 'AdResponse' => 'Google\\AdsApi\\AdManager\\v202408\\AdResponse', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CreativeTranscode' => 'Google\\AdsApi\\AdManager\\v202408\\CreativeTranscode', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'LinearStreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202408\\LinearStreamCreateRequest', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'SamError' => 'Google\\AdsApi\\AdManager\\v202408\\SamError', + 'SamSession' => 'Google\\AdsApi\\AdManager\\v202408\\SamSession', + 'SamSessionError' => 'Google\\AdsApi\\AdManager\\v202408\\SamSessionError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202408\\StreamCreateRequest', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TrackingEvent' => 'Google\\AdsApi\\AdManager\\v202408\\TrackingEvent', + 'TrackingEvent.Ping' => 'Google\\AdsApi\\AdManager\\v202408\\TrackingEventPing', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VodStreamCreateRequest' => 'Google\\AdsApi\\AdManager\\v202408\\VodStreamCreateRequest', + 'getSamSessionsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSamSessionsByStatementResponse', + 'registerSessionsForMonitoringResponse' => 'Google\\AdsApi\\AdManager\\v202408\\registerSessionsForMonitoringResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/StreamActivityMonitorService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Returns the logging information for a DAI session. A DAI session can be identified by it's + * session id or debug key. The session ID must be registered via the {@code + * registerSessionsForMonitoring} method before it can be accessed. There may be some delay before + * the session is available. + * + *

The number of sessions requested is limited to 25. The following fields are supported for + * filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Entity propertyPQL filter
+ * Session id + * + * 'sessionId' + *
+ * Debug key + * + * 'debugKey" + *
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\SamSession[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSamSessionsByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getSamSessionsByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Registers the specified list of {@code sessionIds} for monitoring. Once the session IDs have + * been registered, all logged information about the sessions will be persisted and can be viewed + * via the Ad Manager UI. + * + *

A session ID is a unique identifier of a single user watching a live stream event. + * + * @param string[] $sessionIds + * @return string[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function registerSessionsForMonitoring(array $sessionIds) + { + return $this->__soapCall('registerSessionsForMonitoring', array(array('sessionIds' => $sessionIds)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/StreamCreateRequest.php b/src/Google/AdsApi/AdManager/v202408/StreamCreateRequest.php similarity index 86% rename from src/Google/AdsApi/AdManager/v202308/StreamCreateRequest.php rename to src/Google/AdsApi/AdManager/v202408/StreamCreateRequest.php index 7c31fad74..abaa8b19d 100644 --- a/src/Google/AdsApi/AdManager/v202308/StreamCreateRequest.php +++ b/src/Google/AdsApi/AdManager/v202408/StreamCreateRequest.php @@ -1,6 +1,6 @@ key = $key; + $this->value = $value; + } + + /** + * @return string + */ + public function getKey() + { + return $this->key; + } + + /** + * @param string $key + * @return \Google\AdsApi\AdManager\v202408\String_ValueMapEntry + */ + public function setKey($key) + { + $this->key = $key; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Value + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Value $value + * @return \Google\AdsApi\AdManager\v202408\String_ValueMapEntry + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApproval.php b/src/Google/AdsApi/AdManager/v202408/SubmitOrdersForApproval.php similarity index 86% rename from src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApproval.php rename to src/Google/AdsApi/AdManager/v202408/SubmitOrdersForApproval.php index d3fc55c39..7427ae0d3 100644 --- a/src/Google/AdsApi/AdManager/v202308/SubmitOrdersForApproval.php +++ b/src/Google/AdsApi/AdManager/v202408/SubmitOrdersForApproval.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitParent' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitParent', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'ApproveSuggestedAdUnits' => 'Google\\AdsApi\\AdManager\\v202408\\ApproveSuggestedAdUnits', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'AdUnitSize' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitSize', + 'InventoryUnitSizesError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUnitSizesError', + 'LabelEntityAssociationError' => 'Google\\AdsApi\\AdManager\\v202408\\LabelEntityAssociationError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'SuggestedAdUnitAction' => 'Google\\AdsApi\\AdManager\\v202408\\SuggestedAdUnitAction', + 'SuggestedAdUnit' => 'Google\\AdsApi\\AdManager\\v202408\\SuggestedAdUnit', + 'SuggestedAdUnitPage' => 'Google\\AdsApi\\AdManager\\v202408\\SuggestedAdUnitPage', + 'SuggestedAdUnitUpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\SuggestedAdUnitUpdateResult', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'getSuggestedAdUnitsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getSuggestedAdUnitsByStatementResponse', + 'performSuggestedAdUnitActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performSuggestedAdUnitActionResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/SuggestedAdUnitService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Gets a {@link SuggestedAdUnitPage} of {@link SuggestedAdUnit} objects that satisfy the filter + * query. There is a system-enforced limit of 1000 on the number of suggested ad units that are + * suggested at any one time. + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link SuggestedAdUnit#id}
{@code numRequests}{@link SuggestedAdUnit#numRequests}
+ * + *

Note: After API version 201311, the {@code id} field will only be + * numerical. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\SuggestedAdUnitPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getSuggestedAdUnitsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getSuggestedAdUnitsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link SuggestedAdUnit} objects that match the given {@link + * Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link SuggestedAdUnit#id}
{@code numRequests}{@link SuggestedAdUnit#numRequests}
+ * + * @param \Google\AdsApi\AdManager\v202408\SuggestedAdUnitAction $suggestedAdUnitAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\SuggestedAdUnitUpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performSuggestedAdUnitAction(\Google\AdsApi\AdManager\v202408\SuggestedAdUnitAction $suggestedAdUnitAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performSuggestedAdUnitAction', array(array('suggestedAdUnitAction' => $suggestedAdUnitAction, 'filterStatement' => $filterStatement)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/SuggestedAdUnitUpdateResult.php b/src/Google/AdsApi/AdManager/v202408/SuggestedAdUnitUpdateResult.php similarity index 87% rename from src/Google/AdsApi/AdManager/v202308/SuggestedAdUnitUpdateResult.php rename to src/Google/AdsApi/AdManager/v202408/SuggestedAdUnitUpdateResult.php index dffd8a952..eb0efb1b8 100644 --- a/src/Google/AdsApi/AdManager/v202308/SuggestedAdUnitUpdateResult.php +++ b/src/Google/AdsApi/AdManager/v202408/SuggestedAdUnitUpdateResult.php @@ -1,6 +1,6 @@ size = $size; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Size + */ + public function getSize() + { + return $this->size; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Size $size + * @return \Google\AdsApi\AdManager\v202408\TargetedSize + */ + public function setSize($size) + { + $this->size = $size; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/Targeting.php b/src/Google/AdsApi/AdManager/v202408/Targeting.php new file mode 100644 index 000000000..acf0ace04 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/Targeting.php @@ -0,0 +1,418 @@ +geoTargeting = $geoTargeting; + $this->inventoryTargeting = $inventoryTargeting; + $this->dayPartTargeting = $dayPartTargeting; + $this->dateTimeRangeTargeting = $dateTimeRangeTargeting; + $this->technologyTargeting = $technologyTargeting; + $this->customTargeting = $customTargeting; + $this->userDomainTargeting = $userDomainTargeting; + $this->contentTargeting = $contentTargeting; + $this->videoPositionTargeting = $videoPositionTargeting; + $this->mobileApplicationTargeting = $mobileApplicationTargeting; + $this->buyerUserListTargeting = $buyerUserListTargeting; + $this->inventoryUrlTargeting = $inventoryUrlTargeting; + $this->verticalTargeting = $verticalTargeting; + $this->contentLabelTargeting = $contentLabelTargeting; + $this->requestPlatformTargeting = $requestPlatformTargeting; + $this->inventorySizeTargeting = $inventorySizeTargeting; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\GeoTargeting + */ + public function getGeoTargeting() + { + return $this->geoTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\GeoTargeting $geoTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setGeoTargeting($geoTargeting) + { + $this->geoTargeting = $geoTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventoryTargeting + */ + public function getInventoryTargeting() + { + return $this->inventoryTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventoryTargeting $inventoryTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setInventoryTargeting($inventoryTargeting) + { + $this->inventoryTargeting = $inventoryTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DayPartTargeting + */ + public function getDayPartTargeting() + { + return $this->dayPartTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DayPartTargeting $dayPartTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setDayPartTargeting($dayPartTargeting) + { + $this->dayPartTargeting = $dayPartTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTimeRangeTargeting + */ + public function getDateTimeRangeTargeting() + { + return $this->dateTimeRangeTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTimeRangeTargeting $dateTimeRangeTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setDateTimeRangeTargeting($dateTimeRangeTargeting) + { + $this->dateTimeRangeTargeting = $dateTimeRangeTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function getTechnologyTargeting() + { + return $this->technologyTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TechnologyTargeting $technologyTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setTechnologyTargeting($technologyTargeting) + { + $this->technologyTargeting = $technologyTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomCriteriaSet + */ + public function getCustomTargeting() + { + return $this->customTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomCriteriaSet $customTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setCustomTargeting($customTargeting) + { + $this->customTargeting = $customTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UserDomainTargeting + */ + public function getUserDomainTargeting() + { + return $this->userDomainTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UserDomainTargeting $userDomainTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setUserDomainTargeting($userDomainTargeting) + { + $this->userDomainTargeting = $userDomainTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentTargeting + */ + public function getContentTargeting() + { + return $this->contentTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentTargeting $contentTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setContentTargeting($contentTargeting) + { + $this->contentTargeting = $contentTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTargeting + */ + public function getVideoPositionTargeting() + { + return $this->videoPositionTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoPositionTargeting $videoPositionTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setVideoPositionTargeting($videoPositionTargeting) + { + $this->videoPositionTargeting = $videoPositionTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileApplicationTargeting + */ + public function getMobileApplicationTargeting() + { + return $this->mobileApplicationTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileApplicationTargeting $mobileApplicationTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setMobileApplicationTargeting($mobileApplicationTargeting) + { + $this->mobileApplicationTargeting = $mobileApplicationTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BuyerUserListTargeting + */ + public function getBuyerUserListTargeting() + { + return $this->buyerUserListTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BuyerUserListTargeting $buyerUserListTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setBuyerUserListTargeting($buyerUserListTargeting) + { + $this->buyerUserListTargeting = $buyerUserListTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventoryUrlTargeting + */ + public function getInventoryUrlTargeting() + { + return $this->inventoryUrlTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventoryUrlTargeting $inventoryUrlTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setInventoryUrlTargeting($inventoryUrlTargeting) + { + $this->inventoryUrlTargeting = $inventoryUrlTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VerticalTargeting + */ + public function getVerticalTargeting() + { + return $this->verticalTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VerticalTargeting $verticalTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setVerticalTargeting($verticalTargeting) + { + $this->verticalTargeting = $verticalTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentLabelTargeting + */ + public function getContentLabelTargeting() + { + return $this->contentLabelTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentLabelTargeting $contentLabelTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setContentLabelTargeting($contentLabelTargeting) + { + $this->contentLabelTargeting = $contentLabelTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\RequestPlatformTargeting + */ + public function getRequestPlatformTargeting() + { + return $this->requestPlatformTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\RequestPlatformTargeting $requestPlatformTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setRequestPlatformTargeting($requestPlatformTargeting) + { + $this->requestPlatformTargeting = $requestPlatformTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\InventorySizeTargeting + */ + public function getInventorySizeTargeting() + { + return $this->inventorySizeTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\InventorySizeTargeting $inventorySizeTargeting + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function setInventorySizeTargeting($inventorySizeTargeting) + { + $this->inventorySizeTargeting = $inventorySizeTargeting; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TargetingCriteriaBreakdown.php b/src/Google/AdsApi/AdManager/v202408/TargetingCriteriaBreakdown.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/TargetingCriteriaBreakdown.php rename to src/Google/AdsApi/AdManager/v202408/TargetingCriteriaBreakdown.php index b9f47d068..95a5044b9 100644 --- a/src/Google/AdsApi/AdManager/v202308/TargetingCriteriaBreakdown.php +++ b/src/Google/AdsApi/AdManager/v202408/TargetingCriteriaBreakdown.php @@ -1,6 +1,6 @@ id = $id; + $this->name = $name; + $this->targeting = $targeting; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/TargetingPresetAction.php b/src/Google/AdsApi/AdManager/v202408/TargetingPresetAction.php new file mode 100644 index 000000000..60a8b49f4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/TargetingPresetAction.php @@ -0,0 +1,18 @@ + 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'DeleteTargetingPresetAction' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteTargetingPresetAction', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'TargetingPresetAction' => 'Google\\AdsApi\\AdManager\\v202408\\TargetingPresetAction', + 'TargetingPreset' => 'Google\\AdsApi\\AdManager\\v202408\\TargetingPreset', + 'TargetingPresetPage' => 'Google\\AdsApi\\AdManager\\v202408\\TargetingPresetPage', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'createTargetingPresetsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createTargetingPresetsResponse', + 'getTargetingPresetsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getTargetingPresetsByStatementResponse', + 'performTargetingPresetActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performTargetingPresetActionResponse', + 'updateTargetingPresetsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateTargetingPresetsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/TargetingPresetService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link TargetingPreset} objects. + * + * @param \Google\AdsApi\AdManager\v202408\TargetingPreset[] $targetingPresets + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createTargetingPresets(array $targetingPresets) + { + return $this->__soapCall('createTargetingPresets', array(array('targetingPresets' => $targetingPresets)))->getRval(); + } + + /** + * Gets a {@link TargetingPresetPage} of {@link TargetingPreset} objects that satisfy the given + * {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link TargetingPreset#id}
{@code name}{@link TargetingPreset#name}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\TargetingPresetPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getTargetingPresetsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getTargetingPresetsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on the saved targeting objects that match the given {@code filterStatement}. + * + * @param \Google\AdsApi\AdManager\v202408\TargetingPresetAction $targetingPresetAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performTargetingPresetAction(\Google\AdsApi\AdManager\v202408\TargetingPresetAction $targetingPresetAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performTargetingPresetAction', array(array('targetingPresetAction' => $targetingPresetAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link TargetingPreset} objects. + * + * @param \Google\AdsApi\AdManager\v202408\TargetingPreset[] $targetingPresets + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateTargetingPresets(array $targetingPresets) + { + return $this->__soapCall('updateTargetingPresets', array(array('targetingPresets' => $targetingPresets)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/TargetingValue.php b/src/Google/AdsApi/AdManager/v202408/TargetingValue.php new file mode 100644 index 000000000..2ac1f1d89 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/TargetingValue.php @@ -0,0 +1,43 @@ +value = $value; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getValue() + { + return $this->value; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $value + * @return \Google\AdsApi\AdManager\v202408\TargetingValue + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Team.php b/src/Google/AdsApi/AdManager/v202408/Team.php similarity index 89% rename from src/Google/AdsApi/AdManager/v202308/Team.php rename to src/Google/AdsApi/AdManager/v202408/Team.php index 9349ce994..33ed2e765 100644 --- a/src/Google/AdsApi/AdManager/v202308/Team.php +++ b/src/Google/AdsApi/AdManager/v202408/Team.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateTeams' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateTeams', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateTeams' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateTeams', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OrderError' => 'Google\\AdsApi\\AdManager\\v202408\\OrderError', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamAction' => 'Google\\AdsApi\\AdManager\\v202408\\TeamAction', + 'Team' => 'Google\\AdsApi\\AdManager\\v202408\\Team', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TeamPage' => 'Google\\AdsApi\\AdManager\\v202408\\TeamPage', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createTeamsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createTeamsResponse', + 'getTeamsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getTeamsByStatementResponse', + 'performTeamActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performTeamActionResponse', + 'updateTeamsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateTeamsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/TeamService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link Team} objects. + * + *

The following fields are required: + * + *

+ * + * @param \Google\AdsApi\AdManager\v202408\Team[] $teams + * @return \Google\AdsApi\AdManager\v202408\Team[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createTeams(array $teams) + { + return $this->__soapCall('createTeams', array(array('teams' => $teams)))->getRval(); + } + + /** + * Gets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. + * The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code id}{@link Team#id}
{@code name}{@link Team#name}
{@code description}{@link Team#description}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\TeamPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getTeamsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getTeamsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link Team} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\TeamAction $teamAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performTeamAction(\Google\AdsApi\AdManager\v202408\TeamAction $teamAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performTeamAction', array(array('teamAction' => $teamAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link Team} objects. + * + * @param \Google\AdsApi\AdManager\v202408\Team[] $teams + * @return \Google\AdsApi\AdManager\v202408\Team[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateTeams(array $teams) + { + return $this->__soapCall('updateTeams', array(array('teams' => $teams)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TeamStatus.php b/src/Google/AdsApi/AdManager/v202408/TeamStatus.php similarity index 81% rename from src/Google/AdsApi/AdManager/v202308/TeamStatus.php rename to src/Google/AdsApi/AdManager/v202408/TeamStatus.php index 4876396ba..3a6a6cafc 100644 --- a/src/Google/AdsApi/AdManager/v202308/TeamStatus.php +++ b/src/Google/AdsApi/AdManager/v202408/TeamStatus.php @@ -1,6 +1,6 @@ bandwidthGroupTargeting = $bandwidthGroupTargeting; + $this->browserTargeting = $browserTargeting; + $this->browserLanguageTargeting = $browserLanguageTargeting; + $this->deviceCapabilityTargeting = $deviceCapabilityTargeting; + $this->deviceCategoryTargeting = $deviceCategoryTargeting; + $this->deviceManufacturerTargeting = $deviceManufacturerTargeting; + $this->mobileCarrierTargeting = $mobileCarrierTargeting; + $this->mobileDeviceTargeting = $mobileDeviceTargeting; + $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting; + $this->operatingSystemTargeting = $operatingSystemTargeting; + $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BandwidthGroupTargeting + */ + public function getBandwidthGroupTargeting() + { + return $this->bandwidthGroupTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BandwidthGroupTargeting $bandwidthGroupTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setBandwidthGroupTargeting($bandwidthGroupTargeting) + { + $this->bandwidthGroupTargeting = $bandwidthGroupTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BrowserTargeting + */ + public function getBrowserTargeting() + { + return $this->browserTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BrowserTargeting $browserTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setBrowserTargeting($browserTargeting) + { + $this->browserTargeting = $browserTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BrowserLanguageTargeting + */ + public function getBrowserLanguageTargeting() + { + return $this->browserLanguageTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BrowserLanguageTargeting $browserLanguageTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setBrowserLanguageTargeting($browserLanguageTargeting) + { + $this->browserLanguageTargeting = $browserLanguageTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeviceCapabilityTargeting + */ + public function getDeviceCapabilityTargeting() + { + return $this->deviceCapabilityTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeviceCapabilityTargeting $deviceCapabilityTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setDeviceCapabilityTargeting($deviceCapabilityTargeting) + { + $this->deviceCapabilityTargeting = $deviceCapabilityTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeviceCategoryTargeting + */ + public function getDeviceCategoryTargeting() + { + return $this->deviceCategoryTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeviceCategoryTargeting $deviceCategoryTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setDeviceCategoryTargeting($deviceCategoryTargeting) + { + $this->deviceCategoryTargeting = $deviceCategoryTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeviceManufacturerTargeting + */ + public function getDeviceManufacturerTargeting() + { + return $this->deviceManufacturerTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeviceManufacturerTargeting $deviceManufacturerTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setDeviceManufacturerTargeting($deviceManufacturerTargeting) + { + $this->deviceManufacturerTargeting = $deviceManufacturerTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileCarrierTargeting + */ + public function getMobileCarrierTargeting() + { + return $this->mobileCarrierTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileCarrierTargeting $mobileCarrierTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setMobileCarrierTargeting($mobileCarrierTargeting) + { + $this->mobileCarrierTargeting = $mobileCarrierTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceTargeting + */ + public function getMobileDeviceTargeting() + { + return $this->mobileDeviceTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileDeviceTargeting $mobileDeviceTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setMobileDeviceTargeting($mobileDeviceTargeting) + { + $this->mobileDeviceTargeting = $mobileDeviceTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileDeviceSubmodelTargeting + */ + public function getMobileDeviceSubmodelTargeting() + { + return $this->mobileDeviceSubmodelTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileDeviceSubmodelTargeting $mobileDeviceSubmodelTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setMobileDeviceSubmodelTargeting($mobileDeviceSubmodelTargeting) + { + $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemTargeting + */ + public function getOperatingSystemTargeting() + { + return $this->operatingSystemTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\OperatingSystemTargeting $operatingSystemTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setOperatingSystemTargeting($operatingSystemTargeting) + { + $this->operatingSystemTargeting = $operatingSystemTargeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\OperatingSystemVersionTargeting + */ + public function getOperatingSystemVersionTargeting() + { + return $this->operatingSystemVersionTargeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\OperatingSystemVersionTargeting $operatingSystemVersionTargeting + * @return \Google\AdsApi\AdManager\v202408\TechnologyTargeting + */ + public function setOperatingSystemVersionTargeting($operatingSystemVersionTargeting) + { + $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TechnologyTargetingError.php b/src/Google/AdsApi/AdManager/v202408/TechnologyTargetingError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/TechnologyTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/TechnologyTargetingError.php index 7173839c2..e8410a2bb 100644 --- a/src/Google/AdsApi/AdManager/v202308/TechnologyTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/TechnologyTargetingError.php @@ -1,12 +1,12 @@ creativeTemplateId = $creativeTemplateId; $this->isInterstitial = $isInterstitial; $this->isNativeEligible = $isNativeEligible; @@ -99,7 +100,7 @@ public function getCreativeTemplateId() /** * @param int $creativeTemplateId - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setCreativeTemplateId($creativeTemplateId) { @@ -118,7 +119,7 @@ public function getIsInterstitial() /** * @param boolean $isInterstitial - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setIsInterstitial($isInterstitial) { @@ -136,7 +137,7 @@ public function getIsNativeEligible() /** * @param boolean $isNativeEligible - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setIsNativeEligible($isNativeEligible) { @@ -154,7 +155,7 @@ public function getIsSafeFrameCompatible() /** * @param boolean $isSafeFrameCompatible - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setIsSafeFrameCompatible($isSafeFrameCompatible) { @@ -172,7 +173,7 @@ public function getDestinationUrl() /** * @param string $destinationUrl - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setDestinationUrl($destinationUrl) { @@ -181,7 +182,7 @@ public function setDestinationUrl($destinationUrl) } /** - * @return \Google\AdsApi\AdManager\v202308\BaseCreativeTemplateVariableValue[] + * @return \Google\AdsApi\AdManager\v202408\BaseCreativeTemplateVariableValue[] */ public function getCreativeTemplateVariableValues() { @@ -189,8 +190,8 @@ public function getCreativeTemplateVariableValues() } /** - * @param \Google\AdsApi\AdManager\v202308\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @param \Google\AdsApi\AdManager\v202408\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setCreativeTemplateVariableValues(array $creativeTemplateVariableValues = null) { @@ -208,7 +209,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setSslScanResult($sslScanResult) { @@ -226,7 +227,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setSslManualOverride($sslManualOverride) { @@ -244,7 +245,7 @@ public function getLockedOrientation() /** * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\TemplateCreative + * @return \Google\AdsApi\AdManager\v202408\TemplateCreative */ public function setLockedOrientation($lockedOrientation) { diff --git a/src/Google/AdsApi/AdManager/v202308/TemplateInstantiatedCreativeError.php b/src/Google/AdsApi/AdManager/v202408/TemplateInstantiatedCreativeError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/TemplateInstantiatedCreativeError.php rename to src/Google/AdsApi/AdManager/v202408/TemplateInstantiatedCreativeError.php index db5e58b41..1a86851ba 100644 --- a/src/Google/AdsApi/AdManager/v202308/TemplateInstantiatedCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202408/TemplateInstantiatedCreativeError.php @@ -1,12 +1,12 @@ approvalStatus = $approvalStatus; + $this->cost = $cost; + $this->licenseType = $licenseType; + $this->startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + } + + /** + * @return string + */ + public function getApprovalStatus() + { + return $this->approvalStatus; + } + + /** + * @param string $approvalStatus + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyAudienceSegment + */ + public function setApprovalStatus($approvalStatus) + { + $this->approvalStatus = $approvalStatus; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Money + */ + public function getCost() + { + return $this->cost; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Money $cost + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyAudienceSegment + */ + public function setCost($cost) + { + $this->cost = $cost; + return $this; + } + + /** + * @return string + */ + public function getLicenseType() + { + return $this->licenseType; + } + + /** + * @param string $licenseType + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyAudienceSegment + */ + public function setLicenseType($licenseType) + { + $this->licenseType = $licenseType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getStartDateTime() + { + return $this->startDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $startDateTime + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyAudienceSegment + */ + public function setStartDateTime($startDateTime) + { + $this->startDateTime = $startDateTime; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getEndDateTime() + { + return $this->endDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $endDateTime + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyAudienceSegment + */ + public function setEndDateTime($endDateTime) + { + $this->endDateTime = $endDateTime; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/ThirdPartyBrandLiftIntegrationPartner.php b/src/Google/AdsApi/AdManager/v202408/ThirdPartyBrandLiftIntegrationPartner.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/ThirdPartyBrandLiftIntegrationPartner.php rename to src/Google/AdsApi/AdManager/v202408/ThirdPartyBrandLiftIntegrationPartner.php index 597e41f70..aa6ff0873 100644 --- a/src/Google/AdsApi/AdManager/v202308/ThirdPartyBrandLiftIntegrationPartner.php +++ b/src/Google/AdsApi/AdManager/v202408/ThirdPartyBrandLiftIntegrationPartner.php @@ -1,6 +1,6 @@ snippet = $snippet; $this->expandedSnippet = $expandedSnippet; $this->sslScanResult = $sslScanResult; @@ -92,7 +93,7 @@ public function getSnippet() /** * @param string $snippet - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setSnippet($snippet) { @@ -110,7 +111,7 @@ public function getExpandedSnippet() /** * @param string $expandedSnippet - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setExpandedSnippet($expandedSnippet) { @@ -128,7 +129,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setSslScanResult($sslScanResult) { @@ -146,7 +147,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setSslManualOverride($sslManualOverride) { @@ -164,7 +165,7 @@ public function getLockedOrientation() /** * @param string $lockedOrientation - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setLockedOrientation($lockedOrientation) { @@ -182,7 +183,7 @@ public function getIsSafeFrameCompatible() /** * @param boolean $isSafeFrameCompatible - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setIsSafeFrameCompatible($isSafeFrameCompatible) { @@ -200,7 +201,7 @@ public function getThirdPartyImpressionTrackingUrls() /** * @param string[]|null $thirdPartyImpressionTrackingUrls - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) { @@ -218,7 +219,7 @@ public function getAmpRedirectUrl() /** * @param string $ampRedirectUrl - * @return \Google\AdsApi\AdManager\v202308\ThirdPartyCreative + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyCreative */ public function setAmpRedirectUrl($ampRedirectUrl) { diff --git a/src/Google/AdsApi/AdManager/v202308/ThirdPartyDataDeclaration.php b/src/Google/AdsApi/AdManager/v202408/ThirdPartyDataDeclaration.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/ThirdPartyDataDeclaration.php rename to src/Google/AdsApi/AdManager/v202408/ThirdPartyDataDeclaration.php index b5961736c..588d04972 100644 --- a/src/Google/AdsApi/AdManager/v202308/ThirdPartyDataDeclaration.php +++ b/src/Google/AdsApi/AdManager/v202408/ThirdPartyDataDeclaration.php @@ -1,6 +1,6 @@ timeSeriesDateRange = $timeSeriesDateRange; + $this->values = $values; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateRange + */ + public function getTimeSeriesDateRange() + { + return $this->timeSeriesDateRange; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateRange $timeSeriesDateRange + * @return \Google\AdsApi\AdManager\v202408\TimeSeries + */ + public function setTimeSeriesDateRange($timeSeriesDateRange) + { + $this->timeSeriesDateRange = $timeSeriesDateRange; + return $this; + } + + /** + * @return int[] + */ + public function getValues() + { + return $this->values; + } + + /** + * @param int[]|null $values + * @return \Google\AdsApi\AdManager\v202408\TimeSeries + */ + public function setValues(array $values = null) + { + $this->values = $values; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TimeUnit.php b/src/Google/AdsApi/AdManager/v202408/TimeUnit.php similarity index 88% rename from src/Google/AdsApi/AdManager/v202308/TimeUnit.php rename to src/Google/AdsApi/AdManager/v202408/TimeUnit.php index 59b4cd683..bcb52811d 100644 --- a/src/Google/AdsApi/AdManager/v202308/TimeUnit.php +++ b/src/Google/AdsApi/AdManager/v202408/TimeUnit.php @@ -1,6 +1,6 @@ pings = $pings; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrackingEventPing[] + */ + public function getPings() + { + return $this->pings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrackingEventPing[]|null $pings + * @return \Google\AdsApi\AdManager\v202408\TrackingEvent + */ + public function setPings(array $pings = null) + { + $this->pings = $pings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TrackingEventPing.php b/src/Google/AdsApi/AdManager/v202408/TrackingEventPing.php similarity index 85% rename from src/Google/AdsApi/AdManager/v202308/TrackingEventPing.php rename to src/Google/AdsApi/AdManager/v202408/TrackingEventPing.php index f5397fe10..674b839ea 100644 --- a/src/Google/AdsApi/AdManager/v202308/TrackingEventPing.php +++ b/src/Google/AdsApi/AdManager/v202408/TrackingEventPing.php @@ -1,6 +1,6 @@ targeting = $targeting; + $this->requestedDateRange = $requestedDateRange; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\TrafficDataRequest + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateRange + */ + public function getRequestedDateRange() + { + return $this->requestedDateRange; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateRange $requestedDateRange + * @return \Google\AdsApi\AdManager\v202408\TrafficDataRequest + */ + public function setRequestedDateRange($requestedDateRange) + { + $this->requestedDateRange = $requestedDateRange; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/TrafficDataResponse.php b/src/Google/AdsApi/AdManager/v202408/TrafficDataResponse.php new file mode 100644 index 000000000..3a548a318 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/TrafficDataResponse.php @@ -0,0 +1,118 @@ +historicalTimeSeries = $historicalTimeSeries; + $this->forecastedTimeSeries = $forecastedTimeSeries; + $this->forecastedAssignedTimeSeries = $forecastedAssignedTimeSeries; + $this->overallDateRange = $overallDateRange; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TimeSeries + */ + public function getHistoricalTimeSeries() + { + return $this->historicalTimeSeries; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TimeSeries $historicalTimeSeries + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + */ + public function setHistoricalTimeSeries($historicalTimeSeries) + { + $this->historicalTimeSeries = $historicalTimeSeries; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TimeSeries + */ + public function getForecastedTimeSeries() + { + return $this->forecastedTimeSeries; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TimeSeries $forecastedTimeSeries + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + */ + public function setForecastedTimeSeries($forecastedTimeSeries) + { + $this->forecastedTimeSeries = $forecastedTimeSeries; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TimeSeries + */ + public function getForecastedAssignedTimeSeries() + { + return $this->forecastedAssignedTimeSeries; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TimeSeries $forecastedAssignedTimeSeries + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + */ + public function setForecastedAssignedTimeSeries($forecastedAssignedTimeSeries) + { + $this->forecastedAssignedTimeSeries = $forecastedAssignedTimeSeries; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateRange + */ + public function getOverallDateRange() + { + return $this->overallDateRange; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateRange $overallDateRange + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + */ + public function setOverallDateRange($overallDateRange) + { + $this->overallDateRange = $overallDateRange; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/TrafficForecastSegment.php b/src/Google/AdsApi/AdManager/v202408/TrafficForecastSegment.php new file mode 100644 index 000000000..5baf30c06 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/TrafficForecastSegment.php @@ -0,0 +1,144 @@ +id = $id; + $this->name = $name; + $this->targeting = $targeting; + $this->activeForecastAdjustmentCount = $activeForecastAdjustmentCount; + $this->creationDateTime = $creationDateTime; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @param int $id + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment + */ + public function setId($id) + { + $this->id = (!is_null($id) && PHP_INT_SIZE === 4) + ? floatval($id) : $id; + return $this; + } + + /** + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * @param string $name + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment + */ + public function setName($name) + { + $this->name = $name; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Targeting + */ + public function getTargeting() + { + return $this->targeting; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Targeting $targeting + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment + */ + public function setTargeting($targeting) + { + $this->targeting = $targeting; + return $this; + } + + /** + * @return int + */ + public function getActiveForecastAdjustmentCount() + { + return $this->activeForecastAdjustmentCount; + } + + /** + * @param int $activeForecastAdjustmentCount + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment + */ + public function setActiveForecastAdjustmentCount($activeForecastAdjustmentCount) + { + $this->activeForecastAdjustmentCount = $activeForecastAdjustmentCount; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DateTime + */ + public function getCreationDateTime() + { + return $this->creationDateTime; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DateTime $creationDateTime + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment + */ + public function setCreationDateTime($creationDateTime) + { + $this->creationDateTime = $creationDateTime; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/TrafficForecastSegmentError.php b/src/Google/AdsApi/AdManager/v202408/TrafficForecastSegmentError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/TrafficForecastSegmentError.php rename to src/Google/AdsApi/AdManager/v202408/TrafficForecastSegmentError.php index 07c2596d8..deeade81f 100644 --- a/src/Google/AdsApi/AdManager/v202308/TrafficForecastSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202408/TrafficForecastSegmentError.php @@ -1,12 +1,12 @@ unsupportedCreativeType = $unsupportedCreativeType; + } + + /** + * @return string + */ + public function getUnsupportedCreativeType() + { + return $this->unsupportedCreativeType; + } + + /** + * @param string $unsupportedCreativeType + * @return \Google\AdsApi\AdManager\v202408\UnsupportedCreative + */ + public function setUnsupportedCreativeType($unsupportedCreativeType) + { + $this->unsupportedCreativeType = $unsupportedCreativeType; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/UpdateOrderWithSellerData.php b/src/Google/AdsApi/AdManager/v202408/UpdateOrderWithSellerData.php new file mode 100644 index 000000000..fd352c615 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/UpdateOrderWithSellerData.php @@ -0,0 +1,18 @@ +isActive = $isActive; + $this->externalId = $externalId; + $this->isServiceAccount = $isServiceAccount; + $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId; + } + + /** + * @return boolean + */ + public function getIsActive() + { + return $this->isActive; + } + + /** + * @param boolean $isActive + * @return \Google\AdsApi\AdManager\v202408\User + */ + public function setIsActive($isActive) + { + $this->isActive = $isActive; + return $this; + } + + /** + * @return string + */ + public function getExternalId() + { + return $this->externalId; + } + + /** + * @param string $externalId + * @return \Google\AdsApi\AdManager\v202408\User + */ + public function setExternalId($externalId) + { + $this->externalId = $externalId; + return $this; + } + + /** + * @return boolean + */ + public function getIsServiceAccount() + { + return $this->isServiceAccount; + } + + /** + * @param boolean $isServiceAccount + * @return \Google\AdsApi\AdManager\v202408\User + */ + public function setIsServiceAccount($isServiceAccount) + { + $this->isServiceAccount = $isServiceAccount; + return $this; + } + + /** + * @return string + */ + public function getOrdersUiLocalTimeZoneId() + { + return $this->ordersUiLocalTimeZoneId; + } + + /** + * @param string $ordersUiLocalTimeZoneId + * @return \Google\AdsApi\AdManager\v202408\User + */ + public function setOrdersUiLocalTimeZoneId($ordersUiLocalTimeZoneId) + { + $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/UserAction.php b/src/Google/AdsApi/AdManager/v202408/UserAction.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/UserAction.php rename to src/Google/AdsApi/AdManager/v202408/UserAction.php index 73df996ff..ee50deafb 100644 --- a/src/Google/AdsApi/AdManager/v202308/UserAction.php +++ b/src/Google/AdsApi/AdManager/v202408/UserAction.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ActivateUsers' => 'Google\\AdsApi\\AdManager\\v202408\\ActivateUsers', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'CustomFieldValueError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomFieldValueError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeactivateUsers' => 'Google\\AdsApi\\AdManager\\v202408\\DeactivateUsers', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidEmailError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidEmailError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'Role' => 'Google\\AdsApi\\AdManager\\v202408\\Role', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeZoneError' => 'Google\\AdsApi\\AdManager\\v202408\\TimeZoneError', + 'TokenError' => 'Google\\AdsApi\\AdManager\\v202408\\TokenError', + 'TypeError' => 'Google\\AdsApi\\AdManager\\v202408\\TypeError', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserAction' => 'Google\\AdsApi\\AdManager\\v202408\\UserAction', + 'User' => 'Google\\AdsApi\\AdManager\\v202408\\User', + 'UserPage' => 'Google\\AdsApi\\AdManager\\v202408\\UserPage', + 'UserRecord' => 'Google\\AdsApi\\AdManager\\v202408\\UserRecord', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createUsersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createUsersResponse', + 'getAllRolesResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getAllRolesResponse', + 'getCurrentUserResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getCurrentUserResponse', + 'getUsersByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getUsersByStatementResponse', + 'performUserActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performUserActionResponse', + 'updateUsersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateUsersResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/UserService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link User} objects. + * + * @param \Google\AdsApi\AdManager\v202408\User[] $users + * @return \Google\AdsApi\AdManager\v202408\User[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createUsers(array $users) + { + return $this->__soapCall('createUsers', array(array('users' => $users)))->getRval(); + } + + /** + * Returns the {@link Role} objects that are defined for the users of the network. + * + * @return \Google\AdsApi\AdManager\v202408\Role[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getAllRoles() + { + return $this->__soapCall('getAllRoles', array(array()))->getRval(); + } + + /** + * Returns the current {@link User}. + * + * @return \Google\AdsApi\AdManager\v202408\User + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getCurrentUser() + { + return $this->__soapCall('getCurrentUser', array(array()))->getRval(); + } + + /** + * Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. + * The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code email}{@link User#email}
{@code id}{@link User#id}
{@code name}{@link User#name}
{@code roleId}{@link User#roleId} + *
{@code rolename}{@link User#roleName} + *
{@code status}{@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} + * otherwise
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UserPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getUsersByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getUsersByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link User} objects that match the given {@link Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\UserAction $userAction + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performUserAction(\Google\AdsApi\AdManager\v202408\UserAction $userAction, \Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('performUserAction', array(array('userAction' => $userAction, 'filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Updates the specified {@link User} objects. + * + * @param \Google\AdsApi\AdManager\v202408\User[] $users + * @return \Google\AdsApi\AdManager\v202408\User[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateUsers(array $users) + { + return $this->__soapCall('updateUsers', array(array('users' => $users)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/UserTeamAssociation.php b/src/Google/AdsApi/AdManager/v202408/UserTeamAssociation.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/UserTeamAssociation.php rename to src/Google/AdsApi/AdManager/v202408/UserTeamAssociation.php index e20a54009..407961cd4 100644 --- a/src/Google/AdsApi/AdManager/v202308/UserTeamAssociation.php +++ b/src/Google/AdsApi/AdManager/v202408/UserTeamAssociation.php @@ -1,12 +1,12 @@ 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DeleteUserTeamAssociations' => 'Google\\AdsApi\\AdManager\\v202408\\DeleteUserTeamAssociations', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NullError' => 'Google\\AdsApi\\AdManager\\v202408\\NullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TeamError' => 'Google\\AdsApi\\AdManager\\v202408\\TeamError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'UpdateResult' => 'Google\\AdsApi\\AdManager\\v202408\\UpdateResult', + 'UserRecordTeamAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\UserRecordTeamAssociation', + 'UserTeamAssociationAction' => 'Google\\AdsApi\\AdManager\\v202408\\UserTeamAssociationAction', + 'UserTeamAssociation' => 'Google\\AdsApi\\AdManager\\v202408\\UserTeamAssociation', + 'UserTeamAssociationPage' => 'Google\\AdsApi\\AdManager\\v202408\\UserTeamAssociationPage', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'createUserTeamAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createUserTeamAssociationsResponse', + 'getUserTeamAssociationsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getUserTeamAssociationsByStatementResponse', + 'performUserTeamAssociationActionResponse' => 'Google\\AdsApi\\AdManager\\v202408\\performUserTeamAssociationActionResponse', + 'updateUserTeamAssociationsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateUserTeamAssociationsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/UserTeamAssociationService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates new {@link UserTeamAssociation} objects. + * + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] $userTeamAssociations + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createUserTeamAssociations(array $userTeamAssociations) + { + return $this->__soapCall('createUserTeamAssociations', array(array('userTeamAssociations' => $userTeamAssociations)))->getRval(); + } + + /** + * Gets a {@link UserTeamAssociationPage} of {@link UserTeamAssociation} objects that satisfy the + * given {@link Statement#query}. The following fields are supported for filtering: + * + * + * + * + * + * + * + * + * + * + * + * + * + *
PQL Property Object Property
{@code userId}{@link UserTeamAssociation#userId}
{@code teamId}{@link UserTeamAssociation#teamId}
+ * + * @param \Google\AdsApi\AdManager\v202408\Statement $filterStatement + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociationPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getUserTeamAssociationsByStatement(\Google\AdsApi\AdManager\v202408\Statement $filterStatement) + { + return $this->__soapCall('getUserTeamAssociationsByStatement', array(array('filterStatement' => $filterStatement)))->getRval(); + } + + /** + * Performs actions on {@link UserTeamAssociation} objects that match the given {@link + * Statement#query}. + * + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociationAction $userTeamAssociationAction + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function performUserTeamAssociationAction(\Google\AdsApi\AdManager\v202408\UserTeamAssociationAction $userTeamAssociationAction, \Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('performUserTeamAssociationAction', array(array('userTeamAssociationAction' => $userTeamAssociationAction, 'statement' => $statement)))->getRval(); + } + + /** + * Updates the specified {@link UserTeamAssociation} objects. + * + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] $userTeamAssociations + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateUserTeamAssociations(array $userTeamAssociations) + { + return $this->__soapCall('updateUserTeamAssociations', array(array('userTeamAssociations' => $userTeamAssociations)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/Value.php b/src/Google/AdsApi/AdManager/v202408/Value.php similarity index 77% rename from src/Google/AdsApi/AdManager/v202308/Value.php rename to src/Google/AdsApi/AdManager/v202408/Value.php index 90fc103ac..ffdc10e15 100644 --- a/src/Google/AdsApi/AdManager/v202308/Value.php +++ b/src/Google/AdsApi/AdManager/v202408/Value.php @@ -1,6 +1,6 @@ vastXmlUrl = $vastXmlUrl; $this->vastRedirectType = $vastRedirectType; $this->duration = $duration; @@ -99,7 +100,7 @@ public function getVastXmlUrl() /** * @param string $vastXmlUrl - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setVastXmlUrl($vastXmlUrl) { @@ -117,7 +118,7 @@ public function getVastRedirectType() /** * @param string $vastRedirectType - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setVastRedirectType($vastRedirectType) { @@ -135,7 +136,7 @@ public function getDuration() /** * @param int $duration - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setDuration($duration) { @@ -153,7 +154,7 @@ public function getCompanionCreativeIds() /** * @param int[]|null $companionCreativeIds - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setCompanionCreativeIds(array $companionCreativeIds = null) { @@ -162,7 +163,7 @@ public function setCompanionCreativeIds(array $companionCreativeIds = null) } /** - * @return \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[] + * @return \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[] */ public function getTrackingUrls() { @@ -170,8 +171,8 @@ public function getTrackingUrls() } /** - * @param \Google\AdsApi\AdManager\v202308\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @param \Google\AdsApi\AdManager\v202408\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setTrackingUrls(array $trackingUrls = null) { @@ -189,7 +190,7 @@ public function getVastPreviewUrl() /** * @param string $vastPreviewUrl - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setVastPreviewUrl($vastPreviewUrl) { @@ -207,7 +208,7 @@ public function getSslScanResult() /** * @param string $sslScanResult - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setSslScanResult($sslScanResult) { @@ -225,7 +226,7 @@ public function getSslManualOverride() /** * @param string $sslManualOverride - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setSslManualOverride($sslManualOverride) { @@ -243,7 +244,7 @@ public function getIsAudio() /** * @param boolean $isAudio - * @return \Google\AdsApi\AdManager\v202308\VastRedirectCreative + * @return \Google\AdsApi\AdManager\v202408\VastRedirectCreative */ public function setIsAudio($isAudio) { diff --git a/src/Google/AdsApi/AdManager/v202308/VastRedirectType.php b/src/Google/AdsApi/AdManager/v202408/VastRedirectType.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/VastRedirectType.php rename to src/Google/AdsApi/AdManager/v202408/VastRedirectType.php index e889efd9c..8d54c8514 100644 --- a/src/Google/AdsApi/AdManager/v202308/VastRedirectType.php +++ b/src/Google/AdsApi/AdManager/v202408/VastRedirectType.php @@ -1,6 +1,6 @@ targetedVerticalIds = $targetedVerticalIds; + $this->excludedVerticalIds = $excludedVerticalIds; + } + + /** + * @return int[] + */ + public function getTargetedVerticalIds() + { + return $this->targetedVerticalIds; + } + + /** + * @param int[]|null $targetedVerticalIds + * @return \Google\AdsApi\AdManager\v202408\VerticalTargeting + */ + public function setTargetedVerticalIds(array $targetedVerticalIds = null) + { + $this->targetedVerticalIds = $targetedVerticalIds; + return $this; + } + + /** + * @return int[] + */ + public function getExcludedVerticalIds() + { + return $this->excludedVerticalIds; + } + + /** + * @param int[]|null $excludedVerticalIds + * @return \Google\AdsApi\AdManager\v202408\VerticalTargeting + */ + public function setExcludedVerticalIds(array $excludedVerticalIds = null) + { + $this->excludedVerticalIds = $excludedVerticalIds; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoAdTagError.php b/src/Google/AdsApi/AdManager/v202408/VideoAdTagError.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/VideoAdTagError.php rename to src/Google/AdsApi/AdManager/v202408/VideoAdTagError.php index a4230a72a..ac69b9f1d 100644 --- a/src/Google/AdsApi/AdManager/v202308/VideoAdTagError.php +++ b/src/Google/AdsApi/AdManager/v202408/VideoAdTagError.php @@ -1,12 +1,12 @@ videoSourceUrl = $videoSourceUrl; + } + + /** + * @return string + */ + public function getVideoSourceUrl() + { + return $this->videoSourceUrl; + } + + /** + * @param string $videoSourceUrl + * @return \Google\AdsApi\AdManager\v202408\VideoCreative + */ + public function setVideoSourceUrl($videoSourceUrl) + { + $this->videoSourceUrl = $videoSourceUrl; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoDeliveryType.php b/src/Google/AdsApi/AdManager/v202408/VideoDeliveryType.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/VideoDeliveryType.php rename to src/Google/AdsApi/AdManager/v202408/VideoDeliveryType.php index 904762e0e..d8147b607 100644 --- a/src/Google/AdsApi/AdManager/v202308/VideoDeliveryType.php +++ b/src/Google/AdsApi/AdManager/v202408/VideoDeliveryType.php @@ -1,6 +1,6 @@ videoPosition = $videoPosition; + $this->videoBumperType = $videoBumperType; + $this->videoPositionWithinPod = $videoPositionWithinPod; + $this->adSpotId = $adSpotId; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoPosition + */ + public function getVideoPosition() + { + return $this->videoPosition; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoPosition $videoPosition + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTarget + */ + public function setVideoPosition($videoPosition) + { + $this->videoPosition = $videoPosition; + return $this; + } + + /** + * @return string + */ + public function getVideoBumperType() + { + return $this->videoBumperType; + } + + /** + * @param string $videoBumperType + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTarget + */ + public function setVideoBumperType($videoBumperType) + { + $this->videoBumperType = $videoBumperType; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoPositionWithinPod + */ + public function getVideoPositionWithinPod() + { + return $this->videoPositionWithinPod; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoPositionWithinPod $videoPositionWithinPod + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTarget + */ + public function setVideoPositionWithinPod($videoPositionWithinPod) + { + $this->videoPositionWithinPod = $videoPositionWithinPod; + return $this; + } + + /** + * @return int + */ + public function getAdSpotId() + { + return $this->adSpotId; + } + + /** + * @param int $adSpotId + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTarget + */ + public function setAdSpotId($adSpotId) + { + $this->adSpotId = (!is_null($adSpotId) && PHP_INT_SIZE === 4) + ? floatval($adSpotId) : $adSpotId; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202408/VideoPositionTargeting.php new file mode 100644 index 000000000..9483a124b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/VideoPositionTargeting.php @@ -0,0 +1,43 @@ +targetedPositions = $targetedPositions; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTarget[] + */ + public function getTargetedPositions() + { + return $this->targetedPositions; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoPositionTarget[]|null $targetedPositions + * @return \Google\AdsApi\AdManager\v202408\VideoPositionTargeting + */ + public function setTargetedPositions(array $targetedPositions = null) + { + $this->targetedPositions = $targetedPositions; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoPositionTargetingError.php b/src/Google/AdsApi/AdManager/v202408/VideoPositionTargetingError.php similarity index 82% rename from src/Google/AdsApi/AdManager/v202308/VideoPositionTargetingError.php rename to src/Google/AdsApi/AdManager/v202408/VideoPositionTargetingError.php index 1f16be861..c284ece6b 100644 --- a/src/Google/AdsApi/AdManager/v202308/VideoPositionTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202408/VideoPositionTargetingError.php @@ -1,12 +1,12 @@ metadata = $metadata; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoMetadata + */ + public function getMetadata() + { + return $this->metadata; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoMetadata $metadata + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectAsset + */ + public function setMetadata($metadata) + { + $this->metadata = $metadata; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202408/VideoRedirectCreative.php new file mode 100644 index 000000000..88f7d603d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/VideoRedirectCreative.php @@ -0,0 +1,93 @@ +videoAssets = $videoAssets; + $this->mezzanineFile = $mezzanineFile; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectAsset[] + */ + public function getVideoAssets() + { + return $this->videoAssets; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoRedirectAsset[]|null $videoAssets + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectCreative + */ + public function setVideoAssets(array $videoAssets = null) + { + $this->videoAssets = $videoAssets; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectAsset + */ + public function getMezzanineFile() + { + return $this->mezzanineFile; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\VideoRedirectAsset $mezzanineFile + * @return \Google\AdsApi\AdManager\v202408\VideoRedirectCreative + */ + public function setMezzanineFile($mezzanineFile) + { + $this->mezzanineFile = $mezzanineFile; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/VideoSettings.php b/src/Google/AdsApi/AdManager/v202408/VideoSettings.php similarity index 78% rename from src/Google/AdsApi/AdManager/v202308/VideoSettings.php rename to src/Google/AdsApi/AdManager/v202408/VideoSettings.php index 9592de5ee..665bccdcb 100644 --- a/src/Google/AdsApi/AdManager/v202308/VideoSettings.php +++ b/src/Google/AdsApi/AdManager/v202408/VideoSettings.php @@ -1,6 +1,6 @@ 'Google\\AdsApi\\AdManager\\v202408\\AbstractDisplaySettings', + 'ObjectValue' => 'Google\\AdsApi\\AdManager\\v202408\\ObjectValue', + 'AdUnitTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\AdUnitTargeting', + 'ApiError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiError', + 'ApiException' => 'Google\\AdsApi\\AdManager\\v202408\\ApiException', + 'TechnologyTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargeting', + 'ApiVersionError' => 'Google\\AdsApi\\AdManager\\v202408\\ApiVersionError', + 'ApplicationException' => 'Google\\AdsApi\\AdManager\\v202408\\ApplicationException', + 'AuthenticationError' => 'Google\\AdsApi\\AdManager\\v202408\\AuthenticationError', + 'BandwidthGroup' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroup', + 'BandwidthGroupTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BandwidthGroupTargeting', + 'BooleanValue' => 'Google\\AdsApi\\AdManager\\v202408\\BooleanValue', + 'Browser' => 'Google\\AdsApi\\AdManager\\v202408\\Browser', + 'BrowserLanguage' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguage', + 'BrowserLanguageTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserLanguageTargeting', + 'BrowserTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BrowserTargeting', + 'BuyerUserListTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\BuyerUserListTargeting', + 'CollectionSizeError' => 'Google\\AdsApi\\AdManager\\v202408\\CollectionSizeError', + 'CommonError' => 'Google\\AdsApi\\AdManager\\v202408\\CommonError', + 'ContentLabelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentLabelTargeting', + 'ContentTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\ContentTargeting', + 'CustomCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteria', + 'CustomCriteriaSet' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaSet', + 'CmsMetadataCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\CmsMetadataCriteria', + 'CustomTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\CustomTargetingError', + 'CustomCriteriaLeaf' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaLeaf', + 'CustomCriteriaNode' => 'Google\\AdsApi\\AdManager\\v202408\\CustomCriteriaNode', + 'AudienceSegmentCriteria' => 'Google\\AdsApi\\AdManager\\v202408\\AudienceSegmentCriteria', + 'Date' => 'Google\\AdsApi\\AdManager\\v202408\\Date', + 'DateTime' => 'Google\\AdsApi\\AdManager\\v202408\\DateTime', + 'DateTimeRange' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRange', + 'DateTimeRangeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargeting', + 'DateTimeRangeTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeRangeTargetingError', + 'DateTimeValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateTimeValue', + 'DateValue' => 'Google\\AdsApi\\AdManager\\v202408\\DateValue', + 'DayPart' => 'Google\\AdsApi\\AdManager\\v202408\\DayPart', + 'DayPartTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargeting', + 'DayPartTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\DayPartTargetingError', + 'OpenBiddingSetting' => 'Google\\AdsApi\\AdManager\\v202408\\OpenBiddingSetting', + 'DeviceCapability' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapability', + 'DeviceCapabilityTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCapabilityTargeting', + 'DeviceCategory' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategory', + 'DeviceCategoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceCategoryTargeting', + 'DeviceManufacturer' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturer', + 'DeviceManufacturerTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\DeviceManufacturerTargeting', + 'DistinctError' => 'Google\\AdsApi\\AdManager\\v202408\\DistinctError', + 'EntityChildrenLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityChildrenLimitReachedError', + 'EntityLimitReachedError' => 'Google\\AdsApi\\AdManager\\v202408\\EntityLimitReachedError', + 'FeatureError' => 'Google\\AdsApi\\AdManager\\v202408\\FeatureError', + 'FieldPathElement' => 'Google\\AdsApi\\AdManager\\v202408\\FieldPathElement', + 'GenericTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GenericTargetingError', + 'GeoTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargeting', + 'GeoTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\GeoTargetingError', + 'IdError' => 'Google\\AdsApi\\AdManager\\v202408\\IdError', + 'InternalApiError' => 'Google\\AdsApi\\AdManager\\v202408\\InternalApiError', + 'InvalidUrlError' => 'Google\\AdsApi\\AdManager\\v202408\\InvalidUrlError', + 'InventorySizeTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventorySizeTargeting', + 'InventoryTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargeting', + 'InventoryTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryTargetingError', + 'InventoryUrl' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrl', + 'InventoryUrlTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\InventoryUrlTargeting', + 'Location' => 'Google\\AdsApi\\AdManager\\v202408\\Location', + 'SdkMediationSettings' => 'Google\\AdsApi\\AdManager\\v202408\\SdkMediationSettings', + 'MobileApplicationTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargeting', + 'MobileApplicationTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\MobileApplicationTargetingError', + 'MobileCarrier' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrier', + 'MobileCarrierTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileCarrierTargeting', + 'MobileDevice' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDevice', + 'MobileDeviceSubmodel' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodel', + 'MobileDeviceSubmodelTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceSubmodelTargeting', + 'MobileDeviceTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\MobileDeviceTargeting', + 'Money' => 'Google\\AdsApi\\AdManager\\v202408\\Money', + 'NotNullError' => 'Google\\AdsApi\\AdManager\\v202408\\NotNullError', + 'NumberValue' => 'Google\\AdsApi\\AdManager\\v202408\\NumberValue', + 'OperatingSystem' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystem', + 'OperatingSystemTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemTargeting', + 'OperatingSystemVersion' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersion', + 'OperatingSystemVersionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\OperatingSystemVersionTargeting', + 'ParseError' => 'Google\\AdsApi\\AdManager\\v202408\\ParseError', + 'PermissionError' => 'Google\\AdsApi\\AdManager\\v202408\\PermissionError', + 'PublisherQueryLanguageContextError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageContextError', + 'PublisherQueryLanguageSyntaxError' => 'Google\\AdsApi\\AdManager\\v202408\\PublisherQueryLanguageSyntaxError', + 'QuotaError' => 'Google\\AdsApi\\AdManager\\v202408\\QuotaError', + 'RequestPlatformTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargeting', + 'RequestPlatformTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\RequestPlatformTargetingError', + 'RequiredCollectionError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredCollectionError', + 'RequiredError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredError', + 'RequiredNumberError' => 'Google\\AdsApi\\AdManager\\v202408\\RequiredNumberError', + 'ServerError' => 'Google\\AdsApi\\AdManager\\v202408\\ServerError', + 'SetValue' => 'Google\\AdsApi\\AdManager\\v202408\\SetValue', + 'Size' => 'Google\\AdsApi\\AdManager\\v202408\\Size', + 'SoapRequestHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapRequestHeader', + 'SoapResponseHeader' => 'Google\\AdsApi\\AdManager\\v202408\\SoapResponseHeader', + 'Statement' => 'Google\\AdsApi\\AdManager\\v202408\\Statement', + 'StatementError' => 'Google\\AdsApi\\AdManager\\v202408\\StatementError', + 'StringFormatError' => 'Google\\AdsApi\\AdManager\\v202408\\StringFormatError', + 'StringLengthError' => 'Google\\AdsApi\\AdManager\\v202408\\StringLengthError', + 'String_ValueMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\String_ValueMapEntry', + 'TargetedSize' => 'Google\\AdsApi\\AdManager\\v202408\\TargetedSize', + 'Targeting' => 'Google\\AdsApi\\AdManager\\v202408\\Targeting', + 'Technology' => 'Google\\AdsApi\\AdManager\\v202408\\Technology', + 'TechnologyTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\TechnologyTargetingError', + 'TextValue' => 'Google\\AdsApi\\AdManager\\v202408\\TextValue', + 'TimeOfDay' => 'Google\\AdsApi\\AdManager\\v202408\\TimeOfDay', + 'UniqueError' => 'Google\\AdsApi\\AdManager\\v202408\\UniqueError', + 'UserDomainTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargeting', + 'UserDomainTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\UserDomainTargetingError', + 'Value' => 'Google\\AdsApi\\AdManager\\v202408\\Value', + 'VerticalTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VerticalTargeting', + 'VideoPosition' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPosition', + 'VideoPositionTargeting' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargeting', + 'VideoPositionTargetingError' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTargetingError', + 'VideoPositionWithinPod' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionWithinPod', + 'VideoPositionTarget' => 'Google\\AdsApi\\AdManager\\v202408\\VideoPositionTarget', + 'YieldAdSource' => 'Google\\AdsApi\\AdManager\\v202408\\YieldAdSource', + 'YieldError' => 'Google\\AdsApi\\AdManager\\v202408\\YieldError', + 'YieldGroup' => 'Google\\AdsApi\\AdManager\\v202408\\YieldGroup', + 'YieldGroupPage' => 'Google\\AdsApi\\AdManager\\v202408\\YieldGroupPage', + 'YieldParameter' => 'Google\\AdsApi\\AdManager\\v202408\\YieldParameter', + 'YieldParameter_StringMapEntry' => 'Google\\AdsApi\\AdManager\\v202408\\YieldParameter_StringMapEntry', + 'YieldPartner' => 'Google\\AdsApi\\AdManager\\v202408\\YieldPartner', + 'YieldPartnerSettings' => 'Google\\AdsApi\\AdManager\\v202408\\YieldPartnerSettings', + 'createYieldGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\createYieldGroupsResponse', + 'getYieldGroupsByStatementResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getYieldGroupsByStatementResponse', + 'getYieldPartnersResponse' => 'Google\\AdsApi\\AdManager\\v202408\\getYieldPartnersResponse', + 'updateYieldGroupsResponse' => 'Google\\AdsApi\\AdManager\\v202408\\updateYieldGroupsResponse', + ); + + /** + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use + */ + public function __construct(array $options = array(), + $wsdl = 'https://ads.google.com/apis/ads/publisher/v202408/YieldGroupService?wsdl') + { + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; + } + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + parent::__construct($wsdl, $options); + } + + /** + * Creates yield groups in bulk. + * + * @param \Google\AdsApi\AdManager\v202408\YieldGroup[] $yieldGroups + * @return \Google\AdsApi\AdManager\v202408\YieldGroup[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function createYieldGroups(array $yieldGroups) + { + return $this->__soapCall('createYieldGroups', array(array('yieldGroups' => $yieldGroups)))->getRval(); + } + + /** + * Gets a page of yield groups, with child tags, filtered by the given statement. + * + * @param \Google\AdsApi\AdManager\v202408\Statement $statement + * @return \Google\AdsApi\AdManager\v202408\YieldGroupPage + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getYieldGroupsByStatement(\Google\AdsApi\AdManager\v202408\Statement $statement) + { + return $this->__soapCall('getYieldGroupsByStatement', array(array('statement' => $statement)))->getRval(); + } + + /** + * Returns the available partners for yield groups, each one of them is backed by a company. + * + * @return \Google\AdsApi\AdManager\v202408\YieldPartner[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function getYieldPartners() + { + return $this->__soapCall('getYieldPartners', array(array()))->getRval(); + } + + /** + * Updates a list of yield groups. + * + * @param \Google\AdsApi\AdManager\v202408\YieldGroup[] $yieldGroups + * @return \Google\AdsApi\AdManager\v202408\YieldGroup[] + * @throws \Google\AdsApi\AdManager\v202408\ApiException + */ + public function updateYieldGroups(array $yieldGroups) + { + return $this->__soapCall('updateYieldGroups', array(array('yieldGroups' => $yieldGroups)))->getRval(); + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/YieldIntegrationType.php b/src/Google/AdsApi/AdManager/v202408/YieldIntegrationType.php new file mode 100644 index 000000000..a2ed35c81 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/YieldIntegrationType.php @@ -0,0 +1,17 @@ +key = $key; + $this->value = $value; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldParameter + */ + public function getKey() + { + return $this->key; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldParameter $key + * @return \Google\AdsApi\AdManager\v202408\YieldParameter_StringMapEntry + */ + public function setKey($key) + { + $this->key = $key; + return $this; + } + + /** + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * @param string $value + * @return \Google\AdsApi\AdManager\v202408\YieldParameter_StringMapEntry + */ + public function setValue($value) + { + $this->value = $value; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/YieldPartner.php b/src/Google/AdsApi/AdManager/v202408/YieldPartner.php new file mode 100644 index 000000000..033d06598 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/YieldPartner.php @@ -0,0 +1,69 @@ +companyId = $companyId; + $this->settings = $settings; + } + + /** + * @return int + */ + public function getCompanyId() + { + return $this->companyId; + } + + /** + * @param int $companyId + * @return \Google\AdsApi\AdManager\v202408\YieldPartner + */ + public function setCompanyId($companyId) + { + $this->companyId = (!is_null($companyId) && PHP_INT_SIZE === 4) + ? floatval($companyId) : $companyId; + return $this; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldPartnerSettings[] + */ + public function getSettings() + { + return $this->settings; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldPartnerSettings[]|null $settings + * @return \Google\AdsApi\AdManager\v202408\YieldPartner + */ + public function setSettings(array $settings = null) + { + $this->settings = $settings; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/YieldPartnerSettings.php b/src/Google/AdsApi/AdManager/v202408/YieldPartnerSettings.php similarity index 80% rename from src/Google/AdsApi/AdManager/v202308/YieldPartnerSettings.php rename to src/Google/AdsApi/AdManager/v202408/YieldPartnerSettings.php index 4f8c7b36a..b4a09d9bd 100644 --- a/src/Google/AdsApi/AdManager/v202308/YieldPartnerSettings.php +++ b/src/Google/AdsApi/AdManager/v202408/YieldPartnerSettings.php @@ -1,6 +1,6 @@ rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment $rval + * @return \Google\AdsApi\AdManager\v202408\calculateDailyAdOpportunityCountsResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202408/createAdRulesResponse.php new file mode 100644 index 000000000..bac17ec98 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createAdRulesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdRule[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdRule[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createAdRulesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202408/createAdSpotsResponse.php new file mode 100644 index 000000000..8e696431d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createAdSpotsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdSpot[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdSpot[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createAdSpotsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202408/createAdUnitsResponse.php new file mode 100644 index 000000000..81f30ccd1 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createAdUnitsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnit[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnit[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createAdUnitsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/createAudienceSegmentsResponse.php new file mode 100644 index 000000000..c58e9d606 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createAudienceSegmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createAudienceSegmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202408/createBreakTemplatesResponse.php new file mode 100644 index 000000000..d3c06af52 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createBreakTemplatesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BreakTemplate[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BreakTemplate[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createBreakTemplatesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202408/createCdnConfigurationsResponse.php new file mode 100644 index 000000000..c60be5439 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCdnConfigurationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CdnConfiguration[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CdnConfiguration[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCdnConfigurationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202408/createCompaniesResponse.php new file mode 100644 index 000000000..b7a271153 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCompaniesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Company[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Company[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCompaniesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202408/createContactsResponse.php new file mode 100644 index 000000000..fe21fef08 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createContactsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Contact[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Contact[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createContactsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202408/createContentBundlesResponse.php new file mode 100644 index 000000000..5c4952340 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createContentBundlesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentBundle[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentBundle[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createContentBundlesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCreativeSetResponse.php b/src/Google/AdsApi/AdManager/v202408/createCreativeSetResponse.php new file mode 100644 index 000000000..e01127a4d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCreativeSetResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeSet + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeSet $rval + * @return \Google\AdsApi\AdManager\v202408\createCreativeSetResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202408/createCreativeWrappersResponse.php new file mode 100644 index 000000000..591f6e580 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCreativeWrappersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapper[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapper[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCreativeWrappersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202408/createCreativesResponse.php new file mode 100644 index 000000000..f7efbd543 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCreativesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Creative[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Creative[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCreativesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202408/createCustomFieldOptionsResponse.php new file mode 100644 index 000000000..2e5682aeb --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCustomFieldOptionsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCustomFieldOptionsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202408/createCustomFieldsResponse.php new file mode 100644 index 000000000..7f15083fa --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCustomFieldsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomField[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomField[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCustomFieldsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202408/createCustomTargetingKeysResponse.php new file mode 100644 index 000000000..c37f174d3 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCustomTargetingKeysResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKey[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCustomTargetingKeysResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202408/createCustomTargetingValuesResponse.php new file mode 100644 index 000000000..b933d52c7 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createCustomTargetingValuesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValue[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createCustomTargetingValuesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202408/createDaiAuthenticationKeysResponse.php new file mode 100644 index 000000000..41849525d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createDaiAuthenticationKeysResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createDaiAuthenticationKeysResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202408/createDaiEncodingProfilesResponse.php new file mode 100644 index 000000000..3fa5b801c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createDaiEncodingProfilesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createDaiEncodingProfilesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/createForecastAdjustmentsResponse.php new file mode 100644 index 000000000..64c4a59e8 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createForecastAdjustmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createForecastAdjustmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202408/createLabelsResponse.php new file mode 100644 index 000000000..3f7e9f394 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createLabelsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Label[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Label[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createLabelsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202408/createLineItemCreativeAssociationsResponse.php new file mode 100644 index 000000000..0a5993b0e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createLineItemCreativeAssociationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createLineItemCreativeAssociationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202408/createLineItemsResponse.php new file mode 100644 index 000000000..f6b1d14f0 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createLineItemsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItem[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItem[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createLineItemsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202408/createLiveStreamEventsResponse.php new file mode 100644 index 000000000..a9da5f454 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createLiveStreamEventsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEvent[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createLiveStreamEventsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202408/createMakegoodsResponse.php new file mode 100644 index 000000000..f093d5bb0 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createMakegoodsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createMakegoodsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202408/createMobileApplicationsResponse.php new file mode 100644 index 000000000..e27a918a6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createMobileApplicationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileApplication[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileApplication[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createMobileApplicationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202408/createNativeStylesResponse.php new file mode 100644 index 000000000..2be8ed70f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createNativeStylesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\NativeStyle[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\NativeStyle[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createNativeStylesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202408/createOrdersResponse.php new file mode 100644 index 000000000..76b31d0ae --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createOrdersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Order[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Order[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createOrdersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202408/createPlacementsResponse.php new file mode 100644 index 000000000..1a198103d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createPlacementsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Placement[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Placement[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createPlacementsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202408/createProposalLineItemsResponse.php new file mode 100644 index 000000000..31374ad18 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createProposalLineItemsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createProposalLineItemsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202408/createProposalsResponse.php new file mode 100644 index 000000000..933315921 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createProposalsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Proposal[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Proposal[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createProposalsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202408/createSitesResponse.php new file mode 100644 index 000000000..99c7eb3e6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createSitesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Site[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Site[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createSitesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202408/createSlatesResponse.php new file mode 100644 index 000000000..efad6d61d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createSlatesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Slate[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Slate[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createSlatesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202408/createTargetingPresetsResponse.php new file mode 100644 index 000000000..f276507e3 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createTargetingPresetsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TargetingPreset[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createTargetingPresetsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202408/createTeamsResponse.php new file mode 100644 index 000000000..c56022889 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createTeamsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Team[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Team[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createTeamsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/createTrafficForecastSegmentsResponse.php new file mode 100644 index 000000000..5afb12ae5 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createTrafficForecastSegmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createTrafficForecastSegmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202408/createUserTeamAssociationsResponse.php new file mode 100644 index 000000000..160e76030 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createUserTeamAssociationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociation[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createUserTeamAssociationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202408/createUsersResponse.php new file mode 100644 index 000000000..18f580ae1 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createUsersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\User[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\User[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createUsersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202408/createYieldGroupsResponse.php new file mode 100644 index 000000000..34d6e5e58 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/createYieldGroupsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldGroup[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldGroup[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\createYieldGroupsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAdRulesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getAdRulesByStatementResponse.php new file mode 100644 index 000000000..790e41226 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAdRulesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdRulePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdRulePage $rval + * @return \Google\AdsApi\AdManager\v202408\getAdRulesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAdSpotsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getAdSpotsByStatementResponse.php new file mode 100644 index 000000000..56c54e9e3 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAdSpotsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdSpotPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdSpotPage $rval + * @return \Google\AdsApi\AdManager\v202408\getAdSpotsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getAdUnitSizesByStatementResponse.php new file mode 100644 index 000000000..fede16e5d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAdUnitSizesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnitSize[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnitSize[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getAdUnitSizesByStatementResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAdUnitsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getAdUnitsByStatementResponse.php new file mode 100644 index 000000000..b741d5149 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAdUnitsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnitPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnitPage $rval + * @return \Google\AdsApi\AdManager\v202408\getAdUnitsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202408/getAllNetworksResponse.php new file mode 100644 index 000000000..a2f87efad --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAllNetworksResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Network[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Network[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getAllNetworksResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202408/getAllRolesResponse.php new file mode 100644 index 000000000..2a1336345 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAllRolesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Role[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Role[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getAllRolesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAudienceSegmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getAudienceSegmentsByStatementResponse.php new file mode 100644 index 000000000..658a06975 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAudienceSegmentsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AudienceSegmentPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AudienceSegmentPage $rval + * @return \Google\AdsApi\AdManager\v202408\getAudienceSegmentsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastByIdResponse.php b/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastByIdResponse.php new file mode 100644 index 000000000..0de4be9db --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastByIdResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AvailabilityForecast + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AvailabilityForecast $rval + * @return \Google\AdsApi\AdManager\v202408\getAvailabilityForecastByIdResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastResponse.php b/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastResponse.php new file mode 100644 index 000000000..7b8db352f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getAvailabilityForecastResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AvailabilityForecast + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AvailabilityForecast $rval + * @return \Google\AdsApi\AdManager\v202408\getAvailabilityForecastResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getBreakTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getBreakTemplatesByStatementResponse.php new file mode 100644 index 000000000..8689ef60e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getBreakTemplatesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BreakTemplatePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BreakTemplatePage $rval + * @return \Google\AdsApi\AdManager\v202408\getBreakTemplatesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCdnConfigurationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCdnConfigurationsByStatementResponse.php new file mode 100644 index 000000000..b619c657e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCdnConfigurationsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CdnConfigurationPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CdnConfigurationPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCdnConfigurationsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCmsMetadataKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCmsMetadataKeysByStatementResponse.php new file mode 100644 index 000000000..a3db18c25 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCmsMetadataKeysByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CmsMetadataKeyPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CmsMetadataKeyPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCmsMetadataKeysByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCmsMetadataValuesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCmsMetadataValuesByStatementResponse.php new file mode 100644 index 000000000..55818ead5 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCmsMetadataValuesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CmsMetadataValuePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CmsMetadataValuePage $rval + * @return \Google\AdsApi\AdManager\v202408\getCmsMetadataValuesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCompaniesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCompaniesByStatementResponse.php new file mode 100644 index 000000000..44508f18e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCompaniesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CompanyPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CompanyPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCompaniesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getContactsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getContactsByStatementResponse.php new file mode 100644 index 000000000..3fd8cc487 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getContactsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContactPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContactPage $rval + * @return \Google\AdsApi\AdManager\v202408\getContactsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getContentBundlesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getContentBundlesByStatementResponse.php new file mode 100644 index 000000000..5c9ce92f4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getContentBundlesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentBundlePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentBundlePage $rval + * @return \Google\AdsApi\AdManager\v202408\getContentBundlesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getContentByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getContentByStatementResponse.php new file mode 100644 index 000000000..c6fca4674 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getContentByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentPage $rval + * @return \Google\AdsApi\AdManager\v202408\getContentByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCreativeSetsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCreativeSetsByStatementResponse.php new file mode 100644 index 000000000..108419ac8 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCreativeSetsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeSetPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeSetPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCreativeSetsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCreativeTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCreativeTemplatesByStatementResponse.php new file mode 100644 index 000000000..d5e1ffeac --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCreativeTemplatesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeTemplatePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeTemplatePage $rval + * @return \Google\AdsApi\AdManager\v202408\getCreativeTemplatesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCreativeWrappersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCreativeWrappersByStatementResponse.php new file mode 100644 index 000000000..06f2ce20e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCreativeWrappersByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapperPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapperPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCreativeWrappersByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCreativesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCreativesByStatementResponse.php new file mode 100644 index 000000000..883020839 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCreativesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativePage $rval + * @return \Google\AdsApi\AdManager\v202408\getCreativesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCurrentNetworkResponse.php b/src/Google/AdsApi/AdManager/v202408/getCurrentNetworkResponse.php new file mode 100644 index 000000000..5e3bf9f98 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCurrentNetworkResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Network + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Network $rval + * @return \Google\AdsApi\AdManager\v202408\getCurrentNetworkResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCurrentUserResponse.php b/src/Google/AdsApi/AdManager/v202408/getCurrentUserResponse.php new file mode 100644 index 000000000..4068782d9 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCurrentUserResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\User + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\User $rval + * @return \Google\AdsApi\AdManager\v202408\getCurrentUserResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCustomFieldOptionResponse.php b/src/Google/AdsApi/AdManager/v202408/getCustomFieldOptionResponse.php new file mode 100644 index 000000000..736e7f133 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCustomFieldOptionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption $rval + * @return \Google\AdsApi\AdManager\v202408\getCustomFieldOptionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCustomFieldsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCustomFieldsByStatementResponse.php new file mode 100644 index 000000000..381d33c89 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCustomFieldsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomFieldPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomFieldPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCustomFieldsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCustomTargetingKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCustomTargetingKeysByStatementResponse.php new file mode 100644 index 000000000..3bac9e55e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCustomTargetingKeysByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKeyPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKeyPage $rval + * @return \Google\AdsApi\AdManager\v202408\getCustomTargetingKeysByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getCustomTargetingValuesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getCustomTargetingValuesByStatementResponse.php new file mode 100644 index 000000000..3dd59c479 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getCustomTargetingValuesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValuePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValuePage $rval + * @return \Google\AdsApi\AdManager\v202408\getCustomTargetingValuesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getDaiAuthenticationKeysByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getDaiAuthenticationKeysByStatementResponse.php new file mode 100644 index 000000000..339781e8c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getDaiAuthenticationKeysByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKeyPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKeyPage $rval + * @return \Google\AdsApi\AdManager\v202408\getDaiAuthenticationKeysByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getDaiEncodingProfilesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getDaiEncodingProfilesByStatementResponse.php new file mode 100644 index 000000000..6e2963a07 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getDaiEncodingProfilesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfilePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfilePage $rval + * @return \Google\AdsApi\AdManager\v202408\getDaiEncodingProfilesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getDefaultThirdPartyDataDeclarationResponse.php b/src/Google/AdsApi/AdManager/v202408/getDefaultThirdPartyDataDeclarationResponse.php new file mode 100644 index 000000000..0f2239800 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getDefaultThirdPartyDataDeclarationResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ThirdPartyDataDeclaration + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ThirdPartyDataDeclaration $rval + * @return \Google\AdsApi\AdManager\v202408\getDefaultThirdPartyDataDeclarationResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastByIdsResponse.php b/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastByIdsResponse.php new file mode 100644 index 000000000..15ce5c851 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastByIdsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeliveryForecast + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeliveryForecast $rval + * @return \Google\AdsApi\AdManager\v202408\getDeliveryForecastByIdsResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastResponse.php b/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastResponse.php new file mode 100644 index 000000000..e54ab8469 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getDeliveryForecastResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DeliveryForecast + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DeliveryForecast $rval + * @return \Google\AdsApi\AdManager\v202408\getDeliveryForecastResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getForecastAdjustmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getForecastAdjustmentsByStatementResponse.php new file mode 100644 index 000000000..f24218151 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getForecastAdjustmentsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustmentPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustmentPage $rval + * @return \Google\AdsApi\AdManager\v202408\getForecastAdjustmentsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getLabelsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getLabelsByStatementResponse.php new file mode 100644 index 000000000..c7bdccf7f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getLabelsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LabelPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LabelPage $rval + * @return \Google\AdsApi\AdManager\v202408\getLabelsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getLineItemCreativeAssociationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getLineItemCreativeAssociationsByStatementResponse.php new file mode 100644 index 000000000..e0fa5797d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getLineItemCreativeAssociationsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociationPage $rval + * @return \Google\AdsApi\AdManager\v202408\getLineItemCreativeAssociationsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getLineItemTemplatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getLineItemTemplatesByStatementResponse.php new file mode 100644 index 000000000..b43f22859 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getLineItemTemplatesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemTemplatePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemTemplatePage $rval + * @return \Google\AdsApi\AdManager\v202408\getLineItemTemplatesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getLineItemsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getLineItemsByStatementResponse.php new file mode 100644 index 000000000..49b08997d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getLineItemsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemPage $rval + * @return \Google\AdsApi\AdManager\v202408\getLineItemsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getLiveStreamEventsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getLiveStreamEventsByStatementResponse.php new file mode 100644 index 000000000..fd214e713 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getLiveStreamEventsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEventPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEventPage $rval + * @return \Google\AdsApi\AdManager\v202408\getLiveStreamEventsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getMarketplaceCommentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getMarketplaceCommentsByStatementResponse.php new file mode 100644 index 000000000..c50d74777 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getMarketplaceCommentsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MarketplaceCommentPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MarketplaceCommentPage $rval + * @return \Google\AdsApi\AdManager\v202408\getMarketplaceCommentsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getMcmSupplyChainDiagnosticsDownloadUrlResponse.php b/src/Google/AdsApi/AdManager/v202408/getMcmSupplyChainDiagnosticsDownloadUrlResponse.php new file mode 100644 index 000000000..a22931d73 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getMcmSupplyChainDiagnosticsDownloadUrlResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return string + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param string $rval + * @return \Google\AdsApi\AdManager\v202408\getMcmSupplyChainDiagnosticsDownloadUrlResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getMobileApplicationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getMobileApplicationsByStatementResponse.php new file mode 100644 index 000000000..923f5a5a1 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getMobileApplicationsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileApplicationPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileApplicationPage $rval + * @return \Google\AdsApi\AdManager\v202408\getMobileApplicationsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getNativeStylesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getNativeStylesByStatementResponse.php new file mode 100644 index 000000000..fa54523dc --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getNativeStylesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\NativeStylePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\NativeStylePage $rval + * @return \Google\AdsApi\AdManager\v202408\getNativeStylesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getOrdersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getOrdersByStatementResponse.php new file mode 100644 index 000000000..f1157e919 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getOrdersByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\OrderPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\OrderPage $rval + * @return \Google\AdsApi\AdManager\v202408\getOrdersByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getPlacementsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getPlacementsByStatementResponse.php new file mode 100644 index 000000000..6992b89e3 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getPlacementsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\PlacementPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\PlacementPage $rval + * @return \Google\AdsApi\AdManager\v202408\getPlacementsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/getPreviewUrlResponse.php b/src/Google/AdsApi/AdManager/v202408/getPreviewUrlResponse.php similarity index 83% rename from src/Google/AdsApi/AdManager/v202308/getPreviewUrlResponse.php rename to src/Google/AdsApi/AdManager/v202408/getPreviewUrlResponse.php index 9d5846e7a..081205c6a 100644 --- a/src/Google/AdsApi/AdManager/v202308/getPreviewUrlResponse.php +++ b/src/Google/AdsApi/AdManager/v202408/getPreviewUrlResponse.php @@ -1,6 +1,6 @@ rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeNativeStylePreview[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeNativeStylePreview[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getPreviewUrlsForNativeStylesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getProposalLineItemsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getProposalLineItemsByStatementResponse.php new file mode 100644 index 000000000..450544e9f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getProposalLineItemsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItemPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItemPage $rval + * @return \Google\AdsApi\AdManager\v202408\getProposalLineItemsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getProposalsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getProposalsByStatementResponse.php new file mode 100644 index 000000000..b113bea4a --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getProposalsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalPage $rval + * @return \Google\AdsApi\AdManager\v202408\getProposalsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/getReportDownloadURLResponse.php b/src/Google/AdsApi/AdManager/v202408/getReportDownloadURLResponse.php similarity index 84% rename from src/Google/AdsApi/AdManager/v202308/getReportDownloadURLResponse.php rename to src/Google/AdsApi/AdManager/v202408/getReportDownloadURLResponse.php index 3504eeafc..727b0c901 100644 --- a/src/Google/AdsApi/AdManager/v202308/getReportDownloadURLResponse.php +++ b/src/Google/AdsApi/AdManager/v202408/getReportDownloadURLResponse.php @@ -1,6 +1,6 @@ rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SamSession[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SamSession[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getSamSessionsByStatementResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getSavedQueriesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getSavedQueriesByStatementResponse.php new file mode 100644 index 000000000..ea0a61931 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getSavedQueriesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SavedQueryPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SavedQueryPage $rval + * @return \Google\AdsApi\AdManager\v202408\getSavedQueriesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202408/getSegmentPopulationResultsByIdsResponse.php new file mode 100644 index 000000000..69d46afb6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getSegmentPopulationResultsByIdsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResults[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SegmentPopulationResults[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getSegmentPopulationResultsByIdsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getSitesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getSitesByStatementResponse.php new file mode 100644 index 000000000..3d258e9c7 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getSitesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SitePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SitePage $rval + * @return \Google\AdsApi\AdManager\v202408\getSitesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getSlatesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getSlatesByStatementResponse.php new file mode 100644 index 000000000..06d785117 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getSlatesByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SlatePage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SlatePage $rval + * @return \Google\AdsApi\AdManager\v202408\getSlatesByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getSuggestedAdUnitsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getSuggestedAdUnitsByStatementResponse.php new file mode 100644 index 000000000..30290531c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getSuggestedAdUnitsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SuggestedAdUnitPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SuggestedAdUnitPage $rval + * @return \Google\AdsApi\AdManager\v202408\getSuggestedAdUnitsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getTargetingPresetsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getTargetingPresetsByStatementResponse.php new file mode 100644 index 000000000..39ffa9806 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getTargetingPresetsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TargetingPresetPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TargetingPresetPage $rval + * @return \Google\AdsApi\AdManager\v202408\getTargetingPresetsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getTeamsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getTeamsByStatementResponse.php new file mode 100644 index 000000000..bb366e646 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getTeamsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TeamPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TeamPage $rval + * @return \Google\AdsApi\AdManager\v202408\getTeamsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getTrafficDataResponse.php b/src/Google/AdsApi/AdManager/v202408/getTrafficDataResponse.php new file mode 100644 index 000000000..6d68a9fc7 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getTrafficDataResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrafficDataResponse + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrafficDataResponse $rval + * @return \Google\AdsApi\AdManager\v202408\getTrafficDataResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getTrafficForecastSegmentsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getTrafficForecastSegmentsByStatementResponse.php new file mode 100644 index 000000000..e9ba5d40a --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getTrafficForecastSegmentsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegmentPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrafficForecastSegmentPage $rval + * @return \Google\AdsApi\AdManager\v202408\getTrafficForecastSegmentsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getUserTeamAssociationsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getUserTeamAssociationsByStatementResponse.php new file mode 100644 index 000000000..2efda3888 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getUserTeamAssociationsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociationPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociationPage $rval + * @return \Google\AdsApi\AdManager\v202408\getUserTeamAssociationsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getUsersByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getUsersByStatementResponse.php new file mode 100644 index 000000000..71d0177c6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getUsersByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UserPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UserPage $rval + * @return \Google\AdsApi\AdManager\v202408\getUsersByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getYieldGroupsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202408/getYieldGroupsByStatementResponse.php new file mode 100644 index 000000000..f3b0dba41 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getYieldGroupsByStatementResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldGroupPage + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldGroupPage $rval + * @return \Google\AdsApi\AdManager\v202408\getYieldGroupsByStatementResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202408/getYieldPartnersResponse.php new file mode 100644 index 000000000..4bf2953d8 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/getYieldPartnersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldPartner[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldPartner[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\getYieldPartnersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/makeTestNetworkResponse.php b/src/Google/AdsApi/AdManager/v202408/makeTestNetworkResponse.php new file mode 100644 index 000000000..f19a678b5 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/makeTestNetworkResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Network + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Network $rval + * @return \Google\AdsApi\AdManager\v202408\makeTestNetworkResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performAdRuleActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performAdRuleActionResponse.php new file mode 100644 index 000000000..c31e01d0c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performAdRuleActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performAdRuleActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performAdUnitActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performAdUnitActionResponse.php new file mode 100644 index 000000000..b45b52508 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performAdUnitActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performAdUnitActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performAudienceSegmentActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performAudienceSegmentActionResponse.php new file mode 100644 index 000000000..e883f904f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performAudienceSegmentActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performAudienceSegmentActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCdnConfigurationActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCdnConfigurationActionResponse.php new file mode 100644 index 000000000..a137d3cc4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCdnConfigurationActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCdnConfigurationActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCmsMetadataKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCmsMetadataKeyActionResponse.php new file mode 100644 index 000000000..f2830daff --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCmsMetadataKeyActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCmsMetadataKeyActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCmsMetadataValueActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCmsMetadataValueActionResponse.php new file mode 100644 index 000000000..f847a3d54 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCmsMetadataValueActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCmsMetadataValueActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCompanyActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCompanyActionResponse.php new file mode 100644 index 000000000..0a9d1763c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCompanyActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCompanyActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performContentBundleActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performContentBundleActionResponse.php new file mode 100644 index 000000000..c268a5d62 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performContentBundleActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performContentBundleActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCreativeActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCreativeActionResponse.php new file mode 100644 index 000000000..a9eb22dc0 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCreativeActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCreativeActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCreativeWrapperActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCreativeWrapperActionResponse.php new file mode 100644 index 000000000..b8c9fd799 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCreativeWrapperActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCreativeWrapperActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCustomFieldActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCustomFieldActionResponse.php new file mode 100644 index 000000000..88a191c72 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCustomFieldActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCustomFieldActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCustomTargetingKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCustomTargetingKeyActionResponse.php new file mode 100644 index 000000000..644016a5d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCustomTargetingKeyActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCustomTargetingKeyActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performCustomTargetingValueActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performCustomTargetingValueActionResponse.php new file mode 100644 index 000000000..16cc1b07b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performCustomTargetingValueActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performCustomTargetingValueActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performDaiAuthenticationKeyActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performDaiAuthenticationKeyActionResponse.php new file mode 100644 index 000000000..3ff6fee57 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performDaiAuthenticationKeyActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performDaiAuthenticationKeyActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performDaiEncodingProfileActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performDaiEncodingProfileActionResponse.php new file mode 100644 index 000000000..f38ca94c4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performDaiEncodingProfileActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performDaiEncodingProfileActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performForecastAdjustmentActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performForecastAdjustmentActionResponse.php new file mode 100644 index 000000000..9587c1887 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performForecastAdjustmentActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performForecastAdjustmentActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performLabelActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performLabelActionResponse.php new file mode 100644 index 000000000..31079561b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performLabelActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performLabelActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performLineItemActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performLineItemActionResponse.php new file mode 100644 index 000000000..37b717c8c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performLineItemActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performLineItemActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performLineItemCreativeAssociationActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performLineItemCreativeAssociationActionResponse.php new file mode 100644 index 000000000..65a4c9537 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performLineItemCreativeAssociationActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performLineItemCreativeAssociationActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performLiveStreamEventActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performLiveStreamEventActionResponse.php new file mode 100644 index 000000000..c9af35c6d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performLiveStreamEventActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performLiveStreamEventActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performMobileApplicationActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performMobileApplicationActionResponse.php new file mode 100644 index 000000000..9e77a78da --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performMobileApplicationActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performMobileApplicationActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performNativeStyleActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performNativeStyleActionResponse.php new file mode 100644 index 000000000..217ea2614 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performNativeStyleActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performNativeStyleActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performOrderActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performOrderActionResponse.php new file mode 100644 index 000000000..e1783d7c8 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performOrderActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performOrderActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performPlacementActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performPlacementActionResponse.php new file mode 100644 index 000000000..e409cbf81 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performPlacementActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performPlacementActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performProposalActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performProposalActionResponse.php new file mode 100644 index 000000000..d1cb3a4ca --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performProposalActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performProposalActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performProposalLineItemActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performProposalLineItemActionResponse.php new file mode 100644 index 000000000..2ec8ecf60 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performProposalLineItemActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performProposalLineItemActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performSegmentPopulationActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performSegmentPopulationActionResponse.php new file mode 100644 index 000000000..30b6ce64f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performSegmentPopulationActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performSegmentPopulationActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performSiteActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performSiteActionResponse.php new file mode 100644 index 000000000..8b22ea8d6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performSiteActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performSiteActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performSlateActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performSlateActionResponse.php new file mode 100644 index 000000000..97841d386 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performSlateActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performSlateActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performSuggestedAdUnitActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performSuggestedAdUnitActionResponse.php new file mode 100644 index 000000000..08d9e74b9 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performSuggestedAdUnitActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SuggestedAdUnitUpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SuggestedAdUnitUpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performSuggestedAdUnitActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performTargetingPresetActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performTargetingPresetActionResponse.php new file mode 100644 index 000000000..c73a2bfac --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performTargetingPresetActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performTargetingPresetActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performTeamActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performTeamActionResponse.php new file mode 100644 index 000000000..cbce1330a --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performTeamActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performTeamActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performUserActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performUserActionResponse.php new file mode 100644 index 000000000..84fee6a55 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performUserActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performUserActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/performUserTeamAssociationActionResponse.php b/src/Google/AdsApi/AdManager/v202408/performUserTeamAssociationActionResponse.php new file mode 100644 index 000000000..f015c405b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/performUserTeamAssociationActionResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\performUserTeamAssociationActionResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/pushCreativeToDevicesResponse.php b/src/Google/AdsApi/AdManager/v202408/pushCreativeToDevicesResponse.php new file mode 100644 index 000000000..8c5c1e8d1 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/pushCreativeToDevicesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UpdateResult + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UpdateResult $rval + * @return \Google\AdsApi\AdManager\v202408\pushCreativeToDevicesResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202308/registerSessionsForMonitoringResponse.php b/src/Google/AdsApi/AdManager/v202408/registerSessionsForMonitoringResponse.php similarity index 85% rename from src/Google/AdsApi/AdManager/v202308/registerSessionsForMonitoringResponse.php rename to src/Google/AdsApi/AdManager/v202408/registerSessionsForMonitoringResponse.php index f400cdf41..e8418bde6 100644 --- a/src/Google/AdsApi/AdManager/v202308/registerSessionsForMonitoringResponse.php +++ b/src/Google/AdsApi/AdManager/v202408/registerSessionsForMonitoringResponse.php @@ -1,6 +1,6 @@ rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ReportJob + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ReportJob $rval + * @return \Google\AdsApi\AdManager\v202408\runReportJobResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/selectResponse.php b/src/Google/AdsApi/AdManager/v202408/selectResponse.php new file mode 100644 index 000000000..2421c27cf --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/selectResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ResultSet + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ResultSet $rval + * @return \Google\AdsApi\AdManager\v202408\selectResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateAdRulesResponse.php new file mode 100644 index 000000000..1a74f159e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateAdRulesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdRule[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdRule[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateAdRulesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateAdSpotsResponse.php new file mode 100644 index 000000000..5060791a2 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateAdSpotsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdSpot[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdSpot[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateAdSpotsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateAdUnitsResponse.php new file mode 100644 index 000000000..3e580c7a6 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateAdUnitsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\AdUnit[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\AdUnit[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateAdUnitsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateAudienceSegmentsResponse.php new file mode 100644 index 000000000..5a16b6d0e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateAudienceSegmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\FirstPartyAudienceSegment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateAudienceSegmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateBreakTemplatesResponse.php new file mode 100644 index 000000000..857dd2c83 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateBreakTemplatesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\BreakTemplate[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\BreakTemplate[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateBreakTemplatesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCdnConfigurationsResponse.php new file mode 100644 index 000000000..ac57e4bf1 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCdnConfigurationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CdnConfiguration[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CdnConfiguration[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCdnConfigurationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCompaniesResponse.php new file mode 100644 index 000000000..b46d20ed0 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCompaniesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Company[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Company[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCompaniesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateContactsResponse.php new file mode 100644 index 000000000..c5220ef1b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateContactsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Contact[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Contact[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateContactsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateContentBundlesResponse.php new file mode 100644 index 000000000..bb07e0d73 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateContentBundlesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ContentBundle[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ContentBundle[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateContentBundlesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCreativeSetResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCreativeSetResponse.php new file mode 100644 index 000000000..cfcc9c001 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCreativeSetResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeSet + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeSet $rval + * @return \Google\AdsApi\AdManager\v202408\updateCreativeSetResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCreativeWrappersResponse.php new file mode 100644 index 000000000..049831746 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCreativeWrappersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CreativeWrapper[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CreativeWrapper[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCreativeWrappersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCreativesResponse.php new file mode 100644 index 000000000..fefe27033 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCreativesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Creative[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Creative[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCreativesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCustomFieldOptionsResponse.php new file mode 100644 index 000000000..30db72bf4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCustomFieldOptionsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomFieldOption[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomFieldOption[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCustomFieldOptionsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCustomFieldsResponse.php new file mode 100644 index 000000000..e71e9805e --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCustomFieldsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomField[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomField[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCustomFieldsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingKeysResponse.php new file mode 100644 index 000000000..7692ff24a --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingKeysResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingKey[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingKey[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCustomTargetingKeysResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingValuesResponse.php new file mode 100644 index 000000000..dbbccb86c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateCustomTargetingValuesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\CustomTargetingValue[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\CustomTargetingValue[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateCustomTargetingValuesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202408/updateDaiAuthenticationKeysResponse.php new file mode 100644 index 000000000..f8ef65594 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateDaiAuthenticationKeysResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiAuthenticationKey[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateDaiAuthenticationKeysResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateDaiEncodingProfilesResponse.php new file mode 100644 index 000000000..f96fa599b --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateDaiEncodingProfilesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\DaiEncodingProfile[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateDaiEncodingProfilesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateForecastAdjustmentsResponse.php new file mode 100644 index 000000000..4e761c81f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateForecastAdjustmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ForecastAdjustment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ForecastAdjustment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateForecastAdjustmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateLabelsResponse.php new file mode 100644 index 000000000..c24341a83 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateLabelsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Label[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Label[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateLabelsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateLineItemCreativeAssociationsResponse.php new file mode 100644 index 000000000..5d1be1ff4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateLineItemCreativeAssociationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItemCreativeAssociation[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateLineItemCreativeAssociationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateLineItemsResponse.php new file mode 100644 index 000000000..a53639971 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateLineItemsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LineItem[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LineItem[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateLineItemsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateLiveStreamEventsResponse.php new file mode 100644 index 000000000..160fccef5 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateLiveStreamEventsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\LiveStreamEvent[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\LiveStreamEvent[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateLiveStreamEventsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateMobileApplicationsResponse.php new file mode 100644 index 000000000..c0db456b9 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateMobileApplicationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\MobileApplication[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\MobileApplication[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateMobileApplicationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateNativeStylesResponse.php new file mode 100644 index 000000000..7fb0c8132 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateNativeStylesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\NativeStyle[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\NativeStyle[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateNativeStylesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateNetworkResponse.php b/src/Google/AdsApi/AdManager/v202408/updateNetworkResponse.php new file mode 100644 index 000000000..5b264c733 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateNetworkResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Network + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Network $rval + * @return \Google\AdsApi\AdManager\v202408\updateNetworkResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202408/updateOrdersResponse.php new file mode 100644 index 000000000..685a80e23 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateOrdersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Order[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Order[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateOrdersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202408/updatePlacementsResponse.php new file mode 100644 index 000000000..d2e020793 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updatePlacementsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Placement[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Placement[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updatePlacementsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateProposalLineItemsResponse.php new file mode 100644 index 000000000..9514c94b5 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateProposalLineItemsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\ProposalLineItem[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\ProposalLineItem[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateProposalLineItemsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateProposalsResponse.php new file mode 100644 index 000000000..e5f96276c --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateProposalsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Proposal[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Proposal[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateProposalsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateSegmentMembershipsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateSegmentMembershipsResponse.php new file mode 100644 index 000000000..39724c3d4 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateSegmentMembershipsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\SegmentPopulationResponse + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\SegmentPopulationResponse $rval + * @return \Google\AdsApi\AdManager\v202408\updateSegmentMembershipsResponse + */ + public function setRval($rval) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateSitesResponse.php new file mode 100644 index 000000000..b6f92ad7d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateSitesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Site[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Site[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateSitesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202408/updateSlatesResponse.php new file mode 100644 index 000000000..3089c6513 --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateSlatesResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Slate[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Slate[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateSlatesResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateTargetingPresetsResponse.php new file mode 100644 index 000000000..448171bec --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateTargetingPresetsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TargetingPreset[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TargetingPreset[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateTargetingPresetsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateTeamsResponse.php new file mode 100644 index 000000000..f65421c0d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateTeamsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\Team[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\Team[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateTeamsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateTrafficForecastSegmentsResponse.php new file mode 100644 index 000000000..8e2bb0f1f --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateTrafficForecastSegmentsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\TrafficForecastSegment[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateTrafficForecastSegmentsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateUserTeamAssociationsResponse.php new file mode 100644 index 000000000..317eaa2ed --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateUserTeamAssociationsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\UserTeamAssociation[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\UserTeamAssociation[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateUserTeamAssociationsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202408/updateUsersResponse.php new file mode 100644 index 000000000..f17dd05ed --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateUsersResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\User[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\User[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateUsersResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/AdManager/v202408/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202408/updateYieldGroupsResponse.php new file mode 100644 index 000000000..9aad4d86d --- /dev/null +++ b/src/Google/AdsApi/AdManager/v202408/updateYieldGroupsResponse.php @@ -0,0 +1,43 @@ +rval = $rval; + } + + /** + * @return \Google\AdsApi\AdManager\v202408\YieldGroup[] + */ + public function getRval() + { + return $this->rval; + } + + /** + * @param \Google\AdsApi\AdManager\v202408\YieldGroup[]|null $rval + * @return \Google\AdsApi\AdManager\v202408\updateYieldGroupsResponse + */ + public function setRval(array $rval = null) + { + $this->rval = $rval; + return $this; + } + +} diff --git a/src/Google/AdsApi/Common/build.ini b/src/Google/AdsApi/Common/build.ini index f83f8d48e..021693783 100644 --- a/src/Google/AdsApi/Common/build.ini +++ b/src/Google/AdsApi/Common/build.ini @@ -1,2 +1,2 @@ -LIB_VERSION = 65.0.0 +LIB_VERSION = 66.0.0 LIB_NAME = "googleads-php-lib" diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimesTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimesTest.php similarity index 94% rename from tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimesTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimesTest.php index 261eaca9d..ef078ca9a 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDateTimesTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDateTimesTest.php @@ -15,12 +15,12 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use DateTime; use DateTimeZone; -use Google\AdsApi\AdManager\v202308\Date; -use Google\AdsApi\AdManager\v202308\DateTime as AdManagerDateTime; +use Google\AdsApi\AdManager\v202408\Date; +use Google\AdsApi\AdManager\v202408\DateTime as AdManagerDateTime; use PHPUnit\Framework\TestCase; /** @@ -118,7 +118,7 @@ protected function setUp(): void } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::fromDateTime + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::fromDateTime */ public function testFromDateTime() { @@ -149,7 +149,7 @@ public function testFromDateTime() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::fromDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::fromDateTimeString */ public function testFromDateTimeString() { @@ -188,7 +188,7 @@ public function testFromDateTimeString() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTime + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTime */ public function testToDateTime() { @@ -219,7 +219,7 @@ public function testToDateTime() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTimeString */ public function testToDateTimeString() { @@ -242,7 +242,7 @@ public function testToDateTimeString() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTimeString */ public function testToDateTimeStringWithSameTimeZoneIsNoOp() { @@ -278,7 +278,7 @@ public function testToDateTimeStringWithSameTimeZoneIsNoOp() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTimeString */ public function testToDateTimeStringWithDaylightSavingRules() { @@ -300,7 +300,7 @@ public function testToDateTimeStringWithDaylightSavingRules() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTimeString */ public function testToDateTimeStringTimezoneOnDifferentDay() { @@ -315,7 +315,7 @@ public function testToDateTimeStringTimezoneOnDifferentDay() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDateTimes::toDateTimeString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDateTimes::toDateTimeString */ public function testToDateTimeStringTimezoneUtc() { diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDatesTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDatesTest.php similarity index 92% rename from tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDatesTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDatesTest.php index e7611f715..a32392861 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/AdManagerDatesTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/AdManagerDatesTest.php @@ -15,9 +15,9 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; -use Google\AdsApi\AdManager\v202308\Date; +use Google\AdsApi\AdManager\v202408\Date; use PHPUnit\Framework\TestCase; /** @@ -52,7 +52,7 @@ protected function setUp(): void } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\AdManagerDates::toDateString + * @covers \Google\AdsApi\AdManager\Util\v202408\AdManagerDates::toDateString */ public function testToDateString() { diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/CsvFilesTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/CsvFilesTest.php similarity index 93% rename from tests/Google/AdsApi/AdManager/Util/v202308/CsvFilesTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/CsvFilesTest.php index 1c9947f23..7ce93e054 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/CsvFilesTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/CsvFilesTest.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use InvalidArgumentException; use PHPUnit\Framework\TestCase; @@ -45,7 +45,7 @@ protected function setUp(): void } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\CsvFiles::writeCsv + * @covers \Google\AdsApi\AdManager\Util\v202408\CsvFiles::writeCsv */ public function testWriteCsvWithNullFileName() { @@ -54,7 +54,7 @@ public function testWriteCsvWithNullFileName() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\CsvFiles::writeCsv + * @covers \Google\AdsApi\AdManager\Util\v202408\CsvFiles::writeCsv */ public function testWriteCsv() { @@ -74,7 +74,7 @@ public function testWriteCsv() * Verify that data is written completely and correctly in CSV format * to a stream. * - * @covers \Google\AdsApi\AdManager\Util\v202308\CsvFiles::writeCsvToStream + * @covers \Google\AdsApi\AdManager\Util\v202408\CsvFiles::writeCsvToStream */ public function testWriteCsvToStream() { diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/PqlTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/PqlTest.php similarity index 88% rename from tests/Google/AdsApi/AdManager/Util/v202308/PqlTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/PqlTest.php index a928c7b54..eb59d4e97 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/PqlTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/PqlTest.php @@ -15,24 +15,24 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; - -use Google\AdsApi\AdManager\v202308\AdUnitTargeting; -use Google\AdsApi\AdManager\v202308\BooleanValue; -use Google\AdsApi\AdManager\v202308\ColumnType; -use Google\AdsApi\AdManager\v202308\Date; -use Google\AdsApi\AdManager\v202308\DateTime as AdManagerDateTime; -use Google\AdsApi\AdManager\v202308\DateTimeValue; -use Google\AdsApi\AdManager\v202308\DateValue; -use Google\AdsApi\AdManager\v202308\InventoryTargeting; -use Google\AdsApi\AdManager\v202308\NumberValue; -use Google\AdsApi\AdManager\v202308\ResultSet; -use Google\AdsApi\AdManager\v202308\Row; -use Google\AdsApi\AdManager\v202308\SetValue; -use Google\AdsApi\AdManager\v202308\Targeting; -use Google\AdsApi\AdManager\v202308\TargetingValue; -use Google\AdsApi\AdManager\v202308\TextValue; -use Google\AdsApi\AdManager\v202308\Value; +namespace Google\AdsApi\AdManager\Util\v202408; + +use Google\AdsApi\AdManager\v202408\AdUnitTargeting; +use Google\AdsApi\AdManager\v202408\BooleanValue; +use Google\AdsApi\AdManager\v202408\ColumnType; +use Google\AdsApi\AdManager\v202408\Date; +use Google\AdsApi\AdManager\v202408\DateTime as AdManagerDateTime; +use Google\AdsApi\AdManager\v202408\DateTimeValue; +use Google\AdsApi\AdManager\v202408\DateValue; +use Google\AdsApi\AdManager\v202408\InventoryTargeting; +use Google\AdsApi\AdManager\v202408\NumberValue; +use Google\AdsApi\AdManager\v202408\ResultSet; +use Google\AdsApi\AdManager\v202408\Row; +use Google\AdsApi\AdManager\v202408\SetValue; +use Google\AdsApi\AdManager\v202408\Targeting; +use Google\AdsApi\AdManager\v202408\TargetingValue; +use Google\AdsApi\AdManager\v202408\TextValue; +use Google\AdsApi\AdManager\v202408\Value; use InvalidArgumentException; use PHPUnit\Framework\TestCase; @@ -111,7 +111,7 @@ protected function setUp(): void } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::createValue + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::createValue */ public function testCreateValue() { @@ -153,17 +153,17 @@ public function testCreateValue() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::createValue + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::createValue */ public function testCreateValueWithInvalidTypeThrowsException() { $this->expectException(InvalidArgumentException::class); - $this->expectExceptionMessage("Unsupported value type [Google\\AdsApi\\AdManager\\Util\\v202308\\MyObject]"); + $this->expectExceptionMessage("Unsupported value type [Google\\AdsApi\\AdManager\\Util\\v202408\\MyObject]"); Pql::createValue(new MyObject()); } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::createValue + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::createValue */ public function testCreateValueWithNullThrowsException() { @@ -173,7 +173,7 @@ public function testCreateValueWithNullThrowsException() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::toString + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::toString */ public function testToString() { @@ -189,17 +189,17 @@ public function testToString() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::toString + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::toString */ public function testToStringWithUnsupportedValueTypeThrowsException() { $this->expectException(InvalidArgumentException::class); - $this->expectExceptionMessage("Unsupported value type [Google\\AdsApi\\AdManager\\Util\\v202308\\MyValue]"); + $this->expectExceptionMessage("Unsupported value type [Google\\AdsApi\\AdManager\\Util\\v202408\\MyValue]"); Pql::toString(new MyValue()); } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::toString + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::toString */ public function testToStringWithTargetingValueTypeThrowsException() { @@ -208,7 +208,7 @@ public function testToStringWithTargetingValueTypeThrowsException() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::getColumnLabels + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::getColumnLabels */ public function testGetColumnLabels() { @@ -226,7 +226,7 @@ public function testGetColumnLabels() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::getRowStringValues + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::getRowStringValues */ public function testGetRowStringValues() { @@ -244,7 +244,7 @@ public function testGetRowStringValues() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::combineResultSets + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::combineResultSets */ public function testCombineResultSet() { @@ -389,7 +389,7 @@ public function testCombineResultSet() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\Pql::combineResultSets + * @covers \Google\AdsApi\AdManager\Util\v202408\Pql::combineResultSets */ public function testCombineResultSetWithBadColumnsThrowsException() { diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/ReportDownloaderTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/ReportDownloaderTest.php similarity index 91% rename from tests/Google/AdsApi/AdManager/Util/v202308/ReportDownloaderTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/ReportDownloaderTest.php index fe6e77348..e62f49820 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/ReportDownloaderTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/ReportDownloaderTest.php @@ -15,13 +15,13 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use Google\AdsApi\AdManager\AdManagerSessionBuilder; use Google\AdsApi\AdManager\Testing\ReportDownloaderTestProvider; -use Google\AdsApi\AdManager\v202308\ExportFormat; -use Google\AdsApi\AdManager\v202308\ReportJobStatus; -use Google\AdsApi\AdManager\v202308\ReportService; +use Google\AdsApi\AdManager\v202408\ExportFormat; +use Google\AdsApi\AdManager\v202408\ReportJobStatus; +use Google\AdsApi\AdManager\v202408\ReportService; use Google\Auth\FetchAuthTokenInterface; use GuzzleHttp\Client; use GuzzleHttp\Handler\MockHandler; @@ -76,7 +76,7 @@ protected function setUp(): void } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\ReportDownloader::waitForReportToFinish + * @covers \Google\AdsApi\AdManager\Util\v202408\ReportDownloader::waitForReportToFinish */ public function testWaitForReportToFinishFinishesImmediatelySuccess() { @@ -89,7 +89,7 @@ public function testWaitForReportToFinishFinishesImmediatelySuccess() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\ReportDownloader::waitForReportToFinish + * @covers \Google\AdsApi\AdManager\Util\v202408\ReportDownloader::waitForReportToFinish */ public function testWaitForReportToFinishFinishesImmediatelyFailed() { @@ -102,7 +102,7 @@ public function testWaitForReportToFinishFinishesImmediatelyFailed() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\ReportDownloader::waitForReportToFinish + * @covers \Google\AdsApi\AdManager\Util\v202408\ReportDownloader::waitForReportToFinish */ public function testWaitForReportToFinishPollsOnceSuccess() { @@ -118,7 +118,7 @@ public function testWaitForReportToFinishPollsOnceSuccess() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\ReportDownloader::downloadReport + * @covers \Google\AdsApi\AdManager\Util\v202408\ReportDownloader::downloadReport */ public function testDownloadReportAsStream() { @@ -151,7 +151,7 @@ public function testDownloadReportAsStream() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\ReportDownloader::downloadReport + * @covers \Google\AdsApi\AdManager\Util\v202408\ReportDownloader::downloadReport */ public function testDownloadReportBeforeCompleteThrowsEx() { diff --git a/tests/Google/AdsApi/AdManager/Util/v202308/StatementBuilderTest.php b/tests/Google/AdsApi/AdManager/Util/v202408/StatementBuilderTest.php similarity index 86% rename from tests/Google/AdsApi/AdManager/Util/v202308/StatementBuilderTest.php rename to tests/Google/AdsApi/AdManager/Util/v202408/StatementBuilderTest.php index 3cf360884..8d3b391e4 100644 --- a/tests/Google/AdsApi/AdManager/Util/v202308/StatementBuilderTest.php +++ b/tests/Google/AdsApi/AdManager/Util/v202408/StatementBuilderTest.php @@ -15,7 +15,7 @@ * limitations under the License. */ -namespace Google\AdsApi\AdManager\Util\v202308; +namespace Google\AdsApi\AdManager\Util\v202408; use InvalidArgumentException; use PHPUnit\Framework\TestCase; @@ -30,7 +30,7 @@ class StatementBuilderTest extends TestCase { /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementForPqlTable() { @@ -46,7 +46,7 @@ public function testToStatementForPqlTable() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementForPqlTableWithKeywords() { @@ -62,7 +62,7 @@ public function testToStatementForPqlTableWithKeywords() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementNotPqlTable() { @@ -77,7 +77,7 @@ public function testToStatementNotPqlTable() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementNoOffset() { @@ -91,7 +91,7 @@ public function testToStatementNoOffset() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementJustLimit() { @@ -102,7 +102,7 @@ public function testToStatementJustLimit() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementLimitAndOffset() { @@ -114,8 +114,8 @@ public function testToStatementLimitAndOffset() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::removeLimitAndOffset + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::removeLimitAndOffset */ public function testToStatementRemoveLimitAndOffset() { @@ -135,8 +135,8 @@ public function testToStatementRemoveLimitAndOffset() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::increaseOffsetBy + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::increaseOffsetBy */ public function testToStatementIncreaseOffsetNoInitialOffset() { @@ -156,8 +156,8 @@ public function testToStatementIncreaseOffsetNoInitialOffset() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::increaseOffsetBy + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::increaseOffsetBy */ public function testToStatementIncreaseOffsetWithInitialOffset() { @@ -177,7 +177,7 @@ public function testToStatementIncreaseOffsetWithInitialOffset() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementEmpty() { @@ -188,7 +188,7 @@ public function testToStatementEmpty() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::toStatement + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::toStatement */ public function testToStatementOffsetWithoutLimit() { @@ -198,7 +198,7 @@ public function testToStatementOffsetWithoutLimit() } /** - * @covers \Google\AdsApi\AdManager\Util\v202308\StatementBuilder::withBindVariableValue + * @covers \Google\AdsApi\AdManager\Util\v202408\StatementBuilder::withBindVariableValue */ public function testWithBindingVariable() {