APIを使ったwbraidのアップロードについて

659 views
Skip to first unread message

大川香菜絵

unread,
Mar 16, 2023, 10:52:43 PM3/16/23
to Google Ads API and AdWords API Forum
APIを使用したコンバージョン(wbraid)のアップロードを試しているのですが、
下記エラーが出てしまいました。
原因と対策を教えていただきたいです。

▼エラー内容
This customer does not have an import conversion action that matches the conversion action provided.

conversion_action_idが間違っているのでしょうか。
conversion_action_idが何を指しているのか教えていただきたいです。

Google Ads API Forum Advisor

unread,
Mar 17, 2023, 2:01:13 AM3/17/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com

やあ、

お問い合わせいただきありがとうございます。

この製品は公式には英語でのみサポートを提供していることにご注意ください。 できれば英語で返信した方がいいです。 そうでない場合は、Google 翻訳を使用してできる限りサポートします。

今後、私たちのチームがこれをさらに調査し、リクエストが正しく行われたかどうかを検証するために、このエラーを含め、お客様側で生成された完全な API ログ (request-id を含むリクエストとレスポンス) を提供していただけますか? これは、API リクエストのロギングが有効になっている場合に、Google 広告 API トランザクションを処理するデベロッパーにリクエストまたは提供できることに注意してください。 ここを確認してクライアント ライブラリをクリックし、特定のガイドラインを有効にしてください。

REST インターフェイス リクエストの場合、curl コマンドで -i フラグを使用してロギングを有効にできます。 これにより、ツールは出力に HTTP 応答ヘッダーを含めます。

その後、[作成者に非公開で返信] オプションを使用して、要求された情報を送信できます。 このオプションが利用できない場合は、代わりに googleadsa...@google.com エイリアスに詳細を直接送信できます。

Original English :

Hi,

Thank you for reaching out to us.

Kindly note that this product only officially offers support in English. It would be best to reply in English if you can. If not, we will try to use Google Translate to support you as best as we can.

Moving forward, for our team to further investigate this and validate if the request was done correctly, could you kindly provide us with the complete API logs (request and response with request-id) generated on your end, including this error? Note that this can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.

For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2jzwYr:ref

大川香菜絵

unread,
Mar 24, 2023, 12:00:04 AM3/24/23
to Google Ads API and AdWords API Forum
下記がアップロードした際のログになります。
ご確認お願いいたします。

uploading=customer_id: "7472443407"
conversions {
  wbraid: "ClEKCAjw_MqgBhASEkEAXZ6gEuL6aJzv-YOrWzwKrrMdMV6ypPU7bjV6cNa6OFBM9PcN9h5E7Husk5N2RkH_wGWvvlJl5GDW5E-LT41LuRoCRm4"
  conversion_action: "customers/7472443407/conversionActions/6452612077"
  conversion_date_time: "2023-03-18 10:38:16+09:00"
  conversion_value: 1
  currency_code: "JPY"
}
partial_failure: true

Request made: ClientCustomerId: 7472443407, Host: googleads.googleapis.com, Method: /google.ads.googleads.v12.services.ConversionUploadService/UploadClickConversions, RequestId: cwuCICY_T5euJt7yt-q8Kg, IsFault: False, FaultMessage: None

response=partial_failure_error {
  code: 3
  message: "This customer does not have an import conversion action that matches the conversion action provided., at conversions[0].conversion_action"
  details {
    type_url: "type.googleapis.com/google.ads.googleads.v12.errors.GoogleAdsFailure"
    value: "\n\310\001\n\003\370\006\t\022dThis customer does not have an import conversion action that matches the conversion action provided.\0323*1customers/7472443407/conversionActions/6452612077\"&\022\017\n\013conversions\030\000\022\023\n\021conversion_action"
  }
}
results {
}

2023年3月17日金曜日 15:01:13 UTC+9 Google Ads API Forum Advisor:

Google Ads API Forum Advisor

unread,
Mar 24, 2023, 7:08:47 AM3/24/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com
やあ、

お問い合わせいただき、必要な情報をご提供いただきありがとうございます。

