Re: CREATE_OPERATION_NOT_PERMITTED

2022-10-07 Thread Lukas Kelling
Hello Yasar,

thank you for the quick confirmation. Have a nice day!

Regards,
Lukas

On Thursday, 6 October 2022 at 21:26:59 UTC+2 adsapi wrote:

> Hi Lukas,
>
> Thanks for posting your concern on this thread.
>
> Yes it is true that the ad customizer feeds have not been removed. Also, 
> the only feed *placeholder types* 
> 
>  
> that are not yet deprecated are:
>
>- Ad customizers 
>- Location extensions (and affiliate location extensions) 
>- Dynamic remarketing (Flight, Hotel, Real estate, Travel, Location, 
>Job, and Custom) 
>
> With regards to the errors that you encountered, both Ads UI and API is 
> working as expected. This is because the feed is attached to an expanded 
> text ad. By updating the feed and its contents, it would be changing the 
> content of an expanded text ad. This is why there is an error.  You may 
> note that you can no longer create or edit Expanded Text Ads. If you 
> attempt to create an ETA you will receive the error 
> CANNOT_CREATE_DEPRECATED_ADS. If you attempt to modify an ETA you will 
> receive the error CANNOT_MODIFY_AD. Expanded text ads will continue to 
> serve, and you will still see reports on their performance going 
> forward.You are still able to pause and resume your expanded text ads, or 
> remove them if needed. However, you may use Responsive Search Ads 
> 
>  
> (RSA) instead.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
>  
>
>
> ref:_00D1U1174p._5004Q2cwYVc:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/17a8d6f6-a0b2-444b-a4a8-a22febb678cfn%40googlegroups.com.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-10-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Lukas,

Thanks for posting your concern on this thread.

Yes it is true that the ad customizer feeds have not been removed. Also, the 
only feed placeholder types that are not yet deprecated are:

Ad customizers
Location extensions (and affiliate location extensions)
Dynamic remarketing (Flight, Hotel, Real estate, Travel, Location, Job, and 
Custom)

With regards to the errors that you encountered, both Ads UI and API is working 
as expected. This is because the feed is attached to an expanded text ad. By 
updating the feed and its contents, it would be changing the content of an 
expanded text ad. This is why there is an error.  You may note that you can no 
longer create or edit Expanded Text Ads. If you attempt to create an ETA you 
will receive the error CANNOT_CREATE_DEPRECATED_ADS. If you attempt to modify 
an ETA you will receive the error CANNOT_MODIFY_AD. Expanded text ads will 
continue to serve, and you will still see reports on their performance going 
forward.You are still able to pause and resume your expanded text ads, or 
remove them if needed. However, you may use Responsive Search Ads (RSA) instead.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2cwYVc:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/tZ6RC0RJCJCI00bAz18MHhTAOzK225EHTzwQ%40sfdc.net.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-10-06 Thread Lukas Kelling
Hello,

reopening this thread to ask for *confirmation* from Google Ads API Team.

This page 
(https://developers.google.com/google-ads/api/docs/extensions/feeds/feed-items) 
mentions ad customizers as one of "the only feed placeholder types that are 
not yet deprecated". 

However, while ad customizer *feeds *have not been removed from Google Ads 
accounts & new ones can still be created, there appears to be no way to add 
new *feed items *to ad customizer feeds or modify existing ones, as other 
users in this thread mentioned. 

This matches error messages from Google Ads UI: 

   - Adding a feed item 
  - UI
  [image: add_ad_customizer_feed_feed_item.png]
  - API
  [image: add_ad_customizer_feed_feed_item_google_ads_api.png]
   - Updating a feed item
  - UI
  [image: update_ad_customizer_feed_feed_item.png]
  
Can you please confirm whether there is yet any way to add or edit ad 
customizer feed items (meant for deprecated expanded text ads, not 
responsive search ads) & provide some clarification?

Thank you,
Lukas
On Tuesday, 9 August 2022 at 12:49:02 UTC+2 adsapi wrote:

> Hi Nora,
>
> Allow me to provide the correct link for the *API document* that I've 
> mentioned previously. I am referring to this link: 
> https://developers.google.com/google-ads/api/docs/start .
>
> Let me know if you have further questions.
>
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cwYVc:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e61f5a10-68df-419a-99f3-455db1a31cf7n%40googlegroups.com.


RE: CREATE_OPERATION_NOT_PERMITTED

2022-09-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anh,


Thanks for reaching out to the Google Ads API team. I hope you are doing well 
today.


With regard to your concern, to better check this concern, could you please 
provide the complete Ads API logs (request and response with request-id) so our 
team further investigates this issue and gives guidance on this?  If you 
haven't yet, logging can be enabled by navigating to the Client libraries > 
Your client library (ex. Java) > Logging documentation, which you can access 
from this link.


You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.


Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2eMlpP:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4ym7J0RI2P1V00FNc43ZcQQZCCV1p7FdD9Rg%40sfdc.net.


CREATE_OPERATION_NOT_PERMITTED

2022-09-10 Thread anh Lê
I send request api create Campaign Google Shopping, but error

response : 
"message": "Unauthorized CREATE operation in invoking a service's mutate 
method.",
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 }, { "fieldName": "create" }, { "fieldName": "shopping_setting" } ] }
"requestId": "ygZK5ipesJDCWx9eURb_AA"

PostData :

