Good day,
I am just wondering if where can I view or check the adjusted bid that I made in a placement? I would want to view the adjustment to make sure that the changes or the code that I run thru the API was successful. Is it on VIEW HISTORY, like the image below? <https://lh3.googleusercontent.com/-W4mb6fXGVJY/WdMjVCNhSuI/AAAAAAAAAIA/a2QE55JgcPEx9zMkCEJJAel6oSCiEEgmgCLcBGAs/s1600/bidAdjustment_1.JPG> or in the Display Network? Please see the image below. <https://lh3.googleusercontent.com/-oxfrHArc8O0/WdMj7SR0H6I/AAAAAAAAAII/_uYu7-ga_G4KD_XQPcVpObKNHZFsDYiwACLcBGAs/s1600/bidAdjustment_2.JPG> Am I doing it right? Here is my code: const BID_MODIFIER = '2'; public static function runExample(AdWordsServices $adWordsServices, AdWordsSession $session, $campaignId, $bidModifier) { campaignCriterionService = $adWordsServices->get($session, CampaignCriterionService::class); $urlPlacement = new Placement(); $urlPlacement->setUrl('websitehere.com'); $urlPlacement->setId(30000); // Create a criterion with modified bid. $criterion = new CampaignCriterion(); $criterion->setCampaignId($campaignId); $criterion->setCriterion($urlPlacement); $criterion->setBidModifier($bidModifier); $operation = new CampaignCriterionOperation(); $operation->setOperator(Operator::SET); $operation->setOperand($criterion); $operations = [$operation]; $results = $campaignCriterionService->mutate($operations); // Print out some information about the updated campaign criterion. foreach ($results->getValue() as $campaignCriterion) { printf( "Campaign criterion with campaign ID %d, criterion ID %d, " . "and type '%s' was modified with bid %.2f.\n", $campaignCriterion->getCampaignId(), $campaignCriterion->getCriterion()->getId(), $campaignCriterion->getCriterion()->getType(), $campaignCriterion->getBidModifier()); } } Thank you so much, Ben -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/6e3cc190-600f-4203-9568-a214cb399669%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
