Posts tagged with google-ads-api

I am using a third-party tool that use the Adwords Reporting https://developers.google.com/adwords/api/docs/appendix/reports/all-reports to retrieve data.

At the moment all the "Performance Max" campaigns are lost from the Adwords Reporting and I need to retrieve them to include their costs. With the migration from Adwords to Ads, also, I need to find a solution before April 2022.

I only need to move that data into my Google BigQuery project.

At the moment the solution using the BigQuery Data Transfer is NOT OK because use the same v201809 reporting of Adwords ( https://cloud.google.com/bigquery-transfer/docs/adwords-transfer?hl=en-GB ) .

Also the Google Ads Script don't support Google Ads but only report name of Adwords v201809 ( https://developers.google.com/google-ads/scripts/docs/solutions/bigquery-exporter )

Do you have a suggestion to help me? Thanks

We have been running GA4 and Google Ads on our website for a while now. However, the GA4 data appears not to be available in Google Ads even though the accounts are linked. For example, we can see 'All user' data in GA4, but the automatically imported GA4 audience 'All users' is not being filled (it does have some users, but that is probably from when we use UA). I have installed the GA4 tag through GTM, and it is working as GA4 data gets filled.

GA4: Linked account

GA4: All users

GAds: GA4 All users in Ads

I have cross checked all links, property codes etc and all do match with the corresponding account, but unfortunately the data is not being imported. Also, when I create a new audience in GA4, the data is not available in Google Ads. When I configure the Google Ads remarketing/conversion tag in our GTM, the audience does get filled.

Am I missing something?

I'm migrating from Adwords API to Google Ads API. On Adwords API we have the click_performance_report which includes keyword id and ad group ad id. However, in Google Ads API, when querying using click_view, I can't find the corresponding fields. All I see is keyword and ad group ad fields but both return resource_name and I prefer not to parse it myself in order to get the id. What's the best way to get the keyword id and ad group ad id using Google Ads API?

 library(rgoogleads)  library(gargle)  token <- token_fetch()  token gads_auth(email = 'xx@gmail.com' Authentication complete.      ad_group_report <- gads_get_report(        resource    = "ad_group",        fields      = c("ad_group.campaign",                        "ad_group.id",                        "ad_group.name",                        "ad_group.status",                        "metrics.clicks",                        "metrics.cost_micros"),        date_from   = "2021-01-08",        date_to     = "2021-01-10",        where       = "ad_group.status = 'ENABLED'",        order_by    = c("metrics.clicks DESC", "metrics.cost_micros")      ) i Multi account request ! The request you sent did not return any results, check the entered parameters and repeat the opposition. 

Why do I receive this error? I have never received it in Radwords package. Where do I mention the argument for the multiple accounts? https://cran.r-project.org/web/packages/rgoogleads/rgoogleads.pdf

I have a Google Ads account which has a single Smart Campaign and multiple usual campaigns. Also I've set up a data transfer to Google BigQuery. When I try to compare BigQuery data using the query

SELECT sum(Cost) FROM `project.dataset.AccountBasicStats_XXXXXX`  where Date between '2021-12-01' and '2021-12-31' 

the query result shows a less cost than I see in the Google Ads interface for the same time period. The difference is equal to the spend of my smart campaign. To check this, I've tried the queries:

SELECT * FROM `project.dataset.CampaignBasicStats_XXXXXX`  where Date between '2021-12-01' and '2021-12-31' AND CampaignId = {ID of my smart campaign} SELECT * FROM `project.dataset.CampaignStats_XXXXXX`  where Date between '2021-12-01' and '2021-12-31' AND CampaignId = {ID of my smart campaign} 

The both give me no results.

Is it true that BigQuery data transfer discards the data of smart campaigns? What are other ways to get statistics for them?