universal_app_campaign['settings'] = [
# Set the campaign's assets and ad text ideas. These values will
# be used to generate ads.
{
'xsi_type': 'UniversalAppCampaignSetting',
'appId': 'com.labpixies.colordrips',
'appVendor': 'VENDOR_GOOGLE_MARKET',
'description1': 'A cool puzzle game',
'description2': 'Remove connected blocks',
'description3': '3 difficulty levels',
'description4': '4 colorful fun skins',
# Optional: You can set up to 20 image assets for your campaign.
# See upload_image.py for an example on how to upload images.
#
# 'imageMediaIds': [INSERT_IMAGE_MEDIA_ID(s)_HERE]
}
]
# Optimize this campaign for getting new users for your app.
universal_app_campaign_setting = universal_app_campaign['settings'][0]
universal_app_campaign_setting['universalAppBiddingStrategyGoalType'] = (
'OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME')
Error summary: {'faultMessage':
'[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
operations[0].operand.settings]', 'requestId':
'000598f7bed8104a0a37ac17670eb454', 'serviceName': 'CampaignService',
'methodName': 'mutate', 'operations': '1', 'responseTime': '191'}
Traceback (most recent call last):
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\googleads\common.py",
line 992, in MakeSoapRequest
*packed_args, _soapheaders=soap_headers)['body']['rval']
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\zeep\proxy.py",
line 45, in __call__
kwargs,
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\zeep\wsdl\bindings\soap.py",
line 130, in send
return self.process_reply(client, operation_obj, response)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\zeep\wsdl\bindings\soap.py",
line 195, in process_reply
return self.process_error(doc, operation)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\zeep\wsdl\bindings\soap.py",
line 299, in process_error
detail=fault_node.find("detail"),
zeep.exceptions.Fault:
[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
operations[0].operand.settings]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "add_1.py", line 213, in <module>
main(adwords_client)
File "add_1.py", line 114, in main
campaigns = campaign_service.mutate(operations)['value']
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\googleads\common.py",
line 1004, in MakeSoapRequest
e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault:
[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
operations[0].operand.settings]
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/5752ddd8-c8d9-4abd-8962-f72c4d1252c6%40googlegroups.com.