PRODUCT_NAME_FOR_SOAP_HEADER
PRODUCT_NAME_FOR_SOAP_HEADER
Handles how HTTP and SOAP headers are set for Ad Manager API requests.
generateHttpHeaders(\Google\AdsApi\Common\AdsSession $session): array
Generates the required HTTP headers for the ads API request.
\Google\AdsApi\Common\AdsSession | $session | session information to use for the headers |
the HTTP headers
generateSoapHeaders(\Google\AdsApi\Common\AdsSession $session,\Google\AdsApi\Common\AdsServiceDescriptor $serviceDescriptor): \SoapHeader
Sets the required SOAP headers for the ads API request.
\Google\AdsApi\Common\AdsSession | $session | session information to use for the headers |
\Google\AdsApi\Common\AdsServiceDescriptor | $serviceDescriptor |
the SOAP headers
createSoapHeaderObject(\Google\AdsApi\Common\AdsServiceDescriptor $serviceDescriptor)
Creates a new instance of the SOAP header object used by the Ad Manager API.
\Google\AdsApi\Common\AdsServiceDescriptor | $serviceDescriptor |