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.
For more options, visit https://groups.google.com/d/optout.
  • Unable ... juozas
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to