'operations' => [
'create' => [ 
// Trang5j thái chiến dịch
'status' => 'UNSPECIFIED',
// Trạng thái phân phát chiến dịch
'servingStatus' => 'UNSPECIFIED',
// Trạng thái tối ưu chiến dịch
'adServingOptimizationStatus' => 'UNSPECIFIED',
'advertisingChannelType' => 'SHOPPING',
'advertisingChannelSubType' => 'SHOPPING_SMART_ADS',
'shopping_setting' => [
//"feed_label" => "vn",
"merchantId" => $merchant_id,
"salesCountry" => 'VN',
"campaignPriority" => 3,
"enableLocal" => false
],
'name' => 'Chiến dịch đầu tiên',
//'campaignBudget' => 'customers/7387834446/campaignBudgets/11502236316',
'campaignBudget' => 'customers/7387834446/campaignBudgets/11502495099',
// 'targetCpa' => [
// 'targetCpaMicros' => '50',
// 'cpcBidCeilingMicros' => '100',
// 'cpcBidFloorMicros' => '2000'
// ],
'maximizeConversionValue' => [
"targetRoas" => 7,
// "cpcBidCeilingMicros" => "1000",
// "cpcBidFloorMicros" => "100"
]
]
],

Please help me

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb270496-a700-4cf3-975a-a1384ab7906fn%40googlegroups.com.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-08-08 Thread Nora
Hello,
thank you for the quick reply. This is exactly what I had already 
suspected. 
Only this behavior has not been documented so far
https://developers.google.com/google-ads/api/docs/ads/customize-ads?hl=en

Regards
Nora

adsapi schrieb am Montag, 8. August 2022 um 15:08:02 UTC+2:

> Hi Nora, 
>
> Thank you for the reply. To give you the background of this error, it 
> occurs when you are modifying a feed using an API which is attached to an 
> expanded text Ads. However, so that we can check if this is indeed a 
> scenario that you encountered, it would be helpful if you can provide us 
> the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end also with error as also mentioned by my colleague.
>
> For logging instructions for our Java 
> 
> , .NET 
> 
> , PHP 
> 
> , Python 
> 
> , Ruby 
> 
>  and Perl 
>  
> Ads API Client 
> Libraries. If you are using our REST interface 
>  then the 
> full multi line curl command line is a request log and adding curl command 
> line option '-i' will also generate a response log.
>
> For security privacy purposes, you can provide it via the Reply* privately to 
> author* option. If this option is not available, then send it instead on 
> this email address googleadsa...@google.com.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2cwYVc:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/318a9de1-4c80-4bd8-9a3e-745e69d8d1ecn%40googlegroups.com.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-08-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Nora,

Thank you for the reply. To give you the background of this error, it occurs 
when you are modifying a feed using an API which is attached to an expanded 
text Ads. However, so that we can check if this is indeed a scenario that you 
encountered, it would be helpful if you can provide us the complete request and 
response logs with request ID and request header generated on your end also 
with error as also mentioned by my colleague.

For logging instructions for our Java, .NET, PHP, Python, Ruby and Perl Ads API 
Client Libraries. If you are using our REST interface then the full multi line 
curl command line is a request log and adding curl command line option '-i' 
will also generate a response log.

For security privacy purposes, you can provide it via the Reply privately to 
author option. If this option is not available, then send it instead on this 
email address googleadsapi-supp...@google.com.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2cwYVc:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/hMn4_0RGASGS00QJ-ti3THTu6SWwuQAO742g%40sfdc.net.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-08-08 Thread Nora
I see a similar error message when updating my AD_CUSTOMIZER feed:
"OperationAccessDeniedError.UPDATE_OPERATION_NOT_PERMITTED: Unauthorized 
UPDATE operation in invoking a service's mutate method., trigger: 
AD_PLACEHOLDER"

Could it be that you are not allowed to update these FeedItems anymore, 
because the CustomizedAds are ETAs and these are not allowed to be updated 
anymore.
It is not documented anywhere, but would make sense.

adsapi schrieb am Dienstag, 19. Juli 2022 um 03:37:31 UTC+2:

> Hi,
>
> Thank you for posting your concern.
>
> To take a closer look at the issue, could you provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end with error? These details will be helpful in our investigation.
>
> If you haven't enabled the logging of the API transactions for the 
> specific client library that you are using, then please refer to the 
> specific guide below: 
>
>- Java - 
>https://developers.google.com/google-ads/api/docs/client-libs/java/logging 
>- .Net - 
>
> https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging 
>- PHP - 
>https://developers.google.com/google-ads/api/docs/client-libs/php/logging 
>- Python - 
>
> https://developers.google.com/google-ads/api/docs/client-libs/python/logging 
>- Ruby - 
>https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging 
>- Perl - 
>https://developers.google.com/google-ads/api/docs/client-libs/perl/logging 
>
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cwYVc:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7aa10c89-a181-4983-9bf6-2d2ce415b63cn%40googlegroups.com.


RE: CREATE_OPERATION_NOT_PERMITTED

2022-07-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for posting your concern.

To take a closer look at the issue, could you provide the complete request and 
response logs with request ID and request header generated on your end with 
error? These details will be helpful in our investigation.

If you haven't enabled the logging of the API transactions for the specific 
client library that you are using, then please refer to the specific guide 
below:

