Hi Juozas,
The OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.OperationAccessDenied#reason>
error
that you encountered means that the criteria is not possible to add to your
campaign with specific type. However, to better investigate this, could you
provide the complete SOAP request and response logs when you encountered
this error?
Thanks and regards,
Luis
Google Ads API Team
On 03/19/19 21:52:47 juozas wrote:
When creating a campaign, I am getting
app_1 | googleads.errors.GoogleAdsServerFault:
[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
operations[1].operand.criterion; trigger:'DISPLAY']
error. I am trying to add counttry, audience and language criterions to a
campaign. Everything works until I add audience criteria. Here is some of
the code:
operations.append({
'operator': 'ADD',
'operand': {
'campaignId': campaign_id,
'criterion': {
'xsi_type': 'CriterionUserList',
'userListId': audience.audience_id
}
}
})
campaign_criterion_service.mutate(operations)
How can I solve this, or get some more info about the problem?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/228f5866-bb2b-4b69-bcac-fe84c5f8b4ee%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/228f5866-bb2b-4b69-bcac-fe84c5f8b4ee%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/180ic4o0000000000v1v74002gf99sw60mjgcph6go30c1g68qjec1m%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.