I AM FACING THIS PROBLEM WHEN MIGRATING API CODE FROM V201101, V13 TO
V201109.
In my Google campaign target, i tried adding Language and Platform and
mutated with Google API. In the return value I am seeing the two
targets being added i.e. Language and Platform.
In "Sandbox Account Viewer" I am seeing only "en" under Language
and i do not see any Platform value.
Since #1 is not working, I tried using the writing an API call
using the example GetAllCampaignTargets in the link.
Here I see total num entries is 6 but in the actual entries, only one
entry is available with no targets.
Could anyone please help me to sort out the problem.
Thank you
Balaji
The SandboxAccountViewer has not been upgraded to v201109 yet, so it won't show the exact same data. The v201109 CampaignTargetService only returns AdScheduleTargets. You'll need to use the CampaignCriterionService to get Languages and Platforms.
Best,
- Eric
P.S. The official AdWords API forum is here: http://code.google.com/apis/adwords/community/
Related
I am trying to use the finder comment field of a file stored in the folder of my iOS application (I'm talking about local storage, not in the cloud). The function MDItemCreate that would enable me to do so easily is not available in iOS applications apparently, which must be why the build currently fails with the error warning : "Cannot find 'MDItemCreate' in scope". Apple documentation in fact states that this method is only available on MacOS.
I have tinkered with FileManager but it doesn't grant access to comments.
This topic seems related but the solution is quite opaque to me.
My understanding of Swift is rather limited, if you would be so kind as to provide a simple and detailed answer I'd be much grateful.
With thanks,
Julien
I'm not completely certain, but messages like "Cannot find 'X' in scope" are often due to a forgotten import statement. MDItemCreate(_:_:) (docs) seems to be part of the Core Services framework, which has been part of iOS since iOS 12. Have you imported the framework?
You can do this (at the top of your .swift file) as follows:
import CoreServices
With the release of electron 8, I was implementing the newly released spell check API's on my electron app. The context menu should look similar to this:
I was able to implement learn spelling using ses.addWordToSpellCheckerDictionary API given in docs, however I am stuck trying to implement the ignore spelling part.
The difference between the two according to google is
Ignore spelling
The word is ignored if it occurs again in the document (it will be highlighted in other documents)
Learn Spelling
The word won't be flagged as misspelled in any document.
I can implement it such a way that the dictionary suggestions are not shown for a specific set of words stored in array, but that will still leave a red squiggly line below the word. Besides, there has to be a native API call implemented given spell check has been officially announced.
I could have simply used webFrame.setSpellCheckProvider, but then I would have to hard-code a language, add boilerplate code, use a node module.
Try instead using electron-spellchecker npm package:
It has an:
Option to ignore a word at runtime only.
Currently, I got a task to explore google flatbuffers on iOS and OSX. I explored the documentation provided by Google.
Also found some libraries on Github on swift language like FlatBuffersSwift and others that implement the flatbuffers.
So, I have mainly two concerns on that
Will Apple approve my app if I used this in my iOS application?
Is it possible to create schema on runtime from JSON ? or we must manually create schemas (.fbs) and use flatc library for creating model binaries (like .swift) files.
Any help please
Thanks in advance
1) There's nothing in the Apple approval process that has to do with your choice of serialization library.
2) To get the benefits of this library, you want to create a schema and generate code for it ahead of compilation time. If your use case is so dynamic that you want to be able to do everything at runtime, you're probably better off with a good JSON library.
Is there any way how to get something similar like we have for iOS10 https://developer.apple.com/library/content/releasenotes/General/iOS101APIDiffs/index.html
New documentation browser have api diff, but if you want to just get overview what have changes or new features, it's very tiring and slow to click on every single thing...
https://developer.apple.com/documentation?changes=latest_minor
You didn't specify a language. Someone created a similar diff but only for objc: Apple Platform SDK API Differences
API diff reports for Apple platform SDKs as generated by objc-diff, which has a few limitations:
Objective-C only
Does not detect relocations across frameworks
Excludes:
/usr/include
IOKit.framework
Kernel.framework
Tk.framework
I thought this would have been a bit of a more seamless process. I downloaded the yelp api example (https://github.com/Yelp/yelp-api/tree/master/v2/ios) and assumed I could just 'build and run' and see an example with a request sent out on a buttonPressed event.
I've been reading here: How to integrate Yelp APi in iPhone application? and other places online but am getting a ton of errors when trying to integrate a basic test. I've signed up for an account, have an API v2 set of keys.
A lot of the errors seem to be related to the ARC and the yelp api trying to explicitly autorelease some of their objects.
Mostly when you download full projects from somewhere on the internet they or not fully compatible with your setup. Sometimes (read: most of the time), you will have to take care of some errors.
In your case, I'm not sure from what you say if their sample project is, or is not, using ARC, but either way you can change the project settings whether or not to use ARC.
1) In xCode, go to your project (where you have Summary, Info, etc. on top) and go to "Build Settings".
2) Make sure the predicate is set to "All" instead of "Basic".
3) Search for "Automatic Reference Counting"
4) If everything is ok you should have 2 results:
Objective-C Automatic Reference Counting
Objective-C++ Automatic Reference Counting
5) Set both of them to "Yes" if you want to use ARC, or to "No" if you don't want to use ARC.
This seems to simplify the problem:
https://github.com/AFNetworking/AFOAuth1Client
If I put together something clean, I'll try to come back and post a link to a working, example