Java - 
https://developers.google.com/google-ads/api/docs/client-libs/java/logging
.Net - 
https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging
PHP - https://developers.google.com/google-ads/api/docs/client-libs/php/logging
Python - 
https://developers.google.com/google-ads/api/docs/client-libs/python/logging
Ruby - 
https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
Perl - 
https://developers.google.com/google-ads/api/docs/client-libs/perl/logging


You can provide it via Reply privately to author option. If this option is not 
available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2cwYVc:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CbWKV0RF8V6200dmoY4IyETFWJkmwrtk0UVw%40sfdc.net.


Re: CREATE_OPERATION_NOT_PERMITTED

2022-07-18 Thread So
My code is below:

var feedItemService = 
this.Accessor.AdsClient.GetService(Services.V11.FeedItemService);
var operations = new LinkedList();
var feedResourceName = ResourceNames.Feed(4671073053, 75891781);
var feedItem = new FeedItem
{
Feed = feedResourceName
};
var model = new FeedItemAttributeValue
{
StringValue = "model01",
FeedAttributeId = 1,
};
feedItem.AttributeValues.Add(model);
var operation = new FeedItemOperation
{
Create = feedItem
};
operations.AddLast(operation);
var request = new MutateFeedItemsRequest(){ CustomerId = "4671073053", 
ValidateOnly = false, };
request.Operations.AddRange(operations.ToArray());
var response = await feedItemService.MutateFeedItemsAsync(request).Stay();

2022年7月19日火曜日 9:17:50 UTC+9 So:

> To  Google Ads API Forum Advisor
> Hi. I wanna add a new feeditem to one of my feeds via Google Ads API, but 
> I can't.
> The error message that I have been getting is below:
>
> {{ "errorCode": { "operationAccessDeniedError": 
> "CREATE_OPERATION_NOT_PERMITTED" }, "message": "Unauthorized CREATE 
> operation in invoking a service's mutate method.", "trigger": { 
> "stringValue": "AD_PLACEHOLDER" }, "location": { "fieldPathElements": [ { 
> "fieldName": "operations", "index": 0 } ] } }}
>
> My code did work perfectly on Google Ads API version 8, but now is not 
> working on version 11. I am really confused, and so need any help.
>
> Thanks!
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/df76dbbc-7c22-47e6-8977-f923668b5c73n%40googlegroups.com.


CREATE_OPERATION_NOT_PERMITTED

2022-07-18 Thread So
To  Google Ads API Forum Advisor
Hi. I wanna add a new feeditem to one of my feeds via Google Ads API, but I 
can't.
The error message that I have been getting is below:

{{ "errorCode": { "operationAccessDeniedError": 
"CREATE_OPERATION_NOT_PERMITTED" }, "message": "Unauthorized CREATE 
operation in invoking a service's mutate method.", "trigger": { 
"stringValue": "AD_PLACEHOLDER" }, "location": { "fieldPathElements": [ { 
"fieldName": "operations", "index": 0 } ] } }}

My code did work perfectly on Google Ads API version 8, but now is not 
working on version 11. I am really confused, and so need any help.

Thanks!




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f08ee0b-912c-4f1b-bf21-e357e6354c67n%40googlegroups.com.


Re: CREATE_OPERATION_NOT_PERMITTED for Display Smart campaign

2022-04-15 Thread Andrew Hrimov
Can someone help me and explain, maybe something is wrong with hierarchy or 
account settings for client accounts? How I can avoid this error (main idea 
to operate with Manager account and post ads from it client accounts). Also 
I can attach request_id for proper investigation if it is not obvious.

Thanks in advance!

четверг, 14 апреля 2022 г. в 12:27:27 UTC+3, Andrew Hrimov: 

> As I found else, not all my customers from Test Manager B can create 
> campaign too, for example, my manager customer_id 745-648-6668 has 3 client 
> accounts:
> 757-944-3809 <(757)%20944-3809>, 731-759-4472 <(731)%20759-4472>, 
> 226-977-9954 <(226)%20977-9954>. And campaign creation request fails just 
> with the last one client customer_id. Can you explain, what I'm doing 
> wrong, login_customer_id is passed (my manager account customer_id that has 
> access (from UI panel *Tools & settings -> Access & Security -> Managers*
> ).
> Thanks again!
>
> четверг, 14 апреля 2022 г. в 10:03:16 UTC+3, Andrew Hrimov: 
>
>> Hello everyone, I'm developing application in Django and using client 
>> library for GoogleAds (google-ads). I have Manager account A for first 
>> email, and Test Manager account B with some Test Client accounts, testing 
>> was OK (using Web-app flow, retrieve refresh token and operate with Test 
>> Manager account B, using developer token from Manager account A).
>>
>> Problem appeared, when I tried to access to another Test Manager account 
>> C with some customers, I have such error 
>> *errors {*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *  error_code {operation_access_denied_error: 
>> CREATE_OPERATION_NOT_PERMITTED  }  message: "Unauthorized CREATE operation 
>> in invoking a service\'s mutate method."  trigger {string_value: 
>> "DISPLAY_SMART_CAMPAIGN"  }  location {field_path_elements {  
>> field_name: "operations"  index: 0}field_path_elements {  
>> field_name: "create"}field_path_elements {  field_name: 
>> "advertising_channel_sub_type"}*
>>
>> *  }}*
>>
>> Accessing account B with it customers did not cause that error, I decided 
>> that smith wrong with customers on Test Manager account C, because I have 
>> added Test Client from account B and it worked. Can you help me with that?
>> Runnable code
>> *...*
>>
>>
>>
>>
>>
>>
>> *budget_resource_name = create_campaign_budget( client=client, 
>> customer_id=customer_id, campaign=campaign)campaign_resource_name = 
>> create_campaign( client=client, customer_id=customer_id, campaign=campaign, 
>> budget_name=budget_resource_name)*
>> *...*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *def create_campaign_budget(client, customer_id: str, campaign: 
>> Campaign): """Adds a campaign budget to the given client account. Args: 
>> client: an initialized GoogleAdsClient instance. customer_id: a client 
>> customer ID str. campaign: campaign instance (model) Returns: A str of the 
>> resource name for the newly created campaign budget. """ 
>> campaign_budget_operation = client.get_type("CampaignBudgetOperation") 
>> campaign_budget = campaign_budget_operation.create campaign_budget.name 
>> <http://campaign_budget.name> = f'CampaignBudget for Campaign #{campaign.pk 
>> <http://campaign.pk>}' campaign_budget.amount_micros = 
>> int(campaign.daily_budget * 10_000 * 100) campaign_budget.delivery_method = 
>> ( client.enums.BudgetDeliveryMethodEnum.STANDARD ) 
>> campaign_budget.explicitly_shared = False campaign_budget_service = 
>> client.get_service("CampaignBudgetService") response = 
>> campaign_budget_service.mutate_campaign_budgets( customer_id=customer_id, 
>> operations=[campaign_budget_operation] ) resource_name = 
>> response.results[0].resource_name campaign.google_budget_id = 
>> resource_name.split('/')[-1] campaign.save() return resource_name*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
&

