How to solve [OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.settings] Error in PHP

74 views
Skip to first unread message

Divyesh Gajjar

unread,
Oct 21, 2020, 7:40:46 AM10/21/20
to AdWords API and Google Ads API Forum
Hello,
Im try to create application campaign using API but im facing this issue Please help me to solve this.

$campaign->setAdvertisingChannelType(AdvertisingChannelType::MULTI_CHANNEL);
 $campaign->setAdvertisingChannelSubType(
        AdvertisingChannelSubType::UNIVERSAL_APP_CAMPAIGN
    );


$universalAppSetting = new UniversalAppCampaignSetting();
    $universalAppSetting->setAppId('com.whatsapp');
    $universalAppSetting->setAppVendor(
        MobileApplicationVendor::VENDOR_GOOGLE_MARKET
    );
    $universalAppSetting->setDescription1('A cool puzzle game');
    $universalAppSetting->setDescription2('Remove connected blocks');
    $universalAppSetting->setDescription3('3 difficulty levels');
    $universalAppSetting->setDescription4('4 colorful fun skins');

    $universalAppSetting->setUniversalAppBiddingStrategyGoalType(
        UniversalAppBiddingStrategyGoalType
        ::OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME
    );

Please help me how to create campaign using API for usine application id.

Google Ads API Forum Advisor Prod

unread,
Oct 21, 2020, 11:59:44 PM10/21/20
to divye...@gmail.com, adwor...@googlegroups.com
Hi Divyesh,

Thank you for reaching out.

So I can investigate, could you share your customer ID and the complete SOAP request and response logs? If you haven't enabled logging, you can do so by referring to this guide.

Once the logs are available, you may send the requested information using the Reply privately to author option. If the said option is not available, you may send all the relevant information directly to our alias, googleadsa...@google.com, so we can continue the discussion privately.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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