Hi guys, I hope someone can help me, because myself & my entire company has now been set back a full year because of this. We have not signed up users because we found out today that while we "thought" that we were targeting United States only, we were in fact targeting mostly India, and all over the globe - just about everywhere "but" the USA.
Well, our service is really only interesting to US users, so we wasted a year of "terrible" turmoil - I ran out of money in San Francisco and had to move out of my apartment there to move back to NY abruptly and get on Disability because my Google API system was not working properly. The only way I found out, was when I turned it on today, after even another "flurry" of upgrades to the website to try to get users, we were ready to test the system again live, and when I did I thought to myself..."let me celebrate by watching the REAL TIME visitors...and WHAMO...ALL FROM INDIA and a couple from Egypt, ect. This explains why all of our users for the past 6 months to a year have had names such as: Arpit Soni, Shahnoor Ch, Sunil Badhala, (These are the names of our signups), They do not look like American names... sonia mehta, Pavan Khaire, ANOOP YADAV, January 16, 2020: Rohan Singh...I should have caught this before, but all of the stress caused me "severe" debilitating Migraines that have been sending me to the Emergency Room, and I have not been able to think straight. "Thanks so much Google" for not providing a support phone number for Google Ads API - some of this may have been avoided if a Google expert was able to access my account a year ago. I have been targeting "only" United States since I started using the Google Ads API, and using the 2840 geo code and it shows on my account as United States: https://www.dropbox.com/s/fnz90cprywirbg1/Screenshot%202020-06-26%2013.39.14.png?dl=0 <http://www.google.com/url?sa=D&q=https%3A%2F%2Fwww.dropbox.com%2Fs%2Ffnz90cprywirbg1%2FScreenshot%25202020-06-26%252013.39.14.png%3Fdl%3D0> However, all of our customer signups have been from India, and now that I looked at our real-time tracking, I see it is because all of the ads are only showing there in India!: https://www.dropbox.com/s/tq2d62yiat5vo0u/Screenshot%202020-06-26%2013.33.22.png?dl=0 <http://www.google.com/url?sa=D&q=https%3A%2F%2Fwww.dropbox.com%2Fs%2Ftq2d62yiat5vo0u%2FScreenshot%25202020-06-26%252013.33.22.png%3Fdl%3D0> Here is our GeoTargeting Code: function addTargetLocation($session, $adWordsServices, $campaignId) { $locations = [2840]; $campaignCriterionService = $adWordsServices->get($session, CampaignCriterionService::class); if (empty($locations)) { return; } //21144 : Hawaii, United States state nagative //2850 : U.S. Virgin Islands region $ExcludeLocations = [21144,2850]; foreach ($ExcludeLocations as $id) { $location = new location(); $location->setId($id); $campaignCriteria[] = new NegativeCampaignCriterion($campaignId, null, $location); } // $negativeCriterion = new NegativeCampaignCriterion(); // $negativeCriterion->setCampaignId($campaignId); // $negativeCriterion->setCriterion($negativeKeyword); foreach ($locations as $id) { $location = new location(); $location->setId($id); $campaignCriteria[] = new CampaignCriterion($campaignId, null, $location); } $english = new Language(); $english->setId(1000); $campaignCriteria[] = new CampaignCriterion($campaignId, null, $english); $operations = []; foreach ($campaignCriteria as $campaignCriterion) { $operation = new CampaignCriterionOperation(); $operation->setOperator(Operator::ADD); $operation->setOperand($campaignCriterion); $operations[] = $operation; } try { $result = $campaignCriterionService->mutate($operations); foreach ($result->getValue() as $campaignCriterion) { printf( "Campaign targeting criterion with ID %d and type '%s' was added.\n", $campaignCriterion->getCriterion()->getId(), $campaignCriterion->getCriterion()->getType() ); } } catch (Exception $e) { printf("An error has occurred3: %s\n", $e->getMessage()); } } Any help would be appreciated. Thank you, Joseph -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7cb50fbe-7e01-4753-9d17-9e52252526bfo%40googlegroups.com.