Unable to link the audience to ad group

100 views
Skip to first unread message

Srinivas Giduthuri

unread,
Jan 31, 2019, 6:36:54 AM1/31/19
to AdWords API and Google Ads API Forum
We are unable to link a contact based audience to the ad group. The following the SOAP request and response. Could you please help?

SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>133-941-2293</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>PMM Test Account (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, Java/1.8.0_201, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809">
            <operations>
                <operator>ADD</operator>
                <operand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns2:BiddableAdGroupCriterion">
                    <ns2:adGroupId>64826395566</ns2:adGroupId>
                    <ns2:criterion xsi:type="ns2:CriterionUserList">
                        <ns2:userListId>759790067</ns2:userListId>
                    </ns2:criterion>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

[31 Jan 2019 16:45:47,787-soapXmlLogger:INFO:main] SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">
            <requestId>000580bf25f3026e0a6293981602b8b2</requestId>
            <serviceName>AdGroupCriterionService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>146</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.criterion.userListId; trigger:'759790067']</faultstring>
            <detail>
                <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809">
                    <message>[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.criterion.userListId; trigger:'759790067']</message>
                    <ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OperationAccessDenied">
                        <fieldPath>operations[0].operand.criterion.userListId</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>criterion</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>userListId</field>
                        </fieldPathElements>
                        <trigger>759790067</trigger>
                        <errorString>OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
                        <ApiError.Type>OperationAccessDenied</ApiError.Type>
                        <reason>OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Request failed due to ApiException. Underlying ApiErrors:
  Error 0: OperationAccessDenied{apiErrorType=OperationAccessDenied, errorString=OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE, fieldPath=operations[0].operand.criterion.userListId, fieldPathElements=[FieldPathElement{field=operations, index=0}, FieldPathElement{field=operand}, FieldPathElement{field=criterion}, FieldPathElement{field=userListId}], reason=OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE, trigger=759790067}

googleadsapi...@google.com

unread,
Jan 31, 2019, 3:41:43 PM1/31/19
to AdWords API and Google Ads API Forum
Hello Srinivas, 

I was able to take a look at the specific User list and it looks like it is not compatible for Display network. Also, if the user lists consists of Customer Match with email address, address, or user ID, these audience lists are eligible to serve on Google Search, YouTube, and Gmail but will not be available on the Google Display Network. Could you please confirm if you're able to upload the list through the UI and see if you're able to target this? This will help us troubleshoot this further.

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Srinivas Giduthuri

unread,
Feb 1, 2019, 2:49:19 AM2/1/19
to AdWords API and Google Ads API Forum
Hello Bharani,

I got your point. But earlier to 4.1.0, we used to create the campaign with type DISPLAY for both contact-based audiences as well as the device-based audiences. Is this a recent change from the latest SDK as we are facing this after upgrading to 4.1.0? Could you please confirm this?

Thanks,
Srinivas

googleadsapi...@google.com

unread,
Feb 1, 2019, 4:02:13 PM2/1/19
to AdWords API and Google Ads API Forum
Hello Srinivas, 

We are not aware of any recent changes made to this feature. 

Thanks,
Bharani, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/499241b2-2749-464d-b145-23806de11d3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Srinivas Giduthuri

unread,
Feb 4, 2019, 8:25:49 AM2/4/19
to AdWords API and Google Ads API Forum
Hello Bharani,

Could you please let us know whether the DEVICE based audience is supported for SEARCH based campaign?

Thanks,
Srinivas

googleadsapi...@google.com

unread,
Feb 4, 2019, 3:08:40 PM2/4/19
to AdWords API and Google Ads API Forum
Hello Srinivas, 

Could you please share a screenshot of the UI for the Device targeting you're referring to, so I can address your concern?

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

nitin....@pega.com

unread,
Feb 4, 2019, 3:22:14 PM2/4/19
to AdWords API and Google Ads API Forum
Your documentation indicates that CrmBasedUserList is available for Display network:  https://developers.google.com/adwords/api/docs/guides/remarketing#customer_match_with_email_address_address_or_user_id. There is no indication that Customer Match with Device ID has any specific limitations. We would appreciate a clarification of what the intended limitations are for Customer Match with Device ID vs. E-mail/Phone Number. 

We would also appreciate why what we were doing before did work and now no longer does. This is causing a bug which is holding up a major release of our product. 

Srinivas Giduthuri

unread,
Feb 5, 2019, 2:24:41 AM2/5/19
to AdWords API and Google Ads API Forum

nitin....@pega.com

unread,
Feb 5, 2019, 1:49:55 PM2/5/19
to AdWords API and Google Ads API Forum
Please share what types of list are allowed with which campaign types. This documentation does not indicate any restriction on using customer match with display, search, or video campaign types. It does not indicate any specific limitations based on wether using device IDs, emails, or phone numbers.



On Thursday, January 31, 2019 at 3:41:43 PM UTC-5, googleadsapi-forumadvisor wrote:

googleadsapi...@google.com

unread,
Feb 5, 2019, 6:46:23 PM2/5/19
to nitin....@pega.com, AdWords API and Google Ads API Forum
Hello,

I've been working with user lists for years, so this was sent over to me. I saw that all the user lists in your account that you referenced are currently Closed. Also many of them are very small as if you may have uploaded the same data over and over again; your code may be testing this by uploading the same data, but our side removes duplicates. I'm mentioning all this to say that an error will happen if you try to target a user list that is either Closed or too small. 

Please try making sure that the list is open and also making sure that the list has thousands of items in it. Then, you should be able to target it in the many cases where you used to be able to do so before.

Cheers,
Nadine Sundquist, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
Reply all
Reply to author
Forward
0 new messages