Re: CREATE_OPERATION_NOT_PERMITTED for Display Smart campaign

2022-04-14 Thread Andrew Hrimov
As I found else, not all my customers from Test Manager B can create 
campaign too, for example, my manager customer_id 745-648-6668 has 3 client 
accounts:
757-944-3809, 731-759-4472, 226-977-9954. And campaign creation request 
fails just with the last one client customer_id. Can you explain, what I'm 
doing wrong, login_customer_id is passed (my manager account customer_id 
that has access (from UI panel *Tools & settings -> Access & Security -> 
Managers*).
Thanks again!

четверг, 14 апреля 2022 г. в 10:03:16 UTC+3, Andrew Hrimov: 

> Hello everyone, I'm developing application in Django and using client 
> library for GoogleAds (google-ads). I have Manager account A for first 
> email, and Test Manager account B with some Test Client accounts, testing 
> was OK (using Web-app flow, retrieve refresh token and operate with Test 
> Manager account B, using developer token from Manager account A).
>
> Problem appeared, when I tried to access to another Test Manager account C 
> with some customers, I have such error 
> *errors {*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *  error_code {operation_access_denied_error: 
> CREATE_OPERATION_NOT_PERMITTED  }  message: "Unauthorized CREATE operation 
> in invoking a service\'s mutate method."  trigger {string_value: 
> "DISPLAY_SMART_CAMPAIGN"  }  location {field_path_elements {  
> field_name: "operations"  index: 0}field_path_elements {  
> field_name: "create"}field_path_elements {  field_name: 
> "advertising_channel_sub_type"}*
>
> *  }}*
>
> Accessing account B with it customers did not cause that error, I decided 
> that smith wrong with customers on Test Manager account C, because I have 
> added Test Client from account B and it worked. Can you help me with that?
> Runnable code
> *...*
>
>
>
>
>
>
> *budget_resource_name = create_campaign_budget( client=client, 
> customer_id=customer_id, campaign=campaign)campaign_resource_name = 
> create_campaign( client=client, customer_id=customer_id, campaign=campaign, 
> budget_name=budget_resource_name)*
> *...*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *def create_campaign_budget(client, customer_id: str, campaign: Campaign): 
> """Adds a campaign budget to the given client account. Args: client: an 
> initialized GoogleAdsClient instance. customer_id: a client customer ID 
> str. campaign: campaign instance (model) Returns: A str of the resource 
> name for the newly created campaign budget. """ campaign_budget_operation = 
> client.get_type("CampaignBudgetOperation") campaign_budget = 
> campaign_budget_operation.create campaign_budget.name 
> <http://campaign_budget.name> = f'CampaignBudget for Campaign #{campaign.pk 
> <http://campaign.pk>}' campaign_budget.amount_micros = 
> int(campaign.daily_budget * 10_000 * 100) campaign_budget.delivery_method = 
> ( client.enums.BudgetDeliveryMethodEnum.STANDARD ) 
> campaign_budget.explicitly_shared = False campaign_budget_service = 
> client.get_service("CampaignBudgetService") response = 
> campaign_budget_service.mutate_campaign_budgets( customer_id=customer_id, 
> operations=[campaign_budget_operation] ) resource_name = 
> response.results[0].resource_name campaign.google_budget_id = 
> resource_name.split('/')[-1] campaign.save() return resource_name*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *def create_campaign(client, customer_id: str, campaign: Campaign, 
> budget_name: str): """Adds a Display campaign to the given client account 
> using the given budget. Args: client: an initialized GoogleAdsClient 
> instance. customer_id: a client customer ID str. campaign: campaign 
> instance (model) budget_name: the resource name str for a campaign budget. 
> Returns: A str of the resource name for the newly created campaign. """ 
> google_campaign_service = client.get_service("CampaignService") 
> google_campaign_operation = client.get_type("CampaignOperation") 
> google_campaign = google_campaign_operation.create google_campaign.name 
> <http://google_campaign.name> = f'{campaign.name <http://campaign.name>} 
> #{campaign.pk <http://campaign.pk>}' # must be unique so add pk to name 
> advertising_channel_type_enum = client.enums.AdvertisingChannelTypeEnum 
> googl

