CustomAffinityService get audience

54 views
Skip to first unread message

lubov fedorinova

unread,
May 29, 2019, 6:04:54 AM5/29/19
to AdWords API and Google Ads API Forum
Hi.
I want to get all the custom affinity audience, but I get null in the response.
I use CustomAffinityService

My request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809">
<SOAP-ENV:Header>
<ns2:RequestHeader>
<ns1:clientCustomerId>6138868817</ns1:clientCustomerId>
<ns1:developerToken>...</ns1:developerToken>
<ns1:userAgent>...</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns2:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns2:get>
<ns2:serviceSelector>
<ns1:fields>CustomAffinityId</ns1:fields>
<ns1:fields>Status</ns1:fields>
<ns1:fields>Description</ns1:fields>
<ns1:fields>Tokens</ns1:fields>
</ns2:serviceSelector>
</ns2:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>



Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ns2:ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809"
xmlns="https://adwords.google.com/api/adwords/cm/v201809">
<requestId>00058a03a390442f0a0dc6c28a078c03</requestId>
<serviceName>CustomAffinityService</serviceName>
<methodName>get</methodName>
<operations>1</operations>
<responseTime>99</responseTime>
</ns2:ResponseHeader>
</soap:Header>
<soap:Body>
<ns2:getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809"
xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809">
<ns2:rval>
<ns2:totalNumEntries>0</ns2:totalNumEntries>
</ns2:rval>
</ns2:getResponse>
</soap:Body>
</soap:Envelope>


Google Ads API Forum Advisor Prod

unread,
May 31, 2019, 4:06:56 PM5/31/19
to fedorin...@gmail.com, adwor...@googlegroups.com
Hi Lubov,

Thanks for reporting and sharing the SOAP logs. I've asked the team to investigate. I'll share updates as I hear from them.

Cheers
Anash

ref:_00D1U1174p._5001UAqx8T:ref

lubov fedorinova

unread,
Jun 5, 2019, 10:42:21 AM6/5/19
to AdWords API and Google Ads API Forum
Hi!
Any news?


пятница, 31 мая 2019 г., 23:06:56 UTC+3 пользователь adsapiforumadvisor написал:

Google Ads API Forum Advisor Prod

unread,
Jun 6, 2019, 9:55:41 PM6/6/19
to fedorin...@gmail.com, adwor...@googlegroups.com
Hi Lubov,

This is a limitation in the API, but we do not have any plans to fix this in the AdWords API since this is a behaviour change that will affect existing users. I'm checking with the team to confirm if this will be exposed in the new Google Ads API instead. I'll keep you posted.
Reply all
Reply to author
Forward
0 new messages