Assets unavailable in Google Ads API

2022-09-14 Thread Vijay Kumar
Hi,

We observed that specific assets and their related metrics are unavailable 
in the Google Ads API but the same can be accessed in the Google Data 
Studio. Query-ID for the reference query that we tried: 
"lECF5zWMMy3wspxQSM6-Yg". We also noticed, the asset type of the concerned 
asset is "App Deep Link", which is not available in the list of types in 
the asset 
resource: 
https://developers.google.com/google-ads/api/fields/v10/asset#asset.type

Could you please clarify the reason for this disparity between the ads API 
and the google data studio?

Please let me know if you need more information.

Regards,
Vijay Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/996b62a6-0f73-486a-8fc1-4ddb6cf7e1b1n%40googlegroups.com.


Re: Multiple rows with same segment value

2022-06-21 Thread Vijay Kumar
Hi Aryeh,

> ...Could you also elaborate how this makes the report unusable?

The "multiple rows (with a duplicate identifier)" for a segment type, due
to the cause that you found, is not a standard expectation, and
neither it's made explicit on the doc
<https://developers.google.com/google-ads/api/fields/v10/campaign_audience_view#segments.click_type>.
So it didn't make sense and seemed like a bug. So, we wanted to confirm the
reason for it.

> ...2 types in your account that don't match any of the enums...this is
the reason you have some campaigns with extra 'UNKNOWN' rows

We are fine with the confirmation on the issue and can change our
application logic to suit this behavior. I'll close this thread here until
the google ads customers have a requirement to see the segmented view of
the UNKNOWN segment values.

Thanks for the support.

Vijay Kumar
Software Engineer




On Mon, Jun 20, 2022 at 8:35 PM Google Ads API Forum Advisor
 wrote:

> Hi Vijay,
>
> The Ads API can only be a conduit to the Ads product as exposed in the Ads
> UI. There may be a feature availability time lag when using the API. All
> currently supported click types return correctly while unsupported types
> get their own row. Could you also elaborate how this makes the report
> unusable?
>
> Regards,
>
> [image: Google Logo]
> Aryeh
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2arvXW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CADF3_qNSsqMWSHPhrSSoNodXac1Z3ubNwtzhPs6XyhCSyDV-7w%40mail.gmail.com.


Re: Multiple rows with same segment value

2022-06-20 Thread Vijay Kumar
Hi Aryeh,

Thanks for getting to the cause of the issue. Before I get back to you on 
the business use case, I've one question. Why the invalid ENUM values 
"Mobile app extension" and "Image extension" are even allowed to be used? 
We are a reporting platform for the performance marketing teams and have 
thousands of accounts integrated. As a service provider, we can get back on 
their use cases, but I'm afraid this could be a fundamental issue with the 
ads API backend and there could be more such accounts. What do you think? 
Please correct me if I missed something.

On a side note, this is pretty urgent because google ads customers are 
unable to use the click-type segment reports due to this.

Regards,
Vijay Kumar

On Friday, June 17, 2022 at 11:56:16 PM UTC+5:30 adsapi wrote:

> Hi Vijay,
>
> Thank you for sending the response log too. When segmenting the UI 
> campaign screen by Click type I found 2 types in your account that don't 
> match any of the enums. They are Mobile app extension and Image extension. 
> This is the reason you have some campaigns with extra 'UNKNOWN' rows, the 
> different metrics match the 2 types mentioned above.
>
> To get a sense of priority, could you give us a business use case for 
> updating the enums in segments.click_type to match the UI?
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2arvXW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f20ce643-e4f2-49af-84ba-5cfc58882689n%40googlegroups.com.


Re: Multiple rows with same segment value

2022-06-17 Thread Vijay Kumar
Hi Jinky,

I've sent a private reply for the response log. Please let me know if you 
need more details.

Best Regards,
Vijay Kumar

On Thursday, June 16, 2022 at 6:55:29 PM UTC+5:30 adsapi wrote:

