Re: PHP Get First Page Cpc Micros

2023-04-05 Thread ma...@sumer.me
I think you misunderstood me. My problem is: If I don't use this with WHERE ad_group_criterion.position_estimates.first_page_cpc_micros > 0, PHP returns "null" for some words and gives a Fatal Error and the process is interrupted. ad_group_criterion.position_estimates.first_page_cpc_micros > 0

Re: PHP Get First Page Cpc Micros

2023-04-04 Thread ma...@sumer.me
This problem still continues with V13 I do not receive errors when I use a code sample like below. But in this case, I can't get *all the words*. *SELECT metrics.clicks, metrics.impressions, ad_group_criterion.position_estimates.first_page_cpc_micros FROM keyword_view WHERE campaign.id="XX

Re: I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread ma...@sumer.me
Thanks for your help. I solved like this: $ad = $googleAdsRow->getAdGroupAd()->getAd(); $responsiveSearchAdInfo = $ad->getResponsiveSearchAd(); $assets_headlines = $responsiveSearchAdInfo->getHeadlines(); foreach($assets_headlines as $asset){ echo $asset->getText(); } On Mon

I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread ma...@sumer.me
Hi, I am using PHP Client Library. I get every metric, resource etc. except responsive search ads headlines and descriptions. When i run this code sample i get an error like this: print_r($googleAdsRow->getAdGroupAd()->getAd()->getResponsiveSearchAd()->getHeadlines()); *Fatal error*: Allowed m

How can i change existing campaign budget?

2022-04-26 Thread ma...@sumer.me
Hi, I am using Ads API v10 with PHP. And i can't update campaign budget with update sample. Do I always have to create a new budget and add it to that campaign to update the budget? Like this: $budget = new CampaignBudget([ 'name' => $budgetId.time(), 'amount_micros' =>

PHP Get First Page Cpc Micros

2022-04-12 Thread ma...@sumer.me
I am using Google Ads API V10 PHP Libray. I'm trying to get the "ad_group_criterion.position_estimates.first_page_cpc_micros," metric. But I am getting null error. Where am I doing wrong? Sample Query: SELECT campaign.id, campaign.name, ad_group_criterion.keyword.text, ad_group_criterion.positi

AdWords API and Ads Interface are very slow in Turkey

2021-04-23 Thread ma...@sumer.me
Hi, We use the Google AdWords API, but since yesterday (22.04.2021) there has been an incredible slowness and we often get "timeout" errors. What is the reason of this? How can we solve it? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdevel

Targeting Ideas gives an error: INSUFFICIENT_SEARCH_PARAMETERS

2021-01-21 Thread ma...@sumer.me
Hi, I want to use Targeting Ideas like Keyword Planner. I tried this code but got an error. How can i solve this? Error: [TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS @ selector.searchParameters] *Code:* $adWordsServices = new AdWordsServices(); $session = main('XXX-XXX-'); $targetin

Re: How Can I Connect to Google Ads Account Using Google Login with PHP?

2020-07-17 Thread ma...@sumer.me
Firstly i can't click to "Reply privately to author" button. This button is disabled. And actually my main problem is not about Google AdWords or Google Ads. My first problem is i can't access to any customers account with Google Login. How can i do this with PHP? If you click to this link, you

Re: How Can I Connect to Google Ads Account Using Google Login with PHP?

2020-07-07 Thread ma...@sumer.me
Are you sure this is not possible? Because Wordstream actually does this job. When you log in to them with your Google Ads account, they can manage your campaigns. Actually, I succeeded partially in the link below, but for some reason I cannot get access to the account. Where is my fault I'm tr

Re: How Can I Connect to Google Ads Account Using Google Login with PHP?

2020-07-07 Thread ma...@sumer.me
First of all, thank you for the help. But I guess I couldn't express it fully. I am currently using the Google Ads API, there is no problem. I want to connect to another client's Ads account and manage their campaigns. I want to use Google Login for this. So the customer will click on a link t

How Can I Connect to Google Ads Account Using Google Login with PHP?

2020-07-04 Thread ma...@sumer.me
I have an Google Ads API Account. And I want to login to customers account with google login and check account using API. How can i connect? Is there any documentation or PHP sample code? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdevelope