更新后Google Ads SDK to 19.0.0给出了一条已弃用的警告消息addTestDevice(),而我搜索此链接以解决问题但没有成功。我该如何解决?
这是我的代码
mAdView.loadAd(new RequestConfiguration.Builder
.setTestDeviceIds(AdRequest.DEVICE_ID_EMULATOR) // show error
.setTestDeviceIds(DEV_ID) // show error
.build());
Run Code Online (Sandbox Code Playgroud)
和开发者网站建议
// Deprecated AdRequest.Builder.addTestDevice().Use
RequestConfiguration.Builder.setTestDeviceIds() instead.
Run Code Online (Sandbox Code Playgroud) 由于未捕获的异常“GADInvalidInitializationException”而终止应用程序,原因:“Google 移动广告 SDK 初始化时没有应用程序 ID。Google AdMob 发布商,请按照此处的说明操作:https : //googlemobileadssdk.page.link/admob-ios-update-plist 以使用有效的应用 ID 设置 GADApplicationIdentifier。Google Ad Manager 发布商,请按照此处的说明操作:https : //googlemobileadssdk.page.link/ad-manager-ios-update-plist
On my react PWA I want to track conversions in Google Adwords after, for example, sending form data. I already use the react-ga module to track pageviews which uses a UA-xxxxxx number. Now I have an Adwords number AW-xxxxxx and I can't seem to find a working example with that. Which react module can I use to send those Events to my AW-xxxxxx number?
I already took a look at really small and seemingly incomplete Adwords modules for react, but …
我刚刚在Play商店上传了一个新的应用程序,该应用程序在商店中显示并且可以下载;一切正常,但是当我尝试在 AdWords 上制作通用广告系列时,我无法在 android 应用商店的应用列表中找到该应用。
Flutter 有没有办法从 google play 获取安装引用? https://developer.android.com/google/play/installreferrer/library.html 如果可能,Android 和 iOS 都可以。
我的目标是确定用户是否是从 Play 商店搜索、我们的网站和我们的 Google Ads 安装/下载的。对于我们的 Play 商店搜索和我们的网站下载/安装已经由 Firebase 动态链接处理。
我当前的问题是关于 Google Ads 通用应用广告系列。我无法在通用应用广告系列中附加链接。
firebase install-referrer flutter firebase-dynamic-links google-ads-api
我在 Firebase 上有一个项目,其中包含 iOS 和 Android 应用程序,它们在 Firebase 和 Analytics 中按预期进行跟踪。
我的下一个目标是在 Google Ads 网站上设置广告系列。我已将 Firebase 和 Analytics 帐户与我的 Google Ads 帐户相关联。在链接转化出现并且广告活动成功运行之后,Android 运行良好。但是对于 iOS 应用程序,我遇到了问题 - first_open 转换未在 Google Ads 控制台中的任何位置显示,如果我尝试重新导入转换,它会显示我已经导入了所有转换。因此,我无法运行令人失望的 iOS 广告活动。
我在网上看到很多这样的请求,但在所有这些请求上,“Google GOLD 专家”都说要重新检查链接,这是没有意义的。
有没有人能够修复这个错误?我发现也许我们应该使用 Google Tag Manager 并将其与 Google Ads 连接以跟踪 iOS 对话。
这是我第一次通过谷歌广告进行应用程序下载活动。我创建了一个通用应用程序广告系列,但不知道如何在我的广告系列级别添加跟踪参数。我尝试在跟踪参数中附加最终网址后缀,但是,我被告知没有找到符合条件的广告,而我的 3 个广告均已获得批准。
- 应用商店链接是: https://play.google.com/store/apps/details ?id=com.yuurewards.app
- 我尝试通过最终网址后缀附加但失败的部分: referrer=utm_source%3DSCMP%26utm_medium%3DEM%26utm_content%3DPerformance_EM_IG_v2_app_store%26utm_campaign%3Dapps-launch%26anid%3Dadmob
您能否让我知道如何为我的应用程序下载活动附加 utm 参数,以便我的客户可以区分下载是否来自我的活动?
performance android traffic-measurement firebase google-ads-api
我正在使用最新 (v7) Google Ads API 通过 Python 客户端库上传 Google Ads 离线转化数据。这是我正在使用的标准代码:
import os
from google.ads.googleads.client import GoogleAdsClient
client = GoogleAdsClient.load_from_env(version='v7')
def process_adwords_conversion(
conversion_date_time,
gclid,
conversion_action_id,
conversion_value
):
conversion_date_time = convert_datetime(conversion_date_time)
customer_id = os.environ['GOOGLE_ADS_LOGIN_CUSTOMER_ID']
click_conversion = client.get_type("ClickConversion")
conversion_action_service = client.get_service("ConversionActionService")
click_conversion.conversion_action = (
conversion_action_service.conversion_action_path(
customer_id, conversion_action_id
)
)
click_conversion.gclid = gclid
click_conversion.conversion_value = float(conversion_value)
click_conversion.conversion_date_time = conversion_date_time
click_conversion.currency_code = "USD"
conversion_upload_service = client.get_service("ConversionUploadService")
request = client.get_type("UploadClickConversionsRequest")
request.customer_id = customer_id
request.conversions = [click_conversion]
request.partial_failure = True
conversion_upload_response = (
conversion_upload_service.upload_click_conversions(
request=request,
) …Run Code Online (Sandbox Code Playgroud) 如何将服务器端 gtag 的转化报告回 Google 广告?
我当前的设置是使用唯一的 userId(在我的数据库中生成,并且对于每个用户来说都是唯一的)将事件从 gtag 报告回 google Analytics 4
let data = {
client_id: this.getDeviceId(),
user_id: this.userId,
events: [{
name: eventName,
params: props,
}]
}
... then send it as payload to the tracking url to the ga4 tracking url:
https://www.google-analytics.com/mp/collect?measurement_id=...&api_secret=...
Run Code Online (Sandbox Code Playgroud)
现在,我启动了 Google 广告,并希望将购买和续订报告为转化。
因此,我将目标事件从 GA4 导入到 Google Ads 作为线下事件。
但据我了解,为了正确地将用户链接回谷歌广告,我还需要在报告事件/转化时在gtag中传递gclid,但如何做到这一点?
我应该将 gclid 添加为数据中的属性吗?它在任何地方都有记录吗?
我使用以下文档链接在服务器上设置 gtag 跟踪: https: //developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties ?client_type=gtag
您好,我一直在使用 REST 方法在 C# 中集成 Google Ads API。一切似乎都工作正常,但突然间我开始收到带有错误消息的 400 响应。
{
"error": "invalid_grant",
"error_description": "Token has been expired or revoked."
}
Run Code Online (Sandbox Code Playgroud)
如上所述,我没有使用客户端库,而是使用 Restsharp 并使用邮递员测试我的所有端点。
它发生的任何原因是什么?我的刷新令牌也有效。我已经使用这个一周了。我也没有达到刷新令牌的限制,因为当我尝试设置帐户时,我只生成了 3 到 4 次刷新令牌。
我相信刷新令牌的有效性是终生的,那么为什么会发生这种情况呢?
google-ads-api ×10
android ×3
firebase ×3
admob ×2
ads ×1
c# ×1
flutter ×1
google-play ×1
gtag.js ×1
ios ×1
performance ×1
postman ×1
reactjs ×1
restsharp ×1