Hi,

I am attempting to add a negative keyword (as a campaign_criterion) to a 
PMax Campaign. This is an operation that is supported in the Google Ads UI, 
but when attempting to create such a campaign criterion through the API it 
gives me an error that "The operation is not allowed for the given context".

Here's the request ID of one of the failed attempts: 
*PZTXKeVOuQEqemhzhLuPLQ*
I'm using the *latest Google Ads API v19*.

I'm using GoogleAdsService.Mutate to send the request, with one 
campaign_criterion_operation, containing one "create" operation with these 
attributes set:
- campaign (the resource name of the pmax campaign)
- status of ENABLED
- negative is true
- keyword is set, with a keyword text and match type of EXACT

Looking forward to any advice.

Cheers, Robert

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/fe134221-b49a-4d55-b1a8-1cd2de4f93fen%40googlegroups.com.
  • Ad... Robert B
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to