appApprovalState = $appApprovalState; } /** * @return self::APP_APPROVAL_STATE_* */ public function getAppApprovalState() { return $this->appApprovalState; } /** * The externally visible ID of the app which can be used to integrate with * the AdMob SDK. This is a read only property. Example: ca-app- * pub-9876543210987654~0123456789 * * @param string $appId */ public function setAppId($appId) { $this->appId = $appId; } /** * @return string */ public function getAppId() { return $this->appId; } /** * Immutable. The information for an app that is linked to an app store. This * field is present if and only if the app is linked to an app store. * * @param AppLinkedAppInfo $linkedAppInfo */ public function setLinkedAppInfo(AppLinkedAppInfo $linkedAppInfo) { $this->linkedAppInfo = $linkedAppInfo; } /** * @return AppLinkedAppInfo */ public function getLinkedAppInfo() { return $this->linkedAppInfo; } /** * The information for an app that is not linked to any app store. After an * app is linked, this information is still retrivable. If no name is provided * for the app upon creation, a placeholder name will be used. * * @param AppManualAppInfo $manualAppInfo */ public function setManualAppInfo(AppManualAppInfo $manualAppInfo) { $this->manualAppInfo = $manualAppInfo; } /** * @return AppManualAppInfo */ public function getManualAppInfo() { return $this->manualAppInfo; } /** * Resource name for this app. Format is * accounts/{publisher_id}/apps/{app_id_fragment} Example: * accounts/pub-9876543210987654/apps/0123456789 * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Describes the platform of the app. Limited to "IOS" and "ANDROID". * * @param string $platform */ public function setPlatform($platform) { $this->platform = $platform; } /** * @return string */ public function getPlatform() { return $this->platform; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(App::class, 'Google_Service_AdMob_App');