Re: creating single product listing groups through rest api

2023-05-29 Thread ma...@danzrust.cz
Yep, it's all good now. Thanks for support. DZ On Monday, May 29, 2023 at 9:14:58 PM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > Thanks for getting back with us. > > It seems that you already have figured out the answer to your concern. Can > you confirm if you have any more questions

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
quot;type": "LISTING_GROUP", "status": "PAUSED", "adGroup": "customers/7803661715/adGroups/150631446858", "cpcBidMicros": "1", "listingGroup": { "type": "UNIT", "caseValue": { "prod

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
Okay, so of course it works now but I do have a follow up question . I need to exclude the "everything else in All Products" listing group but the JSON is still generating both product groups as active. I was reading the REST documentation but could not find anything about the exclusions. I'm

Re: creating single product listing groups through rest api

2023-05-25 Thread ma...@danzrust.cz
Oh, damn, that might be it. I will try in a bit. I knew it was gonna be something super simple like this after seeing so many java/python hints. DZ On Thursday, May 25, 2023 at 8:47:16 PM UTC+2 Google Ads API Forum Advisor wrote: > Hello, > > Welcome to Google Ads API Support team. Thank you f

Re: Creating Single Product Listing Groups Through Rest API

2023-05-24 Thread ma...@danzrust.cz
ed 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'. * I've seen multiple posts where people would use the* "~-1" *trick while doing multiple operations at once but it was always in a different language (Java, Python etc.). How can I replicate the &q

Re: Creating Single Product Listing Groups Through Rest API

