Hi, I'm trying to modify the CPM bid of an adgroup through the PHP API but i'm getting this error:
[2017-07-20 09:28:28] AW_SOAP.WARNING: clientCustomerId=6166649032 > operations=1 service=AdGroupService method=mutate responseTime=297 > requestId=000554bab1deb8990a37cc50c20d3e39 server=adwords.google.com > isFault=1 > faultMessage=[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE > @ operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; > trigger:'DISPLAY'] > Which I guess means the operations failed because it is not permitted on display campaigns, but on the adwords website it IS permitted, so I really don't get this error. Heres the relevant code: $cpmBid = $adGroup->getBiddingStrategyConfiguration()->getBids()[0]; $cpmBid->getBid()->setMicroAmount(10*1000000); $operation = new AdGroupOperation(); $operation->setOperand($adGroup); $operation->setOperator(Operator::SET); $operations[] = $operation; $adGroupService->mutate($operations); Where am I going wrong? Thank you in advance! -- *MTT Media Kft.* Cím: H-2161 Csomád, Verebeshegy u. 12. Telefon: +36 1 67 77 400 E-mail: ugyfelszolga...@mtt.hu Internet: www.mtt.hu Ez a közlemény kizárólagos információkat tartalmaz, melyeket csak a címzett / természetes vagy jogi személy/jogosult fogadni. Ez lehet bizalmas vagy jogilag privilegizált információ. Ha Ön nem a címzett, úgy kérjük azt vegye figyelembe, hogy az információ nyilvánosságra hozatala, másolása, terjesztése szigorúan tilos és jogellenes. Ha már kommunikációs hiba folytán megkapta, kérem értesítsen minket azonnal úgy, hogy válaszol erre az emailre és törölje a rendszeréből. Az MTT Media Kft. nem vállal felelősséget a közleményben szereplő információk teljes továbbításáért, sem pedig azok késedelmes átvételéért. This communication contains information intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient please be aware that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this e-mail and then delete it from your system. MTT Media Kft. is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/fc85b758-3a80-4a45-a1c0-769b99211bf7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.