> Hi Vijay,
>
> Thank you for sending the requested information. In order for us to 
> investigate, could you please provide the sample rows from API response 
> with this scenario* "I think that the API is not treating the `UNKNOWN` 
> values as a unique value and hence returning multiple rows.", *that you 
> mentioned so that I can check it on my impersonation report. You can 
> provide it via Reply privately to the author option. If this option is not 
> available, then send it instead on this email address 
> googleadsa...@google.com.
>
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2arvXW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/72846107-23ca-42e3-b026-60e8499ee6c0n%40googlegroups.com.


Re: Multiple rows with same segment value

2022-06-16 Thread Vijay Kumar
Hi Jinky,

Thanks for your response. Following up on the issue, I've sent the 
requested details through the "private-reply-to-author". Please let me know 
if you need any additional information.

Regards,
Vijay Kumar

On Thursday, May 12, 2022 at 4:13:36 PM UTC+5:30 adsapi wrote:

> Hi Anant,
>
> Thank you for raising this concern to the Google Ads API Forum.
>
> It would be helpful to check this in our end by providing the complete 
> logs within the format of the request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid>
>  that 
> generated on your end. This information will help our team to further 
> investigate why these issues occurred. For security purposes, you can 
> provide it via Reply privately to the author option. If this option is not 
> available, then send it instead on this email address 
> googleadsa...@google.com.
>
> However, for the attached CSV file you've shared, I am afraid that the 
> file does not contain enough statements on how you are receiving this data 
> in your side.
>
> Best regards, 
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2arvXW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a9e3293f-ef9f-4639-951c-35c1ce9b0e5an%40googlegroups.com.


Re: DeadlineExceed Error due to Authorization issue

2022-06-14 Thread Vijay Kumar
Thanks for the support.

Side note: This is a known bug in the ruby client library, posting the 
issue link here for the public 
reference: https://github.com/googleads/google-ads-ruby/issues/246 which is 
happening due to an the underlying issue in the google-auth 
lib https://github.com/googleapis/google-auth-library-ruby/issues/366.

On Tuesday, June 14, 2022 at 6:37:31 PM UTC+5:30 adsapi wrote:

> Hi Vijay,
>
> This issue seems to be specific to the Ruby client library. As our team 
> provides general Ads API support, I would recommend reaching out to the Ruby 
> client library owners 
> . 
>
> Regards,
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bvrfZ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/01fb2c37-342d-4ca4-8de1-cbbfcbc4f4ean%40googlegroups.com.


Re: DeadlineExceed Error due to Authorization issue

2022-06-14 Thread Vijay Kumar
Hi Darwin,

Thanks for your response. We already know that the account has an 
authorization issue, and needs to be reauthorized - that's not the problem. 
The problem is the behavior of the ruby client lib. The client library is 
infinitely retrying until the deadline exceeds in case of 'invalid_grant'. 
Theoretically 'invalid_grant' is not even a retriable error.

Regards,
Vijay Kumar

On Tuesday, June 14, 2022 at 1:07:53 PM UTC+5:30 adsapi wrote:

> Hi Vijay,
>  
>
> Thanks for your response. I am Darwin also, a member of the Google Ads API 
> team and let me provide support to your concern.
>  
>
> An *invalid_grant* 
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#invalid_grant>
>  error 
> usually indicates an issue with your refresh token. That said, I would 
> recommend that you regenerate the said refresh token. Since you are using 
> RUBY, you can refer to this guide 
> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/oauth-web>
>  on 
> how to set up your authentication credentials.
>
>
> Let me know how this goes, and should the issue persist, you may enable 
> logging by referring to this RUBY guide 
> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging?hl=en>,
>  
> and provide to our team the complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs, 
> with the request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
> .
>  
>
> 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 <https://groups.google.com/> alias 
> instead.
>
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bvrfZ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3989b27f-7fe2-4d12-8bcf-aae846effa78n%40googlegroups.com.


Re: DeadlineExceed Error due to Authorization issue

2022-06-13 Thread Vijay Kumar
Can you explain why the Ruby client library is retrying in case of an
invalid grant error? That's the problem. That leads to exceeding the
deadline limit. Rather, the client library should raise the
AuthorizationError.