2023-05-23 Thread ma...@danzrust.cz
"error": { "code": 400, "message": "Invalid JSON payload received. Unknown name \"parentAdGroupCriterion\" at 'operations[2].create': Cannot find field.", "status": "INVALID_ARGUMENT",

Creating Single Product Listing Groups Through Rest API

2023-05-23 Thread ma...@danzrust.cz
Hi guys, I'm trying to create new single product listing groups via Rest API but I'm just stuck - I don't know what mandatory information I need to provide. At this point, I am creating a new *ad_group_criterion:* POST https://googleads.googleapis.com/v12/customers/7803661715/adGroupCriteria:mu

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

Getting Cost for Local Services Ads Campaigns ONLY

2022-11-08 Thread ma...@danzrust.cz
Hi guys, any ideas how to get cost for Local Services Ads campaigns only? I'm running this query: 'SELECT '+ 'campaign.id, '+ 'campaign.status, '+ 'campaign_budget.id, '+ 'campaign_budget.period, '+ 'campaign_budget.amount_micros,

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

Re: php how to specify login-customer-id in the request

2021-08-16 Thread ma zhiwei
Hi, Thanks for your response. My question is how to specify login-customer-id in the request by php, like this: header("login-customer-id: 1234567890"); ? I have specified the login-customer-id when I built googleAdsClient object, like this: $googleAdsClient = (new GoogleAdsClientBuilder())-

php how to specify login-customer-id in the request

2021-08-16 Thread ma zhiwei
.4.3 gapic\/ gax\/1.7.0 grpc\/1.36.0", "x-goog-request-params": "customer_id=3452842817", "developer-token": "REDACTED" } Request: {"customerId":"3452842817","query":"SELECT campaign.id, campaign.name, campaign.status FROM campaign

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

Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential

2021-04-01 Thread ma zhiwei
Hi, I am using google ads api to get adwords data, but I got an error when I execute the code. ``` $oAuth2Credential = (new OAuth2TokenBuilder())->fromFile("google_ads_php.ini")->build(); // OAuth2 credentials above. $googleAdsClient = (new GoogleAdsClientBuilder())->fromFile("google_ads_php.in

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

Cannot ceate uac campiang with api, get OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE error

2019-09-24 Thread yan Ma
First of all, my code for creating uac campaign works correctly before. And today when I try to create new uac campain, it failed. Then I check the code and it get exception below OperationAccessDenied{apiErrorType=OperationAccessDenied, errorString=OperationAccessDenied.OPERATION_NOT_PERMITTE

How do I update my keyword text?

2019-09-23 Thread Victor Ma
I use googleads-php-lib and don't know how to update the text and matching of the keywords. There will be no errors after the code is submitted, but the update will not take effect. $operations = []; $adGroupId = '00'; $criterionId = '000'; $adGroupCriterion = ne

How do I update my keyword Text and MatchType?

2019-09-23 Thread Victor Ma
I use googleads-php-lib and don't know how to update the Text and MatchType of the keywords. There will be no errors after the code is submitted, but the update will not take effect. $operations = []; $adGroupId = '00'; $criterionId = '000'; $adGroupCriterion = new BiddableAdGrou

Re: True Final Url with all tracking parameters

2019-07-30 Thread MA
Hi Dannison, just wanted to confirm if my PM actually made it. On Tuesday, July 30, 2019 at 3:18:48 AM UTC-7, adsapiforumadvisor wrote: > > Hi, > > Thank you for reaching out. > > If you wish to download report on the final URL level, you could use the > Final > Url Report >

Re: Get / add Household Income via AdWords API v201806

2018-08-15 Thread MABEL MA
possible Vào 02:19:46 UTC-7 Thứ Tư, ngày 15 tháng 8 năm 2018, Zhenya Lupina đã viết: > > Hello, > > Is it possible to get / add Household Income via AdWords API v201806? > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Re: How to turn on message reporting via Adwords API

2018-08-15 Thread MABEL MA
reporting? Vào 22:25:02 UTC-7 Thứ Hai, ngày 13 tháng 8 năm 2018, Ronak Shah đã viết: > > Hello, > > Is there any way we can turn on message reporting via adwords API for > creating Message Extensions ? > > [image: Screen Shot 2018-08-13 at 5.54.55 PM.png] > > > > > Regards, > Ronak > -- -- =~=

Re: How to turn on message reporting via Adwords API

2018-08-14 Thread MABEL MA
me too, i like you, i can not to do next Vào 22:25:02 UTC-7 Thứ Hai, ngày 13 tháng 8 năm 2018, Ronak Shah đã viết: > > Hello, > > Is there any way we can turn on message reporting via adwords API for > creating Message Extensions ? > > [image: Screen Shot 2018-08-13 at 5.54.55 PM.png] > > > > > R

Re: How to distinguish between MCC shared sets and account shared sets?

2018-08-13 Thread MABEL MA
me too, i like you, i can not to fix this :(( Vào 08:16:01 UTC-7 Thứ Hai, ngày 13 tháng 8 năm 2018, suvodhoy sinha đã viết: > > Hi, > > When we fetch shared sets via the API, we receive both the MCC shared sets > as well as the account shared sets. But there is no way to identify which > are fr

Re: 5 млн. FeedItem

2018-08-13 Thread MABEL MA
:(( me too i can not to fix this Vào 18:33:55 UTC-7 Thứ Hai, ngày 13 tháng 8 năm 2018, bash...@realweb.ru đã viết: > > Доброго времени суток. У фидов есть ограничение в 5 млн записей. Как можно > получить все записи? Возможно ли это? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ A

Re: TargetingIdeaService indifferent to language.

2018-07-17 Thread MABEL MA
me too i have know ideal :((( Vào 05:06:21 UTC-7 Thứ Ba, ngày 17 tháng 7 năm 2018, Saulius Maknickas đã viết: > > Hi, > > We are using TargetingIdeaService v201806 to retrieve search volumes for > specific keywords in different languages. > But the service seems indifferent to language setting.

Url Performance Report displays not all URLs

2018-06-28 Thread Mihail Ma
Hi all! I need to get all URLs by company, where my videoAd had been displayed. If I see it from AdWords web interface - for example for 25.06.2018 - there is about 4000 youtube channels, where AD been displayed. But if I get it from Url Performance Report by script - there only 180 urls((( WHY

URL_PERFORMANCE_REPORT not all urls listed

2018-06-28 Thread Mihail Ma
Hi! I have VideoAd, and when i see dispayed urls in Web Interface of AdWords - there are above 4000 youtube channels, but when I get it from URL_PERFORMANCE_REPORT by script - there only 183 URLs. Why?? My script: var period = '20180625, 20180625'; function main() { var videoIdList = []; v

Re: querying removed *negative* keywords

2018-05-17 Thread MABEL MA
i know, but a like you a mistake :((, i have konow i deal to fix this Vào 14:29:05 UTC-7 Thứ Tư, ngày 16 tháng 5 năm 2018, cha...@konversion.ca đã viết: > > Hi. > > We're using the 201710 api. > > We maintain a database of campaign, adgroup and shared keyword criteria > that we need to keep in s

AdWordsUser HTTP 500

2015-03-06 Thread MA
Hi, I have a strange issue whereby if I include the AdWordsUser.php file, I get an HTTP 500 error. Not sure where the problem lies as I've simply copied the library (I have added my dev token etc. to the auth.ini file but other than that...) and error reporting doesn't seem to return anything.

Re: MCC account and generating report for each advertiser account

2014-03-11 Thread MA
I think I have it figured out... 'Generate Report for Each Account For Each childAccount As ManagedCustomerTreeNode In rootNode.ChildAccounts Dim AdWordsReport As New DoubleClick_Adwords_Report_Download_With_AQWL Dim fileName

MCC account and generating report for each advertiser account

2014-03-11 Thread MA
I am trying to get all the advertiser accounts under my MCC account and generate an ad performance report for each. I wanted to run the report once - but that isn't allowed from the MCC account. I'm coding in vb.net. I have used some of the example code as my starting point. I have the lis

BudgetService returning InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in the SANDBOX

2012-11-25 Thread Patrick Ma
Note: I masked my credentials from the request recording. For some reason any request whether it's mutate or get to BudgetService results in this error: --- http_interactions: - request: method: post uri: https://adwords-sandbox.google.com/api/adwords/cm/v201209/BudgetService body:

Re: What do I pass into SOAP authToken header when using OAuth2.

2012-08-15 Thread Patrick Ma
Does anyone have a working request output? I am unsure of what parameters to send to Adwords. On Thursday, August 16, 2012 11:09:49 AM UTC+8, Patrick Ma wrote: > > Really confused about the authToken header from the documentation. Because > we're not usin

What do I pass into SOAP authToken header when using OAuth2.

2012-08-15 Thread Patrick Ma
Really confused about the authToken header from the documentation. Because we're not using client login. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~

Post doubts 2 get result anything..

2011-07-08 Thread brindha ma
http://123maza.com/65/tulasi331/ -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are

Getting AdGroup Cost Over Date Range

2011-02-22 Thread MA
Hi, Does anybody know how to get the total cost for an adgroup over a given date range? Ideally in PHP - I couldn't find anything in the library but I'm sure there's something out there!... Thanks, MA -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog