Creating UACs suddenly stopped working - using googleads/adwords/Python3

66 views
Skip to first unread message

otso

unread,
Jul 11, 2019, 9:43:53 AM7/11/19
to AdWords API and Google Ads API Forum
I'm using a test account on Google Ads and creating UACs with googleads/adwords/Python3. The campaign creation code I'm using worked just fine roughly 1 month ago but suddenly stopped working - it is basically this piece of code. There are no changes to the code/setup and everything seems fine with my test account.

The UAC creation with the "CampaignService" stops with the message:

googleads.errors.GoogleAdsServerFault: [OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.settings


The "BudgetService" works/authenticates just fine and is able to create budgets for my campaign.


I have SOAP logs available if needed.


What could cause this?


Many thanks in advance.

otso

unread,
Jul 11, 2019, 9:56:57 AM7/11/19
to AdWords API and Google Ads API Forum
And this is the reason: https://ads-developers.googleblog.com/2019/06/upcoming-changes-to-app-campaigns.html

It would be great if examples could reflect changes like these.

Thanks.

otso

unread,
Jul 11, 2019, 10:21:09 AM7/11/19
to AdWords API and Google Ads API Forum
The example I would be looking for: how to link the ad group (with "UniversalAppAd") to the UAC with the AdWords API/Python? 

Google Ads API Forum Advisor Prod

unread,
Jul 11, 2019, 10:10:00 PM7/11/19
to adwor...@googlegroups.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out. 

If what you meant was associating an ad group to campaigns (UAC) upon creation of the ad group, you must specify the campaignId of the UAC you with so associate the ad group into. You may refer to this sample code (also available in different languages) on how to do so.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001U8KmAE:ref
Reply all
Reply to author
Forward
0 new messages