最初のメールからの質問に戻ります。
「この顧客には、提供されたコンバージョン アクションと一致するインポート コンバージョン アクションがありません。
conversion_action_id が間違っていますか?
conversion_action_id が何を指しているのか知りたいです。」

我々 側でこれを確認すると、コンバージョン アクション ID が正しいことを確認できます。しかし、ConversionActionType が WEBPAGE を使用していることがわかりました。とはいえ、このエラーを回避するには、ConversionActionType を UPLOAD_CLICKS に設定したコンバージョン アクションを使用する必要がある場合があります。今後は、コンバージョン アクションに関する詳細と要件が記載されたこのドキュメントをご検討ください。

以下のクエリを参照してください。

SELECT conversion_action.id, conversion_action.name, conversion_action.status, conversion_action.type FROM conversion_action WHERE 変換アクション.id = 6452612077

"結果": [
{
"conversionAction": {
"ステータス": "有効",
"resourceName": "customers/7472443407/conversionActions/6452612077",
"type": "WEBPAGE", << は UPLOAD_CLICKS でなければなりません
"id": "6452612077",
「名前」:「\u3010D\u3011\u307e\u3064\u6bdb\u30c7\u30e9\u30c3\u30af\u30b9」
}

よろしくお願いします、

Original English :

Hi,

Thank you for getting back to us and providing the requested information.

Going back to your question from the initial email:
"This customer does not have an import conversion action that matches the conversion action provided.
 Is the conversion_action_id wrong?
I would like to know what conversion_action_id refers to."


Upon checking this in our end, we can validate that your conversion action id is correct. However, we found out that your ConversionActionType is using WEBPAGE. That said, you may need to use the conversion action having the ConversionActionType to UPLOAD_CLICKS only to avoid this error.  Moving forward, you may please consider this document which contains the details and requirements about conversion actions.

Please refer to the query below:

SELECT conversion_action.id, conversion_action.name, conversion_action.status, conversion_action.type FROM conversion_action WHERE   conversion_action.id = 6452612077

"results": [
    {
      "conversionAction": {
        "status": "ENABLED", 
        "resourceName": "customers/7472443407/conversionActions/6452612077", 
        "type": "WEBPAGE",  << must be UPLOAD_CLICKS
        "id": "6452612077", 
        "name": "\u3010D\u3011\u307e\u3064\u6bdb\u30c7\u30e9\u30c3\u30af\u30b9"

大川香菜絵

unread,
Apr 13, 2023, 3:41:07 AM4/13/23
to Google Ads API and AdWords API Forum

ご返信ありがとうございます。

≫我々 側でこれを確認すると、コンバージョン アクション ID が正しいことを確認できます。しかし、ConversionActionType が WEBPAGE を使用していることがわかりました。とはいえ、このエラーを回避するには、ConversionActionType を UPLOAD_CLICKS に設定したコンバージョン アクションを使用する必要がある場合があります。今後は、コンバージョン アクションに関する詳細と要件が記載されたこのドキュメントをご検討ください。

→上記についてお聞きしたいのですが、
「UPLOAD_CLICKSに設定したコンバージョン アクション」とは
インポートのことを意味しておりますでしょうか。

下記のうち、どれが「UPLOAD_CLICKSに設定したコンバージョン アクション」に該当するが
教えていただきたいです。

▼管理画面(コンバージョンアクションの作成画面)

よろしくお願いいたします。


2023年3月24日金曜日 20:08:47 UTC+9 Google Ads API Forum Advisor:

Google Ads API Forum Advisor

unread,
Apr 13, 2023, 8:51:19 AM4/13/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com

やあ、

お返事ありがとうございます。

あなたの質問に答えさせてください。

「コンバージョン アクションを UPLOAD_CLICKS に設定」とは

「コンバージョン アクション」を作成する際は、タイプを「UPLOAD_CLICKS」に設定してください。

このコード例を参照してください。 (https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions) このドキュメントのコード例は、コンバージョン アクションの WEBPAGE タイプを作成するように設定されています。これを次のように変更する必要があります。 UPLOAD_CLICKS。

「UPLOAD_CLICKS で設定したコンバージョン アクション」に該当するのは次のうちどれですか。

以前の質問への回答で述べたように、「コンバージョン アクション」を作成するときは、タイプを「UPLOAD_CLICKS」に設定してください。

よろしくお願いします、

Original English : 

Hi,

Thank you for getting back to us.

Allow me to answer your questions.

  1. What is "Conversion action set to UPLOAD_CLICKS"?

When creating a “Conversion Action” please set the type to “UPLOAD_CLICKS”

Please refer to this code example. (https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions) The code example in this documentation is set to create a WEBPAGE type of Conversion Action, you need to change this into UPLOAD_CLICKS.

  1. Which of the following corresponds to the "conversion action set in UPLOAD_CLICKS"?

As stated in my answer to your previous question, When creating a “Conversion Action” please set the type to “UPLOAD_CLICKS”.

Best Regards,

大川香菜絵

unread,
May 7, 2023, 10:37:57 PM5/7/23
to Google Ads API and AdWords API Forum
お世話になっております。

別のアカウントで再度コンバージョンのアップロードを試してみたのですが、
失敗してしまいました。

ーーーーーーーーーーーーーーーーーーーーーーーーー
  conversion_action {
    resource_name: "customers/7021271511/conversionActions/875160903"
    id: 875160903
    name: "セノッピーチュアブルsb齋藤"
    type_: UPLOAD_CLICKS
    category: CONVERTED_LEAD
    counting_type: ONE_PER_CLICK
  }

upload_with_google_api:213 Conversion actions which use the one-per-click counting type cannot be used with gbraid or wbraid., at conversions[0].conversion_action
ーーーーーーーーーーーーーーーーーーーーーーーーー

■Conversion actions which use the one-per-click counting type cannot be used with gbraid or wbraid
└上記は、コンバージョンアクションの「カウント方法」が「全件」ではなく
「初回のみ」の設定になっていると、アップロードできないという意味になりますでしょうか?

▼管理画面(該当のコンバージョンアクションの「カウント方法」)

学習上、「カウント方法」を「全件」にはしたくないです。
「初回のみ」をコンバージョンとしてGoogle Ads APIを使って計測したい場合、
どうすればいいのでしょうか。

2023年4月13日木曜日 21:51:19 UTC+9 Google Ads API Forum Advisor:

Google Ads API Forum Advisor

unread,
May 8, 2023, 2:41:13 AM5/8/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com
こんにちは、

返信ありがとうございます。 コンバージョンのアップロード時に問題が発生したとのことでしたので、完全な API リクエストとレスポンス ログを request-id と login-customer-id とともに提供していただけますか? これにより、お客様の懸念をさらに確認することができます。

このスレッドで強調表示されているリンク。
- リクエスト - https://developers.google.com/google-ads/api/docs/concepts/field-service#request
- 応答 - https://developers.google.com/google-ads/api/docs/concepts/field-service#response
- リクエスト ID - https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id
- login-customer-id - https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid


Original message in English:

Hello,

Thank you for responding back. Since you mentioned that you were getting an issue upon uploading conversions, could you please provide the complete API request and response logs with request-id and login-customer-id? This will enable us to check further your concern.

Links highlighted on this thread.
- request - https://developers.google.com/google-ads/api/docs/concepts/field-service#request
- response - https://developers.google.com/google-ads/api/docs/concepts/field-service#response
- request-id - https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id
- login-customer-id - https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid
Message has been deleted

Google Ads API Forum Advisor

unread,
May 8, 2023, 11:58:36 AM5/8/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com

Hi,

Thank you for providing additional information

It appears that you've encountered a ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID (https://developers.google.com/google-ads/api/reference/rpc/v13/ConversionUploadErrorEnum.ConversionUploadError#one_per_click_conversion_action_not_permitted_with_braid) error. The error indicates that conversion actions which use the one-per-click counting type cannot be used with gbraid or wbraid.

I would suggest using a different countingType (https://developers.google.com/google-ads/api/reference/rpc/v13/ConversionAction?hl=en#counting_type) value. This will indicate how conversions for your conversion action will be counted. For your reference you may also refer to this help article (https://support.google.com/google-ads/answer/3438531) about about conversion counting options.

Kindly note that we'll be deleting your last post due to private information. Please refrain from directly posting logs in this forum.

Regards,

大川香菜絵

unread,
May 8, 2023, 10:42:27 PM5/8/23
to Google Ads API and AdWords API Forum
ありがとうございます、コンバージョンのカウント方法を変えて
再度アップロードを試してみます。

2023年5月9日火曜日 0:58:36 UTC+9 Google Ads API Forum Advisor:
Message has been deleted

Google Ads API Forum Advisor

unread,
May 9, 2023, 5:48:34 AM5/9/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com
やあ、

私たちのチームに戻ってきてくれてありがとう。 完全な API ログが含まれているため、フォーラムでの最近の投稿を削除しなければならなかったことをお知らせします。

あなたの懸念に関しては、これを再度アップロードする際にエラーは発生しなかったようです。 アップロードしたコンバージョンが Google 広告の UI/インターフェースに表示されないことが懸念事項であるかどうか確認できますか? その場合、ほとんどの場合、アカウントの統計情報 (クリック数、コンバージョン数、インプレッション数など) の遅延は 3 時間以内であることにご注意ください。 また、「ラスト クリック」以外のアトリビューション モデル(https://support.google.com/google-ads/answer/6259715)を使用して関連付けられたコンバージョンは、通常、最大 15 時間遅れます。 詳細については、データの鮮度についての記事(https://support.google.com/google-ads/answer/2544985?hl=en)をご覧ください。

よろしく、


[Original English :]
Hi,

Thank you for returning to our team. Please be informed that I had to delete your recent post in the forum as it contains your complete API logs.

Regarding your concern, it appears that you didn't encounter errors while uploading this again. Can you confirm if your concern now is that you are not seeing your uploaded conversion in the Google Ads UI/Interface? If so, then kindly note that in most cases, your account statistics (such as clicks, conversions, and impressions) are delayed by less than 3 hours. Also, conversions attributed using attribution models (https://support.google.com/google-ads/answer/6259715) other than “Last click” are typically delayed up to 15 hours. You may check this About data freshness (https://support.google.com/google-ads/answer/2544985?hl=en) article for more information about this.

大川香菜絵

unread,
May 9, 2023, 6:14:38 AM5/9/23
to Google Ads API and AdWords API Forum
ご返信ありがとうございます。

ほとんどの場合、アカウントの統計情報 (クリック数、コンバージョン数、インプレッション数など) の遅延は 3 時間以内であることにご注意ください。
→コンバージョンが発生してから3時間以内にアップロードしないとアカウントへ反映できない、という意味でしょうか?

今回アップロードしたコンバージョンは
12時間以上前に発生したものだったため、お聞きしました。

ご確認お願いいたします。

2023年5月9日火曜日 18:48:34 UTC+9 Google Ads API Forum Advisor:

Google Ads API Forum Advisor

unread,
May 9, 2023, 11:39:13 AM5/9/23
to kanae...@sizebook.co.jp, adwor...@googlegroups.com

やあ、

お返事ありがとうございます。

アップロードしたコンバージョンが Google 広告の UI/インターフェースに表示されない件につきまして、ご連絡いたします。ただし、Ads UI コンバージョン データを確認すると、次の値が表示されます。
 

上記の値が期待値ではないか確認できますか?もしそうなら、あなたが探している期待値を提供できますか?

上記のように、データの鮮度について記事を確認する必要がある場合があります (https://support.google.com/google-ads/answer/2544985?hl=ja)。

よろしく、

[Original message: English ]

 

Hi,

Thanks for getting back to us.

I understand that you are not seeing your uploaded conversion in the Google Ads UI/Interface. However, upon checking your Ads UI conversion data, I do see the following values:

 

 

Can you confirm if the above seen values aren't the expected one? If so, can you provide the expected value you are looking for? 

As mentioned above, you may need to check the article for the data freshness (https://support.google.com/google-ads/answer/2544985?hl=en).

Regards,

Reply all
Reply to author
Forward
0 new messages