Hi Adwords Team,
I have a problem regarding the AlertService which doesn't return declined payment alerts for one of the account on my MCC.
The account is also not shown on the Alert Page on the MCC.
here's my code:
$alertQuery = new AlertQuery();
$alertQuery->clientSpec = 'ALL';
$alertQuery->filterSpec = 'ALL';
$alertQuery->types = array('CREDIT_CARD_EXPIRING','DECLINED_PAYMENT','MANAGER_LINK_PENDING','MISSING_BANK_REFERENCE_NUMBER','PAYMENT_NOT_ENTERED');
$alertQuery->severities = array('GREEN', 'YELLOW', 'RED');
$alertQuery->triggerTimeSpec = 'ALL_TIME';
// Create selector.
$selector = new AlertSelector();
$selector->query = $alertQuery;
etc....
ScreenShots:
Alerts Page (containing 3 Accounts)
![]()
Billing Page for the Account (Not Included on the list above but has declined payment)
![]()
SOAP XML LOG:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201306" xmlns="
https://adwords.google.com/api/adwords/mcm/v201306">
<ns2:requestId>0004e32bd719ecf00a4275ef00007759</ns2:requestId>
<ns2:serviceName>AlertService</ns2:serviceName>
<ns2:methodName>get</ns2:methodName>
<ns2:operations>0</ns2:operations>
<ns2:responseTime>368</ns2:responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns="
https://adwords.google.com/api/adwords/mcm/v201306" xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201306">
<rval>
<ns2:totalNumEntries>1</ns2:totalNumEntries>
<ns2:Page.Type>AlertPage</ns2:Page.Type>
<entries>
<alertSeverity>RED</alertSeverity>
<alertType>PAYMENT_NOT_ENTERED</alertType>
<clientCustomerId>
6164984802</clientCustomerId>
<details>
<triggerTime>20130804 160855 PST8PDT</triggerTime>
</details>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>
6164984802 = red alert on screenshot1
9957059412 = account on screenshot 2. (not displayed on MCC Alerts page and is not returned on API call) Looking forward for your response :D
Cheers,
Jonathan