On Tue, 14 Jun, 2022, 01:12 Google Ads API Forum Advisor,
 wrote:

> Hi Vijay,
>
> Thanks for reaching out. I see that you are also getting an invalid_grant
> error. Are you following the instructions given here
> 
> ?
>
> Can you please try regenerating your OAuth credentials and refresh token
> to see if this resolves the issue?
>
> Thanks,
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2bvrfZ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CADF3_qNHYsWDw7qTCZv1NvvWCrpcn7wmA98_ZVJLUke%3DEQL-oA%40mail.gmail.com.


DeadlineExceed Error due to Authorization issue

2022-06-13 Thread Vijay Kumar
er = Rails.logger
config.login_customer_id = login_customer_id
end

@google_ads_service = @client.service.google_ads
@google_ads_service.configure do |config|
config.rpcs.search.timeout =
config.rpcs.search_stream.timeout =
STREAM_TIMEOUT_SECONDS
end
```

It seems, the client lib internally handles the OAuth token 
update: 
https://developers.google.com/google-ads/api/docs/first-call/refresh-token?authuser=4,
 
which fails, and results in Signet::AuthorizationError. This somehow gets 
wrapped in a GRPC::Unavailable error. And, in case of a GRPC::Unavailable 
error the client lib keeps on retrying until the deadline 
exceeds: 
https://github.com/googleapis/gapic-generator-ruby/blob/69bad632b8275478d97dd8f7e53571a63676714a/gapic-common/lib/gapic/grpc/service_stub/rpc_call.rb#L125.
 
That seems to be a bug to wrap this in the GRPC::Unavailable error, because 
by definition the GRPC::Unavailable error signifies a transient condition 
that may be corrected with a retry 
<https://github.com/grpc/grpc/blob/4c60ba592e1af4d058a5f2af25d1f54177af54f2/src/ruby/lib/grpc/core/status_codes.rb#L118>
 but 
that doesn't hold for the Authorization errors (at least when that fails 
post refresh token).

Can you confirm the situation?


Best Regards,
Vijay Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ea54e52a-9cad-4271-843d-03084b5a21b1n%40googlegroups.com.


Large discrepancy between the adwords vs ads api before sunset

2022-06-10 Thread Vijay Kumar
Hi,

We observed on 2022-04-22 for:
- custom-client id = "3443254785"
- duration = { start_date: 2022-03-02, end_date: 2022-03-03 }

there was diff in the data from the Adwords API (returned 0) vs the ads API 
(returned correctly). Here are the request and the response from that time 
for 'ad_group' level:
1. Adwords API
- request
```
{:selector=> {:fields=> ["AdGroupId", "CampaignId", "Date", "AdGroupType", 
"ActiveViewImpressions", "ActiveViewMeasurableCost", 
"ActiveViewMeasurableImpressions", "AllConversions", "AllConversionValue", 
"ClickAssistedConversions", "ClickAssistedConversionValue", "Clicks", 
"Conversions", "ConversionValue", "Cost", "CrossDeviceConversions", 
"CurrentModelAttributedConversions", "CurrentModelAttributedConversionValue", 
"Engagements", "ImpressionAssistedConversions", 
"ImpressionAssistedConversionValue", "Impressions", "Interactions", 
"AveragePosition", "VideoQuartile100Rate", "VideoQuartile75Rate", 
"VideoQuartile50Rate", "VideoQuartile25Rate", "VideoViews", 
"ViewThroughConversions", "TopImpressionPercentage", 
"AbsoluteTopImpressionPercentage", "SearchTopImpressionShare", 
"SearchAbsoluteTopImpressionShare", "SearchImpressionShare", 
"SearchRankLostImpressionShare", "SearchRankLostTopImpressionShare", 
"SearchRankLostAbsoluteTopImpressionShare", 
"SearchBudgetLostTopImpressionShare", 
"SearchBudgetLostAbsoluteTopImpressionShare"], :date_range=>{:min=>"20220302", 
:max=>"20220303"}}, :report_type=>"ADGROUP_PERFORMANCE_REPORT", 
:download_format=>"CSV", :report_name=>"Adgroup 
performance", :date_range_type=>"CUSTOM_DATE"}
```
- response
```
"\"Adgroup performance (Mar 2, 2022-Mar 3, 2022)\"\nAd group ID,Campaign 
ID,Day,Ad group type,Active View viewable impressions,Active View 
measurable cost,Active View measurable impr.,All conv.,All conv. 
value,Click Assisted Conv.,Click Assisted Conv. Value,Clicks,C 
onversions,Total conv. value,Cost,Cross-device conv.,Conversions (current 
model),Conv. value (current model),Engagements,Impr. Assisted Conv.,Impr. 
Assisted Conv. Value,Impressions,Interactions,Avg. position,Video played to 
100%,Video played to 75%,Video played to 50%,V ideo played to 
25%,Views,View-through conv.,Impr. (Top) %,Impr. (Abs. Top) %,Search top 
IS,Search abs. top IS,Search Impr. share,Search Lost IS (rank),Search lost 
top IS (rank),Search lost abs. top IS (rank),Search lost top IS 
(budget),Search lost abs. top IS (budget)\n Total, --, --, 
--,0,0,0,0.00,0.00, --, --,0,0.00,0.00,0, --,0.00,0.00,0, --, 
--,0,0,0.0,0.00%,0.00%,0.00%,0.00%,0,0,0.00,0.00, --, --, --, --, --, --, 
--, --\n
```

Whereas, the aggregated cost data for the same account at the same 
'ad_group' level *from the Ads API* was 19102.865987 in the account's 
currency (non-micro). This data was precisely matching with the dashboard.

Could you please let us know the reason for this discrepancy? Or, clarify 
whether the Adwords API was expected to be unstable before its sunset date 
(post it was deprecated).

Regards,
Vijay Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/10398c53-9bdf-48af-8fda-144191217e9bn%40googlegroups.com.


Large discrepancy between the adwords vs ads api before sunset

2022-06-10 Thread Vijay Kumar
Hi,

We observed on 2022-04-22 for:
- custom-client id = "3443254785"
- duration = { start_date: 2022-03-02, end_date: 2022-03-03 }

there was diff in the data from the Adwords API (returned 0) vs the ads API 
(returned correctly). Here are the request and the response from that time 
for 'ad_group' level:
1. Adwords API
- request
```
{:selector=>  {:fields=> ["Id", "AdGroupId", "CampaignId", "Date", 
"AdType", "ActiveViewImpressions", "ActiveViewMeasurableCost", 
"ActiveViewMeasurableImpressions", "AllConversions", "AllConversionValue", 
"ClickAssistedConversions", "ClickAssistedConversionValue", "Clicks", 
"Conversions", "ConversionValue", "Cost", "CrossDeviceConversions", 
"CurrentModelAttributedConversions", 
"CurrentModelAttributedConversionValue", "Engagements", 
"ImpressionAssistedConversions", "ImpressionAssistedConversionValue", 
"Impressions", "Interactions", "AveragePosition", "VideoQuartile100Rate", 
"VideoQuartile75Rate", "VideoQuartile50Rate", "VideoQuartile25Rate", 
"VideoViews", "ViewThroughConversions", "TopImpressionPercentage", 
"AbsoluteTopImpressionPercentage"], :date_range=>{:min=>"20220302", 
:max=>"20220303"}}, :report_type=>"AD_PERFORMANCE_REPORT", 
:download_format=>"CSV", :report_name=>"Ad performance", 
:date_range_type=>"CUSTOM_DATE"}
```
- response
```
 2.7.5 :123 > data = 
AdwordsApi::Api.new(...).report_utils(AdwordsUser::API_VERSION).download_report(report_definition)
 => "\"Ad 
performance (Mar 2, 2022-Mar 3, 2022)\"\nAd ID,Ad group ID,Campaign 
ID,Day,Ad type,Active View viewable impressions,Active View measurable 
cost,Active View measurable impr.,All conv.,All conv. value,Click Assisted 
Conv.,Click Assisted Conv. Value,Clicks,... 2.7.5 :124 > data => 
"\"Ad performance (Mar 2, 2022-Mar 3, 2022)\"\nAd ID,Ad group ID,Campaign 
ID,Day,Ad type,Active View viewable impressions,Active View measurable 
cost,Active View measurable impr.,All conv.,All conv. value,Click Assisted 
Conv.,Click Assisted Conv. Value,Clicks,Conver sions,Total conv. 
value,Cost,Cross-device conv.,Conversions (current model),Conv. value (current 
model),Engagements,Impr. Assisted Conv.,Impr. Assisted Conv. 
Value,Impressions,Interactions,Avg. position,Video played to 100%,Video 
played to 75%,Video played to 50%,Video played to 
25%,Views,View-through conv.,Impr. (Top) %,Impr. (Abs. Top) 
%\nTotal, --, --, --, --,0,0,0,0.00,0.00, --, --,0,0.00,0.00,0, --,0.00,0.00,0, 
--, --,0,0,0.0,0.00%,0.00%,0.00%,0.00%,0,0,0.00,0.00\n" 
report_utils(AdwordsUser::API_VERSION)
```

Whereas, the aggregated cost data for the same account at the same 
'ad_group' level *from the Ads API* was 19102.865987 in the account's 
currency (non-micro). This data was precisely matching with the dashboard.

Could you please let us know the reason for this discrepancy? Or, clarify 
whether the Adwords API was expected to be unstable before its sunset date 
(post it was deprecated).

Regards,
Vijay Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fa51ec39-e26e-4758-89f8-ce1543c0a3can%40googlegroups.com.


Re: Asset level custom conversions from ad_group_asset resource

2022-01-25 Thread Vijay Kumar
Hi Peter,

Thanks for a prompt response. Followup queries -

> The ad_group_asset 
 
report 
should return statistics for those assets created using the 
AdGroupAssetService 

. 

To be clear, you mean if an asset is created via any services other than 
AdGroupAssetService 
,
 
their stats will not be present in the ad_group_asset 
 
report? 
If yes, then what are the other services via which the assets gets created?

> You can instead generate a separate report using the ad_group_ad 
 
report 
and associate the ad linked to the asset, to a conversion action. 

I'm trying to associate conversion action to an asset and not to the ads. 
IIUC, ad_group_ad 
 
won't 
allow to do that.

Best Regards.
On Tuesday, January 25, 2022 at 12:28:14 PM UTC+5:30 adsapi wrote:

> Hi Vijay,
>
> Thank you for reaching out to our API support team.
>
> The ad_group_asset 
>  
> report should return statistics for those assets created using the 
> AdGroupAssetService 
> 
> . 
>
> As for the ad_group_ad_asset_view 
> ,
>  
> it is currently not possible to associate its records to a conversion 
> action or include the segments.conversion_action_name, 
> segments.conversion_action fields in the report.
>
> You can instead generate a separate report using the ad_group_ad 
>  
> report and associate the ad linked to the asset, to a conversion action. 
>
> However, a feature request for an asset report with direct conversion 
> related metrics have been previously raised. For now, you may keep an eye 
> on our blog 
>  for 
> updates and announcements.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VOuy9:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cf9fba41-2112-4fcd-9a82-91e89557635fn%40googlegroups.com.


Asset level custom conversions from ad_group_asset resource

2022-01-24 Thread Vijay Kumar
Hi,

As per the ads API v9: 
https://developers.google.com/google-ads/api/fields/v9/ad_group_asset, it 
supports fetching assets custom conversions. That's not working as 
expected. We are unable to pull the asset level conversions data segmented 
on `conversion_action`. This is a sample query that we tried:
```ruby
 SELECT segments.conversion_action_name,
segments.conversion_action,
metrics.all_conversions,
metrics.conversions,
asset.id,
ad_group.id
FROM ad_group_asset
  WHERE segments.date
 BETWEEN '2022-01-01'
   AND '2022-01-12' AND metrics.conversions > 0
```

And since, we are able to pull the *non-segmented* data from the 
ad_group_ad_asset_view 
 
resource, 
so there's no question of "no data". Sample query for the same:
```ruby
 SELECT metrics.all_conversions,
metrics.conversions,
asset.id,
ad_group.id
FROM ad_group_ad_asset_view
  WHERE segments.date
 BETWEEN '2022-01-01'
   AND '2022-01-12' AND metrics.conversions > 0
```
Let me know if you guys need any more information.

Best Regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aaa8d32c-a2ec-43bd-afea-b892d32c7663n%40googlegroups.com.


Performance Report from Google Adwords

2017-11-12 Thread vijay kumar
Hi,am new to google adwords integration in php.after downloading google 
library using composer i configured client_id, client_secret and 
refreshToken in adsapi_php.ini file and i went through to run 
DownloadCriteriaReportWithAwql.php 
file to download adwords report. but i get  following error in composer

Error:
Client error: `POST 
https://adwords.google.com/api/adwords/reportdownload/v20171
0` resulted in a `400 Bad Request` response

PHP Fatal error:  Uncaught Google\AdsApi\AdWords\v201710\cm\ApiException: 
Detail
s: [fieldPath: selector.reportDefinition; trigger: ; errorString: 
ReportDefiniti
onError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH] in 
D:\Adwords\googleads-php-lib\s
rc\Google\AdsApi\AdWords\Reporting\v201710\ReportDownloader.php:169


can anyone please guide me to overcome from this issue?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/44640d4a-ec73-4914-ba7b-e2e07863b38a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API AdHoc Reporting with ASP.net

2012-02-14 Thread Vijay kumar B
Hi Anash,

I am trying to retrieve a keyword performance report(Click,
Conversion, cost, Impression)based on keyword.
could you please help me to solve out this problem.

Thanks
Vijay B


On Feb 14, 12:55 pm, Anash P. Oommen anash.p.oommen
+fo...@google.com wrote:
 Hi VIjay,

 That's for v201109, using AdWords API .NET client library. What issues are
 you facing?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


AdWords API Lastest technology Flex with Google adwords API integration not response

2009-07-02 Thread vijay kumar
In my project I used
https://adwords.google.com/api/adwords/v13/AdService?wsdl API in flex . So I
will import all wsdl in my project , flex automatically create number of
package like AddAds_request.as (.as mean action script)

ApplicationToken_type0.as

CommerceAd.as etc . After that send request like

mx:operation name=getKeywordVariations resultFormat=e4x

mx:request

  getKeywordVariations

  seedKeywords

negativefalse/negative

textaction project/text

typeBroad/type

/seedKeywords

useSynonymstrue/useSynonyms

languagesen/languages

countriesIN/countries

/getKeywordVariations

/mx:request

/mx:operation


 /mx:WebService


 But does not get response . Any body google adwords used in flex please
refer me . I am seeking long time ...



 In this URL (http://www.3dfreeair.com) I saw some analyst reports like

[image: mod_vvisit_counter]Today6

[image: mod_vvisit_counter]Yesterday19

[image: mod_vvisit_counter]This week92

[image: mod_vvisit_counter]Last week180

[image: mod_vvisit_counter]This month47

[image: mod_vvisit_counter]Last month991

[image: mod_vvisit_counter]All1713

 How can I develop in my project.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Why Google adwords block ip address

2009-05-25 Thread vijay kumar
Dear friends

i used flex based to develope google adwords .   i send any request to

https://sandbox.google.com/api/adwords/v13/AccountService?wsdl

account serivce api, not response any errors .but i used any other
system it show's response . what is reason ?

i received  error like this

Fault: 1
Code: soapenv:Server.userException
String: The developer token is invalid.
Detail:

Could u explan what did i wrong it  ?  i am waiting for your value reply

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Difference between Creative (Ad Performance) Report and Keyword Performance

2009-05-19 Thread vijay kumar
Does anybody know . is it possiable to Google adwords API import flex . if
is it possiable . please refer any example . i want urgent plz plz

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---