CREATE_OPERATION_NOT_PERMITTED for Display Smart campaign

2022-04-14 Thread Andrew Hrimov
Hello everyone, I'm developing application in Django and using client 
library for GoogleAds (google-ads). I have Manager account A for first 
email, and Test Manager account B with some Test Client accounts, testing 
was OK (using Web-app flow, retrieve refresh token and operate with Test 
Manager account B, using developer token from Manager account A).

Problem appeared, when I tried to access to another Test Manager account C 
with some customers, I have such error 
*errors {*

















*  error_code {operation_access_denied_error: 
CREATE_OPERATION_NOT_PERMITTED  }  message: "Unauthorized CREATE operation 
in invoking a service\'s mutate method."  trigger {string_value: 
"DISPLAY_SMART_CAMPAIGN"  }  location {field_path_elements {  
field_name: "operations"  index: 0}field_path_elements {  
field_name: "create"}field_path_elements {  field_name: 
"advertising_channel_sub_type"}*

*  }}*

Accessing account B with it customers did not cause that error, I decided 
that smith wrong with customers on Test Manager account C, because I have 
added Test Client from account B and it worked. Can you help me with that?
Runnable code
*...*






*budget_resource_name = create_campaign_budget( client=client, 
customer_id=customer_id, campaign=campaign)campaign_resource_name = 
create_campaign( client=client, customer_id=customer_id, campaign=campaign, 
budget_name=budget_resource_name)*
*...*

























*def create_campaign_budget(client, customer_id: str, campaign: Campaign): 
"""Adds a campaign budget to the given client account. Args: client: an 
initialized GoogleAdsClient instance. customer_id: a client customer ID 
str. campaign: campaign instance (model) Returns: A str of the resource 
name for the newly created campaign budget. """ campaign_budget_operation = 
client.get_type("CampaignBudgetOperation") campaign_budget = 
campaign_budget_operation.create campaign_budget.name = f'CampaignBudget 
for Campaign #{campaign.pk}' campaign_budget.amount_micros = 
int(campaign.daily_budget * 10_000 * 100) campaign_budget.delivery_method = 
( client.enums.BudgetDeliveryMethodEnum.STANDARD ) 
campaign_budget.explicitly_shared = False campaign_budget_service = 
client.get_service("CampaignBudgetService") response = 
campaign_budget_service.mutate_campaign_budgets( customer_id=customer_id, 
operations=[campaign_budget_operation] ) resource_name = 
response.results[0].resource_name campaign.google_budget_id = 
resource_name.split('/')[-1] campaign.save() return resource_name*














































*def create_campaign(client, customer_id: str, campaign: Campaign, 
budget_name: str): """Adds a Display campaign to the given client account 
using the given budget. Args: client: an initialized GoogleAdsClient 
instance. customer_id: a client customer ID str. campaign: campaign 
instance (model) budget_name: the resource name str for a campaign budget. 
Returns: A str of the resource name for the newly created campaign. """ 
google_campaign_service = client.get_service("CampaignService") 
google_campaign_operation = client.get_type("CampaignOperation") 
google_campaign = google_campaign_operation.create google_campaign.name = 
f'{campaign.name} #{campaign.pk}' # must be unique so add pk to name 
advertising_channel_type_enum = client.enums.AdvertisingChannelTypeEnum 
google_campaign.advertising_channel_type = 
advertising_channel_type_enum.DISPLAY advertising_channel_sub_type_enum = ( 
client.enums.AdvertisingChannelSubTypeEnum ) # Smart Display campaign 
requires the advertising_channel_sub_type as # "DISPLAY_SMART_CAMPAIGN". 
google_campaign.advertising_channel_sub_type = ( 
advertising_channel_sub_type_enum.DISPLAY_SMART_CAMPAIGN ) status_enum = 
client.enums.CampaignStatusEnum if config('GOOGLE_STATUS_AD') == 'ENABLED': 
google_campaign.status = status_enum.ENABLED else: google_campaign.status = 
status_enum.PAUSED # Smart Display campaign requires the TargetCpa bidding 
strategy. google_campaign.maximize_conversions.target_cpa = False 
google_campaign.campaign_budget = budget_name # Target: Presence for 
geotargeting presence_pos_type = 
client.enums.PositiveGeoTargetTypeEnum.PRESENCE 
google_campaign.geo_target_type_setting.positive_geo_target_type = 
presence_pos_type # Run dates date_format = '%Y%m%d' start_date, end_date = 
campaign.start_date, campaign.end_date google_campaign.start_date = 
start_date.strftime(date_format) google_campaign.end_date = 
end_date.strftime(date_format) google_campaign_response = 
google_campaign_service.mutate_campaigns( customer_id=customer_id, 
operations=[google_campaign_operation] ) resource_name = 
google_campaign_response.results[0].resource_name*

Interesting tha

Re: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-02 Thread Shady Kayof
Thank you very much! you can close the thread :)

On Wednesday, October 2, 2019 at 6:16:53 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Shady, 
>
> I'm glad that you were able to create the campaigns. You're right. The 
> test accounts will appear in the UI with status as cancelled. Please let us 
> know if you have any other questions. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb82e8a6-5c2d-4412-8b27-87e310ceb870%40googlegroups.com.


Re: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-02 Thread Google Ads API Forum Advisor Prod
Hi Shady,

I'm glad that you were able to create the campaigns. You're right. The test 
accounts will appear in the UI with status as cancelled. Please let us know if 
you have any other questions.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eeu2c0PYR6FG00S0x1_tUfQ7GlN25veDn7yg%40sfdc.net.


Re: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-02 Thread Shady Kayof
Great! i managed to create new account under the test manager account and 
then adding campaign under it, but for some reason the new accounts are 
created wuth status 'canceled'
 is this because I'm using test manager?

Thank you very much!

On Wednesday, October 2, 2019 at 5:08:48 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Shady, 
>
> You may refer to this guide 
> 
>  
> to create new client accounts. Once the account is created, you may use 
> that to create new campaigns. Can you please give this a try and let us 
> know if you have any issues?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e9dade81-26de-4093-b390-737147dbe557%40googlegroups.com.


Re: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-02 Thread Google Ads API Forum Advisor Prod
Hi Shady,

You may refer to this guide to create new client accounts. Once the account is 
created, you may use that to create new campaigns. Can you please give this a 
try and let us know if you have any issues?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/uMIVi0PYR39G00RRcCK0jsQ6K-qNQeBWBlzw%40sfdc.net.


Re: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-02 Thread Shady Kayof
Hi, The account I'm using is a *test* manager account, i cant find a way to 
create client test account.

When i try to link my customer account to it i get this error: "Manager and 
client account setting type is not compatible"

What is the issue here?

Appreciate your assistance.

On Tuesday, October 1, 2019 at 8:35:33 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Shady, 
>
> Thank you for sharing the logs privately. The client customer Id from the 
> logs belongs to a manager account. You will be able to create campaigns in 
> a client account. Please refer to this guide 
>  for the details on 
> account organization. Can you create a client account and create the 
> campaigns for a client account and let us know if you have any issues?
>
> Regards,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/07fa92a2-6919-4334-8050-2315f065436d%40googlegroups.com.


RE: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-10-01 Thread Google Ads API Forum Advisor Prod
Hi Shady,

Thank you for sharing the logs privately. The client customer Id from the logs 
belongs to a manager account. You will be able to create campaigns in a client 
account. Please refer to this guide for the details on account organization. 
Can you create a client account and create the campaigns for a client account 
and let us know if you have any issues?

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/UfjCk0PYPI6L0093eHiCHlRFWe7FJFTd6OCw%40sfdc.net.


RE: Add campaign failuINVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-09-30 Thread Google Ads API Forum Advisor Prod
Hi Shady,

The error is usually triggered if the user is not allowed to perform the mutate 
action. Could you please check the access level for the email address used for 
generating the OAuth credentials? If you're still having an issue, could you 
please share the request and response logs without redacting along with the 
email address used for authentication, to check this further? You can reply 
back via Reply privately to author option.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKLUCN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/QOD9l0PYNP28005u3l0FyMTeus9tWAZE8hwQ%40sfdc.net.


Add campaign failure: INVALID_ARGUMENT/CREATE_OPERATION_NOT_PERMITTED

2019-09-30 Thread Shady Kayof
Im using a test google ads account, I managed to make get_campaigns API 
request using the google-ads-python repository examples 
(https://github.com/googleads/google-ads-python/tree/master)

But when trying to add campaign using the script 
(https://developers.google.com/google-ads/api/docs/campaigns/create-campaigns) 
i get the following errors:


google.ads.google_ads.errors.GoogleAdsException(<_Rendezvous of RPC that 
terminated with:

status = StatusCode.
INVALID_ARGUMENT

details = "Request 
contains an invalid argument."

debug_error_string = 
"{"created":"@1569844148.467055000","description":"Error received from peer 
ipv4:216.58.213.106:443","file":"src/core/lib/surface/call.cc","file_line
":1055,"grpc_message":"Request contains an invalid argument.","grpc_status
":3}"

>,

<_Rendezvous of RPC that 
terminated with:

status = StatusCode.
INVALID_ARGUMENT

details = "Request 
contains an invalid argument."

debug_error_string = 
"{"created":"@1569844148.467055000","description":"Error received from peer 
ipv4:216.58.213.106:443","file":"src/core/lib/surface/call.cc","file_line
":1055,"grpc_message":"Request contains an invalid argument.","grpc_status
":3}"

    >,

errors {

  error_code {


operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED

  }

  message: "Unauthorized 
CREATE operation in invoking a service\'s mutate method."

  trigger {

string_value: ""

  }

  location {

field_path_elements {

  field_name: 
"operations"

  index {

  }

}

  }

},

'jBmzUcpq5IFP1R7Ig9B-gw')

My test account access level is admin. i cant see why is this happening?

thanks y'all!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/db603ebe-c0d4-4e0a-b693-d71393c73c58%40googlegroups.com.


RE: [1-8067000026362] Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-05-07 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Mohammed,

Thank you for reaching out, and apologies that you've run into this issue.

There is actually a separate whitelist for UAC in the Google Ads API, which
is why you're unable to access those assets in the Google Ads API. The
problem is temporary and will be resolved so that you can access App
Campaign assets in the Google Ads API in the same way you were able to in
the AdWords API. I spoke with the person who is managing this project and
they expect to post more information about this on the developer blog
 very soon, so please monitor the
blog for more information.

Hope that helps, let me know if you have any further questions.

Best,
Ben Karl, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/04/19 05:01:04 mohammad.76ki...@gmail.com wrote:

My question is why this is happening for App Campaign in google-ads api.
Because I could create and manage Universal App Campaign in adwords-api but
here we have this rule which is against your motto that you can access all
functionality using adwords in google-ads-api.
And I have another question that how can I access an App Campaign assets in
google-ads-api?

On Thursday, May 2, 2019 at 8:08:20 PM UTC+4:30, googleadsapi-forumadvisor
wrote:

Hello Mohammad,

Regret the delay as I was checking this internally with the team. The App
Campaigns creation and management functionality is currently available on
whitelisted accounts. You will need to contact your Google representative
if you are interested in having your account whitelisted.

We will be updating our guide shortly so that it is more clear. Let me know
if you have any questions.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/3b83a809-48c5-4cdb-9367-7fe758a2de5b%40googlegroups.com

.
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/1a0plk010l1fca0007gdpsw64mjgc1m6so30c1g68r36dhi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [1-8067000026362] Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-05-04 Thread Mohammad Reza Kiani
My question is why this is happening for App Campaign in google-ads api. 
Because I could create and manage Universal App Campaign in adwords-api but 
here we have this rule which is against your motto that you can access all 
functionality using adwords in google-ads-api.
And I have another question that how can I access an App Campaign assets in 
google-ads-api?

On Thursday, May 2, 2019 at 8:08:20 PM UTC+4:30, googleadsapi-forumadvisor 
wrote:
>
> Hello Mohammad, 
>
> Regret the delay as I was checking this internally with the team. The App 
> Campaigns creation and management functionality is currently available on 
> whitelisted accounts. You will need to contact your Google representative 
> if you are interested in having your account whitelisted. 
>
> We will be updating our guide shortly so that it is more clear. Let me 
> know if you have any questions.
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/3b83a809-48c5-4cdb-9367-7fe758a2de5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [1-8067000026362] Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-05-02 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Mohammad,

Regret the delay as I was checking this internally with the team. The App
Campaigns creation and management functionality is currently available on
whitelisted accounts. You will need to contact your Google representative
if you are interested in having your account whitelisted.

We will be updating our guide shortly so that it is more clear. Let me know
if you have any questions.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/1a0nblo1g83ngi0013q8b4w64mjgc1m6so30c1g68r36dhi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-04-30 Thread Mohammad Reza Kiani
Thank you for attention.
I can't understand something from your documentation as much as I tried.
What is the different between the loginCustomerId which is set in 
ads.properties file with the customer id I should use for mutation 
operations? (for example in campaignServiceClient.mutateCampaigns) 
I use a google ads account id for loginCustomerId which is visible near 
name box in googleads panel but I can't understand what should I use for 
calling mutate operations?

On Monday, April 29, 2019 at 10:18:33 PM UTC+4:30, 
googleadsapi-forumadvisor wrote:
>
> Hello Mohammad, 
>
> I'm glad that the first issue has been resolved. If you are making API 
> calls using OAuth credentials from a manager account and are accessing a 
> related customer account, then you will need to specify the 
> login-customer-Id in the request header. Please check this related blog 
> post 
> 
>  as 
> a reference. 
>
> The MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT is seen if the user is not 
> allowed to perform the mutate action. Could you please check the access 
> level  for the 
> email address used for generating the OAuth credentials? If you're still 
> having an issue, could you please share the request and response logs 
> without redacting along with the email address used for authentication, to 
> check this further? You can reply back via *Reply privately to author*
>  option.
>
> Regards,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/b4be7895-1d1e-49b5-9065-8c56ad5f89de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-04-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Mohammad,

I'm glad that the first issue has been resolved. If you are making API
calls using OAuth credentials from a manager account and are accessing a
related customer account, then you will need to specify the
login-customer-Id in the request header. Please check this related blog post
  
as

a reference.

The MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT is seen if the user is not
allowed to perform the mutate action. Could you please check the access
level  for the email
address used for generating the OAuth credentials? If you're still having
an issue, could you please share the request and response logs without
redacting along with the email address used for authentication, to check
this further? You can reply back via *Reply privately to author* option.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/00d12j40l8010fmj28000ip9k4z64mjgc1m6so30c1g68r36dhi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-04-29 Thread Mohammad Reza Kiani
I solved that problem by setting api.googleads.loginCustomerId in 
ads.properties file and using new customerId in the explicite code (however 
I didn't understand what was the problem) and adding channelSubType to 
request. But now I'm receiving this error:
Request
---
MethodName: google.ads.googleads.v1.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=9981465586, 
x-goog-api-client=gl-java/1.8.0_172 gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "3576925***"
operations {
  create {
name {
  value: "Campaign Mohammad Reza Kiani 1556544089409"
}
status: PAUSED
campaign_budget {
  value: "customers/3576925***/campaignBudgets/1899034221"
}
advertising_channel_type: MULTI_CHANNEL
advertising_channel_sub_type: APP_CAMPAIGN
network_settings {
  target_google_search {
value: true
  }
  target_search_network {
value: true
  }
  target_content_network {
  }
  target_partner_search_network {
  }
}
start_date {
  value: "20190430"
}
end_date {
  value: "20190529"
}
bidding_strategy {
  value: "customers/3576925***/biddingStrategies/1947718545"
}
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=w4BlqJAnULQmEYlS_Jx0Uw,date=Mon,
 
29 Apr 2019 13:21:40 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
Body: null
Failure message: errors {
  error_code {
operation_access_denied_error: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
  }
  message: "A mutate action is not allowed on this campaign, from this 
client."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
  }
}
  }
}

Can you help me again :D?

On Monday, April 29, 2019 at 4:38:21 PM UTC+4:30, Mohammad Reza Kiani wrote:
>
> Hi,
> I'm using google ads new api to create campaign. After I'v created a 
> budget & a bidding strategy successfully, I failed to create the app using 
> following code:
>
> Campaign.newBuilder()
> .setName(StringValue.of(request.name))
> 
> .setAdvertisingChannelType(AdvertisingChannelTypeEnum.AdvertisingChannelType.MULTI_CHANNEL)
> // Recommendation: Set the request to PAUSED when creating it to 
> prevent the ads from immediately serving.
> // Set to ENABLED once you've added targeting and the 
> ads are ready to serve
> .setStatus(CampaignStatusEnum.CampaignStatus.PAUSED)
> .setBiddingStrategy(StringValue.of(biddingStrategyResourceName))
> .setCampaignBudget(StringValue.of(budgetResourceName))
> .setNetworkSettings(networkSettings)
> 
> .setStartDate(StringValue.of(request.startDate.createCampaignFormat()))
> .setEndDate(StringValue.of(request.startDate.createCampaignFormat()))
> .build()
>
> I receive below error and can't understand why:
>
> Request
> ---
> MethodName: 
> google.ads.googleads.v1.services.CampaignService/MutateCampaigns
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/1.8.0_172 
> gapic/ gax/1.35.0 grpc/1.16.1}
> Body: customer_id: "9981465***"
> operations {
>   create {
> name {
>   value: "Campaign Mohammad Reza Kiani 1556538987995"
> }
> status: PAUSED
> campaign_budget {
>   value: "customers/9981465***/campaignBudgets/1898509417"
> }
> advertising_channel_type: MULTI_CHANNEL
> network_settings {
>   target_google_search {
> value: true
>   }
>   target_search_network {
> value: true
>   }
>   target_content_network {
>   }
>   target_partner_search_network {
>   }
> }
> start_date {
>   value: "20190430"
> }
> end_date {
>   value: "20190430"
> }
> bidding_strategy {
>   value: "customers/9981465***/biddingStrategies/1946898398"
> }
>   }
> }
>
>
> Response
> 
> Headers: 
> Metadata(content-type=application/grpc,request-id=3fml6VHnqNvxnIwkv6RjuQ,date=Mon,
>  
> 29 Apr 2019 11:56:39 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
> Body: null
> Failure message: errors {
>   error_code {
> operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED
>   }
>   message: "Unauthorized CREATE operation in invoking a service\'s mutate 
> method."
>   trigger {
> string_value: ""
>   }
>   

Receive CREATE_OPERATION_NOT_PERMITTED error for campaign creation

2019-04-29 Thread Mohammad Reza Kiani
Hi,
I'm using google ads new api to create campaign. After I'v created a budget 
& a bidding strategy successfully, I failed to create the app using 
following code:

Campaign.newBuilder()
.setName(StringValue.of(request.name))

.setAdvertisingChannelType(AdvertisingChannelTypeEnum.AdvertisingChannelType.MULTI_CHANNEL)
// Recommendation: Set the request to PAUSED when creating it to 
prevent the ads from immediately serving.
// Set to ENABLED once you've added targeting and the 
ads are ready to serve
.setStatus(CampaignStatusEnum.CampaignStatus.PAUSED)
.setBiddingStrategy(StringValue.of(biddingStrategyResourceName))
.setCampaignBudget(StringValue.of(budgetResourceName))
.setNetworkSettings(networkSettings)
.setStartDate(StringValue.of(request.startDate.createCampaignFormat()))
.setEndDate(StringValue.of(request.startDate.createCampaignFormat()))
.build()

I receive below error and can't understand why:

Request
---
MethodName: google.ads.googleads.v1.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/1.8.0_172 
gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "9981465***"
operations {
  create {
name {
  value: "Campaign Mohammad Reza Kiani 1556538987995"
}
status: PAUSED
campaign_budget {
  value: "customers/9981465***/campaignBudgets/1898509417"
}
advertising_channel_type: MULTI_CHANNEL
network_settings {
  target_google_search {
value: true
  }
  target_search_network {
value: true
  }
  target_content_network {
  }
  target_partner_search_network {
  }
}
start_date {
  value: "20190430"
}
end_date {
  value: "20190430"
}
bidding_strategy {
  value: "customers/9981465***/biddingStrategies/1946898398"
}
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=3fml6VHnqNvxnIwkv6RjuQ,date=Mon,
 
29 Apr 2019 11:56:39 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
Body: null
Failure message: errors {
  error_code {
operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED
  }
  message: "Unauthorized CREATE operation in invoking a service\'s mutate 
method."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
  }
}
  }
}

Can you help me? Thanks
(I've hidden my 3 last digits of customer id)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/4779aafa-6cd6-4c77-a724-6b3cf2c13800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.